This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Widget development in Android

 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How can I write my own widgets (using SDKv1.1) and have them on the Home Screen of the phone(similar to the "clock" widget)?

I have read somewhere that this is not possible, is it true?


Thanks.
 
Mark L. Murphy
Author
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I write my own widgets (using SDKv1.1) and have them on the Home Screen of the phone(similar to the "clock" widget)?

I have read somewhere that this is not possible, is it true?


It is not possible, but that is a limitation of the current home application, not of Android.

There are a couple of alternative home apps in development (dxTop and Fred Grott's app to name two) that will support some form of home-screen gadgets.
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mark L. Murphy wrote:
There are a couple of alternative home apps in development (dxTop and Fred Grott's app to name two) that will support some form of home-screen gadgets.


You mean Mr. Fred Grott who is frequenting this forum; he writes here?
 
Fred Grott
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes the same one

Mark is correc t in that you will not at this time be able to write w3c web widgets.

However, it is possible to simple HomeScreen widgets.

I should have a first demo video up by this weekend..



 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
cool!
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Fred!

Can you share the link of your video please?? Can we write a "ticker" widget in Android?

Thanks.
 
Fred Grott
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Still getting the subsystems in place but you can view my modified HomeScreen at:

Zyle-HomeScreen
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the link Fred..

I would like to have an application which is displayed on the Home screen, much like yours. Now that we cant do that directly but by providing an alternate implementation of Home screen: how complex is writing a Home screen app itself?

Can you share some link that can give me a start in that direction(writing a home screen app/widget) ??


Cheers!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic