Jump to content


Photo

O2Compass and O2Flash

* * * * * 11 votes

  • Please log in to reply
500 replies to this topic

#1
Rapid81

Rapid81

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,243 posts
  • Gender:Male
  • Location:Hungary
  • Devices:Motorola Defy+

O2Compass

Current version: 3.31
Updated: 04/06/2010

This is a compass application with extra features listed below.

V3.1 release video

What's NEW in 3.3!



Usage:
Simple start the application. If you see the "Calibration Screen" then do what it says, rotate your phone in the 3 axis with full circles. If you away from any electronic and magnetic interference, the calibration takes 3-5 seconds. If you can't wait to complete the process, you can skip it, but then the compass may not be accurate.

Calibration video


To use you need to install the .NET Compact Framework 3.5!

It works on these devices:
- Samsung Omnia 2 (i8000)
- Samsung Omnia 2 (i920)
- Omnia Pro (B7610)
- WM6.1 & WM6.5 & WM6.5.3
Samsung SDK in the installer changed to 2.2 therefore theoretically works on these 2 devices too:
- SCH-M710/715 T*Omnia II
- SPH-M7350 Oz Omnia


FAQ in Post #324

Themes in Post #325


You can create your own Compass and page skins:
0. Download the 3.3 SDK file from here.
1. In this, you can find everything what you need to know to create your own compass skin and page backgrounds or full theme.
2. The PSD files are the samples. To the compass creation, you found a Tutorial document with screenshots in the Compass folder. With that, you can create it easily.
3. In every folder in this compressed file you found a Folder.txt. This contain the appropriate folder where you need to put your own skins.
4. The program automatically put the new skin to the list of skins in the Skins page.
5. Enjoy!
6. Upload it somewhere and share with us!

Changes in V3.31 (04/06/2010):
  • New theme selection mode. Now the changing is not works page by page, just at once. When you change a theme, everything is changing (buttons, backgrounds, checkboxes, etc.)
  • Settings now saved to the registry
  • New icons
  • The Themes structure now is the following:
    • Installation directory\Themes\Theme's name\
    • Backgrounds\
    • DestBack.jpg - Destination's background
    • DetectorBack.jpg - Metal detector background
    • DetectorBar.jpg - Metal detector's progressbar
    • LevelBack.jpg - Spirit level's background
    • LightSensorBack.jpg - LightSensor's background
    • OptionsBack.jpg - background of Options
  • Compass\
    • 0-180.jpg - the compass
    • Background.jpg - bacgkround of the compass
  • Images\
    • Buttons\
    • addtolist_dn.jpg
    • addtolist_up.jpg
    • deldest_disable.jpg
    • deldest_dn.jpg
    • deldest_up.jpg
    • delselected_dn.jpg
    • delselected_up.jpg
    • delwaypoint_disable.jpg
    • delwaypoint_dn.jpg
    • delwaypoint_up.jpg
    • hidelist_dn.jpg
    • hidelist_up.jpg
    • savecurrloc_disable.jpg
    • savecurrloc_dn.jpg
    • savecurrloc_up.jpg
    • setdest_dn.jpg
    • setdest_up.jpg
    • setwaypoint_dn.jpg
    • setwaypoint_up.jpg
    • showlist_dn.jpg
    • showlist_up.jpg
    • startdetector_dn.jpg
    • startdetector_up.jpg
    • stopdetector_dn.jpg
    • stopdetector_up.jpg
  • Level\
    • bubblehoriz.jpg - Spirit level's bubble (horizontal)
    • bubblevert.jpg - Spirit level's bubble (vertical)
    • horizontal.jpg - Horizontal center marker
    • vertical.jpg - Vertical center marker
  • LightSensorExamples\
    • 0-6.jpg
  • calibration.jpg
  • checked.jpg - checked checkbox
  • closingpic.jpg
  • recalibration.jpg
  • unchecked.jpg - unchecked checkbox
[/list][/list]Changes in V3.3 (27/02/2010):
- Added: Light Sensor
- Added: Saveable destinations list
- Added: Decimal minutes coordinate format
- Added: "Add current location to the list" button
- Skin changing method changed. Now skin can changeable with up-down finger sliding
- Memory usage cut down to the possibly minimal. On average usage it's 3-4MB.
- Copy-Paste-Clear context menu added to the coordinate input fields
- minor and bigger bugfixes

Changes in V3.21 (13/02/2010):
- Added: Main menu - Options / Skins / Minimize / Exit - Thx the idea to Alex.Shastov
- At minimized state, the app doesn't eat any CPU time (just the GPS stays on, if it's on).
- Minor bugfixes

Changes in V3.2 (12/02/2010):
- Added: GPS turn on/off option
- Added: Decimal / Sexagesimal coordinates format support
- Added: Changeable Metal detector background and progressbar
- Waypoint changed to Destination
- Minor bugfixes

Changes in V3.1 (06/02/2010):
- Added: GPS coordinates (decimal), waypoint (decimal), altitude, speed and GPS signal strength writeouts
- Added: spirit level
- Added: metal detector
- Added: options and skins page
- Added: skinnable compass and pages, easy skin changing
- Added: command line parameter to start the flashlight alone (-flash)
- The calibration screen appears when the accuracy go down below 100%
- Haptic feedback
- Keeps the backlight on
- Minor bugfixes

Changes in V2.0 (31/12/2009):
- The FlashLight function works properly

Download

If you appreciate my work, donate me.


O2Flash
(Current version: 1.2)

I'm also created a separate application to run just the flahlight. That's the O2Flash. You can download it from

here. The O2Flash are integrated to the O2Compass installer, but if you need it alone...


Changes in V1.2:
- The flash does not turn off when you switch off the screen. (THX to NetRipper)

Changes in V1.1:
- The application does not let the phone to sleep, so the flash doesn't turn off when the screens turn off.

Special thanx to the donors:
€2 + €2 - Eleftherios K. - my very first donor, thank you
€5 - David L. - thank you
€10 - Miguel Arranz S. - thank you
€6.99 + €7.34- dwallersv - thank you
€5 - Pető G. - thank you
€6 - skoda60 - thank you
€10 - tbturker - thanks
€5 - Daniele T. - thanx
€5 - rbean - Thank you

To do list (no priority order at all):
- inclinometer
- proctractor
- integrated Google Maps
- Beep sound for Metal detector
- Port the whole project to OpenGL ES

Attached Files


Edited by Rapid81, 11 January 2011 - 11:16 AM.

  • 0

#2
chokia

chokia

    Addict

  • Members
  • PipPipPipPipPip
  • 638 posts
  • Devices:Redefined Everything
It works great, i love it,

Thanks

  • 0

#3
JasonMa

JasonMa

    Newbie

  • Members
  • Pip
  • 24 posts
  • Devices:Omnia 2

O2Compass V1.0

I was made a new compass application to Omnia 2. Not a fancy one, but better and has a better looking like the others we saw 'till now.
Unfortunately the application needs the Samsung SDK 2.0.

Known issues:
If the compass' needle doesn't work properly then shake the phone until it works. The magnetic sensor needs to be calibrate.

Enjoy!



thanks a lot, great job. :)

  • 0

#4
2ksilverbullet

2ksilverbullet

    Newbie

  • Members
  • Pip
  • 23 posts
  • Devices:Omnia II (SCH-i920)
Very cool, works on the Verizon i920 as well.

  • 0

#5
Rapid81

Rapid81

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,243 posts
  • Gender:Male
  • Location:Hungary
  • Devices:Motorola Defy+
I was improved the program a little. :) I was implemented a FlashLight function. You found the new installer at the #1 post.

Update:
I found a problem. ;) After the first run, the flashlight doesn't works just after a soft reset. I don't understand, but I'm working on it.

Edited by Rapid81, 28 December 2009 - 03:38 PM.

  • 0

#6
surgex

surgex

    Enthusiast

  • Members
  • PipPipPip
  • 185 posts
  • Devices:Samsung Omnia2 (Verizon)

O2Compass V1.1

I was made a new compass application to Omnia 2. Not a fancy one, but better and has a better looking like the others we saw 'till now.
Unfortunately the application needs the Samsung SDK 2.0.

Known issues:
If the compass' needle doesn't work properly then shake the phone until it works. The magnetic sensor needs to be calibrate.

Enjoy!


Update:
I was implemented a FlashLight function. Just touch the "FlashLight" menu to turn on/off the phone's light.

Dude, you own.

  • 0

#7
Uboy

Uboy

    Regular

  • Members
  • PipPip
  • 107 posts
Hi Rapid81, thanks for the nice compass. Is there any chance you could make the compass skinable and maybe add a readout in degrees?

  • 0
If You Would Like To Smile More....Then Smile More..... :)

#8
Rapid81

Rapid81

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,243 posts
  • Gender:Male
  • Location:Hungary
  • Devices:Motorola Defy+

Hi Rapid81, thanks for the nice compass. Is there any chance you could make the compass skinable and maybe add a readout in degrees?


I'm really noob in VC++. I used to work in Delphi, but Delphi does not have the capability to create apps to WM. I'll try to move this project to VB, it's a more understandable language, VC++ is a big mess. :) If I can port it to Visual Basic then we'll talk about the skins and readouts.

Right now, I can't understand why the flashlight stops working after one run. And a top of that, I can't understand if I install the program, it's not working, and the standalone .exe doesn't works too. When I uninstall it, the standalone .exe in my sd card starts working. ;) I'm at the point when I want to put my computer on fire. B)

Edited by Rapid81, 28 December 2009 - 05:25 PM.

  • 0

#9
dwallersv

dwallersv

    Addict

  • Members
  • PipPipPipPipPip
  • 901 posts
  • Devices:Omnia

I'm really noob in VC++. I used to work in Delphi, but Delphi does not have the capability to create apps to WM. I'll try to move this project to VB, it's a more understandable language, VC++ is a big mess. :) If I can port it to Visual Basic then we'll talk about the skins and readouts.

Right now, I can't understand why the flashlight stops working after one run. And a top of that, I can't understand if I install the program, it's not working, and the standalone .exe doesn't works too. When I uninstall it, the standalone .exe in my sd card starts working. ;) I'm at the point when I want to put my computer on fire. B)



Just a guess: There are resources used by the Framework to manage the light, and it can't be left in an "on" state when the program exits -- this screws up the state management.

The solution is to make the program a single instance app, and simply minimize it when someone "closes" it if the light is on; then, when they run it again, the OS will simply bring the process/app to the foreground, and you can turn off the light through the API when invoked.

I've been planning to implement a Flashlight app to do this in exactly this manner, toggling the light each time it's invoked. No user interface -- just a Programs icon that you press to turn it on, and again to turn it off -- at which time it will exit.

Maybe I'll get around to it today...

  • 0

#10
mikiemad

mikiemad

    Regular

  • Members
  • PipPip
  • 50 posts
  • Devices:Omnia II I8000
Thnks a lot, is very nice :)

  • 0

#11
Rapid81

Rapid81

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,243 posts
  • Gender:Male
  • Location:Hungary
  • Devices:Motorola Defy+

Just a guess: There are resources used by the Framework to manage the light, and it can't be left in an "on" state when the program exits -- this screws up the state management.

The solution is to make the program a single instance app, and simply minimize it when someone "closes" it if the light is on; then, when they run it again, the OS will simply bring the process/app to the foreground, and you can turn off the light through the API when invoked.

I've been planning to implement a Flashlight app to do this in exactly this manner, toggling the light each time it's invoked. No user interface -- just a Programs icon that you press to turn it on, and again to turn it off -- at which time it will exit.

Maybe I'll get around to it today...


I can managed to get it work in VB so I'm working on the VB version of this app. It's sooooo easy in VB! :)
The 2.0 version will have:
- Correct work of the Lamp
- Changeable background image AKA compass image
- Degree writeout
- Changeable needle position to align it to the background image
- The compass will not appear until the magnetic sensor not initialize correctly
- maybe changeable compass needle
- and I don't know what else... ;)

  • 0

#12
hiperjp

hiperjp

    Regular

  • Members
  • PipPip
  • 52 posts
  • Location:Santiago
Doesn't work for me. The arrow doesn't move.

Also I have installed SDK 2.1 and rebooted the phone. Same result.

Flashlight function works pretty good.

Edited by hiperjp, 28 December 2009 - 07:55 PM.

  • 0

#13
Rapid81

Rapid81

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,243 posts
  • Gender:Male
  • Location:Hungary
  • Devices:Motorola Defy+

Doesn't work for me. The arrow doesn't move.

Also I have installed SDK 2.1 and rebooted the phone. Same result.

Flashlight function works pretty good.


Known issues:
If the compass' needle doesn't work properly then shake the phone until it works. The magnetic sensor needs to be calibrate.

  • 0

#14
Rapid81

Rapid81

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,243 posts
  • Gender:Male
  • Location:Hungary
  • Devices:Motorola Defy+
I can managed to receive the correct values of the magnetic sensor in Visual Basic. I'll start develop the graphical appearance tomorrow. That's enough for one day. :)

The FlashLight function works properly.

I'm waiting for any idea to improve this app.
Functions, configuration capabilities, etc. (for example spirit-level function or something like that)

Attached Files


Edited by Rapid81, 28 December 2009 - 10:30 PM.

  • 0

#15
Snow02

Snow02

    Addict

  • Members
  • PipPipPipPipPip
  • 515 posts
  • Devices:Omnia SCH-i920
Thanks. Works well. I am having the issue with repeated runs of the program opening up multiple instances and having to soft reset to get the flashlight to work again.

Edited by Snow02, 28 December 2009 - 11:01 PM.

  • 0

#16
fireonhigh

fireonhigh

    Newbie

  • Members
  • Pip
  • 38 posts
  • Devices:OMNIA II
i have been waiting for this... :) THANKYOUU

Edited by fireonhigh, 28 December 2009 - 10:55 PM.

  • 0

#17
Uboy

Uboy

    Regular

  • Members
  • PipPip
  • 107 posts
Hi again Rapid81, how about an option to show 2 needles (different colours) on the same compass where one would point north and the other would remain pointing in a user defined direction. Maybe some nice features to incorporate would be a pedometer using the accelerometer or an odometer/altimeter/speedometer/trip computer thingy using the GPS. :)

  • 0
If You Would Like To Smile More....Then Smile More..... :)

#18
.:stn:.

.:stn:.

    Enthusiast

  • Members
  • PipPipPip
  • 177 posts
gr8 job man!

works ok on b7610 as well, though flashlight option stops also others apps forum using LEDs, maybe that is a key? it reserves some "memory" and doesn't "let go" after using?

the colors on needle should be more visible!

  • 0

#19
bobobird

bobobird

    Addict

  • Members
  • PipPipPipPipPip
  • 881 posts
  • Devices:i900
Fine first app. Only issue is the flashlight - works first time app is run, but close app and restart and flashlight does not work anymore.

Small suggestion ; Compass itself does not need to be so large and some parts of the screen could be used for other info. Also the North triangle would be better if it was coloured differently.

Thanks for sharing the app.

  • 0

#20
superoy

superoy

    Newbie

  • Members
  • Pip
  • 25 posts
  • Devices:i8000
  • Twitter:@none
COOL & THX

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users