Early Lollipop Ports for Micromax A116 and A117

It feels like it was only yesterday when Google announced the mysterious Android L.After … more

Now Gesture Tweaks Replaces Google Now with Custom Action

On most modern Android devices with software navigation keys, swiping up from the … more

ToqAN Fixes Android 5.0 Notification Bug on Qualcomm Toq

The Qualcomm Toq is probably one of the lesser known smartwatches on the market … more

How to Root and Unlock the Google Nexus 6 on a Mac – XDA TV

In the past, XDA Developer TV Producer droidmodd3rx has shown you how to … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP Koush

30th July 2008, 01:16 AM   |  #1  
OP Retired Recognized Developer
Thanks Meter: 894
 
917 posts
Join Date:Joined: Sep 2007
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.
Last edited by Koush; 18th November 2008 at 07:44 AM.
30th July 2008, 01:19 AM   |  #2  
Junior Member
Thanks Meter: 0
 
28 posts
Join Date:Joined: Mar 2007
More
wow, sounds perfect!
i'll test it right away!
thanks!
30th July 2008, 01:25 AM   |  #3  
Senior Member
Thanks Meter: 2
 
622 posts
Join Date:Joined: Nov 2003
Can you make the time the light goes on configurable (15 seconds seems too short).

Surur
30th July 2008, 01:26 AM   |  #4  
R3PUBL1K's Avatar
Senior Member
Flag ɒzəl.twɪzəl
Thanks Meter: 20
 
1,482 posts
Join Date:Joined: Jun 2007
Donate to Me
More
I'll try this too in the morning -
30th July 2008, 01:41 AM   |  #5  
Jorlin's Avatar
Senior Member
Thanks Meter: 4
 
541 posts
Join Date:Joined: 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:	4424
Size:	54.2 KB
ID:	102715  
30th July 2008, 02:13 AM   |  #6  
H3IN3K3N's Avatar
Senior Member
Thanks Meter: 83
 
308 posts
Join Date:Joined: Jun 2008
Really nice and fast job. I cant wait untill its done
30th July 2008, 08:53 AM   |  #7  
Royael's Avatar
Junior Member
Thanks Meter: 0
 
14 posts
Join Date:Joined: Jul 2008
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
Last edited by Royael; 30th July 2008 at 09:59 AM. Reason: Edit: Cant manage to do 2. again..but it did happen ;)
30th July 2008, 08:59 AM   |  #8  
NisseDILLIGAF's Avatar
Senior Member
Thanks Meter: 25
 
1,311 posts
Join Date:Joined: Jul 2008
Donate to Me
More
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!!
30th July 2008, 09:05 AM   |  #9  
Member
Thanks Meter: 0
 
60 posts
Join Date:Joined: 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
30th July 2008, 09:17 AM   |  #10  
Senior Member
Thanks Meter: 0
 
319 posts
Join Date:Joined: Aug 2005
More
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)?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes