Hello world
{ 0 comments }
Hello world
{ 0 comments }
I want to make this post for all those who can not have their development IDE in my case Eclipse recognize HTC desire.
After a bit of search I discovered that ADB drivers for androids can be installed if you install HTC Sync. You can download HTC Sync from the htc website. Once you have installed it, you need to enable debugging in desire from Settings -> Applications -> Development
Once done you should be good to go,
Enjoy
{ 0 comments }
The difference would be if you want the thread to run in the background only when the Activity is running or if you want it to continue to run when the user leaves.
Services are capable of running in the background even when the Activity is no longer available. They are intended to be used when your app should continue to do work without any user involvement in the near future. If you run the Thread in the Service, the thread will continue to run even when the user leaves the app. This can be beneficial sometimes as the user may want you to keep downloading a really large file but doesn’t want the app to continue to run in the foreground. Then, a few hours (days, months, years) later the user can re-enter the app to read the file.
If, however, you’re using a thread that needs to constantly update the UI based on results, it may be more beneficial to launch it within the Activity since it has no real purpose to run in a Service. It also may be easier in your program for your Thread to talk to the UI if it’s in the Activity rather than the Service. (There may be some performance benefits as Android doesn’t have to handle yet another Service on it’s list, but that’s purely speculation on my part. I have no proof of it.)
NOTE: Threads created in Activities will still continue to run even when the Activity quits. However, this is merely because the app is still in memory. The Activity and it’s thread are on a higher priority to be deleted from memory than a Service thread when the Activity is no longer within view.
{ 0 comments }
Posting from my bed can’t sleep its 3:30 am
{ 0 comments }
[box type="info"]Primark just opened in town centre [/box]
{ 0 comments }
Students, here is your final score … just download from Final Score it includes lab marks as well, in case you want details of lab score download Lab Gradesheet
No further changes will be made in this grade sheet, unless your marks are different from the previously published grade sheet.

Thanks and congratulations,
{ 0 comments }
I’m just a rock, and everyday I sit and watch the sky

I sleep here in the sun and rain, and do not question why
I don’t want to be a bird, ’cause as rocks we’re never meant to fly
But you can sit and rest on me when you pass by
Alhamdulillah (Praise be to Allah) – Alhamdulillah I’m a rock
And that is all Allah asks of me
Alhamdulillah – Alhamdulillah I’m a Muslim
And there’s nothing else I’d rather be
I’m just a tree and this is the only life I’ll ever know
I’ll bow my bows and worship whenever I feel the wind blow
And my purpose in life is to grow and Allah says grow
And be a home for the birds and shade for folks below

Alhamdulillah – Alhamdulillah I’m a tree
And that is all Allah asks of me
Alhamdulillah – Alhamdulillah I’m a Muslim
And there’s nothing else I’d rather be
I’m just a person and my life is full of opportunity
I can travel through the world, over land and over sea
But will I choose the path of Truth, or a path to misguide me?
Sometimes I wish I had a simple life, just like a rock or a tree
But Alhamdulillah – Alhamdulillah I’m a person
And Allah has given me a choice that’s free
So, Alhamdulillah – I choose to be a Muslim
And there’s nothing else I’d rather be

Alhamdulillah – Alhamdulillah I’m a person
And Allah has given me a choice that’s free
So, Alhamdulillah – I choose to be a Muslim
And there’s nothing else I’d rather be
No, there’s nothing else I’d rather be
{ 0 comments }