have you heard about 1 second everyday? it’s an app for android and ios which lets you create a neato long-term compilation of short videoclips recorded daily – as the name suggests, you can use 1 second per day.
before the android version was released, a few days ago, i had used memoir, which works with the same principle but doesn’t sync video and audio very well.
moving from one app to another is not easy: making the videos of one app available to the other modifies the “date modified” timestamp, which is used by both apps to assign videos to dates. neither app allows changing a video’s date internally (yet?), and there’s no native feature in android to change a file’s timestamp. basically, once you run into a problem that requires file handling (and/or want to migrate videos from one app to the other), you’re stuck.
that’s a rather unsatisfactory realization, so i decided to look for a workaround:
- the standard unix command “touch -t <timestamp> <file>” (or “touch -d …”), entered in a console app with root rights (e.g. ConnectBot) didn’t work, irrespective of the timestamp format used, since the modification of timestamps is not allowed on the sdcard. you can “touch” them in console to change it to the current datetime, but not back-date.
- copying files with correct timestamps from your computer via usb, dropbox etc. won’t work, because the phone updates the files’ timestamps. also, restoring files from a backup archive – or any copy-paste-action in general – will change the original “date modified” value to “now”.
- manually updating the sqlite database within the app’s data directory
(/data/data/co.touchlab.android.onesecondeveryday/databases/onesecondeveryday.sqlite or /data/data/com.krystal.memoir/databases/memoir.db, respectively)
should work, but i couldn’t find any easy-to-access “amateur-proof” information on how to create the corresponding “-journal” file (onesecondeveryday.sqlite-journal or memoir.db-journal) that is required.
if you know how to easily do this, please add your comment below!
- another idea – which i ended up not testing – was the creation of a zip-file with your files and folder structure (original timestamp included) on your pc, and flashing it as an update.zip in recovery mode.
to sum it all up: no luck.
since i only wanted to import about 30 files after all, i eventually decided to follow the strategy “more manual work, but easier and faster”, and use android’s strict timestamp handling to my advantage. it even works without root rights!
- 1. in the android “settings” > “date & time”, deactivate “automatic date & time”
- 2. manually set the date to your file’s desired “date modified” timestamp. the exact time isn’t relevant for our purpose.
- 3. copy and paste the files to a new directory on your sd-card. the fastest way is to use your computer and usb-cable for the file actions, while your smartphone stays on the settings page.
- 4. repeat steps 2 and 3 with your next file and desired timestamp.
- 5. when you’re finished, don’t forget to change your date back to today, and reactivate the “automatic date & time” option if it was previously checked.
both apps, 1 second everyday and memoir, effortlessly imported the files and organized them to the correct, artificially set dates. it’s not a very clean and sleek method, but it does work.
do you know about a better/easier way to do the job? please leave a comment and share it with us!