maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Flip clock pre pre pre pre release (https://talk.maemo.org/showthread.php?t=25582)

silvermountain 2009-08-13 18:33

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by nwerneck (Post 311506)
Is there a way to make it automatically increase the system volume before playing the alarm? I usually put the volume low before sleeping, and I don't remember to put it high back again, so when the alarm plays the volume is still low and I can't hear it!...

Oh I second that - I sometimes have the sound off and have to switch out of the app, boost the sound and then back to flipclock.

An setting for "Default sound volume for alarm" that would override any volume that is currently set on the tablet would be sweet.

jolouis 2009-08-14 16:15

Re: Flip clock pre pre pre pre release
 
Okay for anyone who's feeling pretty "bleeding edge", here's a preview/alpha release of the C-SDL version of Flip that I've been working on. It's not packaged, it's not bundled, no icons or anything fancy like that yet (that's easy I just haven't had time to package it all up yet), but basically download on tablet to the root file system (/), extract (should create a folder "/fclockC", go into there and type "./flipclock" and it should launch.
https://garage.maemo.org/frs/downloa...a-0.0.1.tar.gz

A few points to note:
  • This is a VERY EARLY PREVIEW to show you guys what I'm working on and to find crashes/bugs! IT IS NOT in any way useable... well, I mean it's a clock, but...
  • The images and sources are statically tied to the "/flipclockC" directory, so if you find nothing happens when you try to launch, or you get errors about missing files/etc, make sure you've got the app extracted in the right place!
  • I forgot that Ciro's C-SDL background doesn't have a "change theme" button on it... so when the clock first loads, you can switch to the alternate theme by pressing just to the left of the Exit button (where the change mood button is on the old Flipclock). The alternate theme has that button in place so you should be okay.
  • Feedback is appreciated and any crashing/problems it'd be nice to hear about as I may or maynot have fixed them by the time you post 'em up ;-)
  • There's no alarm functionality at all yet, so don't go looking for it ;-)
  • There IS Hardware Device support in this version... so leave it running for a while and you shouldn't have to worry about battery consumption and the app will go into power save mode just like normal Flip does...

Again keep in mind this is really just to keep you guys up to date on what's happening and keep everyone excited about Flip ;-) The theme stuff is working out pretty well, the long term plan is to have a "mini theme selector" pop up if more than two themes are available for you to choose between, with extra themes being extra .deb packages to install (that way Ciro can design all kinds of cool crazy clocks and all he needs to do is write an XML file with some info in it, publish the graphics, and it's good to go!).

Once I get a little further along with things I'll look into the volume stuff, should be do-able as you guys describe but I know the controls on the tablet are a bit strange... I'm also kind of hoping for some other neat tricks that I'll be able to roll into this since it's now C-based (still want to try to get that thing where it listens to you snore and decides the best time to wake u up thing going on that was discussed WAAAY back). Lots of work to go still though my priority is to get the settings/preferences and then alarm stuff in next which will be quite a task...

tjutzu 2009-08-20 10:20

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by tjutzu (Post 311452)
I am now having an issue where the whole application get frozen if I try to see any other view than the default one shown when application start with this latest version I installed couple days ago. Even closing the application doesn't work after that. Only way to close the flip clock is kill the python itself.

I didn't had any issues with previous version of flip clock.

I will try to uninstalling and reinstalling the application to see if that fixes the problem.

After playing a bit more I am no longer so sure if the problem is actually in Flip Clock. I manage to the mclock to freeze as well and in that case the python was stuck as it was with flip clock earlier.

I removed and reinstalled flip clock and it is working now bit better but I have a feeling that I need to re-install the whole OS to get the system stable again. I am just bit too lacy to do it.

and last but definitely not least thank for this application. Now I have had use for my old N800 as my bed side clock. :D

jolouis 2009-08-20 13:40

Re: Flip clock pre pre pre pre release
 
tjutzu, Glad to hear that you've at least resolved things a little bit and it's not a problem with the app itself (though having to re-install is always a pain for the OS!). I think as the RX-51 makes it's way into the mainstream the N800's/810s will slowly start becoming more "regular" items like Daily alarm clocks, etc ;-)

I've been coding like crazy to get the C-version of Flip to some usable/cool point, but there's still some ways to go. In the mean time though guys, since I'm building from the ground up here... what other cool/interesting/missing features are people interested in?? Any new ideas and things that you've been wanting that are lacking in the current version? Now is the time for ideas...
Right now the only points I've got are:
1) Try to control system volume so that the alarm will always be loud (if you want it to)
2) ?...

I think you're gonna be pretty happy with the theming setup (esp. Ciro who loves to make crazy designs... no more need to hack up the clock code, the themes can be extra packages for ppl), but is there anything else to change/update/etc? Are people happy with the alarm layouts/options, or?

I can't promise that every suggestion will get implemented but I'll do my best! (I noticed on the Maemo downloads page today for Flip that it's only got 3 1/2 stars... so let me know what else we can do to get that up to like 4 1/2 or 5 stars! ;-) )

dystopic 2009-08-25 00:20

Re: Flip clock pre pre pre pre release
 
Sorry about the question, but after reading some pages (30 or so) of this thread, and somee of the code, especilly this line "tablet=1 #Im not sure if this still have sense..." , I would like to know whether this would work fine in any linux box with python+pygame installed...

It seems perfect for netbooks! (1024*600) with some centering/scaling...

Sorry about the silly question...

jolouis 2009-08-25 03:53

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by dystopic (Post 315150)
Sorry about the question, but after reading some pages (30 or so) of this thread, and somee of the code, especilly this line "tablet=1 #Im not sure if this still have sense..." , I would like to know whether this would work fine in any linux box with python+pygame installed...

It seems perfect for netbooks! (1024*600) with some centering/scaling...

Sorry about the silly question...

Hey now no such thing as a silly question! and yea this thread is getting a bit long, we'll be moving to a new one to line up with the new version of the app soon enough!

Originally Ciro had a version that would run on any standard Linux install, but a lot of that compatibility got lost in dependencies for Maemo packages (libosso, etc) when I put the alarm functionality/device monitoring/etc stuff in there; so short answer right now is nope, current version won't work on other OS's unfortunately.

Now, on the other hand I am in the middle of a complete rebuild from C-SDL, which I've been trying to be much more careful about compatibility for, so that's probably the best bet. Keep an eye out and remind me as it's not a priority right now but... alternatively you can probably MAKE the current version work on non-tablets, you just have to strip out all of the libosso module includes and any code that depends on them; the main functionality should be unaffected...

Still looking for further suggestions regarding desired improvements/upgrades/etc by the way if anyone's got any...

fixerdave 2009-08-25 06:48

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by jolouis (Post 313603)
... In the mean time though guys, since I'm building from the ground up here... what other cool/interesting/missing features are people interested in?? Any new ideas and things that you've been wanting that are lacking in the current version? Now is the time for ideas...


Oh yeah...

Number one on my list would be a simple change to the snooze bar - having slept in this morning :(

How about having a press anywhere on the screen start it snoozing, and have a small area to turn off after that. That way, us fumbling morning-haters don't have to wake up and specifically hit the bottom of the screen to get into snooze-mode. Yeah, I missed the snooze bar... didn't notice because I wasn't really awake. Woke up later, looked at the clock, groggily comprehended that I had to be at work in 20 minutes, fumbled around to find some significance in that, the bolted upright when it hit me. I hate waking up like that. :eek:

I'd much rather listen to "Minnie the Moocher" a few times while my mind clears. The quiet at first and then progressively louder is great.

Though, as suggestion number two, way less important than the snooze bar thing, would be to scale the volume increase over the length of the mp3 file. Thus, a long file would sssllllooowwwlyyy increase in volume, giving plenty of time to hit snooze, while a short one would be blaring right away. Though, it might be a pain to calculate the length of a file in seconds of play. Again, not that big a deal. Just a thought.

Great app though, it means we'll always have a use for the N810, no matter how obsolete, dead batteries, whatever. It can always sit there and be a really cool clock :) Thanks for all the work.

David...

tjutzu 2009-08-25 07:36

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by jolouis (Post 313603)
Any new ideas and things that you've been wanting that are lacking in the current version? Now is the time for ideas...

For me the current Flip Clock is 4 out of 5 star application, the new version will be then 5 star application :-)

My use scenario if following. I am using N800 which have no other use at the moment except being TV guide and news reader time to time.
1st usage as standard bed side clock
- Screen is always lit when on charger and it is on charger all the time
- Touch screen is locked to prevent accidental screen changes. For me the main clock view is the most important.
- I am not using alarm at the moment since it is too complicated :)
- I prefer to use standard flip view or heavily dimmed digital view
- I do like the date shown

What I would like to see
+ Easier alarm usage, for me one alarm time set with rotating or sliding time selection would be optimal
+ On standard clock view when there is no alarm the view shouldn't be changed if screen is accidental touched. I prefer those bottom of screen active controls
+ Possibility to choose if snooze is used or not (I never use it)
+ Possibility to choose alarm sound
+ Automatic screen dimming based on time of date and position (I am living up north and length of the day varies depending of time of the year)
+ All other cool features you might implement (Web radio alarm, RRS ticker, daily alarms, ...)

but the simple flip clock is still the most valuable functionality. I prefer simplicity over the complex functionality.

And yes, since there seems to be new device coming out in near future this kind of applications which take the "old and obsolete" tablets in use are more than welcome. I never manage to get Flip Clock run properly on my old 770 and it is now just lying in top drawer without any usage :(

Didge 2009-08-25 08:27

Re: Flip clock pre pre pre pre release
 
Hi

I still have the problem of an invisible alarm on Wednesday morning, after I reflashed the N810! :-( Though it rings at 7h now, not on 5h as before (probably different timezone and daylight saving).

Feature request for the new version would be starting the mediaplayer instead of playing an alarm. I always start a radio stream in the mediaplayer widget on the desktop after the alarm rings. So that functionality would be really nice!

Ciao,
Jens

OsoPardo 2009-08-25 12:23

Re: Flip clock pre pre pre pre release
 
Hi,

I recently installed flip clock but I uninstall it because my battery was eaten within 24h whereas I could use my n810 more than one week before.
But since I still have the alarm clock icon (even after a reboot and without alarm set) and my battery still need to be recharged every 24h...

I assume there is a piece of flip clock configuration still present and that interact with the standard alarm clock, how can I fix that ?

Oso

Addison 2009-08-25 17:14

Re: Flip clock pre pre pre pre release
 
Yeah.

When I first installed this, I was thinking, wow! This is so awesome!

Then depression set it.....

It locked up my tablet, and when I tried to close it, my task manager thingy had it listed as "unnamed".

I even had to reboot and change the display settings under the control panel back so it wouldn't drain the battery.

Other than all of that unnecessary crud that happened, this application is definitely one to watch out for once those bugs get squished.

ciroip 2009-08-26 04:00

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by dystopic (Post 315150)
Sorry about the question, but after reading some pages (30 or so) of this thread, and somee of the code, especilly this line "tablet=1 #Im not sure if this still have sense..." , I would like to know whether this would work fine in any linux box with python+pygame installed...

It seems perfect for netbooks! (1024*600) with some centering/scaling...

Sorry about the silly question...

not silly at all if you ask me... but yes after the binding to the alarmd and other jolouis code optimizations that tablet=1 probably does not have more sense. There still should be last version I worked on that worked on normal desktops (I kept everything multiplatform since I developed directly on the pc). The 'tablet' disabled the led and the osso calls and add an alarm sound on pc is straightforward. Time to return to the base (friday) and I could take a look.

ciroip 2009-08-26 04:07

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by tjutzu (Post 315233)
... I never manage to get Flip Clock run properly on my old 770 and it is now just lying in top drawer without any usage :(

I have no idea what really would stop a 770 to run it...
I dont remember if the app test the 770 for the led coloring bs... maybe just trying to disable completely the led managing (there should be a led=1 somewhere in c_init code...

elimoon8 2009-08-26 13:43

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by jolouis (Post 313603)
In the mean time though guys, since I'm building from the ground up here... what other cool/interesting/missing features are people interested in?? Any new ideas and things that you've been wanting that are lacking in the current version? Now is the time for ideas...

Can you implement time with seconds as an option? For those times when we need to time something by seconds and we don't have a clock available.

Would it be possible to set an option for having the alarm turn off 5 minutes for every 15 minutes (or possibly some customizable interval) it rings? I am a heavy sleeper and I normally set my alarm ahead of the time I actually want to get up to compensate. However, this normally leads to the alarm ringing for about half an hour, so when I finally get around to turning it off, my n810 is very hot to the touch. This feature would be great so that I wouldn't be afraid of overheating or some other nasty consequences.

Lastly, would it be possible to have an option for flipclock to show the "official" time from time.gov/other official time website for US users, with settings for the timezone (and possibly other countries with their respective online sources)?

jolouis 2009-08-26 14:43

Re: Flip clock pre pre pre pre release
 
Okay lots of questions to answer here!

First let me address problem-related ones:

Didge - If you reflashed your tablet then what did you do afterwards to setup the alarms again? I.e. did you just install flip, and it randomly started doing this? or did you install Flip and then set your daily alarms and it went sour after that? Have you tried opening x-term and running "flipclock --fix-alarms"?

OsoPardo - Sounds like you had insomniac mode on or something to keep the display lit; that's really the only thing in flip that will drain the battery. The alarm Icon is in the tray to let you know that flip alarms are still set; you can clear them by re-installing the app and running "flipclock --fix-alarms" from X-term. This will clear out any alarms defined by flip on the system that are no longer enabled/setup in the app itself. Once you do that you can uninstall again if you want and it should be all good.

Addison - Sorry to hear that it locked up! The new version I'm working on is much more stable and doesn't do odd things like that (I've run into that happening in current Flip on the odd occasion, it sucks I know but at this point I'm just focusing on the new better version as I couldn't find the cause of that problem). If you had insomniac mode turned on and the app crashed/locked up then yea u would have to change display settings manually to fix it; glad you got that sorted out, and sorry for the bad experience but please keep an eye out and try the app again when the new release comes along!

tjutzu - I'm with Ciro on this, I have no idea why it wouldn't work on a 770... I assume you've got OS2008HE running on it? My only guess would either be some hardware-specific code somewhere, or a problem with one of the libraries not being the same... anyways, new version is much more portable and should hopefully work there... I'll see if I can test it on my bro's old 770 at some point once it gets a little further along..


Now then, onto suggestions! Thanks for all the great feedback so far by the way everyone!!

Quote:

Number one on my list would be a simple change to the snooze bar - having slept in this morning
This is my main problem with the app as well... and it stems from me not really having any clue about design, but more focusing on making things actually work. If it's any consolation I've slept in more than a few times because I hit the clock and missed the snooze bar so the alarm just shut up and never rang again! So this will be changed definitely...

Quote:

scale the volume increase over the length of the mp3 file
Should be pretty easy to do, but I haven't gotten to re-implementing the gstreamer audio playback stuff in the new version yet, so when I get there I'll see what I can do. I'm also trying to get system volume VS app volume sorted so even if system volume is low the alarm will still be audible.

Quote:

Easier alarm usage, for me one alarm time set with rotating or sliding time selection would be optimal
+ On standard clock view when there is no alarm the view shouldn't be changed if screen is accidental touched. I prefer those bottom of screen active controls
+ Possibility to choose if snooze is used or not (I never use it)
+ Possibility to choose alarm sound
+ Automatic screen dimming based on time of date and position (I am living up north and length of the day varies depending of time of the year)
- Interesting, I can probably try to implement a "simplified alarm mode" so you just set one alarm time and it happens every day; if you don't want it, turn it off.
- I've tweaked the screen-changing code, it was pretty sensitive before... it's a little more laid back now and takes some definite effort to use. Key point here being all of the controls are now setup by the themes, so if you want a clock layout without the "drag" thing and with a button instead, just tweak (or create a new) theme that has that setup instead of the drag button... very easy, I'll explain more later.
- Sure, option to disable snooze, that's doable.
- You can already choose your own alarm sound; just press where it says "Sound" right now and a file browser will open up.
- "Automatic screen dimming based on time of date and position"; this I'm not so sure about... seems pretty complicated to get working properly for everyone, and I really don't see it being worth the work at this point...Interesting idea tho!

Quote:

Feature request for the new version would be starting the mediaplayer instead of playing an alarm
I had originally thought about/planned something like this but I understand the media player API is very undocumented and finiky/ I've put it on my todo list though so I'll try. It would be cool I agree...

Quote:

Can you implement time with seconds as an option
This is taken care of already in the new version of the app.

Quote:

the alarm turn off 5 minutes for every 15 minutes
I was thinking about this the other day too; I think right now I'll do an "Alarm max time" so that to prevent battery drain/etc you can tell the app to "give up" playing an alarm after an amount of time (say 15 mins? 30mins? some customizable option). The interval thing could be a bit more tricky, but I can see the benefits too so we'll see, I just don't know how to go about keeping it as part of the fairly "simple" alarm interface that we've got (i.e. we don't want to be overwhelmed with options for every alarm!).


Ciro I'm going to need those amazing design skills of your again at some point buddy, the new version of the app is slowly coming together but to get some of the functionality and changes I'm just kind of making up "cheap knock-off temp graphics/screens" for some things, so once I get it all sorted it would be awesome if you could do up some proper graphics to replace my crappy ones ;-)

Thanks All!

fixerdave 2009-08-26 16:32

Re: Flip clock pre pre pre pre release
 
Oh, temp....

yeah, now that would be a cool feature, show the temperature :)

If the weather app can access the internal temperature sensor, why can't the clock. Now, that would be a cool little themable add-on.

Feature creep it is :)

David...

jlslate 2009-08-26 16:33

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by jolouis (Post 315671)

This is my main problem with the app as well... and it stems from me not really having any clue about design, but more focusing on making things actually work. If it's any consolation I've slept in more than a few times because I hit the clock and missed the snooze bar so the alarm just shut up and never rang again! So this will be changed definitely...

I have to admit that I haven't looked at flip clock in quite awhile, and am waiting for the new version before loading it again, so maybe I don't understand the design exactly. With that being said, how about a single tap anywhere on the screen does a snooze, and a double tap dismisses the alarm?

Jim

Didge 2009-08-26 19:28

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by jolouis (Post 315671)
Didge - If you reflashed your tablet then what did you do afterwards to setup the alarms again? I.e. did you just install flip, and it randomly started doing this? or did you install Flip and then set your daily alarms and it went sour after that? Have you tried opening x-term and running "flipclock --fix-alarms"?

I installed Flipclock again.
And as far as I can remember, my alarms where still there. I think they are stored in the backup which includes the gconf stuff. :-(

I did that fix alarms before and it didn't work.
Now I did it again and changed the time of the device to reproduce it, but it didn't ring. So perhaps it's fixed. Will see on next wednesday. :-)

lemmyslender 2009-08-26 22:54

Re: Flip clock pre pre pre pre release
 
Didge,

Somewhere along the line, I got a ghost alarm set as well. I think it was on Tuesdays at 12:05 am. I tried the -fix-alarm, uninstalling/reinstalling, and a couple of different versions as well. Sometimes it seemed like it was fixed, then it would pop back up.

I think I finally have gotten rid of it though. In a different thread, I found a reference to
/var/lib/alarmd/alarm_queue.xml
apparently this is where the alarms are stored. I turned off all the alarms in flipclock, and looked at the alarm_queue.xml file. The last alarm object referenced flipclock. I deleted the whole object. Check later and it came back.

I finally uninstalled flipclock, manually checked to see if /home/user/.flipclock.conf was gone, and deleted the main flipclock files as well (/user/lib/python2.5/site-packages/flipclock). Deleted the reference in alam_queue.xml and rebooted. Waited a day or two, it didn't come back. Installed flipclock again. Now the only time I see a flipclock object in alarm_queue.xml is if I enable one in flipclock. Haven't seen that ghost alarm again.

I think I must have had a messed up file in there somewhere that had alarm info in it and would re-write the ghost alarm when flipclock was run. Don't know really. Hope it helps.

jolouis 2009-08-27 14:34

Re: Flip clock pre pre pre pre release
 
Lemmy's got the right idea there; that's exactly what the "--fix-alarms" option is supposed to do, go through the alarm_queue and remove any entries referencing FlipClock that don't match up with what is in your .flipclock.conf file. Anyways as Lemmy says safest way to be 100% sure is to delete the entries for flip yourself from the alarm_queue; delete your .flipclock.conf as well, and then re-install latest from scratch and you should be OK. Most of these alarm problems were due to short commings in earlier versions of the app that I've since fixed, but that just never got cleared/resolved on some people's devices. I'll make sure I add a more "determined" fix-alarms option for the new version and also make sure uninstalling/etc performs this task too...

lemmyslender 2009-08-27 14:44

Re: Flip clock pre pre pre pre release
 
I think mine was a leftover from uninstalling with an alarm set. For some reason, the fix-alarm failed to show anything to fix, even when run several times with no alarms set, some alarms set, etc.

Anyway thanks for letting me know I got the right idea.

tjutzu 2009-08-28 07:01

Re: Flip clock pre pre pre pre release
 
Quote:

tjutzu - I'm with Ciro on this, I have no idea why it wouldn't work on a 770... I assume you've got OS2008HE running on it? My only guess would either be some hardware-specific code somewhere, or a problem with one of the libraries not being the same... anyways, new version is much more portable and should hopefully work there... I'll see if I can test it on my bro's old 770 at some point once it gets a little further along..
Yes, I am using OS2008HE in 770. I tried to install flip clock again yesterday but for some reason installer complain that packages can't be found when I start the installation from downloads page. For some reason the repository is not taken in use. I need to play more with this to figure out why the repository is not valid.

On N800 Flip Clock is working OK as long I don't switch out from full screen mode. Switching out from full screen will freeze python. The same happens with mClock so I assume the problem must be on python side. I guess I need to re-flash the device and re-install everything to fix this problem.

Quote:

- "Automatic screen dimming based on time of date and position"; this I'm not so sure about... seems pretty complicated to get working properly for everyone, and I really don't see it being worth the work at this point...Interesting idea tho!
Not to be taken too seriously :) Device location is stored in clock settings and perhaps it could be used. You need to define there your home town. In most cases the latitude is is near enough to tell day length on current area.
On N810 light sensor can be used to detect the light condition but there is no light sensor in N800.

ciroip 2009-08-28 15:27

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by jolouis (Post 315671)
Okay lots of questions to answer here!

...

Ciro I'm going to need those amazing design skills of your again at some point buddy, the new version of the app is slowly coming together but to get some of the functionality and changes I'm just kind of making up "cheap knock-off temp graphics/screens" for some things, so once I get it all sorted it would be awesome if you could do up some proper graphics to replace my crappy ones ;-)

Thanks All!

Im still on board : are you planning to use a single png or discrete multiple pngs like before? We could create a template for the single bitmap solution so anyone could easily substitute the graphic :)

jolouis 2009-08-30 15:59

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by ciroip (Post 317253)
Im still on board : are you planning to use a single png or discrete multiple pngs like before? We could create a template for the single bitmap solution so anyone could easily substitute the graphic :)

At this point I'm running with the multiple discreet images approach as it seems to make more sense; that way you can have digits that are different sizes, for example, and not have to worry about padding them in a "master template". However a good solution might be do create a single template and then "web slice" it up so that it will save out all of the distinct images for you? I'm coming from a web background, so I'm used to doing this in PhotoShop or Fireworks sort of apps, but I think these days a lot of programs support this feature?... Anyways shouldn't be too difficult to figure out, once I get things a little further along I'll send you some info on how the themes are structured right now and we'll come up with cool way of making it all work!

Big question right now is I'm thinking of moving to a 3 -screen approach: Main clock, then go "up" for clock settings, or "down" for alarm settings; does that make sense? Just the more I work on it, the more "clock" stuff seems unrelated to alarm things, and there's just not enough screen space for all the options. Even on the alarm page, for example, we could make the days of the week buttons a bit bigger it'd be a lot easier to press with your finger, etc ... I mean that's all handled by themes, so we can do whatever, but in terms of basic organization I think 3 screens makes more sense. Let me do some more playing with it and let you guys know how it works out... I have to say though it's looking pretty cool right now...

ciroip 2009-08-30 16:45

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by jolouis (Post 318335)
...However a good solution might be do create a single template and then "web slice" it up so that it will save out all of the distinct images for you?...

while the developing procede the discrete images solution is the best approach but once sizes of the single parts are decided a single image is sure more easy manageble for whoever would try to modify the graphic whitout have to worry about filenames and coords; but that mean having to write a routine that for splitting the image. I have wrote a rudimental tool for this kind of thing for other projects Im working on so maybe everything could evolve in an import program.

Since we keeping everything always so 'low level' (not a lot of dependencies) do you think the thing will run in maemo5/N900?
Happy sunday

fixerdave 2009-08-30 17:45

Re: Flip clock pre pre pre pre release
 
Here's a bug report, and a plea for help...

The other night, I was laying awake and saw the N810 crash in Flip Clock. I wasn't touching it, but something must have forced it out of full-screen mode. It just did it and locked up. So, I closed Flip Clock via the program manager X (If I remember correctly - I was half-asleep) and went back to bed.

Last night, with a nearly empty battery, I realised that the N810 was locked in insomniac mode. Resets nor an uninstall and reinstall of Flip Clock cleared it.

So, I'm assuming that Flip Clock modifies some system config file and keeps a backup. When exiting, it just puts that backup back in place (well, that's how I'd do it anyway) I'll assume further that the backup version now has the insomniac data locked in it.

