Please Log In or Register - it's FREE!

2 Pages V   1 2 >  
Reply to this topicStart new topic
 CamerAware Buddy (for Navizon) v1.0.1.1 [2009/02/22]: power saving features!, helper app while you run either or
NuShrike
post Feb 8 2008, 08:17
Post #1


Enthusiast
Group Icon

Group: Posters
Posts: 261
Joined: 3rd August 2007
Member No.: 284,804

Device(s): Palm T|X, Acer m900



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

CamerAware Buddy is a finger friendly app for adjusting the WiFi scan interval, and cleans up the zombie chunk of ram the Navizon API leaves behind after CamerAware (running Navizon), or Navizon itself, quits. CA Buddy is great when you want to save battery while walking, and still adjust automatically when you're at vehicle speeds (and hopefully plugged in!) without performing a complicated dance of registry editors or hard-coded cabs.
Thanks to shogunmark originally for the idea.

Features:
  • Dynamic auto-selection of the WiFi ping scan-interval from 1 to 60 seconds (default usually 20 or 60) modulated by using real-time data from the GPS Intermediate Driver (WM5 and up)
  • 1.0.1.x: turn off the screen (or let it time out) and continue to collect points
Usage:
Do NOT run CA or Navizon directly, use this program instead.
  • Select CamerAware mode or Navizon mode
  • Quit it after you "Exit" from CA/Navizon
  • force-KILL the app started up if the app hasn't actually exited cleanly and still hanging around and onto ~2MB chunk of ram. The Navizon .NETCF API tends to do that, although it eventually does go away by itself after minutes and minutes and minutes.
  • Show to quick flip to the app currently running. It's not 100% accurate for CamerAware because it the root window handle seems to change sometimes.
  • GPS is an incomplete debugging area to see if the GPS is working or wedged, and this can happen a lot with Navizon's code or WM6.0's GPS code. Also, this page can be used as a very fast and lightweight way to bootstrap the GPS (versus GPStest), and more visual than FusionGPSFix.
Installation:
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.

It's small and fast @ 37KB ram. With GPSauto-set running, the cpu-load is ~0% on the FUZE/Touch Pro.

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.

Release Notes:
  • 2009/Feb/22 v1.0.1.1: power saving improvements
  • 2009/Jan/20 v1.0.0.16 (13)
  • 2009/01/07 v1.0.0.15: lots of polish; cpu optimizations
  • 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:
    • Remembers CA or Navizon mode selection.
    • Fix Auto-Set not shutting down GPS access when unselected (leaking a handle each time) until application exit.
    • 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.
  • v1.0.0.6: this is revision alpha Next


This post has been edited by NuShrike: Feb 23 2009, 21:37
Attached File(s)
Attached File  CA_Buddy.1.0.1.1.CAB ( 45.44K ) Number of downloads: 159
 


--------------------
KaiserSimFix: soft-reset-safe sim contacts hiding
CamerAware Buddy | HTCClassAction.org | KaiserGL SDK | LevelSight | FusionGPSFix
Support what I do and buy me a drink.
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


Regular
Group Icon

Group: Posters
Posts: 71
Joined: 11th October 2007
Member No.: 310,130

Device(s): HTC TyTN 2 HTC Touch HD



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


--------------------
HTC TyTN II Kaiser
Op Ver 24.181.1.612
Radio 1.27.12.29
HTC Touch HD
Op Ver 34.119.1.611
Rom 1.19.61.1 WWE
Radio 1.09.25.14
Go to the top of the page
 
+Quote Post
NuShrike
post Feb 8 2008, 18:42
Post #5


Enthusiast
Group Icon

Group: Posters
Posts: 261
Joined: 3rd August 2007
Member No.: 284,804

Device(s): Palm T|X, Acer m900



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
Go to the top of the page
 
+Quote Post
Shadowfixeruk
post Feb 11 2008, 15:37
Post #6


Enthusiast
Group Icon

Group: Posters
Posts: 152
Joined: 5th November 2007
From: Warwick, UK
Member No.: 318,879

Device(s): Kaiser
Twitter: @jfduncan



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: Posters
Posts: 261
Joined: 3rd August 2007
Member No.: 284,804

Device(s): Palm T|X, Acer m900



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
Go to the top of the page
 
+Quote Post
NuShrike
post Feb 13 2008, 00:22
Post #8


Enthusiast
Group Icon

Group: Posters
Posts: 261
Joined: 3rd August 2007
Member No.: 284,804

Device(s): Palm T|X, Acer m900



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.
Go to the top of the page
 
+Quote Post
NuShrike
post Feb 26 2008, 21:33
Post #9


Enthusiast
Group Icon

Group: Posters
Posts: 261
Joined: 3rd August 2007
Member No.: 284,804

Device(s): Palm T|X, Acer m900



Updated to support latest RC revisions of CamerAware.
Go to the top of the page
 
+Quote Post
bigdish
post Feb 28 2008, 00:51
Post #10


Regular
Group Icon

Group: Posters
Posts: 71
Joined: 11th October 2007
Member No.: 310,130

Device(s): HTC TyTN 2 HTC Touch HD



Thanks for the update.
Working well - I use when not using CA3.
r
Andrew
Go to the top of the page
 
+Quote Post
NuShrike
post Jan 8 2009, 01:20
Post #11


Enthusiast
Group Icon

Group: Posters
Posts: 261
Joined: 3rd August 2007
Member No.: 284,804

Device(s): Palm T|X, Acer m900



version 1.0.0.15 [2009/01/07]: Happy New Year!

Here's the latest version after months of self-beta:
  • screen-rotate supported
  • updated core GPS code (shared with FusionGPSFix)
  • new icon
  • connection to GPS for AutoScan isn't activated until app is actually running -- immediately deactivated when AutoScan is turned off (better power savings)
  • AutoScan preference is preserved also
  • registry backup of WiFi settings attempted in case of device/app crash
  • CamerAware 3 beta support removed
  • works fine on FUZE
  • works well with FusionGPSFix


This post has been edited by NuShrike: Jan 8 2009, 02:39
Go to the top of the page
 
+Quote Post
Shaggylive
post Jan 13 2009, 19:50
Post #12


Newbie
Group Icon

Group: Posters
Posts: 1
Joined: 12th March 2008
Member No.: 366,682

Device(s): mogul



QUOTE(NuShrike @ Jan 7 2009, 19:20) *
version 1.0.0.15 [2009/01/07]: Happy New Year!

Here's the latest version after months of self-beta:
  • screen-rotate supported
  • updated core GPS code (shared with FusionGPSFix)
  • new icon
  • connection to GPS for AutoScan isn't activated until app is actually running -- immediately deactivated when AutoScan is turned off (better power savings)
  • AutoScan preference is preserved also
  • registry backup of WiFi settings attempted in case of device/app crash
  • CamerAware 3 beta support removed
  • works fine on FUZE
  • works well with FusionGPSFix

Thanks, for the update! can't wait to take it for a spin!
btw, I remember trying this a while back, but stopped using it for some reason.. anyway your latest post over @ navizon brought me back. is it ok if I post a link to this thread and amazing tool on another site?
Go to the top of the page
 
+Quote Post
NuShrike
post Jan 15 2009, 06:55
Post #13


Enthusiast
Group Icon

Group: Posters
Posts: 261
Joined: 3rd August 2007
Member No.: 284,804

Device(s): Palm T|X, Acer m900



QUOTE(Shaggylive @ Jan 13 2009, 12:50) *
Thanks, for the update! can't wait to take it for a spin!
btw, I remember trying this a while back, but stopped using it for some reason.. anyway your latest post over @ navizon brought me back. is it ok if I post a link to this thread and amazing tool on another site?
Ya, feel free to link on. Thanks. smile.gif

I'm going to post a newer version fairly soon too to fix a bug in restore-registry-settings code. Also, cooking in accelerated fixed-point math that works better for these fpu-less devices just for kicks, and to exercise the library.


This post has been edited by NuShrike: Jan 15 2009, 06:58
Go to the top of the page
 
+Quote Post
Mike Sundstrom
post Jan 15 2009, 10:02
Post #14


Newbie
Group Icon

Group: Posters
Posts: 3
Joined: 15th January 2009
Member No.: 481,614



The paths to either "\storage card\program files" or "\program files" aren't working for me since I have a localized (Swedish) version of WM 6.1
My path is \Program. Is there a way for me to change this? tried to look through the registry but with no luck.

/Mike S
Go to the top of the page
 
+Quote Post
Shadowfixeruk
post Jan 15 2009, 12:27
Post #15


Enthusiast
Group Icon

Group: Posters
Posts: 152
Joined: 5th November 2007
From: Warwick, UK
Member No.: 318,879

Device(s): Kaiser
Twitter: @jfduncan



Hi Nushrike - is there anyway that you can provide support for ?AppToDate
? in the next version of CABuddy

Cheers
SF
Go to the top of the page
 
+Quote Post
NuShrike
post Jan 16 2009, 00:02
Post #16


Enthusiast
Group Icon

Group: Posters
Posts: 261
Joined: 3rd August 2007
Member No.: 284,804

Device(s): Palm T|X, Acer m900



QUOTE(Mike Sundstrom @ Jan 15 2009, 03:02) *
The paths to either "\storage card\program files" or "\program files" aren't working for me since I have a localized (Swedish) version of WM 6.1
My path is \Program. Is there a way for me to change this? tried to look through the registry but with no luck.

/Mike S
You're right! I forgot to use the system APIs to give me the proper localized system paths. I'll fix this asap.

I'll see if I can figure out how to add AppToDate support.
Go to the top of the page
 
+Quote Post
Mike Sundstrom
post Jan 20 2009, 09:06
Post #17


Newbie
Group Icon

Group: Posters
Posts: 3
Joined: 15th January 2009
Member No.: 481,614



Great! I'll keep my eyes open for an update.

/M
Go to the top of the page
 
+Quote Post
bigdish
post Jan 20 2009, 21:54
Post #18


Regular
Group Icon

Group: Posters
Posts: 71
Joined: 11th October 2007
Member No.: 310,130

Device(s): HTC TyTN 2 HTC Touch HD



Thanks for the update.
Working well on the Touch HD.
r
Andrew
Go to the top of the page
 
+Quote Post
NuShrike
post Jan 20 2009, 23:47
Post #19


Enthusiast
Group Icon

Group: Posters
Posts: 261
Joined: 3rd August 2007
Member No.: 284,804

Device(s): Palm T|X, Acer m900



version 1.0.0.16

QUOTE(NuShrike @ Jan 15 2009, 17:02) *
You're right! I forgot to use the system APIs to give me the proper localized system paths. I'll fix this asap.
Okay, localized Program Files and Storage Card support now baked in. Uses custom fixed-point math library (shared with LevelSight) to avoid some floating-point calculations in the auto-set routines due to non-existent FPU even in current high-end HTC/Qualcomm devices.

Let me know how it works out for you. Meantime, working on some power-optimizations for the next revision.


This post has been edited by NuShrike: Jan 21 2009, 00:13
Go to the top of the page
 
+Quote Post
Paul
post Jan 20 2009, 23:52
Post #20


The Main Man!
Group Icon

Group: Admin Team
Posts: 23,323
Favorited Topics: 74
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): Touch HD / G1
Twitter: @paulobrien



AppToDate support?

P


--------------------
Follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic

Collapse

Similar Topics

  Topic Replies Topic Starter Views Last Action
No new Topic has attachmentsNew!!! Nav N Go iGO Amigo v8.4.2.85182 (Apr 8 2009)
UPDATE
30 nvally 33,972 Today, 19:47
Last post by: nvally
No New Posts Topic has attachmentsCustom WM6.5 ROMs for i900 by Ryrzy
Update 15.12.2009 21876/28014/23506/23616 || Normal/Lite/M2D ||
1,952 Ryrzy 306,313 Today, 19:33
Last post by: Rebels
No new Topic has attachmentsHammer's custom WM6.5 ROMs - V11 build 21884/23092/28014 (14-Dec-2009)
New 28xxx build ready for testing!
195 Mr.Hammer 38,484 Today, 18:46
Last post by: Rickrcomm
No new Topic has attachments(22/12) 6.5 and 6.1 ROM RANKING - With LINKS!!
***Post your short review here***
164 jmsmartins 26,872 Today, 18:39
Last post by: Felipe-BRAZIL
No new Topic has attachmentstomtom working without gpsgate for i900
I found out tomtom working without gpsgate portsplitter gpsproxy
38 weirdo 5,463 Today, 21:00
Last post by: weirdo
No New Posts New “Ozone Layer” for HTC Ozone & Peerless Protection for LG Versa by OtterBox
0 OtterBox 0 Today, 18:01
Last post by: OtterBox

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

 


RSS hit counter Lo-Fi Version Time is now: 29th December 2009 - 21:21

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 | WalkingHotSpot | WebIS | z4soft

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