I am developing a multicasting application and I need to know if multicasting is enabled on the nexus 5x or on the 6p. I currently have the nexus 5 and it is disabled.
Ref: https://code.google.com/p/android/issues/detail?id=51195
Rooting and recompiling the kernel to enable multicasting isn't an option so I will be purchasing a new device to test with. I would like to use a nexus product, however I need to know if it is enabled.
Could someone who owns one please check if "/proc/net/igmp" exists? any file manager application will work. Sorry, I know it's a simple request. I've googled it, called google support, and looked through an emulator's files all without an answer.
Also If they don't support it, could someone please recommend a device that does support multicasting?
Thanks!
I do have a Nexus 5X with Android 6.
ls /proc/net/ig* shows:
igmp6
I also have an old ASUS K010 tablet which have both igmp and igmp6.
I tried multicast using GStreamer in Android. Both work, just make sure you have the right permissions.
Related
I wanna use a library from GitHub named "Android Network Tools", but actually I have a complex issue when using that. I tested the ping of this library on different type of devices and Android versions, and it worked correctly and was perfect, but when I tested it on my Samsung Galaxy S8 with android 8 I saw pinging external IP(like google.com) didn't work! at the first, I thought it happens in Android 8 and tried to solve it, but I launched it in Android 8 with the emulator that was ok! after that, I decided to test it on my friend's Samsung J7, you can guess that what happened, it didn't work again!
Right now, I'm really really confused because of I don't know why it happens just on Samsung devices, do you have any idea?
The problem is not with your code , the problem is occurring because of Device manufacturers They change the Os according to there need which causes issue with ping , see
Why does ping works on some devices and not others?
Finally, I found the problem, this was about control running apps in the background! when that feature be enabled some methods and ping doesn't work correctly in real-time.
power saving mode
Yes this is correct. With any power saving mode active, on at least some Android o/s versions, ping will not function. I'm guessing icmp echo reply packets are dropped. A sniffer app would confirm this. It is possible icmp echo (outbound) packets aren't even generated. Crazy in my view. Most ping utilities are very lightweight and I would have thought consume minimal power. I'm running a Samsung J5 / Android v.7.0. Ping started working once I disabled power saving mode
I'm developing for Galaxy Note specifically. I want to test my app on a real device which I don't have. Is there some way I can fake a Galaxy Note on AVD?
I do know how to create an AVD with hardware matching Note. However, that won't suffice. I want the app to identify AVD as a real device. I have small hints in general direction:
1) Somehow install stock Note ROM on AVD.
2) Modify build.props and create my own ROM.
I also have a Galaxy S phone, if something can be done on that. Thanks.
You can do this only on real Device, because this information is wrote only on the firmware of device. You can try to debug on remote real devices. Search on http://innovator.samsungmobile.com/bbs/lab/view.do?platformId=1
or here http://www.perfectomobile.com/portal/cms/services/android
I'm developin with the google's add-on package com.android.future.usb to communicate with a USB accessory on Android 2.3.5 the app is designed to run specifically on Samsung Galaxy y ,
My problem is that the phone is refusing to install the app, i added the uses-library tag in the .xml, i went through the tutorial on develop.android.com...
IS there a way to get past this error,missing_shared_library, from my understanding it means that the phone doesn't include this shared library specifically,
and since the added external jar file from the google add on lib to my project wouldn't be included in the .apk file that's going to be installed on the Android device, Is there any way to communicate with USB on that device ?!!!...
Did you take care of the minor difference because of using the Add On?
http://developer.android.com/guide/topics/usb/accessory.html#usage
Guess this is the same problem as described here: USB Accessory API on Samsung Galaxy S2 Android There is an answer by Naresh Noby which sounds promising but I couldn't test it so far since I'm lacking the device. I would be very interested to hear the result though.
I don't expect you to correct my code, since it should be working, at least works on emulator. Unfortunately gives different output on the devices. My question is:
How to debug in such cases, when the device is not working as the emulator, and what could cause that (device model, a custom ROM?)
I heard some rumors some time ago, about possibility using the device instead an emulator somehow connected to the SDK. Could you also confirm or deny that?
You'll find it's not uncommon to find little quirks between devices. Many developers will have several physical devices to test their software on.
You can find information on using a physical device for debugging (including using it inside Eclipse, just as you would the emulator) on the Android website: http://developer.android.com/guide/developing/device.html
Yes you can do that. Just put your device into debugging mode, and connect it to the computer with the micro-usb port on the device. You will also need to download the drivers from the manufactures website.
Can you use any unlocked Motorola Droid phone for Android development? Say one you bought off of eBay?
Yes, all you have to do is go under settings => development, and check the box to allow USB debugging.
You can use 'nearly' ( I say nearly just in case there are some exceptions that I'm not aware of) any phones for dev, just turn on "allow usb debugging n the settings.
Regarding the motorola droid, it works fine I have one at work and just plugged it in and launched my app.
for further reference, some phones are not recognized in the default settings of the android sdk (the htc legend for exemple), in those cases it is a simple matter of adding a line in your android sdk files (full procedure findable in 30 sec on google).
As far as I know, you can use any Android phone. You just have to enable USB debugging on the device and install the device driver on your computer.
The european counterpard (the Milestone) can be bought quite easily, not only from eBay but new too....I don't see why that wouldn't be the case for the Droid?
Register for Android Market access in developer.android.com and you can buy the phone from the site.
What do you mean by unlocked? If you mean rooted, then you don't even need that. My Motorola Droid works straight out of the box. So, short answer: yes.