Questions tagged android-source

Explore the latest questions and answers asked by our top developers.

How to disable status bar and not hide it in android?

I want to permanently disable status bar, not hide it. I was able to disable navigation bar by giving qemu.hw.mainkeys=1 in system.prop and building the image. But, i didn’t find any method to disable status bar.  I even tried with the below flags – View.SYSTEM_UI_FLAG_HIDE_NAVIGATION View.SYSTEM_UI_FLAG_FULLSCREEN; But, these temporarily hide the status and navigation bar. If the […]

By Sourabrt
Categorized as android, android-layout, android-source, android-statusbar

How to get logs when healthd is running in AOSP

When healthd is mounted in android, all other partitions are not up and phone is off(case where phone is off but listening to battery stats). So was wondering how to get the logs. Is any logging daemon up at this time? Source: Android Questions

By Saurav
Categorized as android, android-source

How to get the device unlock count stats in native android?

I have come across similar question here but nothing helped me. I am trying to get the whole device unlock count stats even for unlocks before my app installation. I found out that EvenStats will help me but this API is introduced in Android 9 (SDK 28). I want to get the stats for above […]

By Dhina17
Categorized as android, android-source, kotlin, usagestatsmanager

Priority for System apps not working android 10

I have 2 apps. Gallery2 and Document UI. I have set priority as 900 or even 110 in intent filter for Gallery but I am always getting Document UI which is getting opened instead of Gallery. This is not working only in Android 10. <intent-filter android:priority="110"> Source: Android Questions

AOSP : failed to build some targets

The problem occurs when I am compiling the project using the command ./vendor/huaqin/build/ . I don’t know what it looks like, and I don’t know how to resolve it [ 0% 15/84679] build /media/ubuntu/73d035da-b29c-4db2-9e9e-9cbafccf7aca/SA3657/out/target/product/sa3657/obj/KERNEL_OBJ/arch/arm64/boot/Image.gz-dtb make: Entering directory ‘/media/ubuntu/73d035da-b29c-4db2-9e9e-9cbafccf7aca/SA3657/kernel-4.9’ make[1]: Entering directory ‘/media/ubuntu/73d035da-b29c-4db2-9e9e-9cbafccf7aca/SA3657/out/target/product/sa3657/obj/KERNEL_OBJ’ Segmentation fault (core dumped) arch/arm64/Makefile:27: ld does not support –fix-cortex-a53-843419; kernel may be […]

Categorized as android, android-source, java, makefile

i can’t sync tellegram sourse code in android artic fox

i can’t sync tellegram sourse code in android artic fox and this error show for me: Could not resolve all dependencies for configuration ‘:TMessagesProj:afatDebugRuntimeClasspath’. Source: Android Questions

The LLDB display "Summary Unavailable" when debug variable of type std::__1::string

I also tried gdb,but still have this problem, anyone know why ? screenshot of the scene Source: Android Questions

By Joey
Categorized as android, android-source, lldb

AOSP: Can’t switch SELinux to permissive for emulator target

According to switching SELinux to permissive mode can be done via setting: BOARD_KERNEL_CMDLINE := androidboot.selinux=permissive or BOARD_BOOTCONFIG := androidboot.selinux=permissive And it works well for HiKey960 devboard for hikey960-userdebug target (what was already discussed here but for AOSP standard emulator targets, like aosp_x86-eng or aosp_car_x86-userdebug it doesn’t work, why? Source: Android Questions

By Mykola Khyliuk
Categorized as android, android-source, selinux

Unable to detect SD card (external storage) after disabling systemui

I wanted to disable status and navigation bar on Android 9. so, I used the below commands do disable and enable both the bars. Disable pm disable Enable pm enable But i noticed that, disabling systemui, disables the SD card. That is the SD card doesn’t get detected in file manager. I even […]

Unable to build ImsService as a system App

Hi All,I am developing an ImsClient App in which i have to establish Audio/Video Calls using ImsService and these are Steps I have followed so far for ImsService are listed below. • Build AOSP Android 11 Custom ROM From Scratch. • Flash AOSP Android 11 Custom Rom On Emulator. Steps I have followed to install […]

By Abhijeet Singh
Categorized as android, android-source, ims
1 2 3 41

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us