[Q] the function android.os.Process.killProcessQuiet does not work,why? - Android Q&A, Help & Troubleshooting

I find that the 'killProcessQuiet()' function present to a lot of place in ActivityManagerService.java,it work very well in the system process.So i want to develop a application which shared the system uid and singed by platform signature.My application use killProcessQuiet() function also,but it does not work,why?

any body help?

Related

[Q] How to load native library in Android to data/priv-lib

Hi all,
I Install tango apk from google playstore. Tango have native lib (.so) in lib armeabi.
After install, I go to data/data/application package/lib and it will map to data/app-lib
My question is what is case native lib with map to data/app-lib?
What is code in PackageManagerService will make?
Thanks

[Q] features extraction

how to extract user permissions and API calls from any android application?

[Q] Editing Android Kernel - HCE/NFC

I'm currently in the process of creating a custom version of AOSP that will edit the functionality of the Host-Card Emulation feature of Android, allowing me to manually set the AID produced when my device goes into emulation mode.
I've downloaded the Android source, and have located the files I think governs HCE functionality.
From the NFC System Service, I've located the following files:
"CardEmulationManager.java" and "HostEmulationManager.java" located in "/aosp/packages/apps/Nfc/src/com/android/nfc/cardemulation/"
And from the Android core framework, for the NFC API I have found:
"CardEmulation.java" located at "/frameworks/base/core/java/android/nfc/cardemulation/CardEmulation.java"
From here, i'm unsure how to get started in editing the code. I'm unsure of the interactions between the files, and how they are called at run (I.e. which functions in the file I should be looking at, how would I go about adding my own code/modifying existing code in the file)
Is there any documentation online about how these files work/are ran? Or how would I go about finding out on my own (Through debugger tools etc.)
I'm currently using Eclipse for Ubuntu, and will be developing for a Nexus 7

Linking & Using Non-NDK Android Platform Libraries

Hey Guys,
I'm working on a global audio tuning system for Android similar to Viper4Android and JamesDSP, but allowing the User to program and create their own audio filters on the fly. In order to do so I need to link against libLLVM.so which is one of the Android Platform Libraries which doesn't seem to be exposed via the NDK (https://android.googlesource.com/platform/external/llvm/).
My assumption is that I will need to build that library from AOSP Source independent of my project and then link against my locally built copy. Once compilation of my project is complete I don't need to distribute my locally built libLLVM.so file since I can leverage the one existing on the actual device.
I just wanted to see if anyone has any experience doing this, or if I'm going off the deep end.
Thanks!

Converting apk to Android tv and firestick basic Source edits ?

Hello to all !
post here my question related to the title
I have an app running OK on Smartphones , Tablets , Android boxes
I'm wondering which files must to be basically edited to modify an existing app to get it runing on an Android Tv and firestick
I mean ...have to understand whats the exactly dynamic if editing manifest file reflect automatically edits to gradle ( syncing the project in Android Studio )
I had a read on Adroid official devs documents but to be honest I can figure out how to do things correctly ( edit manifest in the source before open the project in Android studio or edit it when "into " Android Studio ) do I have to manually edit even gradle file ( property and/or app ).
I know that app for TV and firestick have different behavior and doesnt require some activity like touchscreen ... they have to run with remote control , style and layout must be different so you have to add leanback to help you , banner to show in tv home ..
but my difficult is "start" to edit and where exactly to avoid load of warning in res/style and layout running the app with Tv emulator in Android Studio
Sorry for my poor explanation ...I'm an entusiast "homemade" dev

Categories

Resources