I m looking for info about ndk so to read network data (neightbor cell, ec/io, bcch) for galaxy s . Any1 know some hidden api to write something ?
I know api exist, because there is some professional app used in tlc to use galaxy in netfield process (see qualipoc app for android)
thanks
You don't need hidden API to access telephony information. And NDK is not going to help you in this. See for example http://developer.android.com/reference/android/telephony/NeighboringCellInfo.html
Related
I'd like to make Android Go instead of using AOSP.
But have no information except this site (https://www.android.com/versions/go-edition/)
Please let me know any hint or contact points if any.
Can I compile Android Go from my AOSP code?
Do I need to contact google person to get some right to handle Android GO source code?
Thanks
As long as I know Android Go Edition is a Trimmed down lighten version of AOSP to run on Low-end chips with more optimization in code than AOSP which are tends to run on High-end SoC's but that is done all on Manufacturers side Google don't provide this.
But you can contact Google to know more about it and If you are planning to Launch a device.
I want making multi-bluetooth from Android studio.
I found multi-bluetooth java code libraries.
but I am difficult to use. (Because I do not speak English well :'-()
find site 1
find site 2
I want to make. (from Android studio)
[Fitness game machine 1 & joystick 1 - Bluetooth Android phone 1]
It is possible to implement?
Please tell me on a site presented above, helpful site that correct.
Of course it is possible to connect with multi-bluetooth devices.
For the joystick, you may connect it with HID, and , you really need to nothing at Android side; the system Bluetooth apps would help you to do that.
Regarding to the game machine, why don't you put it as the single devices :-)
In my Android application, I let the user choose a Wifi connection for the device. Using WifiConfiguration, I am able to deal with WEP as well as WPA2-PSK networks. However, it appears WPA2-EAP requires one more field - username. Browsing the net, I came across a system class WifiEnterpriseConfig that seems promising. However, this API is available only for OS 4.3+. I am wondering if there is any other way to achieve saving EAP network config that would work for 4.1 and above. Any pointer is appreciated. Regards.
You can just copypaste source code of this class into your project, it should resolve your problem.
I am trying to use device mapper in Android, but still stuck on the command "dmsetup" didn't found in Android.
I have loaded the linear.ko and zero.ko which are target device classes successfully in my Android device, but cannot create a virtual device by device mapper because "dmsetup" cannot be found. If anyone know how to get one for Android or have any other methods to create a virtual device?
By the way, I saw a file "device-mapper" in /dev folder, what is used for?
I am really appreciate who can help me on this.
BR,
-Wenji
There is an API that you can use programatically to talk to the device mapper: http://lwn.net/Articles/35077/
This is based around ioctl(), so it's not the friendliest, but it's pretty well documented: http://androidxref.com/4.4.4_r1/xref/bionic/libc/kernel/common/linux/dm-ioctl.h
There is a great example of its use at: https://github.com/nelenkov/cryptsetup, albeit focussed on dm-verity.
I am having full access to Android system. I have all the super user permission to do all the things from any of my application. I just want to implement one functionality in which I need to reset the device without redirecting user to PRIVACY_SETTINGS. If anyone knows how to achieve that please share with me.
Its kind of urgent. Thanks in advance.
You can use device admin. http://developer.android.com/guide/topics/admin/device-admin.html It allows you to wipe all the data. There's a good sample in API demos.
Programmatically: https://stackoverflow.com/a/11885303/1257591
It shows two ways, one is the implementation mentioned by Mighter and an approach for older devices (android version < 2.2)
ADB: https://stackoverflow.com/a/10829600/1257591
Contains adb commands and an example. Judging from the tag of your question this might be the answer you are looking for.