I am trying out the official Sony CameraRemoteAPI and its example application for Android. The sample application however is not finding my A6000 camera on 239.255.255.250:1900 like it is written in their official Developers Guide.
The official documentation says:
"First, you need to enable the remote control function on your camera. The camera will then act as an access point. Then you should connect your phone or tablet to the camera access point. On the phone or tablet, select the camera access point and input the password displayed on the camera or described in the manuals."
I found some suggestions online to start the "Smart Remote Control" app on the camera so the android device can detect it. (This makes sense because it is the one displaying password while waiting for connection.) This did not work for me with the demo application however (but the official "PlayMemories Mobile" app still works).
Can anyone help me how to set my camera (Sony A6000) for the incoming connection?
Thanks for the help in advance.
On your Android device you need to go into your wi-fi settings (outside of the application) and select the camera's access point as your wi-fi network, and when the device prompts you for the wi-fi password you need to use the password that's specified on the camera label where the SSID is also located. I believe the "PlayMemories Mobile" app automatically detects the camera's wi-fi access point whereas the built-in app requires you to find and connect to it in your device's wi-fi settings. You may have noticed that when you connect to the camera from the "PlayMemories Mobile" app that it tells you that it's disconnected from the camera's connection, that is because I believe the application is switching wi-fi networks for you.
Hope this helps... Also, in case you're wondering, I'm unsure of how to connect the Android device to the internet while simultaneously connected to the Camera's wi-fi access point. Maybe there's a way to be connected to two wi-fi networks simultaneously on your Android device? Or maybe there's a way to have the camera's API be available through another network which is connected to the internet? I don't know, but I'm currently looking for solutions to this.
Related
I'm running Android Things on a Raspberry Pi 3 with a touch screen attached.
I would like to be able to access and update wifi settings in my app. I.e. be able to show a list of scanned wifi networks and let the user pick one and type in a password.
This would be useful when bringing the device to another building with a different wifi network, for example.
Is this possible? Or is the only way to change the wifi connection to do one of the actions described here: https://developer.android.com/things/hardware/raspberrypi.html#connecting_wi-fi
Thanks!
There are APIs which can be used to setup Wi-Fi networks programmatically. This means you can do all the scanning and connecting inside of your app.
How to search Sony Camera wifi programmatically.
I want to apply same camera connection feature as sony play memories app do.
I want to detect Camera even its wifi password is not stored or currently device wifi is not connected to the camera.
Currently, I am using the Sony Camera Remote API demo which shows device in search list only when our device is already connected with a camera .
Please, some one guide me to achieve same functionality like Sony's remote camera app.
You should be able to use the Android WifiManager class to get a list of all of the WiFi SSIDs. Then it's just a matter of filtering out the camera SSIDs which you should be able to do just by filtering on the SSID name string.
See this post for details on how to get a list of Wifi SSIDs:
How can I get Android Wifi Scan Results into a list?
I am writing an android app that will interface with a Sony SmartEyeGass. I want to detect the presence and connection of the device, prior to the user starting functions that use the glasses.
Unfortunately, I am having trouble reliably detecting if the device is present or not. Watching for the START, STOP, etc events is not solving my problems because I often get START events received by the ExtensionReciever when I start the application and the ExtensionService, despite having the glasses powered off. Running the ControlExtension that shows stuff on the glasses has no problems drawing onto nothing.
How can I get information from the SmartEyeglassAPI indicating whether the device is present or not? I have not been able to find this digging through their online documentation nor in the samples.
There is no API as part of SmartExtensions to check whether the glasses are connected or not. You should be able to detect whether the glasses are connected by listening for connecting Bluetooth devices and checking the device name.
This API may work for you:
http://developer.android.com/reference/android/bluetooth/BluetoothHeadset.html#getConnectedDevices()
I've started to develop a chat application for Android. This app is supposed to function without internet and, most importantly, without an access point; It has to connect Android devices in a pure P2P manner.
However I've followed the following tutorials posted in android developers guide:
http://developer.android.com/training/connect-devices-wirelessly/nsd.html
http://developer.android.com/training/connect-devices-wirelessly/wifi-direct.html#fetch
Afterwards, I've tested my app on 3 devices, the problem is one of the devices acts as an access point, preventing other devices from connecting with each other if they are connected to it.
This doesn't work for my app, because I want each user to be able to connect to multiple users at the same time.
What do you suggest I do in order to achieve pure P2P connection for my Android app?
Does the group owner acts as an access point?
EDIT
After I've done some research I found the WiFi Direct is not suitable for my project since it has to assign a device as an access point, what I'm looking for is WiFi ad hoc mode or (IBSS) in Android Anybody got any suggestion on how to start working on that?
By using bt and wifi simultaneously, you can try to extend the network further. This will require some kind of packet routing.
Also, it seems android ignores wlan cards connected to usb otg - just plugging in extra wlan dongles could allow easy extension of network.
There are a lot of public places where your mobile phone is used for tracking. Your mobile device is used as identifier, for example: http://www.bbc.co.uk/news/technology-23665490
Is it possible to use an Android device as scanner to find the MAC addresses of nearby mobile devices?
I've found examples to scan Access points on an Android device but was not able to find more information about scanning for other devices.
If you would like to capture all the traffic closer to your android you would need to put your wlan card in monitor mode . This is not always possible as you will need root access and will depend on the phone, in the nexus models it is usually easy. When your card is in monitor mode you will be able to capture all traffic with sniffers like shark.
But without monitor mode you can still do some things.
You can check the devices connected to a wifi network with tools like Fing, you will need to be connected to that network.
For collecting data from hotspots you can use wifiAnalyzer, but this will not reveal the clients of the network.
Furthermore you can create a map and submit data of the hotspots with wigle, this is call walldriving and you can check information about hotspots in https://wigle.net/