Android: Adding a default app when building by source

I’m building Android for my TAO 3530 board, booting for a SD card, and wanted to install my own app onto the Android “image”. Here is how I did it

If you’ve got a built apk place it in:

/rootfs/data/app

/rootfs/system/app

and you’re done.

Difference between /rootfs/data/app/rootfs/system/app:

If placed in /rootfs/data/app the user will be able to uninstall the app.

If placed in  /rootfs/system/app the user will NOT be able to uninstall the app. This is how AT&T or other service providers stick their bloatware on phones. User can’t delete the app because they don’t have necessary (root) permission to uninstall it.

Advertisements
This entry was posted in Android and tagged , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s