| View previous topic :: View next topic |
| Author |
Message |
msahni Junior
Joined: 02 Oct 2007 Posts: 9 Location: India Phone Type: Nokia N95, Sony Ericsson W800, I-mate Jasjar
|
Posted: Wed Oct 03, 2007 5:45 pm Post subject: Screensaver still coming on |
|
|
With the latest Nokia firmware the screensaver has a maximum time span of 90 sec. I tried setting the phone backlight time at 10 seconds and power saver at 20 sec. The backlight is permanently turned on in MGMaps. With the screensaver alarm it works for 2-3 times till the screensaver and alarm come on simultaneously but then the screensaver kicks in after 2-3 times and MGMaps hangs as the screensaver alarm comes up after the screensaver is activated. However if MGMaps is running and you attend a phone-call then the screen saver doesn't come on till the call is running and MG Maps works fine till then. But as the Screen saver comes up after the call the same story is repeated.
_________________ Nokia N95 V 20.0.015 RM-159 4GB Sandisk Ultra II uSD FAT32 1Kb Allocation A-GPS enabled
Mgmaps cache @ 128 tiles per file Hash size 1 all of India zoom 0-12 major cities 13-17 |
|
| Back to top |
|
 |
n95_rit Power User
Joined: 14 May 2007 Posts: 125
Phone Type: Nokia N95-1
|
Posted: Sun Oct 21, 2007 2:25 pm Post subject: |
|
|
| Cristian Streng wrote: | | n95_rit wrote: | | So looks like the Nokia Maps (maybe using C++) is able to set the backlight on, it does seem to work.. |
Sure, but that is not a java application, it's a native application. I suppose there are other native applications that do the same thing ("Torch"?) |
Hi,
I realized the same. So, how about this idea ? There is a mgmaps "sister" C++ application and mgmaps J2me communicates to it using sockets (read a similar idea somewhere). You could use TCP or other protocols. This C++ application can do things like keep backlight on, and potentially other stuff which are limited in J2ME currently ?
Also, I stumbled onto http://midpjni.com/ - maybe you are already familiar ?
Regards,
|
|
| Back to top |
|
 |
Cristian Streng Founder
Joined: 28 Oct 2005 Posts: 4585
Phone Type: (many)
|
Posted: Sun Oct 21, 2007 3:56 pm Post subject: |
|
|
| n95_rit wrote: | I realized the same. So, how about this idea ? There is a mgmaps "sister" C++ application and mgmaps J2me communicates to it using sockets (read a similar idea somewhere). You could use TCP or other protocols. This C++ application can do things like keep backlight on, and potentially other stuff which are limited in J2ME currently ?
Also, I stumbled onto http://midpjni.com/ - maybe you are already familiar ? |
Yes, that would appear to be the only solution. I may get to it one day, but I can't make it a priority now - not because it wouldn't be useful to many people, but because it would take quite some time to implement (I'm not really familiar with Symbian programming, I'm not even sure midpjni.com would be useful because it's sooo badly documented...)
|
|
| Back to top |
|
 |
n95_rit Power User
Joined: 14 May 2007 Posts: 125
Phone Type: Nokia N95-1
|
Posted: Sun Oct 21, 2007 6:09 pm Post subject: |
|
|
| Cristian Streng wrote: | | n95_rit wrote: | I realized the same. So, how about this idea ? There is a mgmaps "sister" C++ application and mgmaps J2me communicates to it using sockets (read a similar idea somewhere). You could use TCP or other protocols. This C++ application can do things like keep backlight on, and potentially other stuff which are limited in J2ME currently ?
Also, I stumbled onto http://midpjni.com/ - maybe you are already familiar ? |
Yes, that would appear to be the only solution. I may get to it one day, but I can't make it a priority now - not because it wouldn't be useful to many people, but because it would take quite some time to implement (I'm not really familiar with Symbian programming, I'm not even sure midpjni.com would be useful because it's sooo badly documented...) |
Hi Cristian,
I can understand that. What I hope is that someone else on this forum maybe able to help with the C++ application. If I was familiar with Symbian, I would immediately do this to contribute, but this isn't the case
for midpjni, yes I was confused as well since the site is so minimal. There is a document though at another link
http://www.arvindgupta.net/zip/The_Bridge.zip
Regards,
|
|
| Back to top |
|
 |
Cristian Streng Founder
Joined: 28 Oct 2005 Posts: 4585
Phone Type: (many)
|
Posted: Sun Oct 21, 2007 8:03 pm Post subject: |
|
|
| n95_rit wrote: | Hi Cristian,
I can understand that. What I hope is that someone else on this forum maybe able to help with the C++ application. If I was familiar with Symbian, I would immediately do this to contribute, but this isn't the case
for midpjni, yes I was confused as well since the site is so minimal. There is a document though at another link
http://www.arvindgupta.net/zip/The_Bridge.zip
Regards, |
OK, I'll have a look. It's actually the same thing, just an older version of midpjni/natlet.
Cristian
|
|
| Back to top |
|
 |
Haris777 MGMapper
Joined: 22 Sep 2007 Posts: 25 Location: Riga, Latvia Phone Type: Nokia 6233
|
Posted: Mon Oct 22, 2007 9:29 am Post subject: |
|
|
BTW - it would be good if end call (red handle) key could be disabled if needed, because if it gets pressed in pocket then aplication quits and web tracking (and maybe infuture - track saving) gets stopped. It happened couple of times with me and gpstrack, when using it while driving a bike in woods and some pushing is needed or for whatever reason phone is hit/push throught pocket.
Could it be done in Java?
|
|
| Back to top |
|
 |
Cristian Streng Founder
Joined: 28 Oct 2005 Posts: 4585
Phone Type: (many)
|
Posted: Mon Oct 22, 2007 9:35 am Post subject: |
|
|
| Haris777 wrote: | BTW - it would be good if end call (red handle) key could be disabled if needed, because if it gets pressed in pocket then aplication quits and web tracking (and maybe infuture - track saving) gets stopped. It happened couple of times with me and gpstrack, when using it while driving a bike in woods and some pushing is needed or for whatever reason phone is hit/push throught pocket.
Could it be done in Java? |
That definitely can't be disabled, but you can probably lock the keyboard. Press the power off button shortly just to see the profile menu, then select lock keypad.
|
|
| Back to top |
|
 |
Haris777 MGMapper
Joined: 22 Sep 2007 Posts: 25 Location: Riga, Latvia Phone Type: Nokia 6233
|
Posted: Mon Oct 22, 2007 9:49 am Post subject: |
|
|
Tried! On my 6230i it wont give you profile menu.
Will have to move to newer phone...
|
|
| Back to top |
|
 |
Cristian Streng Founder
Joined: 28 Oct 2005 Posts: 4585
Phone Type: (many)
|
Posted: Mon Oct 22, 2007 9:51 am Post subject: |
|
|
| Haris777 wrote: | Tried! On my 6230i it wont give you profile menu.
Will have to move to newer phone... |
Ah, I know, I thought you were using N95 or another S60 3rd edition phone.
|
|
| Back to top |
|
 |
mendel_jp Junior

Joined: 22 Oct 2007 Posts: 10 Location: Salvador, Bahia, Brazil Phone Type: Nokia N95
|
Posted: Wed Oct 31, 2007 9:51 pm Post subject: |
|
|
any improvement about this cristian?
_________________ Trying to do the best ... |
|
| Back to top |
|
 |
Cristian Streng Founder
Joined: 28 Oct 2005 Posts: 4585
Phone Type: (many)
|
Posted: Thu Nov 01, 2007 4:46 am Post subject: |
|
|
| mendel_jp wrote: | | any improvement about this cristian? |
No, there is no solution for this!
|
|
| Back to top |
|
 |
Cristian Streng Founder
Joined: 28 Oct 2005 Posts: 4585
Phone Type: (many)
|
Posted: Tue Nov 06, 2007 2:17 pm Post subject: |
|
|
Guys, can you try S60SpotOn ? Start it, set "displaylight on", then don't exit (don't press the red hangup key) but press the menu key and start MGMaps. It works at least on my Nokia E50.
Cristian
|
|
| Back to top |
|
 |
n95_rit Power User
Joined: 14 May 2007 Posts: 125
Phone Type: Nokia N95-1
|
Posted: Tue Nov 06, 2007 8:11 pm Post subject: |
|
|
| Cristian Streng wrote: | Guys, can you try S60SpotOn ? Start it, set "displaylight on", then don't exit (don't press the red hangup key) but press the menu key and start MGMaps. It works at least on my Nokia E50.
Cristian |
Well, it also seems to work for Great work Cristian to find this app (I had also searched few months back, none did what this cool app does.
On the flip side, it seems to take ~5-6MB of RAM to essentially do nothing on a continual basis (?), something which I didn't expect ... So, it maybe an issue on RAM limited phones ( I have ~3MB RAM available after running YTasks, mgmaps & S60SpotOn)
Regards,
_________________ N95, FW 20.0.015, 1GB uSD, mgmaps 1.39.03 |
|
| Back to top |
|
 |
n95_rit Power User
Joined: 14 May 2007 Posts: 125
Phone Type: Nokia N95-1
|
Posted: Wed Nov 07, 2007 9:09 pm Post subject: |
|
|
| n95_rit wrote: | | Cristian Streng wrote: | Guys, can you try S60SpotOn ? Start it, set "displaylight on", then don't exit (don't press the red hangup key) but press the menu key and start MGMaps. It works at least on my Nokia E50.
Cristian |
Well, it also seems to work for Great work Cristian to find this app (I had also searched few months back, none did what this cool app does.
On the flip side, it seems to take ~5-6MB of RAM to essentially do nothing on a continual basis (?), something which I didn't expect ... So, it maybe an issue on RAM limited phones ( I have ~3MB RAM available after running YTasks, mgmaps & S60SpotOn)
Regards, |
Hi,
I had posted on the S60SpotOn feedback link about the high RAM use, and the author (Tobias) kindly forwarded to me an older version which only has the backlight feature. This needs to be self-signed, and after trying this, it works like a charm with < 200KB RAM requirement.
The only option missing is to save the "last" backlight status before exit and setting that state on restart (like 0.7 version does), but its a minor issue.
| Description: |
|
 Download |
| Filename: |
S60SpotOn_0.03.zip |
| Filesize: |
14.22 KB |
| Downloaded: |
801 Time(s) |
_________________ N95, FW 20.0.015, 1GB uSD, mgmaps 1.39.03 |
|
| Back to top |
|
 |
pikipirs Junior
Joined: 03 Aug 2007 Posts: 6
Phone Type: Unknown
|
Posted: Thu Apr 17, 2008 1:52 pm Post subject: Solution |
|
|
Call this | Code: |
com.nokia.mid.ui.DeviceControl.setLights(0, 0);
com.nokia.mid.ui.DeviceControl.setLights(0, light_level);
|
...for about every 15 seconds or so. Works for my apps every time. Using this, my Sony Ericsson never falls to standby, at least not until the battery is drained
Btw; only calling the second statement doesn't help. Actually turning backlight off and on seems to reset the standby timer.
_________________ Piki
blog [Slovenian] - http://www.ccpcreations.com/ |
|
| Back to top |
|
 |
Cristian Streng Founder
Joined: 28 Oct 2005 Posts: 4585
Phone Type: (many)
|
Posted: Fri Apr 18, 2008 2:47 pm Post subject: Re: Solution |
|
|
| pikipirs wrote: | Call this | Code: |
com.nokia.mid.ui.DeviceControl.setLights(0, 0);
com.nokia.mid.ui.DeviceControl.setLights(0, light_level);
|
...for about every 15 seconds or so. Works for my apps every time. Using this, my Sony Ericsson never falls to standby, at least not until the battery is drained
Btw; only calling the second statement doesn't help. Actually turning backlight off and on seems to reset the standby timer. |
I tried this on my Nokia but doesn't work (my code runs every 5 seconds). I'm attaching the code with this statement added, let me know if you see any change on your Sony-Ericsson.
Cristian
|
|
| Back to top |
|
 |
pikipirs Junior
Joined: 03 Aug 2007 Posts: 6
Phone Type: Unknown
|
Posted: Fri Apr 18, 2008 4:53 pm Post subject: |
|
|
A bit of a hassle installing an unsigned app over the signed one, but...
Yes! The phone won't fall to sleep now! So I'd say you keep this in the code.
A small suggestion - make an option, something like "SE Sleep Workaround" or something. The flickering might annoy some people if forced (doesn't annoy me, but I'm just that kind of guy ).
Anyway, glad it works at least for Sony Ericssons now!
PS: This also used to work for Nokias, I can se how Nokia is NOT helping developers by blocking such things
_________________ Piki
blog [Slovenian] - http://www.ccpcreations.com/ |
|
| Back to top |
|
 |
Cristian Streng Founder
Joined: 28 Oct 2005 Posts: 4585
Phone Type: (many)
|
Posted: Fri Apr 18, 2008 5:15 pm Post subject: |
|
|
| pikipirs wrote: | | A bit of a hassle installing an unsigned app over the signed one, but... |
Ah, sorry, you should've told me I forgot to sign it!
| pikipirs wrote: | A small suggestion - make an option, something like "SE Sleep Workaround" or something. The flickering might annoy some people if forced (doesn't annoy me, but I'm just that kind of guy ). |
So does it flicker on SE? It doesn't on Nokia Yeah, maybe it should be an option in "advanced settings"...
|
|
| Back to top |
|
 |
skyli MGMapper
Joined: 14 Jun 2008 Posts: 24 Location: Hungary Phone Type: W850i with HGE-100 GPS Enabler
|
Posted: Sun Jun 15, 2008 5:54 pm Post subject: |
|
|
Maybe an elf can do it on Sony Ericssons. Pressing kamera key = never turn off the backlight, pressing cam key again = turn off backlight normally. I'll make a request at se-nse.
Aaah I Stupid! I found the option in settings display backlight always on. IT WORKS Knock knock knock xD
|
|
| Back to top |
|
 |
|