[Q] Develop system android application for vanilla android - Android Q&A, Help & Troubleshooting

I have to develop an android application for a headless device. That headless device is provided by the manufacturer. I want to make an android application that doesn't needs to ask permission from user regarding location etc. I also want that application to never get killed.
My question is that, is this even possible? To make a system application for vanilla android. I can contact manufacturer for keys.
Is rooting the only way out?
If it is possible, is there some text I can rely upon for this process?

Related

[Q] Android, an open system ?

Hi everybody,
I have been advised to seek for information on your forum by people from a french forum, Phon Android.
I am trying to understand limitations put by Google on the access to Android system. Here a few pieces of information I have, which might not even be exact. Please, correct me and supply with the right info:
- Google provides some access to the Android functionalities, but not all,
- For example, one restriction is access to GPS switch,
- No one knows on which basis Google forbids such or such access,
- So, Google provides some library syntax to use Android system, but not its code ?
- There are systems, like Cyanogen which allow to use all the functionalities brought by Android. But from where do the developpers of such system get the information, if Google does not give the full info. on its system ?

[Q] Device-agnostic application to access root privilege

Hello everyone!
I am creating an application which needs access to root privileges in order to be able to modify Call Manager given in the Android OS framework.
While I have been able to create an sample application with the help of a platform signature, but this solution is ROM-specific and we really need a way to develop an application which works on multiple platforms.
Any ideas/pointers would be deeply appreciated.
Thanks,
Vincent
Hi all,
I am still looking for an answer, but in the meanwhile I found that sharedUserId uses platform signature for accessing internal/hidden classes.
This is exactly what we have been doing and would like to know if we can have an alternate way to access and modify internal classes without using platform signature.
Thanks

[Q] Android Middleware Development

Hello,
I am trying to insert a new module 'Policy Manager' in android middleware. And I also want to redirect 'Reference Monitor' towards Policy Manager instead of 'Package Manger' when Inter Component Communication takes place. I don't know anything about that at all. How to do it?

Create global content filter for files

Hey guys!
I´m new here and I hope you can help me with some questions... I didn´t know if I´m right here, so please correct me if I do something wrong
My "setup":
- Samsung S3 international with CM13
I like to create a global "Content Filter", which filters files (pictures, videos, documents, etc.) on my smartphone. So what I mean is something like what the UserManager (sorry I can´t poste the Link to Android API) from Android framework does:
User A (owner) creates pictures with the camera, download files, etc. and if User B (guest) logs in, User B can´t access the files from User A and vice versa.
The diffrent part is that I like to "hide" or better make them not accessable by custom criteria - for example "only pictures from the last two hours will be shown to User B". And the main point ist that every application gets the same content.
I thought I have to edit and extend the internal/external storage functions (or ContentProvider?) by my custom filter. Later there will be a system app for controlling the behavior of this filter.
Now there are some question, which I ask myself:
- Is it possible to implement this functionality in Android specific code and not in device specific code? So is it possible to make it portable for other devices and Android versions (Custom ROM, manufacture ROM or the pure Stock Android from Google´s Nexus phones) without "much" effort?
- Does it make more sense to use the original Stock Android instead of Cyanogenmod to reach the portability?
- Where do I have to start? I downloaded the source Code of CM13 for the Samsung S3. But how I ask before - is there a generic way for all devices and android versions? I started to look into the framework specific code of android (system/frameworks/base/... ). I thougth I can build the filter between the api calls (java -> jni bridge -> c/c++), but that would be not the right place, yes?
I hope someone understand my plan and can help me with some informations and tipps or where I have to look to get them!
Thanks!!
Fabian
I think you might mean the profile system that android used to have on ICS?.
Unfortunately I can't answer why they removed that feature. Does the phone not have an option or something if you have 2 or more google accounts registered to the device?..
Beamed in by telepathy.

Develop operations to website inside Android App

I want to do operations to specific website like go to website, login in a specific site and collect some information.
I do this with Selenium in a Microservice but I want to do it inside the Android App. I read the selendroid documentation but selendroid software need to connect Android to the PC.
Do you know some software for doing this process?
Is possible open a hidden webview and work like Selenium?

Categories

Resources