Access local network devices from Android Studio - android

there is an app from pioneer for controlling my AV receiver. Unfortunately it is no longer working on Android 11 or even 10.
It is called iControlAV5.
Now I have the idea, to check why the app freezes. Therefore I downloaded the app and loaded it to Android Studio.
Unfortunately I only reach the freezing point when the app has found the receiver in my local network...
How do I configure Android Studio so that I will be able to access my local network?
Any ideas?
Regards,
Dodger

Related

Connecting my android app with Concept 2 PM5 device?

I wanted to connect my android app with the Concept 2 PM5 device using a BLE connection.
Is there any SDK or Gradle provided for the same?
I have checked the below-listed API's but don't have any idea how to use them.
https://log.concept2.com/developers/documentation/
Does anyone have any idea?

Faking bluetooth connection with Android Studio?

In an university project we are working with an MSP430 that sends data to a smartphone via bluetooth. For developing and testing purposes another part of the team build a program which allows to send bluetooth data from an visual studio project. We are not emulating the project but instead are running it on an attached phone. Cause it is always a little annoying to connect with bluetooth and to start and stop sending data, my professor was wondering,
if there is a way to make Android Studio fake that there is a connection and to send the data via Android Studio instead.
Or is there another way, that you would suggest for such testing purposes? I'd be thankful for any answer.
Cheers
Ginbak

Chromecast API doesn't accuratelly detect when device is connected/disconnected

I have a problem when i am trying to use my chromecast device.
Currently I have an app for Android , one for iOS
and these 2 apps from github.
https://github.com/googlecast/MediaRouter-Cast-Button-android
https://github.com/googlecast/CastVideos-android
All of them have a common problem. They sometimes cannot accuratelly tell if a chromecast device is connected or disconnected.Taking around a minute before they find it out themselfs.While an application like Youtube , discovers if it is connected or not, instantly.
EDIT #1 START:
While using the application "Cast Videos" for android from GitHub the following thing happens.
I hold the android device in my hand (Samsung Galaxy S2).
I know chromecast is on because I can see it on my monitor.
I start the application "Cast Videos".
The Chromecast icon does not appear, even if the chromecast device is on.
EDIT #1 END;
I have tried using the app_id from my own receiver application , and the default receiver app_id.
I have found a way to trick them into finding the device. By launching the youtube application on an Android or iOS device , connect to the chromecast device , then disconnect.
When I return to on off the apps I have mentioned at the start of the question , they can detect it now , and connect to it.
The two applications from github are not modified , and use the most up to date support libraries (appcompat, mediarouter, CCL).
The applications are now being currently build on a Mac (if that matters). I don't think it will be of any difference if they were built on Windows or something else.
EDIT #2:
I am starting to suspect that actually the wifi router in the building im programming may cause these connection problems. Because when I send the app to other people they don't have the same problem.
EDIT #3:
Good news :D.
The latest update on the castcompanionlibrary made chromecast detection much more reliable and the sample now detects preciselly every time if it is connected or not.

can I use Android phone without service to test app

I have a Android phone without service. (no phone company I am using with it) Am I able to test my Android app with this phone? If yes what step I should go? I am using Eclipse using HTML5 and phoneGap to develop app.
Should work fine.
Just remember to connect to wifi if your app requires the internet in order to work.

QCAR on ASUS Transformer (eee Pad)

I'm starting to develop an AR applcation and my development device is the one in the subject.
This target runs Android 3.1.
i covered all the steps needed to setup my environment and tried to run the Image Targets example that is supplied with the QCAR SDK but with no success.
Everything is complied and deployed successfully but when the application starts on the target i get an error:
"Network connection required to initialize camera settings.
Please check your connection and restart the application.
If you are still experiencing problems, then your device may not be currently supported."
While a network connection is present via Wi-fi to a local home network.
Anyone can suggest me what to do? I cannot replace my device and i must work with Quallcom's AR library.
Thank you very much
Soon apparently..
https://ar.qualcomm.at/qdevnet/forums
According to Qualcomm, the QCAR SDK now supports all android Eclair, Froyo, Gingerbread, and Honeycomb devices.
I found this thread, which lists four sanity checks:
Is your device connected to a wifi network with an internet connection?
Can you load a webpage using the Browser app?
Can you load an webpage at an https address?
Is the date and time on your device are set correctly?

Categories

Resources