This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Android and the fly likes Widget development in Android Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Widget development in Android" Watch "Widget development in Android" New topic
Author

Widget development in Android

Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

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.


[List of FAQs] | [Android FAQ] | [Samuh Varta]
Mark L. Murphy
Author
Ranch Hand

Joined: Feb 11, 2009
Posts: 131
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.

Mark Murphy (a Commons Guy)
Author of The Busy Coder's Guide to Android Development http://commonsware.com/Android/
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

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

Joined: Oct 05, 2002
Posts: 346
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..




MobileBytes blog - Sharing Technology - My Programming Knols
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

cool!
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

Hi Fred!

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

Thanks.
Fred Grott
Ranch Hand

Joined: Oct 05, 2002
Posts: 346
Still getting the subsystems in place but you can view my modified HomeScreen at:

Zyle-HomeScreen
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Widget development in Android