Adroid 2.1 architecture Resolution 2 use Google applications

Source: Internet
Author: User
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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.