Until it's documented, Google Services Framework provides permissions that give you access to the Google Talk content provider (GTalk Super Notifier uses one of them to do its magic). However, I could not find the documentation for this content provider, so you have to redesign it.
Here are the relevant permissions:
+ group:android.permission-group.MESSAGES + permission:com.google.android.providers.talk.permission.READ_ONLY package:com.google.android.gsf label:read instant messages description:Allows apps to read data from the Google Talk content provider. protectionLevel:dangerous + permission:com.google.android.providers.talk.permission.WRITE_ONLY package:com.google.android.gsf label:write instant messages description:Allows apps to write data to the Google Talk content provider. protectionLevel:dangerous
As an aside, it is strange that Google will set permissions with Level = "dangerous" protection and not document their use.
source share