I was reading a book and the author asked to add one user library and one user-permission to the manifest file as follows:
<uses-library android:name=”com.google.android.gtalkservice”/>
<uses-permission android:name=”android.permission.GTALK”/>
My questions are:
- Where to place the user library correctly in the manifest file, i
tried to place it right after the user permissions but eclipse
highligted as error? - The GTALK user permission is not listed in the
user permissions list, so how to add such user permission?
<uses-library>must be a child of<application>, and usually appears as the first child.Note that
com.google.android.gtalkservice, if it even exists, is not documented. Your book author should not be promoting its use.You should not be using such a permission, for the same reason that you should not be using that library. You are welcome to try simply pasting in that XML element to your manifest, but whether or not it will work is another matter entirely. There does not appear to be such a permission, even undocumented.