You Are Here:

Community: Developer Discussion Boards

#1 Old Running Application linked to Lock / Unlock event - 2009-05-10, 13:20

Join Date: Jan 2009
Posts: 1
martr
Offline
Registered User
Hi,

I have written a small java app for the Series 40 to be able to turn the backlight on / off at will.

I would like to be able to have this app run automatically depending on the lock / unlock event. So when the phone is unlocked my app runs (and the backlight stays permanently on). Then when the phone lock event occurs I want my app to turn off (so the backlight goes off).

Can anyone offer any help as to how I can link the running / stopping of my app to the lock / unlock event ?

Many thanks,
Martin.
Reply With Quote

#2 Old Re: Running Application linked to Lock / Unlock event - 2009-05-10, 14:48

Join Date: Jun 2007
Posts: 534
Location: Mumbai
Send a message via Yahoo to prakash.raman
prakash.raman's Avatar
prakash.raman
Offline
Super Contributor
Using j2me u cant detect lock events. Rather in your app, u can keep check of for how long user has not done any thing, and on basis of that can make ur application threads to go to sleep


au revoir
Prakash Raman
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
BIO Message Parser Starting Application + Security Hole ? Cr7pt0r General Symbian C++ 1 2008-05-08 13:32
Handling Key events in background running application !! sanjayrajwani General Symbian C++ 1 2008-04-24 15:23
application in background not running. Please help! emadrazo General Symbian C++ 0 2007-11-27 12:09
Sending data with application running in the background wedoi Mobile Java Networking & Messaging & Security 0 2004-11-28 22:36
Notification about running my application while it is already running. Shaikuny General Symbian C++ 0 2004-10-26 16:02

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia