5,605,835 Members 47,885 Now Online
XDA Developers Android and Mobile Development Forum

[APP]Klaxon 2.0 - OPEN SOURCE - G-Sensor and Light Sensor Enabled Alarm Clock (11/17)

Tip us?
 
Koush
Old
(Last edited by Koush; 18th November 2008 at 06:44 AM.)
#1  
Recognized Developer - OP
Thanks Meter 893
Posts: 917
Join Date: Sep 2007
Default [APP]Klaxon 2.0 - OPEN SOURCE - G-Sensor and Light Sensor Enabled Alarm Clock (11/17)

AppToDate users

Klaxon Home Page


If anyone experiences a bug with Klaxon, please post a description of the bug, steps to reproduce the problem, and attach the \Program Files\Klaxon\Klaxon.txt file to the post.

If any developer wants to take over this project, please contact me via a PM!




TO DO:
  • Support for multiple languages.
  • Looking for more ideas to help improve this application!

Version 2.0.0.29
  • Updated Klaxon to support Samsung Light Sensor
  • Fixed issue with device not waking up from sleep to sound alarm.

Version 2.0.0.24
  • Re-enabled the code that forcibly removes the Windows alarm (May cause issues with some phones).
Please use the regular download link or AppToDate (did not make a blog entry about this minor change).

Version 2.0.0.23
  • Removed the upper right default "ok" button from the OpenFileDialog. This prevents users from hitting Ok and closing the dialog when no file has been selected.
  • Reverted previous change to "dismiss" Windows alarms. This was causing issues on mine and other devices in that the Klaxon Alarm would never show up. In its place, Klaxon now prevents Windows Alarms from flashing, playing sound, or vibrating. The notification will still show up, but at least not it is completely benign.
  • You can no longer hit the Off or Snooze buttons while the phone's screen is powered off.
  • Klaxon will no longer start the OpenFileDialog in the Windows directory to prevent the device from hanging while all the files are listed.
  • Fixed Daylight Savings Bug!
I'm also looking for someone to design a skin or two for Klaxon, as well as a new icon! Please contact me if you are interested!

Version 2.0.0.21
  • Fixed crash bug that would happen when browsing a directory filled with many sound files.
  • Changed the Klaxon icon to something nicer looking. (Requires restart, Windows Mobile caches icons)
  • The OpenFileDialog now shows the appropriate size folder icon for your resolution.

Version 2.0.0.20
  • Added Volume control option for alarm under Settings.
  • Fixed intermittent bug where Samsung G-Sensor exception went uncaught, causing an exception.

Version 2.0.0.19
  • When integrating with Home Screen, Klaxon now cancels all Windows alarms upon firing an alarm.
  • Turning off the screen when snoozing is now an option in settings.
  • Klaxon will now ask for confirmation if you try to create or edit an alarm that is set as disabled. Some users were accidentally disabling the alarm and pressing OK, and the alarm would obviously not go off.

Version 2.0.0.17
  • Skinning support implemented, sample skins will be released soon.
  • Completely stripped out the old Klaxon UI design and added QVGA support for the new skinnable UI.
  • Fixed bugs related to the new feature that allows you to disable sensors while snoozed.

Download and extract the new TestSkin into \Program Files\Klaxon\TestSkin to use as a base to create your own skins. TestSkin looks exactly like the default Klaxon skin.
If you want to install the TestSkin, your directory structure should look like this image:
http://koushikdutta.blurryfox.com/Kl...yStructure.jpg


Version 2.0.0.11
  • Added options to disable each sensor action while snoozed. For example, if your Flip action snoozes your phone, and you don't want to let it resnooze while snoozing (by just picking up your phone in some cases), check this box!
  • Added the ability to select a Windows Media Player playlist. You can find playlists in your \Playlists or \Internal Storage\Playlists folders. You can use Windows Media Player on your desktop to create and sync playlists.
  • When you snooze your device, the screen is automatically turned off to save power.
  • The default sound file is now \Windows\Alarm5.wav. It is not configurable in the UI yet, but you can configure it manually setting the \HKCU\Software\Klaxon\DefaultSoundFile value in the registry. (It does not exist by default, but Klaxon will use it if it is there.)

Version 2.0.0.9
  • Implemented About Box
  • Implemented the Snooze countdown on the alarm form.
  • On the Alarm List form, days that are not scheduled to start the alarm are now a darker color than they were before.
  • Fixed bug where deleting all the alarms would not remove the alarm from the TouchFlo Home Screen.
  • Fixed the sound looping bug once and for all! Found a not so well documented "loop" API hidden off the WindowsMediaPlayer.settings.setMode method.
  • Fixed bug where seconds showed up on the alarms in the list form and the alarm itself.

Version 2.0.0.6
  • Implemented new skin for the actual Alarm form.
  • Implemented 24 hour mode (on the reskinned version only)
  • Possibly fixed bug where wav files were not looping.
  • Fixed bug where editing alarms that took place on the noon or midnight hours were bugged.
  • Vibrations are now 150 and 300 ms instead of 500ms.
  • Windows Alarms are now schedule with no sound, so all the user may see is a notification (if Home Screen integration is enabled)
  • Fixed bug where One Time alarms did not show up on the Home Screen.

