android.internal.telephony.xxx package support for cellular networks - telephony

Does Android support android.internal.telephony.xxx where xxx=3G WCDMA or CDMA.
I know it supports GSM. Would GSM package work with a 3G WCDMA Vendor RIL?

I looked at the radio debug logs using adb from a Nexus One connected to AT&T 3G network. The log showed that the GSM package was being used while in a 3G call. So it looks like a separate WCDMA package is not needed.

Related

how to run flutter project via smartphone hotspot

now i have 1 smartphone and 1 laptop and there is no wifi access here, can i run my flutter project through my smartphone hotspot. just like companion on kodular
note: I don't use a USB cable for some reason
You can use Wifi AVD plugin to debug your application wirelessly but you have to connect your device via USB for the first time.
Please check this out. You can use wireless adb connection
https://developer.android.com/studio/command-line/adb

Any way to receive multicast packets on Android Emulator?

Android emulator does not support multicast currently however I need to test an application that needs multicast packets. I want to do it on Emulator.
Is there a way to receive multicast packets on Android Emulator? I am open to writing some code as an android app.
At the present time, 2 years later, multicast packets still not supported on Android Emulator.
Android Documentation
Multicasting is still not supported by Android studio's emulator, however, you can use Genymotion. Using Genymotion, create two new emulated devices and set their "network mode" to "Bridge". Like this, the emulator will use your computer's network. By reusing your own network you can use multicasting if it is supported by your network. A nice bonus is that your emulators can even communicate with real devices on your network.

How to connect TWO android devices to a pc via USB

I wrote an app which runs on two android tablets at the same time. The app enables both devices to communicate with a java server which is running on the pc, via WLAN socket communication.
The problem with the WLAN connection is that it doesn't always seem to be reliable. So I wanted to setup a socket communication to the server via USB cables.
My problem no is how to connect TWO android devices to the server via USB cables. I found this tutorial for connecting ONE device to the server via ADB, but I see no possibility using this approach for two devices:
http://www.anothem.net/archives/2010/10/15/android-usb-connection-to-pc/
Has anyone an idea how to solve it? Thanks!
If your tablet is runs ICS or newer Android OS, then it is very likely that it has OTG capable micro-USB socket, and you can add a USB-Ethernet dongle, and then connect the 2 tablets to your PC over ethernet, instead of USB. This, might be the most elegant solution.
Of course, you'd need a switch (or hub) to connect them together. Also note that, not all USB-Ethernet dongles may work out-of-the-box. You might have to experiment with few models, especially the el-cheapo ones to get them to work.

How do I use Xperia Ray through Eclipse for Android programming?

I downloaded the Suite for the phone, the Google USB drivers and the Phone's connection drivers. So far, the phone works perfectly with the PC but Eclipse still refuses to see the phone and Device Manager is convincing me that I have no hardware compatible with the Google USB drivers. Therefore the Google USB drivers are downloaded but not installed or assigned to any device. I followed every answer on stackoverflow that there is so far, but none have solved the problem.
First, set your device into USB / debug mode.
Second, after you connect your device to the USB make sure your drivers is installed properly.
And last verify that adb.exe can detect you device from cmd (if running in windows) ..(path to your SDK)\platform-tools\adb device
If last step fails, then re-install you device driver, it should be handled automatically by sony pc-companion for your xperia phone.
You also have to enable USB-Debugging in Settings->Developer Options on your phone.

Finding devices on network with Bonjour / Zeroconf / jmDNS on PlayBook / Blackberry

I would like to develop an Android app which would run on
Blackberry PlayBook. App would need to find other
devices on the local network running the same app.
I was thinking to implement Bonjour / Zeroconf / jmDNS
protocol for finding devices but ...
i just learned that android permission
android.permission.CHANGE_WIFI_MULTICAST_STATE
is not supported on Blackberry or PlayBook. (Preference is
needed for jmDND (Bonjour) protocol to work.)
https://bdsc.webapps.blackberry.com/android/apisupport/
Can you give me some suggestions what would be the best way
to achieve this on PlayBook. Are there any alternatives?
Is Bonjour possible if building with native SDK or Adobe AIR?
Unfortunately, there is no native support for Bonjour / Zeroconf on PlayBook yet, check this thread
You can try mDNS Service Discovery at Blackberry world.
Here is copy of description:
mDNS Service Discovery is based on the Avahi open source project. It is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. This enables you to plug your laptop or computer into a network and instantly be able to view other people who you can chat with, find printers to print to or find files being shared. Compatible technology is found in Apple MacOS X (branded Bonjour and sometimes Zeroconf).
The source code is available on the BlackBerry GitHub portal.
mDNS Service Discovery is a part of PlayCloud application - used to find printers.