Casper Bang wrote:
> Is there an official wiki or somewhere for the community to add
> snippets?

Official? No.

There is http://androidsnippets.org, but it seems to be overrun by spam.

I maintain an Android wiki at http://wiki.andmob.org, which you are
welcome to post to. I put a reasonable amount of energy into it at the
outset, but didn't get much support. If others wish to use that as a
repository of stuff like this, I am happy to authorize accounts and work
on contributing more there myself.

> I continue to find less than ideal sample code as well as lacking
> documentation. For instance just did some Threading work in an app,
> but is unable to find out what the boolean return value for the
> android.os.Handler.Callback.handleMessage(Message) signature is all
> about:
> http://developer.android.com/reference/android/os/Handler.Callback.html#handleMessage(android.os.Message)
> 
> I just always return true - seems to work. But it's a little odd to
> have to guess like that considering it's been in the public API since
> Android 1.5.

>From a quick glance at the source via Google Code Search, it would
appear that returning false means that the message gets handled by the
Handler itself, if you extended it and implemented handleMessage().

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 2.x Programming Books: http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to