Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b96c791

Browse files
JAVATECHIGJAVATECHIG
JAVATECHIG
authored and
JAVATECHIG
committed
Homescreen App Widgets Example added
1 parent 5551df7 commit b96c791

21 files changed

+295
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.javatechig.widgetdemo"
3+
android:versionCode="1"
4+
android:versionName="1.0" >
5+
6+
<uses-sdk
7+
android:minSdkVersion="7"
8+
android:targetSdkVersion="7" />
9+
10+
<application
11+
android:allowBackup="true"
12+
android:icon="@drawable/ic_launcher"
13+
android:label="@string/app_name"
14+
android:theme="@style/AppTheme" >
15+
16+
<receiver android:name=".MyWidgetProvider" >
17+
<intent-filter>
18+
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
19+
</intent-filter>
20+
21+
<meta-data
22+
android:name="android.appwidget.provider"
23+
android:resource="@xml/demo_widget_provider" />
24+
</receiver>
25+
26+
<receiver
27+
android:name=".MyWidgetIntentReceiver"
28+
android:label="@string/app_name" >
29+
<intent-filter>
30+
<action android:name="com.javatechig.intent.action.UPDATE_WIDGET" />
31+
</intent-filter>
32+
33+
<meta-data
34+
android:name="android.appwidget.provider"
35+
android:resource="@xml/demo_widget_provider" />
36+
</receiver>
37+
38+
</application>
39+
40+
</manifest>
377 KB
Binary file not shown.

‎com.javatechig.widgetdemo/lint.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<lint>
3+
</lint>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# To enable ProGuard in your project, edit project.properties
2+
# to define the proguard.config property as described in that file.
3+
#
4+
# Add project specific ProGuard rules here.
5+
# By default, the flags in this file are appended to flags specified
6+
# in ${sdk.dir}/tools/proguard/proguard-android.txt
7+
# You can edit the include path and order by changing the ProGuard
8+
# include property in project.properties.
9+
#
10+
# For more details, see
11+
# http://developer.android.com/guide/developing/tools/proguard.html
12+
13+
# Add any project specific keep options here:
14+
15+
# If your project uses WebView with JS, uncomment the following
16+
# and specify the fully qualified class name to the JavaScript interface
17+
# class:
18+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
19+
# public *;
20+
#}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# This file is automatically generated by Android Tools.
2+
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3+
#
4+
# This file must be checked in Version Control Systems.
5+
#
6+
# To customize properties used by the Ant build system edit
7+
# "ant.properties", and override values to adapt the script to your
8+
# project structure.
9+
#
10+
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11+
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12+
13+
# Project target.
14+
target=android-14
2.84 KB
Loading[フレーム]
3.2 KB
Loading[フレーム]
3.2 KB
Loading[フレーム]
9.18 KB
Loading[フレーム]
1.74 KB
Loading[フレーム]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /