安卓市场:
通过对表的分析,“下载任务”的数据来源于数据库【app_download】,“已安装”的数据来源于数据库【software_installed】。
数据分析:-----
bash-3.2# pwd
/data/data/com.hiapk.marketpho
bash-3.2# ls -a -l
drwxr-x--x 1 app_47 app_47 2048 Feb 4 12:38 .
drwxrwx--x 1 system system 2048 Mar 4 23:29 ..
drwxrwx--x 1 app_47 app_47 2048 Mar 5 11:06 cache
drwxrwx--x 1 app_47 app_47 2048 Mar 5 11:07 databases
drwxrwx--x 1 app_47 app_47 2048 Feb 4 12:38 files
drwxr-xr-x 1 system system 2048 Feb 4 12:37 lib
drwxrwx--x 1 app_47 app_47 2048 Mar 5 11:05 shared_prefs
bash-3.2# pwd
/data/data/com.hiapk.marketpho/databases
bash-3.2# ls
hiapk_market.db webview.db-wal webviewCache.db-wal
webview.db webviewCache.db
webview.db-shm webviewCache.db-shm
【hiapk_market.db中的3个表:】
sqlite> .schema android_metadata
CREATE TABLE android_metadata (locale TEXT);
sqlite> .schema app_download
CREATE TABLE app_download (_id integer primary key autoincrement,app_id int,pname text,name text,version text,version_code int,save_path text,host_path text,durl text,iurl text,state integer, dsize real,size real);
sqlite> .schema software_installed
CREATE TABLE software_installed (_id integer primary key autoincrement,pname text,version_code int,update_state int,lus_time real);
【shared_prefs数据信息:】
bash-3.2# pwd
/data/data/com.hiapk.marketpho/shared_prefs
bash-3.2# ls
market_config_pref.xml user_info_pref.xml
bash-3.2# cat market_config_pref.xml
bash-3.2# cat user_info_pref.xml
【分析 app_download 表中的数据】
sqlite> select * from app_download;
16|417450|com.sina.weibo|新浪微博|2.8.1 beta1|154|httpstdL21udC9zZGNhcmQvLjAxMDIvNDE3NDUw|httpstd|httpstdL2FwaTIucGhwP3F0PTkwMDEmYXBrPTQxNzQ1MA==|httpstdL2FwaTIucGhwP3F0PTkwMDEmaWNvbj00MTc0NTA=|4|4190.0|4190.0
20|414153|cn.mobage.g12000001|忍者无极|1.1.0|20120216|httpstdL21udC9zZGNhcmQvLjAxMDIvNDE0MTUz|httpstd|httpstdL2FwaTIucGhwP3F0PTkwMDEmYXBrPTQxNDE1Mw==|httpstdL2FwaTIucGhwP3F0PTkwMDEmaWNvbj00MTQxNTM=|4|32836.0|32836.0
【分析 software_installed 表中的数据】
sqlite> select * from software_installed;
3|com.adobe.flashplayer|111111005|0|1330047704282.0
4|com.adobe.reader|35498|0|1330047704351.0
5|com.google.android.inputmethod.pinyin|11|0|1330047704331.0
6|com.jingdong.app.mall|26|0|1328330293581.0
8|com.tencent.mobileqq|7|0|1328330293698.0
10|com.yingyonghui.market|30015477|0|1328330293770.0
11|com.chaozh.iReaderFree|33|0|1328333272864.0
12|com.hj.nce|7|0|1330047704428.0
14|com.mumayi.market.ui|28|0|1328333273918.0
15|com.speedsoftware.rootexplorer|59|0|1330047704387.0
17|udk.android.reader|148|0|1330047704321.0
18|com.android.wooboom.reader2011|8|0|1328333518152.0
19|com.duomi.android|48|0|1330047704294.0
20|com.ltz.duzhewenzhaijinghua|55|0|1330047704312.0
22|com.sohu.inputmethod.sogou|30|0|1328451689403.0
23|com.tencent.minihd.qq|38|0|1330047704361.0
24|com.tencent.mtt|33|0|1330047704375.0
25|com.tencent.qqpim|386|0|1328451689479.0
26|com.tigerknows|241|0|1330047704341.0
28|com.renren.mobile.android|45500|0|1328328194555.0
30|com.UCMobile|7|0|1328685576421.0
31|com.nd.android.pandareader|2100|0|1328685576435.0
32|cn.goapk.market|3200|0|1328783101267.0
33|com.antutu.market|6|0|1328783101280.0
36|com.wd.AndroidDaemon|35|0|1328783101322.0
37|viva.reader|11|0|1330047704417.0
38|org.androidpn.demoapp|20100927|0|1329153483336.0
40|com.tencent.mm|135|0|1329300644593.0
45|com.qiyi.video|20|0|1330047491948.0
46|com.cerience.reader.app|33|0|1330051136770.0
51|com.qzone|17|0|1330163960187.0
52|com.vancl.activity|20|0|1330220390301.0
55|com.google.android.stardroid|1112|0|1330420551134.0
56|com.qiyi.video.pad|4|0|1330420551192.0
57|com.sina.weibo|101|0|1330420551221.0
58|com.gianormousgames.towerraiders2|109|0|1330432662199.0
59|com.zdworks.android.toolbox|172|0|1330490575816.0
63|com.google.android.voicesearch|214|0|1330597799568.0
64|com.tsf.shell|1|0|1330597799578.0
65|com.tsf.shell.widget.memo|1|0|1330597799588.0
66|com.tsf.shell.widget.music|1|0|1330597799598.0
67|com.tsf.shell.widget.weather|1|0|1330597799608.0
68|com.nd.assistance|12|0|1330614541580.0
69|com.eunut.brsd|5|0|1330618010408.0
70|com.eee168.wowsearch|0|0|1330912385355.0
71|com.lovebizhi.wallpaper|8|0|1330912385394.0
【AndroidManifest.xml分析】
android:versionCode="43"
android:versionName="3.1" >
android:allowTaskReparenting="true"
android:alwaysRetainTaskState="true"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:theme="@style/MarketCommonTheme" >
android:configChanges="keyboardHidden|orientation"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:launchMode="singleTop"
android:windowSoftInputMode="adjustPan" >
android:configChanges="keyboardHidden|orientation" />
android:configChanges="keyboardHidden|orientation" >
android:host="details"
android:path=""
android:scheme="himarket" />
android:host="market.hiapk.com"
android:path="/details"
android:scheme="http" />
android:host="sc.hiapk.com"
android:path="/m/details"
android:scheme="http" />
android:host="details"
android:path=""
android:scheme="market" />
android:host="market.android.com"
android:path="/details"
android:scheme="http" />
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait" />
android:configChanges="keyboardHidden|orientation" />
android:configChanges="keyboardHidden|orientation" />
android:configChanges="keyboardHidden|orientation" />
android:configChanges="keyboardHidden|orientation"
android:launchMode="singleTop" >
android:label="@string/app_name" >
android:host="search"
android:path=""
android:scheme="himarket" />
android:host="market.hiapk.com"
android:path="/search"
android:scheme="http" />
android:host="sc.hiapk.com"
android:path="/m/search"
android:scheme="http" />
android:host="search"
android:path=""
android:scheme="market" />
android:host="market.android.com"
android:path="/search"
android:scheme="http" />
android:configChanges="keyboardHidden|orientation"
android:label="@string/market_update_title"
android:theme="@style/Theme.CustomDialog" />
android:configChanges="keyboardHidden|orientation"
android:label="@string/static_ad_title"
android:theme="@style/Theme.CustomDialog" />
android:configChanges="keyboardHidden|orientation"
android:label="@string/fir_account_login"
android:theme="@style/Theme.CustomDialog" />
android:configChanges="keyboardHidden|orientation"
android:label="@string/note"
android:theme="@style/Theme.CustomDialog" />
android:configChanges="keyboardHidden|orientation"
android:theme="@style/MarketPanelTheme" />
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:windowSoftInputMode="stateAlwaysHidden" >
android:configChanges="keyboardHidden|orientation" />
android:configChanges="keyboardHidden|orientation" />
android:configChanges="keyboardHidden|orientation"
android:label="@string/exit_confirm"
android:theme="@style/Theme.CustomDialog" />
android:configChanges="keyboardHidden|orientation" />
android:targetSdkVersion="4" />
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true" />
安智市场:
木蚂蚁:
应用汇:
安机市场:
我搜: