[Q] Android Middleware Development - Android Q&A, Help & Troubleshooting

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?

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] How to send ARP(Adress Resolution protocol) request from Android application ?

Dear All,
My application requires to to send an ARP(Adress Resolution protocol ) request from the Android application layer.
As ARP is based on RAW Sockets,with the initial investigation, It is shown that RAW sockets are not accessible from Java or through any android API's.
I also tried to send a request via a native language, but this requires super user permission. Rooting a phone to run this is not a feasible option as this is just an application development.
Please let us know if there any way to send an ARP request from Android application without rooting a phone.
Thanks in Advance,
I am facing also same problem. Do you got answer?
Most likely not as this is protected info.

Enable system certificate on Android

Dear all,
I'm searching for some help regarding system certificates on Android.
First of all, a little bit of context : I'm in charge of the migration of mobile devices from one Airwatch server to another. All devices are managed by MDM (Airwatch MDM Agent) that allows deployment of configuration profiles and apps. One of those profiles is called "CertAuth" and pushes some certificates that are needed to access internal ressources.
A few months ago, we have discoverd that one of the system certificates (Thawte Primary Root G3) was missing on some devices, mainly old versions of Android.
So we decided to push this certificate through the "CertAuth" profile.
Now the problem whith that method is that once the devices are unenrolled from the first server, profile "CertAuth", all corporate content and apps are removed (normal behavior). As Thawte Primary Root G3 certificate is part of the system certificates, it cannot be removed. So it is simply disabled.
This certificate is needed to access the target server, so once devices try to enroll, they receive some error message "cannot connect to host". Connection is simply refused due to the disabled Thawte G3.
Of course it can be manually enabled, but as you all may know, basic users are not always able to find the correct option in the device settings...
So (finally) my question is : is there any way to remotely enable this system certificate (little swich OFF/ON) in order to void manual action on more than 5000 devices?
By using a script or something that would be deployed on devices as third-party content/not removable content?

[Q] Develop system android application for vanilla android

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?

Categories

Resources