implementing a binder
or, if you want to perform ipc, but do
notneed to handle multithreading, implement your inte***ce
using a messenger
. regardless, be sure that you understand
bound services
before implementing an aidl
那我要是在不同應用程式之間執行同步ipc呢,應該用什麼
我要是需要處理多執行緒呢,又需要用什麼
bound service 應該只有兩種吧, ibinder和messager
2、 android裡面的service和qq裡面的service是一樣的, 都是乙個全域性服務; activities不也就是乙個ui嘛,
Python核心程式設計讀書筆記
本次筆記針對原書第6章節列表 列表型別 內建函式 list.extend seq 把序列seq的內容新增到 列表中 list.index obj,i 0,j len list list.insert index,obj 刪除操作 list.pop index 1 根據位置刪除 list,remove...
python核心程式設計讀書筆記
python筆記 python 核心程式設計 python2.7為主,ipython和pycharm 1.輸入輸出和字串 在2.x中print後面的是整體,比如 總之2.x不要加 也不是函式只是乙個語句 print,input 不回車python 2.x print x,python 3.x pri...
讀書筆記 Windows核心程式設計
第二章 從windows nt後,windows所有版本都用unicode來構建。如果輸入乙個非unicom的字串,如ansi,函式會將其先轉換為unicode,再把結果傳回作業系統,這樣經過轉換後,需要更多的記憶體,而且執行速度更慢。並且,目前已知的windows的這些轉換函式存在一些bug。所有...