tag:blogger.com,1999:blog-5823671927847270159.post5985124317324488351..comments2023-08-24T14:07:50.011+05:30Comments on Android Developer: Making Second Hand Working In Android Analog Clockhimanshuhttp://www.blogger.com/profile/18292581686245972605noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-5823671927847270159.post-77139143732479127172020-05-22T04:24:40.502+05:302020-05-22T04:24:40.502+05:30Hey dudes,
how can i make rotate the second to 36 ...Hey dudes,<br />how can i make rotate the second to 36 seconds instead of 60?<br />Any help will be appreciatedAnonymous250https://www.blogger.com/profile/15119548924004958001noreply@blogger.comtag:blogger.com,1999:blog-5823671927847270159.post-30070191493463233272013-12-25T11:10:40.024+05:302013-12-25T11:10:40.024+05:30ThanksThanksAnonymoushttps://www.blogger.com/profile/06045503245840805963noreply@blogger.comtag:blogger.com,1999:blog-5823671927847270159.post-29260011618123389952013-09-05T12:16:00.170+05:302013-09-05T12:16:00.170+05:30how to download source code?how to download source code?Dragonhttps://www.blogger.com/profile/08498909314785116841noreply@blogger.comtag:blogger.com,1999:blog-5823671927847270159.post-47123655691544492012013-05-22T20:16:30.047+05:302013-05-22T20:16:30.047+05:30Hello,how to make this a widget?pls replyHello,how to make this a widget?pls replyThemeBowlhttp://www.themebowl.com/noreply@blogger.comtag:blogger.com,1999:blog-5823671927847270159.post-31018698534579969812013-02-03T19:48:09.091+05:302013-02-03T19:48:09.091+05:30Hi,how to make this a widget?Hi,how to make this a widget?ThemeBowlhttp://www.themebowl.com/noreply@blogger.comtag:blogger.com,1999:blog-5823671927847270159.post-37018178195456458652012-10-12T15:23:59.645+05:302012-10-12T15:23:59.645+05:30Hi,is there a way to make a widget with this?Hi,is there a way to make a widget with this?ThemeBowlhttp://www.themebowl.com/noreply@blogger.comtag:blogger.com,1999:blog-5823671927847270159.post-35364030206031455042012-10-12T11:37:42.694+05:302012-10-12T11:37:42.694+05:30Thanks for this tutorial.Thanks for this tutorial.ThemeBowlhttp://www.themebowl.com/noreply@blogger.comtag:blogger.com,1999:blog-5823671927847270159.post-13192950586678406222012-05-24T19:51:08.309+05:302012-05-24T19:51:08.309+05:30Thanks for nice post. I just simplified ur code, i...Thanks for nice post. I just simplified ur code, it should be like this.<br /><br />public class SecondHand extends Activity {<br /> // private Handler mHandler = new Handler();<br /> protected static final String TAG = SecondHand.class.getName();<br /> private ImageView img;<br /> private Handler handler = new Handler();<br /><br /> @Override<br /> protected void onResume() {<br /> handler.removeCallbacks(mRunnable);<br /> handler.postDelayed(mRunnable, 0);<br /> super.onResume();<br /> }<br /><br /> @Override<br /> protected void onPause() {<br /> super.onPause();<br /> handler.removeCallbacks(mRunnable);<br /> }<br /><br /> @Override<br /> protected void onCreate(Bundle savedInstanceState) {<br /> super.onCreate(savedInstanceState);<br /> setContentView(R.layout.main);<br /> }<br /><br /> Runnable mRunnable = new Runnable() {<br /> @Override<br /> public void run() {<br /> handler.removeCallbacks(mRunnable);<br /> Date dt = new Date();<br /> int hours = dt.getHours();<br /> int minutes = dt.getMinutes();<br /> int seconds = dt.getSeconds();<br /> String curTime = hours + ":" + minutes + "::" + seconds;<br /> Log.v("log_tag", "Log is here Time is now" + curTime);<br /> img = (ImageView) findViewById(R.id.imgsecond);<br /> RotateAnimation rotateAnimation = new RotateAnimation(<br /> (seconds - 1) * 6, seconds * 6, Animation.RELATIVE_TO_SELF,<br /> 0.5f, Animation.RELATIVE_TO_SELF, 0.5f);<br /><br /> rotateAnimation.setInterpolator(new LinearInterpolator());<br /> rotateAnimation.setFillAfter(true);<br /> img.startAnimation(rotateAnimation);<br /> handler.postDelayed(mRunnable, 1000);<br /> }<br /> };<br /><br />}Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5823671927847270159.post-42809068619823583202012-02-07T15:19:25.047+05:302012-02-07T15:19:25.047+05:30Thanks for sharing your info. I really appreciate ...Thanks for sharing your info. I really appreciate your efforts and I will be waiting for your further write ups thanks once again.Avatar Html5 Video Playerhttp://www.avatarhtml5player.comnoreply@blogger.comtag:blogger.com,1999:blog-5823671927847270159.post-59145031672440440522011-11-10T21:36:50.862+05:302011-11-10T21:36:50.862+05:30Nice app, but how make it work...? I'm a new a...Nice app, but how make it work...? I'm a new android user. Thanks. Can u give me a little tutor...Bluette_G4noreply@blogger.comtag:blogger.com,1999:blog-5823671927847270159.post-6578129502107109442011-09-21T02:23:46.223+05:302011-09-21T02:23:46.223+05:30Thank you very much, your application running nice...Thank you very much, your application running nicely.<br /><br />Really thanks.<br />http://www.moonreturn.comjay bharathttps://www.blogger.com/profile/00088904895590438785noreply@blogger.comtag:blogger.com,1999:blog-5823671927847270159.post-91833923047399469472011-07-25T19:24:36.995+05:302011-07-25T19:24:36.995+05:30what do we have to do to arrange this to a home-wi...what do we have to do to arrange this to a home-widget?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5823671927847270159.post-5182738488132792492011-07-19T13:42:43.849+05:302011-07-19T13:42:43.849+05:30nice post,
i make a widget from this, but why the ...nice post,<br />i make a widget from this, but why the seconds hand not moving at all?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5823671927847270159.post-52021939231140175772011-05-24T01:20:53.538+05:302011-05-24T01:20:53.538+05:30interesting post!
it would be nice to arrange thi...interesting post!<br /><br />it would be nice to arrange this to a home-widget. not so easy as it may look like.Anonymousnoreply@blogger.com