NFC Task Launcher Question - Galaxy S III Q&A, (US Carriers)

Well, I emailed the developer about this question a couple days ago...still waiting...but just in case some of you high IQ guys know how to do this...
I have a tag that I set up to open up the Navigation app. In Task Launcher, when I select the Navigation app...there is a command below it: CUSTOM...open a specific activity within an app. There are no option in the app itself to change it...but it looks like I need to type what I want launched once the Navigation app is opened.
I want the Map activity to launch...what code do I need to put in there? Looks like there already is a code there...and it looked like it was going to do what I wanted...but it doesn't do anything. (com.google.android.maps.driveabout.app.DestinationActivity)

SiNJiN76 said:
Well, I emailed the developer about this question a couple days ago...still waiting...but just in case some of you high IQ guys know how to do this...
I have a tag that I set up to open up the Navigation app. In Task Launcher, when I select the Navigation app...there is a command below it: CUSTOM...open a specific activity within an app. There are no option in the app itself to change it...but it looks like I need to type what I want launched once the Navigation app is opened.
I want the Map activity to launch...what code do I need to put in there? Looks like there already is a code there...and it looked like it was going to do what I wanted...but it doesn't do anything. (com.google.android.maps.driveabout.app.DestinationActivity)
Click to expand...
Click to collapse
Hey, I'm on vacation but have been answering emails - mostly from my phone. I don't see any that didn't get responses, when did you email?
That custom activity field is for specifying a full package and activity within that package, like you cite at the end of your post. Right now you have to type it out (mainly because this was never intended to be widely used) going forward there are plans to make this more user friendly.
Can you grab the logcat output when you try to launch that activity (enable debugging in the app) and send that? I should be back tomorrow or Wednesday and can get back to proper work.

Related

Is there one decent timer for Android?

This may be an area where the dumbphones win, but I've only been able to find one app that is just a timer--open the app, you've got a timer--and it's way too cumbersome.
When the app opens, I need to see:
A number pad.
A Next button (for moving from hh/mm/ss).
A Start button.
ETA: Also, number pad input needs to overwrite the current field, not insert.
These features have been available on every dumbphone for over a decade. Can't they be done in Android?
This isn't exactly what you are looking for, but I use it.
https://market.android.com/details?id=com.hybrid.stopwatch
It has a stopwatch, too, but remembers which mode you chose and launches in that mode.
Yeah, I tried that one and it has all the same issues as Kitchen Timer, though it's nicer to look at. Who decided an Android timer would use this cumbersome +/- interface? It's made worse by the fact that once you get a cursor in a field, it inserts rather than overwrites, and won't jump fields.
Ideally, the only actions necessary to set a timer should be open-0-0-7-3-5-start, no navigation, no clicking up and down as if we had a device with two buttons (i.e. a watch).
Yeah, I looked around for a timer too. This was the easiest to use that I found. I rarely have to change the time on it so for me I launch it and hit go. But if I was constantly changing the value, it would be annoying. Makes you want to go out and write your own!
I'm poking around in App Inventor to see what I can manage--I would be lost writing code from the ground up. I think I should at least be able to come up with something with multiple one-button presets on the starting page, and they can probably be user-programmable, but I don't think App Inventor has the commands to give focus to a numerical text-box (thereby highlighting the contents for replacement and launching the number pad) on app initialization.
If you want, take the time to send me some EXACT specifications and I'll see if I have time to whip something up; we're not talking 10 year global weather modeling here! LOL
TIA,
Roots
Rootstonian said:
If you want, take the time to send me some EXACT specifications and I'll see if I have time to whip something up; we're not talking 10 year global weather modeling here! LOL
TIA,
Roots
Click to expand...
Click to collapse
I'm actually making progress in App Inventor, but if it comes to naught, I'll PM you.
Well, it's not finished and it's not pretty, but it's a timer
So far, I can't get the box to grab focus when the app opens, but it's still quicker for entering a new value than the others on the market. The empty red bar will bring up the number pad. Hit hours, mins, or secs to start the timer with the relevant units. Start/Pause work, and if you enter, for instance, "90 + Mins" it will convert it to 1 hour 30 mins. More than two digits in the Hours box will break the UI, but it will count them down
The preset buttons and persistent notification box don't do anything yet, and it doesn't remember the last value entered if you close the app yet, but the core functionality is there.
http://dl.dropbox.com/u/7299403/TimerSAUR.apk
ETA: enabled persistent notifications and shake-to-stop.
ETA2: remembers last value entered and whether Persist was checked, made some visual tweaks and added an icon.
ETA3: re-skinned the whole thing and hid the preset buttons for now. I can add features, but I'd call it a complete app, and more functional than anything on the market, for my purposes.
ETA4: I, um, even fixed those script errors that caused FCs if you tried to start a timer with all fields empty. Details.
D'oh! As far as I can tell, the App Inventor "clock" function pauses if the device is sleeping--not exactly practical for a timer :/
Maybe I'll have another run at it tomorrow.
Maybe you can save the time that it paused, then calculate how much time has passed when it wakes up and start from there. That won't help much if your time expires while it is sleeping, though. Will App Inventor let you prevent sleeping?
Talking to App Inventor community members, I think the clock provided is just not workable for something like this. Maybe if I'm willing to build a windmill to turn a doorknob, I could figure something out, but I'd probably be better advised to start learning real code if I want to pursue the matter.
Better yet, I could take Rootstonian up on his/her offer
Yeah, it shouldn't be too difficult to build. And since you already have some of the GUI worked out, you can just pass that on.
I've built one Android app but it was a while ago so I'm very rusty. But it sounds like it can be done pretty quickly.
Jason

