Is running background service possible in WP8, that can be auto started when the phone boots up - that can capture long press (3 sec) of camera key - send SMS - or make http calls... sending its GPS location to some back-end server etc?
Is running background service possible in WP8, that can be auto started when the phone boots up - that can capture long press (3 sec) of camera key - send SMS - or make http calls... sending its GPS location to some back-end server etc?
The capture camera key part is not supported.
and neither sending sms (the best it can do is open a sms editor for you...but you have to send it manually)
- Neil R.Bhasme -
Twitter: @Symbian_Neil
Can we capture - long press of any hard key on the device - volume key, camera key or power key, and signal the background service to start sending its GPS location over a http connection ?
- Neil R.Bhasme -
Twitter: @Symbian_Neil
Please suggest - how to get it done for a Windows phone!
We need to program Lumia to help any person in 'case of emergency' !
Where a single button press/hold - can launch a app Or give signal to a background running Location Services - to start broadcasting the distress signal along with this person's GPS co-ordinates -who needs help- to public/others who can give help.
As use of Hard-key (like power/camera/volume) as Emergency key makes more sense - rather then unlocking the phone and pressing an icon on touch screen for this purpose - please suggest if it can be done, if yes - how ?
You could find http://www.developer.nokia.com/Commu...7526-WP7-ideas of mine a little interesting as I was seeking some similar stuff sometime back
- Neil R.Bhasme -
Twitter: @Symbian_Neil
So now on WP8 - I can launch this app only by first unlocking the screen and then touching the Title for it ? correct - no other way (its looks difficult in emergency time).
Once the app launches.... Can it start using GPS / HTTP connection and Audio/video capture without asking any further permissions in run-time ? (I am OK will all instillation time permissions / approvals)
There is an possibility that its not perfect but that can work.
Make your app Voice controlled and then the user will only have to slide up the lock screen, and press the home button for a couple of seconds. The voice recognition engine will pop up and the user would have to say a simple word like Help or something.
Another solution, is long pressing a camera button. You could do a fake Camera lens for this porpuse. Long press the camera button, press the camera lens and select the app. Not easy, its still a 3 step process, but there is no swipe involved so it may be a bit easier.
Cheers
João Cardoso
I don't think it will pass the certification since you don't have a viewfinder as a firstscreen, as stated in the requierement 6.13 (see link/text below)
6.13.1 : When a lens app is launched from the lens picker, the app must immediately display the app viewfinder.
If a lens app requires the user to complete either of the following actions, the app must immediately display the app viewfinder after the action is completed:
•A one-time user policy consent
•Authentication credentials
Source : http://msdn.microsoft.com/en-us/libr...v=vs.105).aspx
Hi.
Maybe you could use a nfc tag to launch your applciation? And use a background agent to check position every X minutes?
Nfc is readed when lockscreen is displayed, too.