Android BETA: Automatic backup of Photos and Videos support

Support for Tonido on Mobile including iPhone, Blackberry, Android and mobile devices
rydgaze
Tonido Team
Tonido Team
Posts: 1354
Joined: Wed Jan 28, 2009 11:26 pm

Re: Android BETA: Automatic backup of Photos and Videos supp

Postby rydgaze » Sun Aug 03, 2014 10:24 am

That is quite odd. This is searching on the DCIM folder in the external storage (It finds the images on our test devices). The external storage folder is not hard coded and is querying the android system (so typically /sdcard is shown to the system as /storage/emulated/0/) . This works on our 6 test devices (running 4.2 and 4.4)

Are you using stock android ?

I have added explicit search of images in /sdcard/DCIM in build v3.4. Hopefully it will find images in your device with that change?

riggs170
Regular Tonidoid
Regular Tonidoid
Posts: 14
Joined: Tue May 27, 2014 9:50 am

Re: Android BETA: Automatic backup of Photos and Videos supp

Postby riggs170 » Mon Aug 04, 2014 8:39 pm

No I am using a custom version of Android. The new 3.4apk had no success.

[attachment=-1]uploadfromtaptalk1407202764339.jpg[/attachment]
Attachments
uploadfromtaptalk1407202764339.jpg
uploadfromtaptalk1407202764339.jpg (87.25 KiB) Viewed 11078 times

rydgaze
Tonido Team
Tonido Team
Posts: 1354
Joined: Wed Jan 28, 2009 11:26 pm

Re: Android BETA: Automatic backup of Photos and Videos supp

Postby rydgaze » Mon Aug 04, 2014 9:51 pm

The last build searches throw /sdcard/DCIM folder and looks for every subfolder in that location and picks up photos.. In my system, /sdcard/DCIM is softlinked by /storage/emulated... and if finds and uploads photos ...

If you use an explorer application, are you seeing the photos in /sdcard/DCIM/Camera folder? I am curious to see what exact folder it should be looking for and I Can add some special checks..


Also can you confirm that you uninstall the app everytime and verify that the new build is installed by checking its version?

riggs170
Regular Tonidoid
Regular Tonidoid
Posts: 14
Joined: Tue May 27, 2014 9:50 am

Re: Android BETA: Automatic backup of Photos and Videos supp

Postby riggs170 » Tue Aug 05, 2014 9:18 am

I have been uninstalling each build and verifying the version.

When I use es file explorer and copy the full path to where photos are stored, the result is

/sdcard/DCIM/Camera/_20140802_115059.JPG

, and I can also find the same pictures in

/storage/sdcard0/DCIM/Camera/_20140802_115059.JPG

, and

/storage/emulated/0/DCIM/Camera/_20140802_115059.JPG.

I am not sure why there are so many paths to the same file.

It doesn't make since it's not working for me if your test devices work.

I tried installing on my work phone a Samsung galaxy stellar, and the store path never populated and the service states that it is idle. It still never stated uploading.

On my nexus the store path populates and the service status indicates is running.

riggs170
Regular Tonidoid
Regular Tonidoid
Posts: 14
Joined: Tue May 27, 2014 9:50 am

Re: Android BETA: Automatic backup of Photos and Videos supp

Postby riggs170 » Wed Aug 06, 2014 6:58 pm

OK, well I fixed the problem by changing the storage location to /home/server/tonidosync. That makes me sad though because I store all my pictures on my NAS @ /mnt/NAS/pictures/mobile_uploads. Can you think of any reason why I couldn't upload to my NAS. I am able to access that location from the app and web. Thanks for all your hard work, I'm sorry it was something so simple.

How I found the problem was I used my wife's iPhone and an exception populated saying invalid storage location.

clifhanger_uk
Veteran Tonidoid
Veteran Tonidoid
Posts: 55
Joined: Wed Nov 02, 2011 10:15 am
Location: Cirencester, UK

Re: Android BETA: Automatic backup of Photos and Videos supp

Postby clifhanger_uk » Mon Aug 18, 2014 11:54 am

New test:
1: Server version and OS:
Tonido Plug, Server 5.80.0.26973
2. Android app version
3.4
3. Android OS version
4.3
4. Android device type/model
Samsung Galaxy S3
5. Method to recreate the problem
Installed apk, created folder, ran Camera uploads.
It uploaded 9 pics - ok
New pictures taken - No upload. It still only sees 9 pictures
The problem is with the folders:
The S3 has ability to photograph in 'burst mode'.. (Really fast repeated shutter for following a moving target). It saves these burst mode shots in the folder..
/Storage/emulated/0/DCIM/Camera/filename.jpg
Normal camera photographs are NOT saved in this folder.. Normal single shot camera photos are saved in:
/storage/extSdCard/DCIM/Camera/filename.jpg

I would like the app to save the normal single shot photos, NOT the burst shot photos.
6. Screenshots if possible:
Attachments
Screenshot_2014-08-18-17-56-06.png
after taking 4 or 5 new pictures with the camera...
Screenshot_2014-08-18-17-56-06.png (112.79 KiB) Viewed 11045 times
Screenshot_2014-08-18-17-32-02.png
screenshot of initial upload
Screenshot_2014-08-18-17-32-02.png (110.16 KiB) Viewed 11045 times

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: Android BETA: Automatic backup of Photos and Videos supp

Postby madhan » Mon Aug 18, 2014 2:35 pm

So you are saying after initial backup, new pictures are not backed up (irrespective of normal or burst mode)

clifhanger_uk
Veteran Tonidoid
Veteran Tonidoid
Posts: 55
Joined: Wed Nov 02, 2011 10:15 am
Location: Cirencester, UK

Re: Android BETA: Automatic backup of Photos and Videos supp

Postby clifhanger_uk » Mon Aug 18, 2014 4:11 pm

madhan wrote:So you are saying after initial backup, new pictures are not backed up (irrespective of normal or burst mode)

No, I'm saying that after initial backup, new normal pictures are not backed up. Pictures taken in burst mode are backed up.

It's backing up the wrong directory, it should backup the camera directory on the sd card (as you said previously), but on my phone it's only backing up the on-device camera directory..
(the phone creates an on-device camera directory when you take a burst shot so it can save the burst images directly to the device, I assume they think it's more reliable that way).

techhome
Rookie Tonidoid
Rookie Tonidoid
Posts: 2
Joined: Tue Aug 12, 2014 11:14 pm

Re: Android BETA: Automatic backup of Photos and Videos supp

Postby techhome » Thu Aug 28, 2014 12:04 pm

I have this beta installed on a verizon Galaxy S3. Shouldn't it back up new photos automatically, or is it required to open the app and tap on the camera icon to launch photo upload/backup.

The latter is how it's working now and I'd prefer the former...

Thanks!

Doug

ballfam
Super Tonidoid
Super Tonidoid
Posts: 46
Joined: Fri Apr 26, 2013 12:57 pm

Re: Android BETA: Automatic backup of Photos and Videos supp

Postby ballfam » Fri Aug 29, 2014 12:41 am

I got this working pretty much immediately, but it is having issues uploading all the pictures. I have a Samsung Galaxy S4 running Android 4.3, and I have set it to store my pictures on the SD card, but some of the features of the Galaxy (like best picture, which takes 8 shots at once) will always store on the internal storage regardless of that setting. The net result is that I have some pictures on internal storage and some on the SD card. In this case, the auto-upload only finds the pictures on the internal memory, and not the ones on the SD card (where the majority of my pictures are).

I'm running v3.4


Return to “Tonido on Mobile”

Who is online

Users browsing this forum: No registered users and 3 guests