Just digging around the APK, I found the JSON contents also.. I would have to sus em out agian..
If you can code up a way we can send the JSON request, I can find the values we need to use.
Just digging around the APK, I found the JSON contents also.. I would have to sus em out agian..
If you can code up a way we can send the JSON request, I can find the values we need to use.
I tried creating a Tasker scene, with textbox and button
Can't get command to send a message (also tried via send intent function)
Hope to look into querying the db, but will need sqlite3 installed and its super painful typing long amounts of text on such a tiny screen!
That's not the same as Run Shell?Instead of using intent, use terminal command in tasker and enter the command on OP.
Hmmm....that's the way I tried. must be missing something
I´ll certainly do, good point.
I´ll put in a check for com.android.provider.contatcs in the create part of the Activity, if OK - Load contacts, if NOK - Message box about missing app and then exit.
---------- Post added at 11:53 AM ---------- Previous post was at 10:57 AM ----------
Small update, I´we done some tests regarding editing the db file, very unsuccessfull..
Pulled the original db to computer and did the edit.
Try 1: Delete all rows but one and sent back to Gear - App FC when the Dialog would show
Try 2: Only did minimal changes, editet first row only - App FC when the dialog would show
Try 3: Edit one row only, and renamed the journal file aswell, the only valid file in directory is the edited db wich opens fine in Root Browser - App FC when the Dial would show.
Anyone got ideas what´s causing the Template send FC?
I tried something similar... I didn't FC, but the rewrites I did to the db file didn't even show up. It was the same quick responses. I guess I missed something in there...
am start -a android.intent.action.VIEW -n com.samsung.accessory.texttemplateprovider/com.samsung.accessory.texttemplateprovider.TextTemplateListActivity -e phone_number 0401010101
I´m definitely up for the challange.
I´ll try to get something running as soon as I get some time to look at it.
Another interresting thing is the /data/data/com.samsung.accessory.texttemplateprovider/databases/texttemplate.db wich stores the Templates. If we find a way to edit the db we could actually write what message we want to the db, then open the dialog and chose the newly created message and send it to what number we want. I´we got some ideas about this, I´ll try em out as soon as I get your shell commands working.
That is about how close we can get to native SMS right?