Available for a limited time only - £10 off a £20 spend at eXpansys! For more details visit this topic!

Please Log In or Register - it's FREE!

 
Reply to this topicStart new topic
 CamerAware Buddy (for Navizon), helper app while you run either or
NuShrike
post Feb 8 2008, 08:17
Post #1


Enthusiast
Group Icon

Group: MoDaCo Ad Free
Posts: 200
Joined: 3rd August 2007
Member No.: 284,804

Device(s): Palm T|X, HTC Kaiser P4550



Following up on: http://www.modaco.com/content-page/264125/...40/#entry875638

Here's my CamerAware Buddy finger friendly for adjusting the WiFi scan interval, and cleans up the zombie chunk of ram the Navizon API leaves behind after CamerAware3, or Navizon, quits. Thanks to shogunmark originally for the idea.

Features dynamic auto-selection of the scan-interval, using real-time speed data from the GPS Intermediate Driver (WM5 and up), from 1 to 50 seconds for each WiFi ping. It's great when you want to save battery while walking, and still adjust appropriately when you're at vehicle speeds (and hopefully plugged in!) without performing a complicated dance.

This is the result of my frustration using TaskManager to kill all the zombie CA3/Navizon instances eating ram, and too many clicks to change the WiFi scan interval in the registry by app or cab.

Use this to run CA, or Navizon. Quit it after you "Exit" from CA/Navizon. CA Buddy knows when an app exited cleanly so it offers a KILL button until then to TerminateProcess() the process that might be now zombie and still hanging onto ~2MB chunk of ram. The Navizon API/.NETCF tends to do that although it eventually does go away by itself after minutes and minutes and minutes.

Show lets you quick flip to the app you just ran. It's not 100% accurate for CamerAware because it keeps changing its root window handle. GPS is an incomplete debugging area to see if the GPS is working or wedged, and this happens a lot with Navizon's code. Also, this page can be used as a very fast and lightweight way to bootstrap the GPS (versus GPStest).

CA Buddy is tested for storage card installed CamerAware/Navizon, and in-storage-ram installation. The program WILL scan the preferred path and then soft-fail to the alternate path that's listed to find and execute.

Still polish to put in but it's small and fast @ 7KB ram, on the Kaiser it's 7-8% (besides ambient) cpu load with GPSauto-set running and 1-2% when idle.

Note:
The current assumption in calculating the wifi auto-scan value is 10 meters per hotspot. Let me know if this is too generous, or too conservative.

2008/02/26 v1.0.0.10:
Updated for the recent RC releases. Will still support the beta CA3 if you have it installed. Still bugs to fix including SHOW which has grown more unreliable as I haven't been able to investigate why the root hWnd for CA keeps changing.


2008/02/12 v1.0.0.9:
o Remembers CA or Navizon mode selection.
o Fix Auto-Set not shutting down GPS access when unselected (leaking a handle each time) until application exit.
o EXPERTS ONLY: Lets you turn force off/on the GPS Intermediate Driver as well as AGPS (in the registry) to debug compatibility with other GPS programs, manually power-save, whatever. Turning off GPSID could cause running GPS programs to go bonkers and WILL prevent new connections to the GPS. Useful to test if manual restart could unwedge corrupted GPS access.

2008/02/08 v1.0.0.7: Fixes missing storage path for Navizon; cab installer added.

This is revision alpha Next (v1.0.0.6)


This post has been edited by NuShrike: Mar 6 2008, 08:36
Attached File(s)
Attached File  CA_Buddy.CAB ( 33.68K ) Number of downloads: 156
 


--------------------
KaiserSimFix: soft-reset-safe sim contacts hiding
Creative 'Ware since 1992.
Go to the top of the page
 
+Quote Post
cheshire_carper
post Feb 8 2008, 09:33
Post #2


Newbie
Group Icon

Group: Posters
Posts: 20
Joined: 24th November 2003
Member No.: 22,005



When I run it, it cannot find the Navizon prog. It points to \prog files\navizon\navizon.exe but the fields where it appears you can edited the path are blanked out sad.gif
Go to the top of the page
 
+Quote Post
cheshire_carper
post Feb 8 2008, 09:34
Post #3


Newbie
Group Icon