So, my questions are: what file? And, any idea of the original N810 settings?

Any help appreciated...

David...

EDIT: Okay, I got it, after reading through the scripts. I'm not sure if it's the right way, or the easy way, but it works.

I edited ci_inti.py and set:
originalDim = 300
Which should be about 5 minutes; seemed about right to me.

After starting and stopping Flip Clock, the screen blanked as expected.

jolouis 2009-09-01 04:04

Re: Flip clock pre pre pre pre release
 
Dave - Sorry about that, the "stuck in insomniac mode" is the biggest issue people have with the app crashing and being stuck there. The thing works just as you expect, reading your current value and storing it for later re-use when the app exits; however you took the long way of getting to the solution! All you have to do is open the display properties (the little picture of the sun on the task bar) and go to "display settings...", then change the brightness period and switch off display drop downs back to normal. All Flip does is modify these values directly.
Sorry about that one, but for future reference!

Quote:

Since we keeping everything always so 'low level' (not a lot of dependencies) do you think the thing will run in maemo5/N900?
Oh definitely this will be rocking on the N900/maemo5... and it will look great, run amazingly... we can even make a Maemo5 theme for it if we really feel like it to make it more integrated!

As a general update, I've accomplished some good stuff today:
- Fixed some memory leaks that I had, so app is nice and quick and stable
- Migrated all of the maemo/tablet specific code to external file, which is only included if compiled for maemo... so (drum roll), I've managed to compile it on my Ubuntu laptop here and flip runs perfectly fine! I haven't gotten to alarms and stuff yet, but since I've got separation now, should be easy to keep it going for everything moving forward.
- Mood stuff is all working/pretty neato... haven't touched the old N810 LED code yet, but that can be an extra little thing once basic functionality is up.

Next step is to start working on the alarm/alarm scheduling stuff... I'm not sure how to create "configure" directives for compiling just yet, but that's part of the long term plan so that you'll be able to compile the app for whatever...

Nelson L. Squeeko 2009-09-09 11:44

Re: Flip clock pre pre pre pre release
 
I've run into a problem with FlipClock in the last few days. When an alarm is triggered, and FlipClock is closed, two instances of FlipClock open and attempt to play the song for the alarm. The tablet then stutters while this happens.

The problem seems to only happen some of the time. Other times when it goes off it works fine and only launches one instance of the app.

The problem started happening after I reflashed and then installed Maemo to the internal card of my n810. Its the first time I've done the OS clone so I don't know if that would make a difference or not.

Addison 2009-09-09 18:50

Re: Flip clock pre pre pre pre release
 
So the latest version is completely stable now?

My first experience with this was a horrible, searing crash from hell. *lol*

I've been wanting to reinstall this for quite some time but I'm waiting for it to be rock solid and stable before trying once more.

I don't care about the extra fluff everyone is requesting just as long as it wont make my tablet go into seizure mode again. :)

Tu13es 2009-09-12 21:04

Re: Flip clock pre pre pre pre release
 
Hm, I've used Flipclock in the past and I like it. However, lately it won't open. Nothing happens when I try to open it. I've tried uninstalling, downgrading, upgrading, etc. No dice. Any ideas?

aironeous 2009-09-12 22:18

Re: Flip clock pre pre pre pre release
 
I just turned up the volume from mute on my N810 and that weird alarm saying "imnothep" from the flipclock app was on loop and no matter what i did I could not find it to shut it up It was on loop and annoyingly playing when i was trying to watch a youtube video about the N900..

jolouis 2009-09-13 18:41

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by aironeous (Post 325982)
I just turned up the volume from mute on my N810 and that weird alarm saying "imnothep" from the flipclock app was on loop and no matter what i did I could not find it to shut it up It was on loop and annoyingly playing when i was trying to watch a youtube video about the N900..

Maybe flip crashed while playing back the alarm sound? Try opening up Xterm and doing:
ps ax | grep flip

See if any instances of flipclock are present, and issue a kill -9 on them; or just restart the tablet...

sampieter 2009-09-16 16:41

how do I access the alarm?
 
Flipclock does not work for me: I cannot access the alarm screen.
I do get a fullscreen clock, and I can switch between the nixie clock, the flip clock and the night light clock. But wherever I tap, click or double tap/click... nothing happens. Except this: when I make a 'scroll' gesture (from top to bottom) on the second digit, the fullscreen changes into a windowed screen.

