Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [android-source]

Questions about the source code and building of Android itself, contributing to the Android project, Android kernel development and porting. Do not use for Android application development questions except where specific to building applications as pre-packaged parts of the system.

android-source
0 votes
0 answers
113 views

How does Android parse resources.arsc for certain apps? AAPT and AAPT2 are giving different results

I am trying to put an android app APK to my analysis tool. Specifically Microsoft "Company Portal" (version 5.0.6295.0 as of this writing, you can download it and pull from device via adb) ...
0 votes
2 answers
187 views

How can I download the Android support libraries as a whole directory in my device? (Android device, not pc)

How can I download the Android support libraries as a whole directory in my device? (Android device, not pc) I want to download it, for a purpose. I am not to use SDK or android studio, just Google ...
0 votes
1 answer
163 views

Create custom API to get the data from application layer to kerel layer in android (AOSP)

I working AOSP 11 source code. Trying to understand the all layers of android. How to create API to get data from application layer to kernel layer. Application layer <=> Android framework <==...
0 votes
0 answers
32 views

Change default AOSP IME to custom IME [closed]

I have developed a custom keyboard (IME) for Android that I'm able to install and it works just fine on the device. The next thing that I want to achieve is to make this keyboard as the default ...
1 vote
0 answers
36 views

AOSP 6.0 , init process , try print call stack

Now I am learing aosp 6.0 code . When i read init process code , which on the path of system/core/init/ , I want to print function call stack . I try write the code on init.cpp #include <utils/...
0 votes
0 answers
28 views

How to integrate a native C app into a custom LineageOS 21 ROM?

I successfully built LineageOS 21 on my Ubuntu 20.04 machine for the emulator: cd lineageos source build/envsetup.sh breakfast sdk_phone_x86_64 mka I want to integrate a native C application to the ...
0 votes
0 answers
23 views

AudioFormat builder setEncoding supported encodings doubtful

I'm trying to set the encoding for an instance to ENCODING_AAC_LC This is a snippet of what I'm trying to do ref = JNI_CALL_OBJECT( p_afmt_builder, jfields....
0 votes
0 answers
38 views

AOSP Development: Kotlin cannot access R class id, but Java can! Why?

I started diving into AOSP development recently and I am following some code labs originally written in Java on how to customize the SystemUI (for Automotive AOSP). I have checked that parts of ...
1 vote
1 answer
2k views

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 ...
-1 votes
0 answers
49 views

Best Practices for Managing Custom AOSP ROM Development and Handling New Android Versions [closed]

I have successfully built a custom AOSP ROM on Google Cloud VM engine and my local machine. While I'm familiar with the process of building AOSP ROMs, I need advice on the best practices for tracking ...
-3 votes
0 answers
41 views

How can I View Android source code on Mac?

I am a Android development engineer,I want to view Android source code on a Mac. I downloaded the framework source code to my Mac,but code cannot jump and highlight hint.I want to be able to view the ...
1 vote
1 answer
75 views

Custom AOSP Vendor Image: SIM Card Not Detected After Flashing in Android 13 for Pixel 7a(lynx)

I customized the vendor image in AOSP by modifying BoardConfigPartial.mk to generate a custom vendor image rather than using the prebuilt one. After successfully flashing the custom vendor image onto ...
0 votes
1 answer
35 views

Build AOSP 13 for tablet emulator

What should be the lunch target to build AOSP 13 code for tablet emulator I can launch phone emulator using lunch target sdk_phone_x86_64-userdebg. But I want to build AOSP for tablet emulator
0 votes
1 answer
58 views

Remove taskbar in AOSP 13

I am working on AOSP 13. AOSP code is built for tablet device. Currently navigation icons are in task bar, is there a straight forward way to permanently remove task bar in AOSP code and navigation ...
1 vote
0 answers
69 views

Auto grant runtime permissions via default-permissions.xml for AOSP 12 or later are not working in Android

Default permissions are not auto granted for permissions categorised as runtime or dangerous permissions via default-permissions-example.xml file for an application that I am trying to run as a system ...

15 30 50 per page
1
2 3 4 5
212