yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] jkok:
new version uploaded a few new features to include (where (pass)= passphrase)

toggles: (options are: wifi, gps, data, nfc, Hostspot) (values are: on, off, true, false, t, f) // toggles options to the value (data is the mobile data; Hostspot is the wifi hotspot)

toggle@(pass) (option) (Value)

Text-to-Speech: //makes your phone speak what you type (has censors to a few offensive words)

Speak@(pass) (what to say)

alarms: //sets off an alarm for the alarm ringtone, if failed alarm ringtone does notification tone, if also failed does ringtone

alarm@(pass)

Alarm (Looped version): (cannot be turned off until the app is force closed or phone rebooted, not my fault i just cant seem to get a decent code for stopping it to work)

loop-alarm@(pass)

Check superuser request: // just type one of the following to get the prompt (if already allowed or denied the toast will appear)

su

Su

SU

superuser

Superuser

SuperUser
[Android Apps and Games] jkok:
New version uploaded You can now disable any command (except the command to check susper user and the command to enable/disable commands) using this command (where (pass) = your pass phrase) and all the (option) can be any of the following now true,false,enabled,disabled, t, or f

set@(pass) (command before the @ symbol, echo,multi-echo, or simply all(can be multiple commands by separating commands with a sem-icolon " ; " ) (option)

There is also a command to read aloud ALL your texts messages, simply do the command

speak-all@(pass) (option)

This will read aloud ALL your text messages recieved, so if you dont want a private conversation to be heard aloud, text yourself the following

speak-all@(pass) (false, disabled, or f)
[Android Apps and Games] jkok:
sorry i accidently uploaded that last build with a glitch i didnt see instantly, i fixed the glitch:

the glitch was with how i had the apps disabled without a default value of true, making all commands but the set and check superuser commands disabled by default; its fixed now and new version is now uploaded with the fix sorry for all who downloaded the glitched version. you may now re-download it with the same link
[Android Apps and Games] muneebrocks:
Can I ask you something

why not upload this to google play? it will make it easier for all of us to get updates

also how is the app in relation to performance and memory footprint?

does it use alot of resources in background?
[Android Apps and Games] jkok:
i cant really check exactly how much it uses, but it only activates when you get a sms message, and if its not a command it returns and waits for another text to activate it again, even if the read all sms function is activated it only runs when a text is received, and i cant currently make a google play developer account yet i have to wait for permission to get a credit card to make one, as im still underage in some eyes, but when i get that i will get a google play developer account and do it then, as currently i cannot pay the $25 for the developer account if i cant sync my bank lol
[Android Apps and Games] maranello69:
i have tried:

reboot@(1234)

reboot@(1234) + lockscreen off

reboot@1234

reboot@1234 + lockscreen off

none of them worked, you should be more precise about the spaces and exact commands, do we need () or not?

do we need space after pass and commands?
[Android Apps and Games] jkok:
no () just the pass phrase, the reboot command cannot have spaces after it (unless its part of the pass phrase), it uses equalsIgnoreCase (in case you know know java, it is when its exactly only that, but not case sensitive)

so if your passphrase is 1234 it is only

reboot@1234

with no spaces whatsoever, ill test it myself in a second just to be sure, but this command requires root, so make sure you accepted the initial superuser response, if you denied it or it didnt show up check the superuser app/settings menu and check to see if its there, and the wakelock im using picks and chooses when to work, its the only way i found how to use a wakelock so sometimes locked screen with protection (pins patterns, etc) might not work all the time if any.
[Android Apps and Games] maranello69:
yep, su granted from beginning, but no luck even with lockscreen disabled

i'm using gosms, default sms app is disabled
[Android Apps and Games] jkok:
Thats the reason right there is gosms interfeering with it they have priority set to the highest interger java can have, making apps like mine not being able to use the broadcast receiver to get the sms, try with gosms disabled and regular sms enabled, it will work then, but if you want to use gosms, sadly you wont be able to use my app correctly without being able to receive the sms, thanks for mentioning it also ill add it as a comment to my original post
[Android Apps and Games] maranello69:
well, this sucks!

default sms app is a joke
[Android Apps and Games] jkok:
sorry, but developers have tried to get gosms to lower the priority, but they wont do it, leaving other apps, not just mine, out in the dust, there's currently no way i could program my app to bypass it sorry.
[Android Apps and Games] muneebrocks:
as a feature could you give us an option to change commands to our liking like for example

simply sending the text reboot123 would reboot the phone

or as feature could you give us an option to only allow approved numbers to sms commands and the commands coming from unapproved numbers ignored
[Android Apps and Games] jkok:
ill see if i can add a approved number list soon, i will only be able to do that for one number by the way in thinking, but ill put the whitelist into thought.
[Android Apps and Games] jkok:
uploaded new version. it now allows whitelisting to two numbers, and those who use email-to-sms programs/apps i also added a slot to whitelist one email, with the new layout tho it might cut off some display for smaller screens, but i cannot help that as if i added whitelisting through commands, if the whitelist gets erased (or since at first run there is no whitelist so you couldnt get commands) it wouldnt be wise to have it in command form, so i added them to the main menu:

Format of the whitelistings is limited for now, it it limited to numbers 0-9 only, do not include the country code (example +1, 1, +12, etc), and keep it without dashes, commas (pauses), semicolons (waits), %, (, or ).

Example (sorry if its your valid number and you get spammed):

5551234567

emails are not case sensitive, as normal email accounts arent anyways.

This system will prevent any unwanted commands, im working on allowing from ALL numbers, just give me time to think of a way to do it.
[Android Apps and Games] jkok:
didnt expect it to be done soo quickly, but i uploaded a new version that will allow whitelisting to ALL numbers with the wildcard *

*note* to keep some security this wildcard doesnt apply to the whitelisting email, as and email-to-sms would be able to do commands, and i dont think that would be good knowing some automators spam emails out there, wont be too hard (yet is illegal iun the us), to automate email-to-sms
[Android Apps and Games] pwoita:
Nice app, if only I could get it to work =/

To enable gps with password 1234, I tried this with no success. What am I doing wrong?

"toggle@1234 gps on"

Can you also make an option in settings to turn speaking messages on/off so we don't need to send an SMS when setting up the app.
[Android Apps and Games] jkok:
i acually want to thank you. thanks to the first quote i found the misspelling causing that error, it was cause i misspelt "on" of all words... i will get this fixed once i stabalize the build, i have gps tracking working, but adding device administrator for a no-root data wipe isnbt going well, ill remove device administrator parts then ill post the build with the fix and gps tracking.

and for the speak-all, i dont have room in the main menu to add it, because on a hdpi screen it already fills up the screen as much as it gets, im not sure mdpi screens will even get to see the apply settings, as i only have hdpi screens to test it. thats why i kept it as a command, sorry if that is a doiwnfall, but its to save room, sorry

edit: also on some un-rooted phones, if your phone's android is after 4.0 i think it wont let you toggle gps using a third-party app, but if your phone is rooted the code i used will do it. so that could have also been a problem if i didnt have the typo
[Android Apps and Games] pwoita:
yeah I have a rooted phone, so that's no problem.

could you create a popup settings screen then?

it seems weird that a sms-control app has any reading of sms's since they are such different tasks. I would have thought if you even put that in, that it would be defaulted to off. But yea, failing that, atleast a seperate settings screen so that you don't need to find another phone to unset it when you install.
[Android Apps and Games] jkok:
accually ill try to do that settings thing, and reading sms is defaulted off, but for some reason ill have to edit it because it shouldnt be initiated untill you do (where (pass) is your passphrase)

speak-all@(pass) true/on/t/ or enabled, but ill look further into that as it doesnt do default on for me, so i cant really tell how it will affect others.
[Android Apps and Games] jkok:
New version 1.4 has the most updates ive done in one upload.

new UI for version 1.4 i did by suggestion by local testers for an easier-to-fit screen for mdpi screens (or at least their mdpi screens), and easier access to new settings menu suggested earlier

Removed the welcome prompt, because listing all the new details would make it jabber on forever + load each time when the settings and login menus come active

Fixed the toggle typo bug, along with some renaming of strings

added new security feature of clearing displays on close and open, so that nobody knows what phones are whitelisted for more security

added confirmation of pass phrase to change whitelist and enable/disable service, reading all sms can be changed without pass phrase needed.

New commands consist of the following: (where (pass) = your pass phrase, and (option) can be any of enable, disable, on, off, true, false, t, f)

All of 3 the new commands listed on this post send confirmation text messages, so test if you have unlimited texting/messages, or willing to waste your minutes testing commands before they are needed)

