I'm thinking about using the Sony Camera Remote API, but before I start I'd like to know if it's possible to create a connection between an Android device and a Sony camera without wifi. I'd like to know because I'm developing an app where taking pictures is one of the functionalities and that needs to happen even when there is no wifi.
Unfortunately, the Camera Remote API only works over WiFi, so there is no other way to control the camera.
Related
I am working on an Android pastime project. I have a camera device that runs on Android 8.1. This camera device doesn't have a screen. I am trying to identify the best way to transfer photos from the camera device to my smartphone. So, I see a few options.
Pair the camera device with my smartphone over Bluetooth. This way, I can transfer photos over Bluetooth. In this approach, I will be building a background Android service and pushing it to the camera which can take care of transferring the photos. Ref: https://developer.android.com/guide/topics/connectivity/bluetooth/transfer-data
Have a hotspot turned on on my smartphone. Connect the camera device with the smartphone's hotspot. This way, I can upload the photos captured to Firebase or some other cloud platform and later pull the photos on the smartphone. The only problem I see is that the hotspot should be always on.
Make the camera device utilize the data connection of my smartphone. I am not sure if this is feasible.
I am evaluating these options to identify which will be a better option. I am trying to understand what kind of Android services I would have to build and push to the camera device and my smartphone. Any thoughts/insights are welcome.
Details about the camera device:
The camera device (camera module) has both Bluetooth and wifi capabilities.
The camera device is not stationary. So it can't be connected with home wifi or specific wifi. But the camera will always remain closer to my smartphone.
As the camera runs on Android, I can build services/APKs and push them to the camera. The same applies to my smartphone.
I am trying to find more details on how the photo transfer works on devices like Google glass.
Personally I would go with Wi-Fi Direct or Wifi hotspot just for faster transfer and plenty of libs and implementations for IP. Bluetooth is significantly slower and you will probably write a lot more code for handling file transfer
and when talking about IP connection - I would go with libstreaming. In there you have an RTSP server, common solution in IP cams and similar kind devices. It will stream video live, I'm not sure it is capable to do photo during this, but for sure you could add such feature. And you have ready-to-go solutions for handling camera and data transferring through Wi-Fi, based on some RFCs and official docs, not some custom not-so-reliable implementations
PS. Google Glass is a bad sample in this case, it needs Internet connection to work...
PS2. Yep, this answer is opinion-based, this kind questions are in fact forbidden on SO...
i need to develop an android app wich controls about 4 cams. with wifi direct i can control only one camera via the sony api as the cam acts as access point.
so i connected the hx60 to the wireless router where the android device is connected. but i only can ping the camera when im connecting to the playmemories camera apps application (from the application list in camera menu). im not able to call anything via the api. is it even possible with a router in between?
if not, how to connect to multiple cameras else?
thanks alot!
stephan
Unfortunately it is not possible through the Camera API to connect multiple cameras to a single device.
I've bought an IP Camera with P2P capabilities and I've been struggling on how this works.
On the bottom of my camera there is an ID which I put on an Android application and it'll just work, it doesn't matter if its behind a router.
Now I've been trying to replicate this with coding but I have no idea where to start. I found this
Android App to Stream IP Camera using P2P mode over Mobile port?
Which is what I'm trying to do but still I'm lost as of how this works.
Any ideas?
I am developing an iPhone and an Android app which will connect to the Sony Camera NEX 5T via the Sony Camera API and receive an image being sent from the camera. I downloaded the Sony tutorial from https://developer.sony.com/2013/11/29/how-to-develop-an-app-using-the-camera-remote-api-2/ and tried using it.
I am not able to connect to the camera via the demo app as well as it doesnt locate my camera at all.
But if i use, play memories app by Sony, it locates and sends the image in a fraction on a second. I even tried to manually reach the camera via 10.0.0.1/sony/camera but it doesnt connect.
Any help will be greatly appreciated. A working demo from anyone would be highly helpful.
Thanks in Advance
I can suggest a few things to check your setup.
1) Update to latest firmware on the camera (esupport.sony.com)
2) Smart Remote Control app in the NEX-5T camera (latest version is installed?)
https://www.playmemoriescameraapps.com/portal/usbdetail.php?eid=IS9104-NPIA09014_00-F00002
3) Latest version of iOS/Android sample applications from Camera Remote API SDK.
4) Start Smart Remote Control app in NEX-5T.
Best regards,
Prem, Member of Developer World team at Sony
I want to access my android device (Nexus S) from my pc remotely. I was thinking of an application that would activate the camera and sent the video to my pc, something like Skype but without sound. My first thought was using a VPN connection, but it is a little bit restrictive as it is available only for API Level 14. I dont want to use a server cause I'll have to pay, unless I can avoid it.The concept is using the device for security like a wireless camera. Any ideas would be appreciated.
use an app called IpWebcam. It converts your phone into a wireless webcam. You may see the live video through browser or a player. Install it and you'll find the instructions inside :)