<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="nl.cowlumbus.android.mockgps"> <uses-sdk android:minSdkVersion="7" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"></uses- permission> <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"></uses- permission>
<application android:icon="@drawable/icon" android:label="@string/ app_name"> <activity android:name="nl.cowlumbus.android.mockgps.MockGpsProviderActivity" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest> This is my XML. This is my Logs. http://pastebin.com/5UV1b8AT On Feb 7, 4:00 pm, Kristopher Micinski <[email protected]> wrote: > gjs is right, you're almost certainly exhibiting some sort of > nullpointerexception or securityexception, perhaps if you posted a log of > the program's behavior people could help you! > > kris > > On Mon, Feb 6, 2012 at 3:58 PM, Hohorlan B <[email protected]>wrote: > > > > > > > > > I have this code for my project. (Not mine, but I revised it so it > > will suit my needs.) > > >http://pastebin.com/Tn4guLNR > > > My Project is about a specific GPS hardware that will send GPS > > position to the Android Phone. The phone will have to display the > > location via Offline maps like mapdroyd. This program, when the button > > is clicked, it will display the offline map. The gps mock location > > will then be turned on. So the map will display the Mocked location > > from SMS. > > > However, my program keeps on Showing Force close. Can someone help me > > for this? > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