Smart Action app for other phones?

Didn't want to post this in the dev section but this app seems extremely useful and I was curious if there was any way of extracting it for use on other android devices?
That would be very darn useful for everyone.
I'm using tasker . . . you can do alot of creative stuff with it, but it is kinda complicated and costs ~$6
mel493 said:
I'm using tasker . . . you can do alot of creative stuff with it, but it is kinda complicated and costs ~$6
Click to expand...
Click to collapse
I have tasker as well but in general I dont find it super user friendly. From the looks of it Smart Action could replace tasker as well as juice defender which I also use.
I've already made one for home, work and when I go to bed. It seems pretty user friendly to me. Excellent app.
Heh, even if someone extracts it, it needs Blur libraries and frameworks, too.
kholk said:
Heh, even if someone extracts it, it needs Blur libraries and frameworks, too.
Click to expand...
Click to collapse
I've seen harder things get ported on xda just needs willing developers
I haven't really had a look at this Smart Action App yet as I still haven't received my microsim. I was wondering how sophisticated it is?
Is it possible to have it read sms when connected to bluetooth, for example? I attempted this with Tasker on my Defy with no success - I don't think Tasker liked MIUI very much
stunno said:
I haven't really had a look at this Smart Action App yet as I still haven't received my microsim. I was wondering how sophisticated it is?
Is it possible to have it read sms when connected to bluetooth, for example? I attempted this with Tasker on my Defy with no success - I don't think Tasker liked MIUI very much
Click to expand...
Click to collapse
Tasker does many things but in terms of doing things you need to know the proper terms for the various variables etc for what you want to do which isnt too simple
Here are some premade ones you can download or make but none for what you wanted
http://tasker.wikidot.com/profile-index
As an example of how complicated it can get with tasker is the following. How to make a battery full notification.As you can see the app lets you do allot but is not super user friendly. Smart Action may not be able to do all that tasker is able to but may be able to do most and may be more user friendly
click New and select Event
select event category Power and event Battery Full
click Done
click + in the bottom left to add an action
select category Alert and action Notify (Sound)
type Battery Full! in the Title field
click Done
To avoid getting a repeat notification within 30 minutes, we add a cooldown:
Click on the profile and select Profile Properties
Slide the Cooldown Time slider to the far right
Click Done
Alternative solution to avoid repeat notifications (added by b00ky)
Set a variable such as "%BFN" to 0 anytime you plug in your phone
Edit the "Notify Sound" task to only run "If %BFN < 0"
Add a new task "Tasker » Variable Set » %BFN to 1"
This has worked for me and makes sure you only get notified ONCE while it is plugged in as opposed to after 30 minutes of cooldown.
I'm new to this so I apologize if this is not a good way to do this, but it works for me.
An alternative to the alternative to avoid repeat notifications. If you tend to leave plugged in for long durations, 30 minute cool down may not do it for you. The below gives you a one time notification that your battery is full, and wont repeat until you unplug/replug back in. phonedude
Profile - Battery 100%
Event - Battery Full
Enter task -
1. Play your sound
2. Set Profile Status {Battery 100%} to Off
Exit task-
n.a.
Profile - Plugged In
State - Power (Source = Any)
Enter task -
1. Profile Status {Battery 100%} to On
Exit task-
1. Profile Status {Battery 100%} to Off
Thanks for that fidorulz! Much appreciated. I notice on that site that the guy tried to get the read SMS to work and failed, tried again and got it working but doesn't know how!
http://tasker.wikidot.com/readsmswhileincardock
I found a walk through on here that would not work either and I assumed it was because of MIUI, as Tasker didn't register any SMS being received. It seems that the %SMSRF and %SMSRB variables only get initialised when an SMS is received.
I will patiently wait for tmobile and the royal mail to get their fingers out and deliver my microsim and I will give it another go
I use "Setting Profiles" pretty simple and powerful, a lot easier to use than tasker (although not quite as powerful in the nitty-gritty) but definitely hits the 80/20 rule. It costs, but I believe there is a free version to try out the functionality and see how you like it.

