导航

Android Market 分析【安卓市场】

安卓市场:

通过对表的分析,“下载任务”的数据来源于数据库【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
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="tu_version">6.0</string>
<long name="last_check_ms_update" value="1330916742619" />
<boolean name="tu_newst" value="false" />
<boolean name="load_app_icon" value="true" />
<int name="ct_version" value="3" />
<boolean name="download_in_wifi" value="true" />
<boolean name="push_sound" value="true" />
<boolean name="check_suo_wifi" value="true" />
<boolean name="sr_ed" value="true" />
<int name="ct_tab_2" value="2" />
<int name="ct_tab_1" value="1" />
<int name="ct_tab_0" value="0" />
<boolean name="load_app_screenshot" value="true" />
<boolean name="tu_software_install" value="true" />
<boolean name="auto_install" value="false" />
<boolean name="show_su_note" value="true" />
<boolean name="tu_stag_finger" value="true" />
</map>

bash-3.2# cat user_info_pref.xml
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<null name="sid" />
</map>



 

【分析 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分析】

<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.hiapk.marketpho"
android:versionCode="43"
android:versionName="3.1" >

<application
android:name=".MarketApplication"
android:allowTaskReparenting="true"
android:alwaysRetainTaskState="true"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:theme="@style/MarketCommonTheme" >
<activity
android:name=".MarketMainFrame"
android:configChanges="keyboardHidden|orientation"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:launchMode="singleTop"
android:windowSoftInputMode="adjustPan" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".LoginRegistFrame"
android:configChanges="keyboardHidden|orientation" />
<activity
android:name=".AppDetailFrame"
android:configChanges="keyboardHidden|orientation" >
<intent-filter android:label="@string/app_name" >
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:host="details"
android:path=""
android:scheme="himarket" />
<data
android:host="market.hiapk.com"
android:path="/details"
android:scheme="http" />
<data
android:host="sc.hiapk.com"
android:path="/m/details"
android:scheme="http" />
<data
android:host="details"
android:path=""
android:scheme="market" />
<data
android:host="market.android.com"
android:path="/details"
android:scheme="http" />
</intent-filter>
</activity>
<activity
android:name=".AppScreenshotFrame"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait" />
<activity
android:name=".MarketConfigFrame"
android:configChanges="keyboardHidden|orientation" />
<activity
android:name=".AppDownloadFrame"
android:configChanges="keyboardHidden|orientation" />
<activity
android:name=".SoftUpdateFrame"
android:configChanges="keyboardHidden|orientation" />
<activity
android:name=".QuickSearchFrame"
android:configChanges="keyboardHidden|orientation"
android:launchMode="singleTop" >
<intent-filter
android:icon="@drawable/icon"
android:label="@string/app_name" >
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:host="search"
android:path=""
android:scheme="himarket" />
<data
android:host="market.hiapk.com"
android:path="/search"
android:scheme="http" />
<data
android:host="sc.hiapk.com"
android:path="/m/search"
android:scheme="http" />
<data
android:host="search"
android:path=""
android:scheme="market" />
<data
android:host="market.android.com"
android:path="/search"
android:scheme="http" />
</intent-filter>
</activity>
<activity
android:name=".MarketUpdateFrame"
android:configChanges="keyboardHidden|orientation"
android:label="@string/market_update_title"
android:theme="@style/Theme.CustomDialog" />
<activity
android:name=".StaticADFrame"
android:configChanges="keyboardHidden|orientation"
android:label="@string/static_ad_title"
android:theme="@style/Theme.CustomDialog" />
<activity
android:name=".WeiboAccountFrame"
android:configChanges="keyboardHidden|orientation"
android:label="@string/fir_account_login"
android:theme="@style/Theme.CustomDialog" />
<activity
android:name=".DiffSignatureFrame"
android:configChanges="keyboardHidden|orientation"
android:label="@string/note"
android:theme="@style/Theme.CustomDialog" />
<activity
android:name=".TutorialActivity"
android:configChanges="keyboardHidden|orientation"
android:theme="@style/MarketPanelTheme" />
<activity
android:name="com.google.zxing.client.android.CaptureActivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:windowSoftInputMode="stateAlwaysHidden" >
<intent-filter>
<action android:name="com.hiapk.marketmob.SCAN_APP_SHOW_INFO" />

<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".WeiboFrame"
android:configChanges="keyboardHidden|orientation" />
<activity
android:name=".DiscussDetailFrame"
android:configChanges="keyboardHidden|orientation" />
<activity
android:name=".MarketExitFrame"
android:configChanges="keyboardHidden|orientation"
android:label="@string/exit_confirm"
android:theme="@style/Theme.CustomDialog" />

<service android:name="com.hiapk.marketmob.AppStateService" >
<intent-filter>
<action android:name="com.hiapk.marketmob.ACTION_SERVICE_DOWNLOAD_REQUEST" />
<action android:name="com.hiapk.marketmob.ACTION_SERVICE_DOWNLOAD_CANCEL" />
<action android:name="com.hiapk.marketmob.ACTION_SERVICE_DOWNLOAD_STOP" />
<action android:name="com.hiapk.marketmob.ACTION_SERVICE_DOWNLOAD_REVERSE" />
<action android:name="com.hiapk.marketmob.ACTION_SERVICE_PUSH_DOWNLOAD_APP" />
</intent-filter>
</service>
<service android:name="com.hiapk.marketmob.push.PushService" >
<intent-filter>
<action android:name="com.hiapk.marketmob.PUSH_REQUIRE_CONNECT" />
<action android:name="com.hiapk.marketmob.PUSH_REQUIRE_DISCONNECT" />
<action android:name="com.hiapk.marketmob.PUSH_REQUIRE_CLIENT_STATE" />
</intent-filter>
</service>

<receiver android:name="com.hiapk.marketmob.AppStateReceiver" >
<intent-filter>
<action android:name="android.intent.action.PACKAGE_ADDED" />
<action android:name="android.intent.action.PACKAGE_REMOVED" />

<activity
android:name=".DiscussDetailFrame"
android:configChanges="keyboardHidden|orientation" />

<data android:scheme="package" />
</intent-filter>
<intent-filter>
<action android:name="com.hiapk.marketmob.ACTION_PUSH_CLIENT_STATE" />
<action android:name="com.hiapk.marketmob.ACTION_CHOOSE_APP_DOWNLOAD_NOTIFY" />
<action android:name="com.hiapk.marketmob.ACTION_CHOOSE_SOFT_UPDATE_NOTIFY" />
<action android:name="com.hiapk.marketmob.ACTION_CHOOSE_MARKET_UPDATE_NOTIFY" />
<action android:name="com.hiapk.marketmob.ACTION_CHOOSE_SOFT_INSTALL_NOTIFY" />
<action android:name="com.hiapk.marketmob.ACTION_CHOOSE_APP_DOWNLOADED_NOTIFY" />
<action android:name="com.hiapk.marketmob.ACTION_CHOOSE_STATIC_AD_NOTIFY" />
<action android:name="com.hiapk.marketmob.ACTION_UPDATE_CHECK_NOTIFY" />
<action android:name="com.hiapk.marketmob.ACTION_REPORT_SIMPLE_NOTIFY" />
<action android:name="com.hiapk.marketmob.ACTION_STATIC_AD_CHECK_NOTIFY" />
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>
</application>

<uses-sdk
android:minSdkVersion="4"
android:targetSdkVersion="4" />

<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true" />

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ADD_SYSTEM_SERVICE" />
<uses-permission android:name="android.permission.GET_PACKAGE_SIZE" />
<uses-permission android:name="android.permission.HARDWARE_TEST" />
<uses-permission android:name="android.permission.INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.MANAGE_APP_TOKENS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CLEAR_APP_CACHE" />
<uses-permission android:name="android.permission.DELETE_PACKAGES" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-permission android:name="android.permission.READ_LOGS" />
<uses-permission android:name="android.permission.GET_TASKS" />

</manifest>





安智市场:

木蚂蚁:

应用汇:

安机市场:

我搜:

posted on 2012-03-01 15:37  grass_dcm  阅读(2828)  评论(0编辑  收藏

统计