Easer
Easer copied to clipboard
Allow appending to a file
I wanted to try logging my location to a file. I can configure the event, but i can't find a profile operation that might let me append some string to an existing file. I also am not sure how I would grab the location to do so.
Hi, Unfortunately at the moment there is no dedicated operation for appending to a file. However, if you have root permission, you may try to execute commands to do that. For grabbing the location, you may want to have a look at Dynamics.
Hi,
It seems root permission is not necessary. I have a profile running the following command, to append the current Date/Time/Cell ID to a file. It works without root (<<CellID>> is defined through dynamics and a previous "Cell location" Event).
echo "<<date>> <<time>> <<CellID>>" >> /storage/emulated/0/Documents/Cells
Thanks @grmoth for the example!
Whether requiring root permission seems to depend on the device/ROM you are using. I received different results from previous feedbacks.