GPS Tracking: (uses gps, then if failed, network) (may not toggle gps on newer phones that arent rooted, so if you phone hits the mark, keep gps on if you are at chance to lose or want to test it) (may send multiple messages if addresses in the area you are in exceeds 160 characters or your phone/carriers message character limit) (may loop until you disable tracking)

locate@(pass)

Stop Tracking (stops the tracker)

stop@(pass)

Testing if app is installed correctly and running (will send a confirmation text message saying its installed and working)

test@(pass)
[Android Apps and Games] pwoita:
1. in the extra settings screen, if i click enable service, when i update or apply settings, it unchecks it every time. when I open it again, it is unchecked and I don't know if it's because you dont set that checkbox or if it was not saved on apply.

2. just tried this again and nothing (may be due to #1?)

"toggle@1234 gps on"

3. you can use email?? how does that work?

just put the same thing in the header that you would have sms'd?

4. how does the whitelist work?

Am I only able to send from whitelisted numbers? or am I able to send without pwd from whitelisted numbers? or what?

Cheers
[Android Apps and Games] jkok:
answers/replys:

1. it unchecks and clears the text by my programming, it is enabled if you set it to checked, and set the pass phrase, you will see the toast "Settings applied" then your all good, i have it as a security thing so if someone tries to take your phone they will not see if the service is enabled, or what numbers you whitelisted, along with what your pass phrase is.

2. it turns out it was a method i was using for the multi-toggle, if you didnt have a ; separating em it wouldnt split right, but now its fixed where you dont need the ; for a single toggle, but use a ; to split what to toggle, you can re download it now for the fix

3. google "email to sms" theres some ways you can send text messages using someones ten digit number and then their login string, example, if my email is email@domain.com and i send a email saying "hi!" to 234567890@vtext.com, if the person who phone number's 234567890 and their carrier is the united states verizon, they will get a text saying "hi!" from email@domain.com, for a somewhat full list of sms gateways here you go

http://en.wikipedia.org/wiki/List_of_SMS_gateways

4. i made the white list where you can add two numbers, and an email (for email to sms), you still need the pass phrase because you can wildcard it with a *, but if any number not whitelisted (if you didnt wild card), if they send a text to you with a command (example if your pass phrase is 1234) reboot@1234 you will recieve the text, but your phone will not reboot, but if you wild card tho, it will reboot your phone because when its wildcarded, like many things is allows ANY number to do it, thats why i kept the pass phrase system in tact, for more security, along with the confirm pass phrases boxes to change settings, i left harmless things like echo and multi-echo and check superuser commands without a passphrase, because they will cause no harm, the multi-echos can get annoying, but it wont harm anything, unlike the terminal commands, wipe data, wipe sdcard, and commands of that sort, its good to keep the pass phrase system intact, and even better to white list up to 2 numbers instead of automatically wild carding them, and i didnt add wildcard to emails because people automate emails, even tho automating email to sms is illegal (and i looked that up for a different project i made for computers, just to be safe) its not wise to add a wildcard email option.
[Android Apps and Games] pwoita:
Thanks for your response!

From above

1. When I check the box for service to run and hit apply in the "additional settings" screen, it clears the textbox. If it has been turned on, the checkbox should still be checked, right?

Also if the service is on, then when you open the addiotnal settings screen, the checkbox should be checked.

It isn't.

2. ahhh cool

3. ah it's still a sms sent command. got it.

4. ah so for it to work initially, I need to set atleast one whitlelist number (which can be '*' to mean all). cool.

Hmm ... regarding 4, if I want to allow any number to sms to turn on/off gps or data ... but I want to disallow anyone being able to do serious damage like wipe, that would be better.

Maybe in settings have a long list of rows with each functionality and a checkbox to allow/disallow of what functionality the user wants to allow that can be done?
[Android Apps and Games] jkok:
for #1. it unchecks it because it will show who ever gets of the phone if it is stolen that it appears the service is disabled, but the setting only applies when you hit the "apply settings" button, the boolean still is set to true if it was checked when you applied the settings.

for #4. you can disable commands for all users only by using the "set" command, so if you want the wipe data command disabled do the following (if your pass phrase is 1234)

set@1234 data disabled

i cannot make a disable-per-whitelist, as if its wildcarded with a * it would mean have to add an infinite number of menus that you would have to set, but ill put that into consideration for disallowing dangerous commands from the wildcarded number list. and ill start working on that asap.
[Android Apps and Games] jkok:
New version uploaded! SMSTasks has a new checkbox to disable Dangerous Commands when wildcarding whitelisted numbers with a * (see the feature list to know which ones)
[Android Apps and Games] pwoita:
Sorry to be a pain, but the first problem I mentioned is a major usability issue. You might not much care as you wrote the app, but for everyone else, it is confusing.

If service is Enabled, when you click "More Settings", it should show up as already ticked so the user KNOWS if it is enabled or not. Same with the other checkboxes, and every setting on that screen.

When you then go and update, it clears all of it also, so you don't know if it was updated correctly or not.

So there are 2 times you should set all fields in the settings page:

1. when it is opened

2. when it is applied

I don't want to bother you by saying it many times, so I won't mention it again, but it's a pretty big thing from the users point of view.

Edit: and "toggle@1234 gps on" made the latest version of the app crash.
[Android Apps and Games] jkok:
sorry i was busy with family lately, i fixed the glitch you mentioned about the gps, i had a multi-toggle option, and it was interfering with single-toggles, i removed the multi-toggle and regular toggles are working fine now, sorry for the error, and i left the unchecking because if you ever need to see if its running correctly, thats why i added the test command when i made the uncheck security function, i left that funtion on because it disallows people who steal your phone to know if the service is truly running, and lets them think it isnt, but if you ever need to see if it is running send this command (if your pass phrase is 1234, or simply replace 1234 with your pass phrase)

test@1234

and as long as the phone is activated and able to send texts, it will send you a text back letting you know its alright. sorry for any confusion
[Android Apps and Games] jkok:
Added new version The following features were added: (where (pass) is your pass phrase)

-Snoozing the loop-alarm, no mopre reboots or force-closing needed

Snooze@(pass)

-Device administrator option was added (requires android 2.2+)

using device administrator the following commands were added/edited

-Wiping Data (doesnt require root now, but required to enable device administrator)

data@(pass)

-Remote locking your device (changes password of your device to a random password pre-compiled, then locks)

lock@(pass)
[Android Apps and Games] jkok:
New Version 1.5.5 has some minor bug fixes, and a new menu for sharing, and optional banner ads from leadbolt for our developers,

then menu will have 6 buttons, one to share the app, one to show ads, one to remove ads, one to goto this xda-forum thread, one to goto our facebook page, and one for our website (still in beta)

NO DATA WILL BE COLLECTED! but the ad provider made it manditory to add the internet permissions. so there are those new permissions.
[Android Apps and Games] jkok:
Im soo sorry for the 4 people who downloaded my app since my last post, there was an error in the leadbolt and it led them to suspend my ad-network revenue options, there is a new build thats switched to Admob, again no data will be collected, and the ad will load within 2 minutes of hitting the Show-ad button,

i did a temporary fix from a minor error, and added enebling and disabling of buttons as they are hit to prevent this error from happening to this network. sorry but u might have to re-download it or wait for the next update that comes as this one is just a ad-network change with minor bugfixes, and sorry for the inconveniences if could cause (i dont think it would cause any this time, but i wanted to appologize ahead of time)"

In added features tho, i hopefully put a working temporary fix to the bug of receiving non-command text messages from non-whitelisted numbers that caused the app to force-close when whitelisting number is not set to wild carded *

new bug i noticed however i will have to find a fix tho, when u receive a mms/picture message, it causes app to force close; unure how long that has been there as i just got a mms and it did that, sorry if that bug interfers with any of your texting styles/habits

Version number still the same 1.5.5
[Android Apps and Games] jkok:
can you let me know what feature forced close so i know what to fix? it wouldnt be a fair reporting if u dont tell me whats wrong, not every app works for every phone, u have to give proper feedback so i know what to fix, or else its not going to help us any with the error.
[Android Apps and Games] jkok:
ive never had it force close on me on initial startup, whats your phones android version, is your phone on its stock rom, can u make a nandroid backup and check it on other roms then restore,

i dont know how i would recreate for your specific phone as i dont have one, but ill look into alternant ways to open the app, maybee through secret dialer codes, im already trying to work on those, but ive been working on custom watch-faces for the motoactv for other forum members, and schools about to start soon, so developments are on a slow pace for a bit, but if all else fails, i will try to work on the solution, as it may just be a incompatibility of your specific phone or rom,
[Android Apps and Games] Buzz7:
You would be able to do this in Tasker as well I guess, but this app is a lot easier for those without many "tasker skills" (like me) ;)

