> I am writing 1 application which has one service class. This service > class uses ConnectionManager.getAllNetworkInfo() api to access network > related info. > But if I use this api i get error like > 01-04 20:05:58.243: WARN/System.err(711): java.lang.SecurityException: > ConnectivityService: Neither user 10023 nor current process has > android.permission.ACCESS_NETWORK_STATE.
<snip> > Also have included <uses-permission > android:name="android.permission.ACESS_NETWORK_STATE" /> in manifest. There are two C's in ACCESS. Try adding the second C in your <uses-permission> element and see if that helps. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- 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