Modified TravelPost.java to extend PreferenceActivity instead of activity, and created the settings.xml to be used for the activity.

incorpatared the exception handler into TravelPost.java

Added android permission READ_LOGS to the manifest for the exception handler

created LocationService.java, and LocationReceiver.java to handle the location services required.

updated version build code to 0.0.0 b 0 as we do not have a working version yet
This commit is contained in:
2011-01-21 18:25:23 +00:00
parent 8cd11db88c
commit 72923068ec
7 changed files with 393 additions and 12 deletions

View File

@@ -1,12 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.TwentyCodes.android.TravelPost"
android:versionCode="1"
android:versionName="1.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
package="com.TwentyCodes.android.TravelPost" android:versionCode="0" android:versionName="0.0.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
</application>
<uses-sdk android:minSdkVersion="7" />
<activity android:label="@string/app_name"
android:configChanges="orientation" android:name="TravelPost">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service android:name="LocationService" android:enabled="true"
android:process=":locationservice" android:exported="true">
</service>
<receiver android:name="LocationReceiver" android:exported="true"
android:enabled="true" android:process=":locationreceiver">
<intent-filter>
<action android:name="TwentyCodes.TravelPost.intent.action.LocationUpdate" />
</intent-filter>
</receiver>
</application>
<uses-sdk android:minSdkVersion="7" />
<uses-permission android:name="android.permission.READ_LOGS"></uses-permission>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"></uses-permission>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"></uses-permission>
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"></uses-permission>
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"></uses-permission>
</manifest>