Browse Source

Basic update of resources in ownCloud sample client for oc_framework

David A. Velasco 11 years ago
parent
commit
4a472404bb

+ 1 - 1
oc_framework/sample_client/.classpath

@@ -5,5 +5,5 @@
 	<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
 	<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
 	<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
-	<classpathentry kind="output" path="bin"/>
+	<classpathentry kind="output" path="bin/classes"/>
 </classpath>

+ 1 - 1
oc_framework/sample_client/.project

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <projectDescription>
-	<name>MainActivity</name>
+	<name>ownCloud Sample Client</name>
 	<comment></comment>
 	<projects>
 	</projects>

+ 3 - 0
oc_framework/sample_client/AndroidManifest.xml

@@ -3,6 +3,9 @@
       package="com.owncloud.android.oc_framework.sampleclient"
       android:versionCode="1"
       android:versionName="1.0">
+    <uses-sdk
+        android:minSdkVersion="8"
+        android:targetSdkVersion="19" />
     <application android:label="@string/app_name" android:icon="@drawable/ic_launcher">
         <activity android:name="MainActivity"
                   android:label="@string/app_name">

BIN
oc_framework/sample_client/res/drawable-hdpi/ic_launcher.png


BIN
oc_framework/sample_client/res/drawable-ldpi/ic_launcher.png


BIN
oc_framework/sample_client/res/drawable-mdpi/ic_launcher.png


BIN
oc_framework/sample_client/res/drawable-xhdpi/ic_launcher.png


+ 1 - 1
oc_framework/sample_client/res/layout/main.xml

@@ -7,7 +7,7 @@
 <TextView
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
-    android:text="Hello World, MainActivity"
+    android:text="@string/hello_word"
     />
 </LinearLayout>
 

+ 2 - 1
oc_framework/sample_client/res/values/strings.xml

@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
 <resources>
-    <string name="app_name">MainActivity</string>
+    <string name="app_name">ownCloud Sample Client</string>
+    <string name="hello_word">Hello World. This is the ownCloud sample client app before doing nothing ownCloud-related.</string>
 </resources>