Thanks :laugh:
[Android Apps and Games] jkok:
u know ive tried tasker, and never seen these features, i guess i havent used it thoroughly enough lol

but thanks! =)
[Android Apps and Games] mjhungvit:
I don't see pharase password

i don't see old password, when i have tried with pass: 1234 but incorrect. Help me Please

sorry my bad english :(
[Android Apps and Games] Rinnegan:
Downloading - Trying...

Thanks dev. :)
[Android Apps and Games] jkok:
if u have trouble with the apps old passphrase and truly cannot remember it uninstall and reinstall the app and it will reset, otherwise its set to keep it the same as a security function

[MENTION=4834753]Rinnegan[/MENTION] thanks for trying my app! and hopefully u will be able to see it better then the others the same way nagato does! (reference to your profile name :P as im a Naruto fan too )
[Android Apps and Games] onlavu:
unfortunately, it doesnt work on my device. the password is correctly saved (e.g. ok), but after sending a testing message with command reboot@(ok), the phone isnt rebooted. I just receive a message with the command and notification saying "speaking text from number: XXX...) ". Thats all. the app has granted super user. pitty:crying:
[Android Apps and Games] Abraheem:
GOSMS / Handcent Workaround ?

I haven't used this program yet. I use Cerberus which has the same problem with GOSMS.

