Permalink
Browse files

First version in git.

Version 1.0.2 on the market
  • Loading branch information...
0 parents commit 480b5d93f9f959a3eba3bfac83ae8fddfd2746f1 @armooo committed May 9, 2010
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ package="net.armooo.locationlog"
+ android:versionName="1.0.2"
+ android:versionCode="3">
+
+ <uses-sdk
+ android:minSdkVersion="2"/>
+
+ <application
+ android:icon="@drawable/icon"
+ android:label="@string/app_name">
+
+ <activity
+ android:name=".LocationListActivity"
+ android:label="@string/app_name">
+ <intent-filter>
+ <action
+ android:name="android.intent.action.MAIN" />
+ <category
+ android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+
+ <activity
+ android:name=".LocationActivity">
+ </activity>
+
+ <!--
+ <activity
+ android:name="LocationImportActivity">
+ <intent-filter>
+ <category
+ android:name="android.intent.category.DEFAULT"></category>
+
+ <action android:name="android.intent.action.VIEW"></action>
+ <data
+ android:mimeType="application/vnd.google-earth.kml+xml"></data>
+ <data
+ android:mimeType="application/xml-loc"></data>
+ </intent-filter>
+ </activity>
+ -->
+ </application>
+
+ <uses-permission
+ android:name="android.permission.ACCESS_COARSE_LOCATION"></uses-permission>
+ <uses-permission
+ android:name="android.permission.ACCESS_FINE_LOCATION"></uses-permission>
+</manifest>
674 LICENSE

Large diffs are not rendered by default.

Oops, something went wrong.
1 README
@@ -0,0 +1 @@
+Run "android update -p ." should get you a working build environment with ant.
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="LocationListActivity" default="help">
+
+ <!-- The local.properties file is created and updated by the 'android' tool.
+ It contains the path to the SDK. It should *NOT* be checked in in Version
+ Control Systems. -->
+ <property file="local.properties" />
+
+ <!-- The build.properties file can be created by you and is never touched
+ by the 'android' tool. This is the place to change some of the default property values
+ used by the Ant rules.
+ Here are some properties you may want to change/update:
+
+ application.package
+ the name of your application package as defined in the manifest. Used by the
+ 'uninstall' rule.
+ source.dir
+ the name of the source directory. Default is 'src'.
+ out.dir
+ the name of the output directory. Default is 'bin'.
+
+ Properties related to the SDK location or the project target should be updated
+ using the 'android' tool with the 'update' action.
+
+ This file is an integral part of the build system for your application and
+ should be checked in in Version Control Systems.
+
+ -->
+ <property file="build.properties" />
+
+ <!-- The default.properties file is created and updated by the 'android' tool, as well
+ as ADT.
+ This file is an integral part of the build system for your application and
+ should be checked in in Version Control Systems. -->
+ <property file="default.properties" />
+
+ <!-- Custom Android task to deal with the project target, and import the proper rules.
+ This requires ant 1.6.0 or above. -->
+ <path id="android.antlibs">
+ <pathelement path="${sdk.dir}/tools/lib/anttasks.jar" />
+ <pathelement path="${sdk.dir}/tools/lib/sdklib.jar" />
+ <pathelement path="${sdk.dir}/tools/lib/androidprefs.jar" />
+ <pathelement path="${sdk.dir}/tools/lib/apkbuilder.jar" />
+ <pathelement path="${sdk.dir}/tools/lib/jarutils.jar" />
+ </path>
+
+ <taskdef name="setup"
+ classname="com.android.ant.SetupTask"
+ classpathref="android.antlibs" />
+
+ <!-- Execute the Android Setup task that will setup some properties specific to the target,
+ and import the build rules files.
+
+ The rules file is imported from
+ <SDK>/platforms/<target_platform>/templates/android_rules.xml
+
+ To customize some build steps for your project:
+ - copy the content of the main node <project> from android_rules.xml
+ - paste it in this build.xml below the <setup /> task.
+ - disable the import by changing the setup task below to <setup import="false" />
+
+ This will ensure that the properties are setup correctly but that your customized
+ build steps are used.
+ -->
+ <setup />
+
+</project>
@@ -0,0 +1,11 @@
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system use,
+# "build.properties", and override values to adapt the script to your
+# project structure.
+
+# Project target.
+target=android-3
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+ <TableLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+ <TableRow>
+ <TextView
+ android:text="@string/name"
+ android:gravity="right|center_vertical"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:paddingRight="10dip" />
+ <EditText
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:editable="true"
+ android:hint="@string/hint_name"
+ android:id="@+id/name"
+ android:singleLine="true"
+ android:layout_weight="1" />
+ </TableRow>
+ <TableRow>
+ <TextView
+ android:text="@string/latitude"
+ android:gravity="right|center_vertical"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:paddingRight="10dip" />
+ <EditText
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:editable="true"
+ android:hint="@string/hint_latitude"
+ android:id="@+id/latitude"
+ android:singleLine="true"
+ android:layout_weight="1"
+ android:numeric="signed|decimal" />
+ </TableRow>
+ <TableRow>
+ <TextView
+ android:text="@string/longitude"
+ android:gravity="right|center_vertical"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:paddingRight="10dip" />
+ <EditText
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:editable="true"
+ android:hint="@string/hint_longitude"
+ android:id="@+id/longitude"
+ android:singleLine="true"
+ android:layout_weight="1"
+ android:numeric="signed|decimal" />
+ </TableRow>
+ </TableLayout>
+ <View
+ android:layout_width="fill_parent"
+ android:background="@android:drawable/divider_horizontal_bright"
+ android:layout_marginBottom="10dip"
+ android:layout_marginTop="10dip"
+ android:layout_height="4dip" />
+ <LinearLayout
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:baselineAligned="false" >
+ <TableLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" android:layout_weight="4">
+ <TableRow>
+ <TextView
+ android:text="@string/source"
+ android:gravity="right|center_vertical"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:paddingRight="10dip" />
+ <TextView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/current_source"
+ android:layout_weight="1"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+ </TableRow>
+ <TableRow>
+ <TextView
+ android:text="@string/latitude"
+ android:gravity="right|center_vertical"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:paddingRight="10dip" />
+ <TextView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/current_latitude"
+ android:layout_weight="1"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+ </TableRow>
+ <TableRow>
+ <TextView
+ android:text="@string/longitude"
+ android:gravity="right|center_vertical"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:paddingRight="10dip" />
+ <TextView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/current_longitude"
+ android:layout_weight="1"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+ </TableRow>
+ <TableRow>
+ <TextView
+ android:text="@string/accuracy"
+ android:gravity="right|center_vertical"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:paddingRight="10dip" />
+ <TextView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/current_accuracy"
+ android:layout_weight="1"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+ </TableRow>
+ </TableLayout>
+ <Button
+ android:id="@+id/set_location"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/set_location" android:layout_gravity="center|left" android:layout_weight="1"/>
+ </LinearLayout>
+</LinearLayout>
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical">
+ <ListView
+ android:id="@android:id/list"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:longClickable="true"
+ android:layout_weight="1" />
+ <ScrollView
+ android:id="@android:id/empty"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:fillViewport="true">
+ <TextView
+ android:id="@+id/emptyText"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/empty_msg"
+ android:textSize="20sp"
+ android:textColor="?android:attr/textColorSecondary"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:paddingTop="10dip"
+ android:lineSpacingMultiplier="0.92" />
+ </ScrollView>
+</LinearLayout>
Oops, something went wrong.

0 comments on commit 480b5d9

Please sign in to comment.