Preload Apps

620 views
Skip to first unread message

Ashwin MJ

unread,
Oct 24, 2019, 6:30:42 PM10/24/19
to android-platform
Hi,

How to add a new vendor/oem/operator/preloadedapps? I got to add few apps i.e preload apps according to device vendors requirement . I need to know the folder strycture where apps need to be placed for new vendor...and how the apps are preloaded.. How to call all the android.mk files for building?

Ashwin MJ

unread,
Nov 12, 2019, 12:41:08 PM11/12/19
to android-platform
Hi ,

Just Updating my own thread for more clarity:

I am trying to preload an app for a new vendor (Mobile operator)

I am adding the apks at 
vendor/oem_product/preloadapps/Appfolder1/apk
---------------------------------------------/Appfolder2/apk
---------------------------------------------/Appfolder3/apk
---------------------------------------------/Appfolder4/apk

And making a $(call inherit-product, vendor/oem_product/preloadapps/preload_common.mk)
preload_common.mk- has all the PRODUCT PACKAGES: mentioned and it is located at vendor/oem_product/preloadapps

Now, when I build the apps are showing at out/target/product/priv-app/ . However, the app will not get installed in the device for some reason.

Any help on this matter will be greatly appreciated.

Thanks,
Ashwin MJ
====================================

Rick Terry

unread,
Nov 18, 2019, 9:00:48 AM11/18/19
to android-platform
Hi, 

Is it solved?  I'v met same problem in android Q. The same configuration(.mk & dirs) in android P and Q, P is well but Q doesnt work.

Ashwin MJ

unread,
Nov 18, 2019, 9:17:45 AM11/18/19
to android-platform
Hi Rick,

I have mentioned the steps I followed in my previous e-mail. This works for basic apps(You create a simple app in android studio , make it a release apk and then preload using the steps in my e-mail). However, there are few apps which are very specific to my client who is a network operator. Such apps are not loading up(present in priv-app(shell access device partition) but not in the device launcher) .

I believe there must be some better way of doing this. I am not sure why no one is helping out here. I am just waiting for more help.

Thanks,
Ashwin MJ

Rick Terry

unread,
Nov 18, 2019, 2:45:25 PM11/18/19
to android-...@googlegroups.com
Thanks to explain, I will check my steps. 
For app NOT loading: 
Maybe some privileges should be added?
I have just saw this, hope it helps: 

  
Sep 10
It's hard to tell without logs (you can get adb access for early crashes like this by pre-installing an ADB public key using PRODUCT_ADB_KEYS), but my guess is you need to add something to https://android.googlesource.com/platform/frameworks/base/+/master/data/etc/privapp-permissions-platform.xml?pli=1 or https://android.googlesource.com/device/google/marlin/+/master/permissions/privapp-permissions-marlin.xml


--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/7ac20b24-7100-487f-a9f2-115018f82fe1%40googlegroups.com.

Ashwin

unread,
Nov 19, 2019, 5:22:44 AM11/19/19
to android-...@googlegroups.com
Hi Rick,

Yes, priviledges need to be added. I am working on it. I will update if the apps show up. Netflix, amazon does show up.. Only career specific which may need permission is not showing up..guessing 😀

Thanks,
Ashwin MJ

Reply all
Reply to author
Forward
0 new messages