Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
szanda
Old
(Last edited by szanda; 22nd October 2010 at 04:32 PM.)
#141  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: Sep 2010
Same here, latest version and it lags every minute, doesnt matter which player I use. SGS i9000
(no lagfix, no root, JM2)
 
lyno
Old
#142  
Member
Thanks Meter 11
Posts: 88
Join Date: Feb 2005
Worryingly, the typo clock update service runs even if you don't have the widget running !

Edit: and you can't stop the service! It just runs again. Had to uninstall!

Btw I don't think you should have services for updating widgets since no other updating widgets have a service running, including clocks.

Maybe you need to look into how to develop clock widgets more.

Sent from my GT-I9000 using XDA App
 
Semicuda
Old
#143  
Semicuda's Avatar
Senior Member - OP
Thanks Meter 154
Posts: 418
Join Date: May 2009
Location: Koblenz
Quote:
Originally Posted by lyno View Post
Btw I don't think you should have services for updating widgets since no other updating widgets have a service running, including clocks.

Maybe you need to look into how to develop clock widgets more.
Maybe you need to look into how to check for running services more? At least Tajm and Digital Clock use the same type of service, it's actually pretty common.

0.36 now has a stoppable service, and the stuttering should be gone too.
TypoClock - Current Version: 0.65
Market Link: http://bit.ly/yUPxVE
And as a good German citizen, I like beer
 
lyno
Old
#144  
Member
Thanks Meter 11
Posts: 88
Join Date: Feb 2005
Quote:
Originally Posted by Semicuda View Post
Maybe you need to look into how to check for running services more? At least Tajm and Digital Clock use the same type of service, it's actually pretty common.

0.36 now has a stoppable service, and the stuttering should be gone too.
None of these kind of applications should need an explicit service running that is viewable in "running services" and no widget should be running a service that updates every minute, even if the phone is in sleep mode or if the widget isn't even running!

Very bad programing.


Sent from my GT-I9000 using XDA App
 
ipawd1
Old
#145  
Senior Member
Thanks Meter 46
Posts: 578
Join Date: Mar 2010
Quote:
Originally Posted by lyno View Post
None of these kind of applications should need an explicit service running that is viewable in "running services" and no widget should be running a service that updates every minute, even if the phone is in sleep mode or if the widget isn't even running!

Very bad programing.


Sent from my GT-I9000 using XDA App
It's a clock...You rather it update every two hours? Lets be honest here..
 
Semicuda
Old
#146  
Semicuda's Avatar
Senior Member - OP
Thanks Meter 154
Posts: 418
Join Date: May 2009
Location: Koblenz
Quote:
Originally Posted by lyno View Post
None of these kind of applications should need an explicit service running that is viewable in "running services" and no widget should be running a service that updates every minute, even if the phone is in sleep mode or if the widget isn't even running!

Very bad programing.


Sent from my GT-I9000 using XDA App
1) No one forces you to use this widget
2) If you know how to do it in a better way, feel free to get cracking

(And yes, you could do it without a visible service, but there would still be a thread running every few seconds... but it's more efficient to do it through a service)
TypoClock - Current Version: 0.65
Market Link: http://bit.ly/yUPxVE
And as a good German citizen, I like beer
 
lyno
Old
#147  
Member
Thanks Meter 11
Posts: 88
Join Date: Feb 2005
Quote:
Originally Posted by ipawd1 View Post
It's a clock...You rather it update every two hours? Lets be honest here..
Read again,

I said it shouldn't run every minute if the screen is off OR the home screen isn't in focus

Sent from my GT-I9000 using XDA App
 
lyno
Old
#148  
Member
Thanks Meter 11
Posts: 88
Join Date: Feb 2005
Quote:
Originally Posted by Semicuda View Post
1) No one forces you to use this widget
2) If you know how to do it in a better way, feel free to get cracking

(And yes, you could do it without a visible service, but there would still be a thread running every few seconds... but it's more efficient to do it through a service)

I'm only trying to offer suggestions, creative criticism, on how to improve your widget.

I love the widget.


Sent from my GT-I9000 using XDA App
 
Semicuda
Old
#149  
Semicuda's Avatar
Senior Member - OP
Thanks Meter 154
Posts: 418
Join Date: May 2009
Location: Koblenz
Quote:
Originally Posted by lyno View Post
Read again,

I said it shouldn't run every minute if the screen is off OR the home screen isn't in focus

Sent from my GT-I9000 using XDA App
And since a widget can't be updated via broadcast more frequently than once every 30 minutes, how would you propose to update it instead?
If using a service, this service is tied to a timer task that runs the service every x seconds, no matter the sleep state or the current home screen.

But, I'm thrilled to hear your proposal!
TypoClock - Current Version: 0.65
Market Link: http://bit.ly/yUPxVE
And as a good German citizen, I like beer
 
Dodgylegs
Old
#150  
Dodgylegs's Avatar
Senior Member
Thanks Meter 37
Posts: 416
Join Date: Aug 2010
Quote:
Originally Posted by Semicuda View Post
And since a widget can't be updated via broadcast more frequently than once every 30 minutes, how would you propose to update it instead?
If using a service, this service is tied to a timer task that runs the service every x seconds, no matter the sleep state or the current home screen.

But, I'm thrilled to hear your proposal!
Just know mate that your work is ssoooooo appreciated. x

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...