Version 2.0.0.5
  • If you have a 480x640+ screen, you will see the new UI. It's pretty. Still have to skin the alarm form, but besides that, it is done.
  • Possibly fixed bug where Klaxon would stay resident in memory.
  • The number controls are now gesture based: you can flick them and they will scroll through their range quite rapidly!
  • You can now preview the alarm using the play button. (Only available in the new UI)

Using Klaxon is pretty straightforward; it's more or less like the standard Clocks and Alarms application.

You can download Klaxon from my website.
 
Black_mage
Old
#2  
Junior Member
Thanks Meter 0
Posts: 28
Join Date: Mar 2007
wow, sounds perfect!
i'll test it right away!
thanks!
 
surur
Old
#3  
Senior Member
Thanks Meter 2
Posts: 622
Join Date: Nov 2003
Can you make the time the light goes on configurable (15 seconds seems too short).

Surur
 
R3PUBL1K
Old
#4  
R3PUBL1K's Avatar
Senior Member
Thanks Meter 20
Posts: 1,482
Join Date: Jun 2007
Location: ɒzəl.twɪzəl

 
DONATE TO ME
I'll try this too in the morning -


Why freeload? If you like what you use here, donator to the DEV, Themer or the XDA Community.
 
Jorlin
Old
#5  
Jorlin's Avatar
Senior Member
Thanks Meter 4
Posts: 541
Join Date: Jun 2008
Great work

Is this a replacement for the WM alarm/clock or just something on top of it?

What I would like to see:
- a TouchFlo 3D Clock layout when the alarm goes of with the current time and the alarm and snooze time posted, and a symbol that indicates if an alarm is set up or not
- allow it to have multiple alarms to set up


I have attached an image how it could look like
(the settings remain as yours... or Touch Diamond Style like in the com manager )
Attached Thumbnails
Click image for larger version

Name:	klaxon.jpg
Views:	4419
Size:	54.2 KB
ID:	102715  
 
H3IN3K3N
Old
#6  
H3IN3K3N's Avatar
Senior Member
Thanks Meter 83
Posts: 308
Join Date: Jun 2008
Really nice and fast job. I cant wait untill its done
 
Royael
Old
(Last edited by Royael; 30th July 2008 at 08:59 AM.) Reason: Edit: Cant manage to do 2. again..but it did happen ;)
#7  
Royael's Avatar
Junior Member
Thanks Meter 0
Posts: 14
Join Date: Jul 2008
Default Testing

Ok, so ive been testing it a bit this morning and discovered some bugs.
1. Cant delete alarm, nothing happens when you press the delete option.
2. If you go in to chose a alarmsignal and end up pressing Done before you find a signal, you end up back where you started without the option to change the signal, so you have to start all over making a new alarm.
3. If your screen is turned off, the alarm doesnt go off. But as soon as you press the powerkey the alarm starts..I would call this the main issue that should be fixed first.

Question: What is required to make it go to snooze? If you have the phone in your pocket while walking will it turn to snooze just by a little nudge?

Would be good if it would require a good shake

Ill keep testing! Great work mate
 
NisseDILLIGAF
Old
#8  
NisseDILLIGAF's Avatar
Senior Member
Thanks Meter 21
Posts: 1,301
Join Date: Jul 2008

 
DONATE TO ME
Great alarm clock!
But it would be nice with a working one
I have it on the table facing up and it sounds for like a 10th of a sec, then it goes to snoozing...

Little buggy right now ... but I really like the idéa!
Great work!!
 
Trem
Old
#9  
Member
Thanks Meter 0
Posts: 60
Join Date: Jul 2008
Wow!!!

This will be perfect when it's finished! I had a similar app on my N95 and was thinking it would be a perfect addition to my Diamond.

I will test it but until I know it works while I am awake I don't think i'll risk as an alarm to get me up in the morning. I don't think work will be sympathetic to me being late due to testing new software for my phone
 
Kisja
Old
#10  
Senior Member
Thanks Meter 0
Posts: 319
Join Date: Aug 2005
Wow! Very nice App! Wanna have!

But following improvements would be nice:
- Finger friendliy configuration. I hate the original alarm settings.
- Possibility to select the predefined sounds with a combo box. It needs much time to select a file in de windows directory by browsing. And additional possibility to browse for an mp3 file.
- Possibility to configure or enable/disable the tilt behaviour

Bugs:
- The phone wakes up and goes back to standby after 2 seconds, the sound stops too. Pretty like NisseDILLIGAF described it. Perhaps its because of S2U2 (I've 1.10b)?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

UnbelovedHosts Uses Xposed to Block Unwanted Connections

First popularized by mvps, hosts-based ad blocking has become the de facto standard … more

March of the Droids 2014 Just Two Weeks Away; It’s Not Too Late to Register

If you want to attend an Android developers’ … more

Android App Review: Auto Config Free – XDA Developer TV

In this weeks episode of XDA Xposed Tuesday, we talked about customization of … more

Cloupload is a Beautiful and Fully Functional CloudApp Client for Android

If you’re a Mac OS X user who frequently uploads screenshots, … more