[Q] How to send ARP(Adress Resolution protocol) request from Android application ? - Android Q&A, Help & Troubleshooting

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.

Related

[App] Password Safe.. My first Android Application :). Version 1.2 Released

Hi Friends, Am learning android application development and working on my first android application Named "Password Safe".
This is a very simple password keeper application with following features
1. You can save user id and passwords (of different types ) for different websites.
2. Password details can be saved in Phone memory as well as Memory card
3. Password details in memory card will be stored in encrypted formatted using your Password Safe Application.
4. In case you flashed your phone or uninstalled the application, You can recover all your password details by using this Password safe application. And to do so-
a. install the password safe application
b. Create User id and password ( same as which you used before to store your password details)
c. Go to Password details page and use Load from sdcard menu.
Please try this application and let me about any issues (or enhancement) so that we can make it more user friendly and useful.
Change Log Version 1.2
1. Now you can fetch details for any particular site ( No need to give the complete name just mention 2 - 3 character of the name and it will fetch details of all the similar sites )
2. Option to delete all the password details from phone memory.
Internet access permission is required to display Ads (Advertisements ). There is an option in Preferences Menu. from there you can enable Or disable ads
Note : Changes done through Preferences Menu will reflect next time when you will log in into the application.
Many Thanks for your Comments and M happy that u guys are finding this application useful
If you have any idea to improve this application, please let me know. You can drop your ideas here or send me a PM. I will try my level best to achieve that
Working great !!!!!!!! Good job !!!
Sent from my X10i using xda premium
Great work
Why does it need Internet access permission ?
Rapier07 said:
Great work
Why does it need Internet access permission ?
Click to expand...
Click to collapse
Internet access permission is required to display Ads (Advertisements ). There is an option in Preferences Menu. from there you can enable Or disable ads
Note : Changes done through Preferences Menu will reflect next time when you will log in into the application.
Okay...
Good work mate
Many Thanks for your Comments and M happy that u guys are finding this application useful
If you have any idea to improve this application, please let me know. You can drop your ideas here or send me a PM. I will try my level best to achieve that

[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

Custom ROM / User Session Athentication

I am researching how feasible it is to develop a custom user authentication system for Android. Not at the application level but at the operating system level where many users can login into a device with a user name and password and log out. The user profile should be pulled from a repository not already provisioned on the device. This would be similar to how users log onto a PC using Windows Active Directory. Has anyone seen this accomplished?
Thanks

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