Group: Posters
Posts: 20
Joined: 24th November 2003
Member No.: 22,005



QUOTE(cheshire_carper @ Feb 8 2008, 09:33) *
When I run it, it cannot find the Navizon prog. It points to \prog files\navizon\navizon.exe but the fields where it appears you can edited the path are blanked out sad.gif


Also clicking Action says 'Selected program not found'
Go to the top of the page
 
+Quote Post
bigdish
post Feb 8 2008, 17:06
Post #4


Newbie
Group Icon

Group: MoDaCo Ad Free
Posts: 45
Joined: 11th October 2007
Member No.: 310,130

Device(s): HTC TyTN 2



Hi
No problems at all with your first version. The option to point at CA in either the phone or storage card program files works.
The reg changes for the scan interval also.
Re. the dynamic auto selection how will it work if you are in the car in a large commercial area stuck in traffic ?
I am assuming that the scan interval increases because you are not moving.
It is at times like this I find the 1sec scan helpful because of the sheer number of AP's about.
To keep my scanning at say 1sec I tick the Auto Set option to off ?
Finally smile.gif The option to run Navizon only does not give the progam/storage card option.
Many thanks for a neat prog.
r
Andrew
Go to the top of the page
 
+Quote Post
NuShrike
post Feb 8 2008, 18:42
Post #5


Enthusiast
Group Icon

Group: MoDaCo Ad Free
Posts: 200
Joined: 3rd August 2007
Member No.: 284,804

Device(s): Palm T|X, HTC Kaiser P4550



QUOTE(cheshire_carper @ Feb 8 2008, 02:33) *
When I run it, it cannot find the Navizon prog. It points to \prog files\navizon\navizon.exe but the fields where it appears you can edited the path are blanked out sad.gif
Yes, I must bone headed about this and forgot I was testing installation of Navizon in main storage to see if it was more stable that way and assumed it always installed in storage. tongue.gif Fix uploading.

I'm not allowing manual path override right now not only because I can't get a decent system file dialog to allow navigation to one, but that it's also bad programming security.

bigdish: Yes, if you prefer it to stay @ 1, don't use auto-set and stay with the default manual selection.

I'm just playing with dynamic auto-select because it's cool to use GPS data, and maybe I can come up with a slower backoff algorithm that prefers lower scan times versus high. It reacts at as fast as the GPS tells me it has data to feed me; generally about every second. I don't poll so it's much lighter cpu.


This post has been edited by NuShrike: Feb 8 2008, 18:45


--------------------
KaiserSimFix: soft-reset-safe sim contacts hiding
Creative 'Ware since 1992.
Go to the top of the page
 
+Quote Post
Shadowfixeruk
post Feb 11 2008, 15:37
Post #6


Regular
Group Icon

Group: MoDaCo Ad Free
Posts: 127
Joined: 5th November 2007
From: Warwick, UK
Member No.: 318,879

Device(s): Kaiser



NuShrike - what a great tool!
xda developers have some cabs that i have been using to change the wifi scan speed and they have worked a treat - why have a dog and bark yourself - CABuddy makes the changes for me... biggrin.gif

Can i be so bold as to ask for a feature request?
is there any way that i can get CABuddy to save my settings? When i open up CABuddy i have to select my install location & check the "use navizon" box each time i start the app... its pretty tricky whilst driving ohmy.gif ohmy.gif.

Also not sure what the rules are on cross posting - but i would suggest putting a link on the "navizon" thread (i know Paul asked you to take it out of the CA <Hearts> thread).... the amount of AP's that you locate really increases when you increas the scan speed biggrin.gif biggrin.gif biggrin.gif

I would put a link onto the xda dev forum for you but i don't know if you can be bothered with the additional "support" pain dry.gif

Thanks again..

SF


This post has been edited by Shadowfixeruk: Feb 11 2008, 15:45


--------------------
Got a MobilePhone and a GPS? Make Money Click Here!
Go to the top of the page
 
+Quote Post
NuShrike
post Feb 11 2008, 19:49
Post #7


Enthusiast
Group Icon

Group: MoDaCo Ad Free
Posts: 200
Joined: 3rd August 2007
Member No.: 284,804

Device(s): Palm T|X, HTC Kaiser P4550



QUOTE(Shadowfixeruk @ Feb 11 2008, 08:37) *
Can i be so bold as to ask for a feature request?
is there any way that i can get CABuddy to save my settings? When i open up CABuddy i have to select my install location & check the "use navizon" box each time i start the app... its pretty tricky whilst driving ohmy.gif ohmy.gif.
Thanks. I'm glad it's helping people enjoy the experience. So sure.. not too hard to do soon.

Btw, you don't really need to select the install location except for Navizon mode override. It'll scan the listed paths and run the one that has a file actually there before complaining.

As for XDA, I'm pretty sure some of them already browse this thread too, so I prefer questions here for now. smile.gif


--------------------
KaiserSimFix: soft-reset-safe sim contacts hiding
Creative 'Ware since 1992.
Go to the top of the page
 
+Quote Post
NuShrike
post Feb 13 2008, 00:22
Post #8


Enthusiast
Group Icon

Group: MoDaCo Ad Free
Posts: 200
Joined: 3rd August 2007
Member No.: 284,804

Device(s): Palm T|X, HTC Kaiser P4550



QUOTE(Shadowfixeruk @ Feb 11 2008, 08:37) *
[snip]
is there any way that i can get CABuddy to save my settings? When i open up CABuddy i have to select my install location & check the "use navizon" box each time i start the app... its pretty tricky whilst driving ohmy.gif ohmy.gif.
Done plus some other stuff posted.


--------------------
KaiserSimFix: soft-reset-safe sim contacts hiding
Creative 'Ware since 1992.
Go to the top of the page
 
+Quote Post
NuShrike
post Feb 26 2008, 21:33
Post #9


Enthusiast
Group Icon

Group: MoDaCo Ad Free
Posts: 200
Joined: 3rd August 2007
Member No.: 284,804

Device(s): Palm T|X, HTC Kaiser P4550



Updated to support latest RC revisions of CamerAware.


--------------------
KaiserSimFix: soft-reset-safe sim contacts hiding
Creative 'Ware since 1992.
Go to the top of the page
 
+Quote Post
bigdish
post Feb 28 2008, 00:51
Post #10


Newbie
Group Icon

Group: MoDaCo Ad Free
Posts: 45
Joined: 11th October 2007
Member No.: 310,130

Device(s): HTC TyTN 2



Thanks for the update.
Working well - I use when not using CA3.
r
Andrew
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

Similar Topics

  Topic Replies Topic Starter Views Last Action
No new Topic has attachmentsgames for the Omnia i900.
359 loquillo 169,305 Yesterday, 23:16
Last post by: Fanrifad
No new Topic has attachmentsComplete install guide for Manila (TouchFlo 2D) on i900
HTC Standard Skin - All files incl
345 robf80 66,299 Today, 02:33
Last post by: jeffcalloway
No new Topic has attachments(Updated 3/11/08)New graphic Interface for OMNIA
We are working for you....
170 Hellbender 26,538 Today, 00:41
Last post by: Hellbender
No New Posts Here is a download location for Omnia CDMA driver
This one will work with XP for ROM Upgrades
3 miles_muso 906 Yesterday, 22:57
Last post by: picky-picasso
No New Posts Which rom is best for GPS
3 rogerwee 325 Yesterday, 22:48
Last post by: Junoman
No New Posts Topic has attachmentsCameraware - Unable to install on HTC Blackstone
3 ILikeFish 68 Yesterday, 22:21
Last post by: bazc

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


RSS hit counter Lo-Fi Version Time is now: 3rd December 2008 - 04:43

Please visit our 'Plus Partners' - these companies support MoDaCo through 'MoDaCo Plus' - Click Here for more details!

ActiveKitten | Aiko Solutions | Ateksoft | Binaryfish | Conduits | DeveloperOne | eSoft Interactive | FTouchSL | Inesoft | Lingvosoft |

monocube | Mykesoft | OmegaOne | Omnisoft | Opera Software | Resco | SBSH | Slipstream Solutions | SPB Software House |

Splashdata | Sprite Software | Syncdata | Teksoft | VITO | WebIS | z4soft

Would your company like to become a 'Plus Partner'? Click Here to contact us!