浏览代码

Working locale plugin

master
Chris Smith 14 年前
父节点
当前提交
3fdb085e2a
共有 3 个文件被更改,包括 8 次插入9 次删除
  1. 6
    8
      code/LocalePlugin/AndroidManifest.xml
  2. 二进制
      code/LocalePlugin/dist/LocalePlugin.apk
  3. 2
    1
      code/LocalePlugin/res/layout/main.xml

+ 6
- 8
code/LocalePlugin/AndroidManifest.xml 查看文件

@@ -1,7 +1,8 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
-     package="uk.co.md87.android.contextanalyser.locale">
4
-    <application android:name="@string/app_name">
3
+     package="uk.co.md87.android.contextanalyser.locale"
4
+     android:versionCode="1" android:versionName="0.0.1">
5
+    <application android:label="@string/app_name" android:icon="@drawable/icon">
5 6
         <activity android:name="com.twofortyfouram.MarketActivity"
6 7
             android:label="Activity Plugin" android:icon="@drawable/icon"
7 8
             android:theme="@android:style/Theme.Translucent.NoTitleBar">
@@ -11,8 +12,8 @@
11 12
             </intent-filter>
12 13
         </activity>
13 14
 
14
-        <activity android:name=".EditActivity" android:label="Activity"
15
-            android:icon="@drawable/icon" android:exported="true">
15
+        <activity android:name=".EditActivity" android:label="@string/app_name"
16
+            android:icon="@drawable/icon">
16 17
             <intent-filter>
17 18
                 <action android:name="com.twofortyfouram.locale.intent.action.EDIT_CONDITION"/>
18 19
             </intent-filter>
@@ -22,15 +23,12 @@
22 23
              <intent-filter>
23 24
                  <action android:name="com.twofortyfouram.locale.intent.action.QUERY_CONDITION" />
24 25
              </intent-filter>
25
-         </receiver>
26
-
27
-         <receiver android:name=".Receiver" android:exported="true"
28
-             android:permission="uk.co.md87.android.contextanalyser.BROADCAST">
29 26
              <intent-filter>
30 27
                  <action android:name="uk.co.md87.android.contextanalyser.ACTIVITY_CHANGED" />
31 28
              </intent-filter>
32 29
          </receiver>
33 30
     </application>
34 31
 
32
+    <uses-sdk android:minSdkVersion="3" />
35 33
     <uses-permission android:name="uk.co.md87.android.contextanalyser.RECEIVE_UPDATES"/>
36 34
 </manifest>

二进制
code/LocalePlugin/dist/LocalePlugin.apk 查看文件


+ 2
- 1
code/LocalePlugin/res/layout/main.xml 查看文件

@@ -14,7 +14,8 @@
14 14
             android:id="@+id/textview"
15 15
             android:layout_width="fill_parent"
16 16
             android:layout_height="wrap_content"
17
-            android:prompt="@string/plugin_name"
17
+            android:hint="@string/plugin_name"
18
+            android:editable="true"
18 19
             android:singleLine="true"/>
19 20
     </LinearLayout>
20 21
 </LinearLayout>

正在加载...
取消
保存