android - message callback
I'm new to Android development, but I know a lot about Windows. In Windows we have GetMessage/PeekMessage and in Android we also have "messages" and... the "everything is a file"-idea and you have to register for messages/events using something like the ALooper_addFd. And here's my question... what's the idea behind the "callback" parameter? Why should I use it? And when should I not use it (set to NULL) ?? What's the advantage/disadvantage of those mechanisms? Or is there a reason why only one can be used for specific cases?
Thanks for taking time to sharing your thoughts with us. Since your question is more related to Android development, you can go to Android Forums for support. Such as androidforums
Sign in to comment