what should I do ????

Nokia N810 with OS2008 v 5.2008.43-7
with SolarWolf installed, just to see if that would solve this problem.

Nelson L. Squeeko 2009-09-16 16:48

Re: Flip clock pre pre pre pre release
 
Do a scroll gesture from bottom to top to see the settings page.

jolouis 2009-09-17 17:13

Re: Flip clock pre pre pre pre release
 
sampieter, Nelson's got the right answer there should solve things ;-) The whole "drag up/drag down" thing really does need to be more clearly emphasised (or we should actually write some help/documentation!? lol) anyways it's all on the list of things to do once the new version of the App makes it to Beta stage...

Speaking of which, quick update for anyone who's interested... the new version is really starting to come together. The theming support will totally blow you away (it is a little slower to change themes.. i.e. night clock to day clock.. than current version, but there are good reasons for this and I think you'll be happy); huge speed improvements in load time, smaller memory usage (no more python in the way), and stability out the wazoo... I run it through valgrind on my laptop from time to time and fix up any memory errors/etc, so it's pretty rock solid. Still got a bit left to implement though including a proper settings page (not alarms, but settings), and finish up the alarm configuration/alarm handling code. If all goes well I should have something for you guys to play with in the relatively near future (next few weeks hopefully)...

sampieter 2009-09-18 12:45

Re: Flip clock pre pre pre pre release
 
Almost can't wait for the new version! I'd like to help out with the documentation... feel silly that I didn't find out the bottom-to-top gesture myself!

jolouis 2009-09-22 02:46

Re: Flip clock pre pre pre pre release
 
Another update guys... the new version is coming along very well indeed! I may take you up on that offer to documentation help sampieter once we get a little further along!

In the mean time Ciro buddy if you've got a few minutes I need your hand with some nice graphics for the extra screens and stuff... I'll send you a PM about what I'm after so that we don't spoil the "surprises" for everyone here ;-)

Let's see things I've got done now (what was the last update I gave you... it seems like ages ago!):
- The alarm scheduling screen is pretty slick now; I've got to optimize it for performance on the default theme a little bit but you're gonna be pretty happy I think, especially compared to the old version. I've also introduced larger buttons to select the day of the week since that was driving me nuts before on the old version.
- have the capability for different "Alarm modes" in the code now, but the only one I'm going to focus on for this release will be the traditionally "play sound"; others such as launch media player, etc can be added later hopefully.
- Snooze times are now configurable on a per-alarm basis, so you can adjust from 0 (no snooze allowed), to 5, 10, 15 mins

With luck I should have the alarmD/alarm scheduling stuff tied in and ready in the next few days; after that it'll just be a question of otimizing things and implementing the basic settings screen. I've still got a plan for the "simple alarm mode" for people who don't want to deal with a day-by-day alarm screen, but whether I decide to cram that in yet or save it for a feature after the first beta I'm not sure yet...

Tu13es 2009-09-22 02:50

Re: Flip clock pre pre pre pre release
 
Just wanted to say that I'm really looking forward to this new release.

I'd like it if I could wake to a streaming radio or FM radio. Not sure if that's possible or not, but figured I'd throw it out there.

Will we be able to run Application Manager to update when the next release comes out?

jolouis 2009-09-22 03:01

Re: Flip clock pre pre pre pre release
 
The streaming radio might be a bit more challenging, I'll try to implement when I tackle the media player/outside app alarm mode; FM radio might actually be easier, but keep in mind no FM radio without something to act as antenna right? (and does the 810 have an FM radio chip, I don't remember now?).

The next release when it's ready for Beta will get putup in Extras-devel, so if you have that repo enabled then you should see it in the application manager; once it's been tested by a few people and confirmed that I haven't goofed anything in the packaging then I'll push it over to extras so that it will show up as an update for everyone.

Faz 2009-09-22 13:24

Re: Flip clock (pre pre pre pre?) release
 
Quote:

Originally Posted by jolouis (Post 331147)
The streaming radio might be a bit more challenging, I'll try to implement when I tackle the media player/outside app alarm mode; FM radio might actually be easier, but keep in mind no FM radio without something to act as antenna right? (and does the 810 have an FM radio chip, I don't remember now?).

No FM radio in the N810. :(
But N900 will! :)


All times are GMT. The time now is 12:13.

vBulletin® Version 3.8.8