Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

RockPi4C: How to add prebuilt apk in Android 10 AOSP

Featured Replies

Hello,

 

From the subject of this topic it may sound like a very common and must-know question. But trust me I am struggling to add my custom prebuilt apk in to the Android 10 AOSP to include it in my custom ROM.

What I have tried so far;

1. I have added a directory of my_app_name in <aosp_dir>/packages/apps/. Added an Android.mk file with below content in it, Placed my apk with that Android.mk in same directory. This did not work, I am not able to find any my_app_name.apk in out/targte/product directories.

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := my_app_name
LOCAL_MODULE_CLASS := APPS
LOCAL_MODULE_TAGS := optional
LOCAL_BUILT_MODULE_STEM := package.apk
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_SRC_FILES := my_app_name.apk

# To launch my app on boot
LOCAL_OVERRIDES_PACKAGES := my_app_name Home Launcher2 Launcher3
include $(BUILD_PREBUILT)

 

2. Done same thing but on different location-this time in vendor/rockchip/common/apps/my_app_name/. added below lines in apps.mk there.

PRODUCT_PACKAGES += \ my_app_name

No luck.

 

Can anyone suggest a solution here?

 

Thanks,

D

 

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.