Skip to main content

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
22 views

Replace LegacyCamera with Camera2

In this device with AOSP 10, I have currently the LegacyCamera API for the camera but I want to replace it with Camera2. What should I change to have it build and install Camera2 by default instead of ...
jesusjimsa's user avatar
0 votes
0 answers
25 views

Where/How can I find this Audiotrack errors documentation?

I am not getting what the error -38 is for. I couldn't find any mention of error -38 in the AudioTrack/AudioFormat codebase. I have searched for it using the AOSP codesearch but I can't narrow it down....
adelden22's user avatar
1 vote
0 answers
47 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 ...
Ilaveni Ranjith's user avatar
0 votes
0 answers
31 views

App crashed after importing framework built from AOSP

I am a new AOSP developer. I modified some files in AOSP and ran with target sdk_car_x86_64-userdebug, and then I made the framework using below command: m framework -j32 m framework-minus-apex -j32 ...
Zappy.Mans's user avatar
0 votes
1 answer
33 views

Build Issue for Lineage (21.0) gsi x86_64 eng. Redundant artifact path entries

I followed the instructions for building Lineage OS 21.0 for emulator/avd (from https://wiki.lineageos.org/emulator) and when building (after calling "mka" command) I receive the following ...
feder's user avatar
  • 17
0 votes
0 answers
33 views

Android CarEvsService

I have been exploring CarEvsService in android lately. With a google CameraEvsPreview App(https://cs.android.com/android/platform/superproject/+/master:packages/services/Car/tests/...
freddie's user avatar
  • 21
0 votes
0 answers
33 views

Need to create support of lineage 19.1 for gta4l (LTE)

I was creating a custom ROM build for gta4l for lineage19.1. I have configured vendor, system and device files properly from many sources and the build has started. Now the issue is it's syncing for ...
myself_rana.raj's user avatar
1 vote
0 answers
44 views

How to do native library interposition in Android?

I have a shared library that interposes some GLES calls (glClear, for example). It works fine on Linux with a simple LD_PRELOAD, but I can't get it working on Android. My library prints to logcat on ...
artem's user avatar
  • 16.7k
0 votes
0 answers
48 views

Managing AOSP Devices with Device Admin API

can AOSP devices be managed by the device admin API? Hi, I have been researching on the android device management for quite some time and I eventually got to know that the 'ANDROID MANAGEMENT API' is ...
Ramakrishnaraj K's user avatar
0 votes
1 answer
26 views

How to build Android app with gradle in AOSP?

AOSP version is 8.1.0. I have an Android App named Settings. I Develop with Android Studio and pushed it in packages/apps/MySettings. Directory like this MySettings ├── AndroidManifest.xml ├── Android....
天枢破军's user avatar
0 votes
0 answers
19 views

Where do I find the concrete class for the CookieManager?

I'm looking for the concrete class of CookieManager found in the Android Webkit framework. I'm interested of how CookieManager.getInstance.flush() works, since i might have e bug caused by the method. ...
Haroun Hajem's user avatar
  • 5,489
0 votes
1 answer
44 views

I built the Pixel 4 kernel and flashed it to the phone, but I found that touch functionality is not working

I built the Image.lz4 kernel file according to the https://source.android.com/docs/setup/build/building-kernels guide. Then, while building AOSP, I specified the kernel file by using the export ...
范明毅's user avatar
0 votes
0 answers
30 views

Android Camera doesn't set the orientation EXIF tag

In the storeImage function in the LegacyCamera app of AOSP, there is a call to Exif.getOrientation to obtain the orientation from the image to set it later when storing it. In getOrientation, if the ...
jesusjimsa's user avatar
-2 votes
0 answers
76 views

AOSP lineage build error with allowlist priv-app permissions

I am trying to create a launcher app for my custom ROM and so I have used some privileged android permissions. I have added privapp-permissions.xml to android/lineage/system, android/lineage/vendor ...
myself_rana.raj's user avatar
1 vote
1 answer
40 views

Android: Where does CameraInfo gets the information from?

I am working on an Android device with a camera set up in vertical orientation. The problem I am trying to fix is that, when you take a picture with the Camera app, the image gets saved in horizontal ...
jesusjimsa's user avatar

15 30 50 per page
1
2 3 4 5
212