View Single Post
Posts: 631 | Thanked: 837 times | Joined on May 2007 @ Milton, Ontario, Canada
#517
Shark NX, thanks for helping to clarify things. One of the main problems with the app right now is that there's no clear documentation/indication of how to use the thing to get to the various settings/etc! That's still a work in progress of course! But yea, to clarify:

The "window mode" which is the screen with the odd "fingerprint dealie" was there originally as a copy of the settings screen (the one that has the alarm times/etc on it), from way back when Ciro first built the app. I took over development, added a whole ton of new features and settings to the "Settings" screen, and never bothered to update the "window mode" since it didn't make sense to have two screens to do the same thing. The plan is to replace that "window mode" screen with just a smaller version of the main clock display so that you can leave it running without having to have it in full screen mode if you want, but that's tied in with the rest of the UI overhaul that I'm in the middle of right now, so it's kind of having to wait until everything's done. So for the moment, that "window mode" is just there so that you can check the status bar/etc without having to exit the app; don't expect any functionality out of it!

The alarm "settings" screen is where all the goodness is at right now. You should be able to press on any of the "day of the week" buttons on the bottom left, and a little rectangle will appear around that day indicating that you've selected it. The rest of the screen will update to show you the settings for the alarm for that day. If you change the time, sound file, etc then the settings are automatically saved/applied as soon as you either A) select another day or B) drag back up to the main clock screen. You will see a gray "one moment " screen to indicate that the settings are being saved/applied. Any day that has an alarm enabled for it will be a green box, any day with the alarm disabled will be red. Turning alarms on and off does not delete their settings, it just makes it so the alarm doesn't ring that day.

Alarms are set on a weekly basis. That is, if you set an alarm for Monday at 8:00am, it will go off every monday at 8:00am. If Flipclock is not open at the time of the alarm, it will automatically launch and play the alarm for you.

I selected an MP3 from my mini SD card - presumably this is ok even tho it said not supported? BTW, where are the default ring tone(s)? - I should have remembered the folder.
Ummm, who ever said "MP3 from mini SD card not supported"? ;-) All I've said is that I make no guarantee that all Mp3 files will work ;-) All the ones I've tried have, but the gstreamer code that I built to play the sound might not be perfect, so perhaps there are some files out there that don't work. In any case the safe bet is to use one of the sample ones that comes in the "My Audio clips" directory on the tablets (I'll never be able to listen to the first 30 seconds of that dang Moby song again without thinking "must hit snooze button!"). There is an alarm sound included with the app, but it's really not very pleasant and I don't recommend it unless you really really like it...

I'd love the color scheme to cycle through the colors with corner light on and then off. I like the green but w/o the LED on. Can this be achieved?
I've only got an N800 so I don't get the fancy LED stuff you guys do, but this should be easy enough to accomplish (if you're feeling adventurous you can try to manipulate the code yourself, just ask how and I'll give you the pointers). The long term goal is to expand the settings screen to have more options, including some LED controls.

BTW, I really like the green display. It seems like it would be good to be able to set any avaialble color to either bright or night setting (with or w/o unit's LED on).
Well the night is easy to do because it's a colour underlay, but the regular flip screen has actual coloured PNGs that correspond to the colour choices (I believe Ciro based them off the possible LED colours on the N810); anyways probably doable but just haven't had time to get a nice colour chooser thing in there, and it didn't seem like a huge priority. If you're really desperate to change some colours or add your own you can try messing around in the ci_init file... line 227 on mine here has all the mood stuff:

Code:
moods = [{"name":"Off","image":pygame.image.load(path + "m_0.png"), "color":(0,0,0), "nightColor":(0,0,250)},
		 {"name":"Yellow","image":pygame.image.load(path + "m_yello.png"), "color":(250,125,0), "nightColor":(250,200, 0)},
		 {"name":"Blue","image":pygame.image.load(path + "m_blue.png"), "color":(0,0,250), "nightColor":(0,0,250)},
		 {"name":"Red","image":pygame.image.load(path + "m_red.png"), "color":(250,0,0), "nightColor":(240,0,0)},
		 {"name":"Purple","image":pygame.image.load(path + "m_purpl.png"), "color":(250,0,125), "nightColor":(220,0,160)},
		 {"name":"Green","image":pygame.image.load(path + "m_green.png"), "color":(0, 250,0), "nightColor":(0,220,0)}]
I have no idea what effect (if any) it will have on the LED stuff, but give it a shot if you like!

And finally, since Lab has been so patient!

All the code that Ciro wrote related to controlling the LEDs is at the bottom of the ci_alarmNew.py file, beginning from the section marked
Code:
#################### OLD CODE #########################################
# Everything below this point is obsolete, it's just here temporarily
# for reference!!
#######################################################################
There's three functions there: setLED, which sets the LED to a specific colour; setLEDMode, which just determines if you control the LED or if the system does, and carnevale, which is Ciro's crazy "make the LED flash randomly" code.

Hope that helps, thanks guys keep the feedback coming!
 

The Following 4 Users Say Thank You to jolouis For This Useful Post: