Android Widget Design.

by Chris Ruskai » Tue, 26 Apr 2011 21:55:38 GMT

Sponsored Links
 Hi, I've been programming apps for a while now and want to branch out
into the realm of widgets. Does anyone have any suggestions on where
to find good tutorials? I've googled the subject and my results are
limited to maybe one or two specific widgets. What I'm looking for is
more of a general tutorial.

Thank you,
Chris Ruskai


Re: Android Widget Design.

by Satya Komatineni » Wed, 27 Apr 2011 01:12:04 GMT


I don't have an online tutorial but we have covered this topic in a
fair amount of detail in our 2nd edition of ProAndroid 2
( ) from Apress. The coverage includes state
management through preferences.

The third edition that should be available any time soon have extended
the material to also cover list based widgets in honeycomb.

Here is my journal as I have developed material for those chapters. 

Hope this will be of some help. the journal is useful if you are
looking for answers to specific questions but if you are looking for a
tutorial the book is much more helpful

Satya Komatineni 


Sponsored Links

Re: Android Widget Design.

by Nikolay Elenkov » Wed, 27 Apr 2011 09:05:22 GMT


This has all you need. Along with *real*, not 'hello world'-grade code. 


Other Threads

1. Activity.onRetainNonConfigurationInstance() called after onStop() and onPause() - too late to be relevant?

Interesting latest blog entry
about Activity.onRetainNonConfigurationInstance(). I had missed this
in the docs before, but it does not seem very useful for apps that
save application state in either onStop() or onPause(). This is the
case when a regular app exit needs to be covered - a fairly wide
spread use case I would say.
Or do I get this wrong?
If not is there a way to pick up the retention event (e.g. sliding-out
of keyboard out on the G1) before onPause() and onStop()?


2. replacing open core

are there any well-defined interfaces on how the android's app
framework and open core interact? if so, is there any document for the
Androids app framework ||| media interface ||| some media framework
||| platform interface ||| platform

or should new wrappers be written to map to player app of the
application framework layer if am going to use the already added apps
like player or recorder ?

one more approach could be to develop a new player app which uses the
new framework, pack it and add to the app framework.

Basically I would like to know of the standard media interfaces for
native android applications like player/ recorded !!!


3. Map 3D View

4. remote service process persists (i.e. won't disappear from process table)


6. How to tame CPU usage?

7. Problem with files