[Q] How to use GPS in an APK

Hello, I'm sorry for the strange tittle. Well, in my job my boss (an devoloper) ask me one think: Create an simple app that uses GPS to show near places.
I know that already have an App for this, but he asks me to create an from sources.
What I need is, how to toggle GPS in the app, or I mean: How do I make my app "call" GPS Positioner and looks for near places that was setuped before.
Like:
I open the app go to "My places" and set a place like: "Italian Restaurant 1" and "Italian Restaurant 2" and when I go to the mapped gps, I write "italian restaurant near" or, something that doesn't metter. And it shows the nearest Restaurant.
So guys, how to do this?
It's a development question: So doestn't show me any apks that does the same thing! I already developed others apps, so be easy and answer the question, mentioning HOW DO I DO THIS.
Thanks for everyone who wants to help me.

Speck Selection for Android

I just recently switched to a Moto X from an iPhone 5, and I am looking for the one feature that I used every day on my iPhone. The speak selection feature. On iOS you can select any text, in basically any app, and click "speak" from the context menu. The device will read the text back to you without kicking you out of the app you were using or anything like that.
I found a similar app for Android, it's called Easy Text to Speech. However, this app works by monitoring the clipboard. Is there perhaps a way to do this without having to use the clipboard. For instance, by using the share option, but without having to switch to another program. I want to be able to browse the internet, select what I want to be read, and have it read to me without getting out of the browser or the app that I am using.
Perhaps there is a framework for Android for adding custom contextual commands?
Thanks for any help.
- Bogdan

NFC Tags and Greenify (best combo ever!)

(note: I just searched the entire Forum not mention a word about NFC Tags yet)
I just bought a package of NFC Tags and I'm learning&playing with those.
I see mainly that you can add an App to run after use it, and a universe of things you can also do with it.
But I'd like to use your App's shortcut: 'Hibernate Now' that I did create within the App options to my Home Screen.
Those NFC Tags Apps don't show how to run App's shortcuts, and google is confusing or too deep. Anything else, yes is standard and there exist.
But IDK if someone or developers can tell me how to run 'Hibernate Now' Shortcut with a NFC Tag.
Someone suggested on Google recommend do a URI but doesn't work for me (Android/Samsung):
Even more interesting is to run shortcut instead to DEPEND on loaded App to watch for the tag to run anything (for iPhone, IDK for Android):
'reddit dot com/r/shortcuts/comments/9ifl9y/i_have_an_nfc_tag_that_opens_up_a_shortcut_to'
Everybody (even Developers) will be happy with this new combo-use !
Thanks in advance for any help and Happy New Year for everyone ! =D
You can use An App like AutomateIt or tasker to trigger the required action when NFC tag is detected.

Categories

Resources