Here is a solution that works for cerberus and should work in similar situations:

Open Go SMS Pro, tap 'Menu', 'Settings', 'Advanced', 'Other setting' then uncheck 'Disable other message notifications'.

Then back to 'Advanced', then 'Notification settings', check 'Notification bar privacy mode' and that so it will not display the recieved sms commend!

Then open the stock SMS App, tap 'Menu', 'Settings' then uncheck 'Notifications'.

The idea can be used with Handcent sms and other sms programs. Hope it works
[Android Apps and Games] jkok:
Dont include the ( or the ) in the commands, i used (pass) as a relation to use your pass phrase there, try without ( or ) if u set your pass phrase is ok like u said, to reboot do

reboot@ok

not

reboot@(ok)

do u understand it better now?
[Android Apps and Games] jkok:
Thanks for that information i will add your quote to the OP so they can see it also =) i didnt know that way of doing it, maybee i can have gosms installed again lol as i loved their themes lol
[Android Apps and Games] jkok:
Dont worry man im still looking into why its force closing for u on startup, dont think i forgot, but atm im working on an app for the MotoActv watch users to record audio, so please be patient, im still researching what your phone isnt compatible with that im using on startup (audio manager, tts services, device administrator, etc)
[Android Apps and Games] electricpunch:
Good work, dev!