Hello everyone !!
I am trying to get list of connected custom devices to my mobile hotspot on an Android 11 phone.... if I use Termux app I can exec "ip neigh show" and obtain devices list but if I do the same programmatically on my app implemented on Android Studio with Process proc = runtime.exec("ip neigh show"); that doesn't work... is there a way to force execute that process via code? Maybe does that depend on setting force minSdkVersion , targetSdkVersion, compileSdkVersion on Gradle config and AndroidManifest.xml to force backward compatibility even if being on Android 11 phone because that permission maybe is Sdk version related? Or is there an alternative for android 11+ to obtain hotspot's connected custom devices programmatically?
Thanks to all in advance!!! Cheers! npuleio
npuleio said:
Hello everyone !!
I am trying to get list of connected custom devices to my mobile hotspot on an Android 11 phone.... if I use Termux app I can exec "ip neigh show" and obtain devices list but if I do the same programmatically on my app implemented on Android Studio with Process proc = runtime.exec("ip neigh show"); that doesn't work... is there a way to force execute that process via code? Maybe does that depend on setting force minSdkVersion , targetSdkVersion, compileSdkVersion on Gradle config and AndroidManifest.xml to force backward compatibility even if being on Android 11 phone because that permission maybe is Sdk version related? Or is there an alternative for android 11+ to obtain hotspot's connected custom devices programmatically?
Thanks to all in advance!!! Cheers! npuleio
Click to expand...
Click to collapse
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum
Related
Hi I am trying to follow a tutorial to help me understand the implementation of the Zxing platform and persisting data to a database within android.
The tutorial I have been following is on x dot com it is entitled build product database zxing and sqlite android
The problem is that I am unable to get this project to work, does anyone have a working version of this project that could help me out or can anyone tel me where to find the source files to support this project?
sorry if i am posting in wrong thread... i dont know where should i post this.
I am developing a android application for my final year project.
my project topic is "Implementing android device as pointing device for pc" .
i need some breif description hw can i develop it...
both server and client socket...
Q&A for Guide on building Lollipop for the OnePlus One
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for Guide on building Lollipop for the OnePlus One. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
./extract-files.sh on CM11S
Does ./extract-files.sh will do the right thing if you are on CM11S ?
Because it is sait there : wiki.cyanogenmod.org/w/Build_for_bacon
That you need to have a build of the same branch running on your phone (which is obiously not the case here...)
Kppqju77 said:
Does ./extract-files.sh will do the right thing if you are on CM11S ?
Because it is sait there : wiki.cyanogenmod.org/w/Build_for_bacon
That you need to have a build of the same branch running on your phone (which is obiously not the case here...)
Click to expand...
Click to collapse
Yes, it will work if you're running CM11S on your phone as far as I know. You can try and report back.
me too. video play can't work . it will reboot when click to play video.
Any idea why do I get it? I followed a guide.
make[1]: Entering directory `/home/malwin/cm/kernel/oneplus/msm8974'
The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.
Edit : I've checked settings and "Enable loadable module support is checked.
It also bothers my why revision="cm-11.0" of connectivity project is used to build cm12?
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
Currently I have level 21. As I want to develop for large number of devices, I am trying port my code to 14 (4.0) So updated 4.0 in sdk manager. But unable to find support library 14 in sdk manager
XDA Visitor said:
Currently I have level 21. As I want to develop for large number of devices, I am trying port my code to 14 (4.0) So updated 4.0 in sdk manager. But unable to find support library 14 in sdk manager
Click to expand...
Click to collapse
Oh, I'm not an expert on this.
But I found an interesting page on xda: Support Library.
Maybe there you can get the answer you are looking for.
If not, you have to register on xda, and post in the Chef Central > Android forum.
There are many other users using Android SDK who can help.
I have built stock 64-bit Android 11 with Pixel5a hardware drivers. The build declared no significant problems. The issue now is how do I test it. I have tried to run the Android 64-bit phone emulator for i86 chips using lunch and I get:
emulator: WARNING: Not all modern X86 virtualization features supported, which introduces problems with slowdown when running Android on multicore vCPUs. Setting AVD to run with 1 vCPU core only.
Segmentation fault (core dumped)
I am using a build machine with an Asus P6T motherboard, 24 Gbytes memory, and an Intel I7 920 CPU.
Any suggestions as to where to look to fix this would be appreciated.
jlarysz said:
I have built stock 64-bit Android 11 with Pixel5a hardware drivers. The build declared no significant problems. The issue now is how do I test it. I have tried to run the Android 64-bit phone emulator for i86 chips using lunch and I get:
emulator: WARNING: Not all modern X86 virtualization features supported, which introduces problems with slowdown when running Android on multicore vCPUs. Setting AVD to run with 1 vCPU core only.
Segmentation fault (core dumped)
I am using a build machine with an Asus P6T motherboard, 24 Gbytes memory, and an Intel I7 920 CPU.
Any suggestions as to where to look to fix this would be appreciated.
Click to expand...
Click to collapse
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum