Hi Gnugu,
Is it possible to launch the Gmail application from by code in my
application?
Thanks,
Rames.P.
On Nov 29 2009, 2:10 am, gnugu rho...@gmail.com wrote:
Here is how:
1. You need to register a content observer (not broadcast receiver)
contentResolver.registerContentObserver(Uri.parse(content://gmail-
ls), true,
_gmailObserver);
_gmailObserver is your own ContentObserver object.
2. ContentObserver.onChange is going to be called every time something
changes in Gmail.
Here you get all conversations like so:
Cursor conversations = _contetResolver.query(
Uri.parse(content://gmail-ls/conversations/
+ YourEmailAddress,
null, null, null, null);
And the actual conversation messages will be:
Cursor messages = _contetResolver.query(Uri
.parse(content://gmail-ls/conversations/
+ YourEmailAddress + /
+ String.valueOf(conversationId)
+ /messages), null, null, null, null);
This is read-only access. Was all I needed at a time.
HTH.
On Nov 27, 8:56 am, Olivier orose...@mandriva.com wrote:
gnugnu, did you get a solution ?
On 8 nov, 20:55, gnugu rho...@gmail.com wrote:
Thanks moneytoo for your answer.
How does Google themselves put the notification on the status bar
then?
I'm sure there is something.
Is there a way to catch the intents flying around? To sniff it out?
On Nov 8, 7:56 am, moneytoo m...@seznam.cz wrote:
http://code.google.com/p/android/issues/detail?id=3668
On Nov 7, 11:06 pm, gnugu rho...@gmail.com wrote:
Hello,
Does anybody know how to setupBroadcastReceiver'saction and intent-
filter so it can be invoked whenGmailis received?
I thing CubeWorks does it, so it's not entirely impossible.
Any help is welcome.
Thank you!
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en