2. Use the Google app
To enable android to support Google applications, such as calendar, Gtalk, Gmail, YouTube, and market, you need to import the following files to Android:
Product_packages + =/
Contactsprovider/
Googlecontactssyncadapter/
Googlesubscribedfeedsprovider/
Com. Google. Android. gtalkservice/
Com. Google. Android. datamessaging/
Com. Google. Android. Maps
Product_copy_files + =/
Androidapp/etc/permissions/COM. Google. Android. Maps. xml: System/etc/permissions/COM. Google. Android. Maps. xml/
Androidapp/etc/permissions/COM. Google. Android. datamessaging. xml: System/etc/permissions/COM. Google. Android. datamessaging. xml/
Androidapp/etc/permissions/COM. Google. Android. gtalkservice. xml: System/etc/permissions/COM. Google. Android. gtalkservice. xml
Product_copy_files + =/
Androidapp/framework/COM. Google. Android. gtalkservice. jar: System/framework/COM. Google. Android. gtalkservice. Jar/
Androidapp/framework/COM. Google. Android. Maps. jar: System/framework/COM. Google. Android. Maps. Jar
Product_copy_files + =/
Androidapp/APP/googleapps.apk: System/APP/googleapps.apk/
Androidapp/APP/googlecheckin.apk: System/APP/googlecheckin.apk/
Androidapp/APP/setupwizard.apk: System/APP/setupwizard.apk/
Androidapp/APP/maps.apk: System/APP/maps.apk/
Androidapp/APP/calendar.apk: System/APP/calendar.apk/
Androidapp/APP/calendarprovider.apk: System/APP/calendarprovider.apk/
Androidapp/APP/gtalkservice.apk: System/APP/gtalkservice.apk/
Androidapp/APP/googlecontactssyncadapter.apk: System/APP/googlecontactssyncadapter.apk/
Androidapp/APP/googlesettingsprovider.apk: System/APP/googlesettingsprovider.apk/
Androidapp/APP/googlesubscribedfeedsprovider.apk: System/APP/googlesubscribedfeedsprovider.apk/
Androidapp/APP/talk.apk: System/APP/talk.apk/
Androidapp/APP/talkprovider.apk: System/APP/talkprovider.apk
Androidapp/APP/googleapps.apk: System/APP/googleapps.apk means to copy the APP/googleappsapps.apk file in the current androidapp directory to system/APP.
The above files only involve some Google programs that can enable Google Apps to run, and other Google Apps such as market and YouTube can be added by themselves.
There are two sources for the above files:
1. Copy a copy from a mobile phone with a Google app. The specific method is to connect to the USB and then pull it out using ADB pull.
2. Download the android image with the Google app: system. IMG userdata. IMG ramdisk from the Internet and put it in the YYY directory. Use the following method to enable the probe and then use ADB pull to pull it out.
# Export Path = $ path:/XXX/myandroid/out/host/linux-x86/bin
# Export android_product_out =/XXX/yyy
# Emulator-system. IMG-data userdata. IMG-ramdisk. img
3. Download the android image with the Google app from the Internet: system. IMG userdata. IMG, put the android-sdk-linux_x86-1.5_r3/platforms/Android-2.1/images/directory in the android SDK package, the corresponding original file under the directory can be backed up first, and then run the touch simulator with Eclipse, then use ADB pull to pull it out.