Problem with connecting to Ricoh in Android application if connection was lost while saving images.

The place to discuss development topics.
Discussions on the RICOH THETA API and SDK, image processing of spherical images, other hardware related topics, introduction of useful libraries, etc.

Problem with connecting to Ricoh in Android application if connection was lost while saving images.

Postby IonRod » 24 Sep 2015, 21:01

Hello!
I've got a problem:
1. I have created an Android application which takes a series (3) of images and then download them on the phone.
2. In case app lost connection while downloading images (for example if Ricoh has run out of battery or was turned off while WiFi blue indicator was flickered)
3. After that I'm trying to reconnect to Ricoh and download images again but each time, when I create new connection with:
new PtpipInitiator("192.168.1.1");
I got an error:
failed to connect to /192.168.1.1 (port 15740) after 10000ms: isConnected failed: ECONNREFUSED (Connection refused)
IonRod
 
Posts: 12
Joined: 02 May 2015, 15:17

Return to Development



All times are UTC