Skip to content

Commit 22a69e1

Browse files
author
gabri
committed
2 parents aefb7d7 + 18933e1 commit 22a69e1

22 files changed

Lines changed: 957 additions & 0 deletions

File tree

ActionBarCompatEclipse/README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# How to work with ActionBarCompat
2+
3+
This repository contains examples source code
4+
5+
For more info about the blog :
6+
* [How to add ActionBarCompat to your project] (http://gmariotti.blogspot.com/2013/07/how-to-add-actionbarcompat-to-your.html)
7+
* [ActionBarCompat and NavigationDrawer] (http://gmariotti.blogspot.com/2013/07/actionbarcompat-and-navigationdrawer.html)
8+
9+
## Pre-Requisites
10+
11+
The following libraries need to manually added.
12+
13+
* [com.android.support:appcompat-v7:18.0.+]
14+
15+
Credits
16+
-------
17+
18+
Author: Gabriele Mariotti ([email protected])
19+
20+
License
21+
-------
22+
23+
Copyright 2013 Gabriele Mariotti
24+
25+
Licensed under the Apache License, Version 2.0 (the "License");
26+
you may not use this file except in compliance with the License.
27+
You may obtain a copy of the License at
28+
29+
http://www.apache.org/licenses/LICENSE-2.0
30+
31+
Unless required by applicable law or agreed to in writing, software
32+
distributed under the License is distributed on an "AS IS" BASIS,
33+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34+
See the License for the specific language governing permissions and
35+
limitations under the License.
36+
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="it.gmariotti.android.examples.dashclock.extensions.wsa2"
3+
android:versionCode="1"
4+
android:versionName="1.0" >
5+
6+
<uses-sdk
7+
android:minSdkVersion="18"
8+
android:targetSdkVersion="18" />
9+
10+
<application
11+
android:allowBackup="true"
12+
android:label="@string/app_name"
13+
android:icon="@drawable/ic_launcher"
14+
android:theme="@android:style/Theme.Holo.Light.DarkActionBar" >
15+
<service
16+
android:name=".WhtsExtension"
17+
android:icon="@drawable/ic_extension_whts"
18+
android:label="@string/extension_title"
19+
android:permission="com.google.android.apps.dashclock.permission.READ_EXTENSION_DATA" >
20+
<intent-filter>
21+
<action android:name="com.google.android.apps.dashclock.Extension" />
22+
</intent-filter>
23+
24+
<meta-data
25+
android:name="protocolVersion"
26+
android:value="1" />
27+
<meta-data
28+
android:name="description"
29+
android:value="@string/extension_description" />
30+
<!-- A settings activity -->
31+
<meta-data
32+
android:name="settingsActivity"
33+
android:value=".WhtsSettingsActivity" />
34+
</service>
35+
36+
<service
37+
android:name="it.gmariotti.android.examples.dashclock.extensions.wsa2.WhtsNotificationListener"
38+
android:label="@string/service_name"
39+
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" >
40+
<intent-filter>
41+
<action android:name="android.service.notification.NotificationListenerService" />
42+
</intent-filter>
43+
44+
</service>
45+
46+
<activity
47+
android:name=".WhtsSettingsActivity"
48+
android:exported="true"
49+
android:label="@string/extension_titlePref" />
50+
51+
</application>
52+
53+
54+
</manifest>

DashclockWhatsapp2/README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Unofficial Whatsapp Extension for Dash Clock
2+
3+
How to write a DashClock Extension: Whatsapp Extension example
4+
5+
This repository contains example source code
6+
7+
For more info about the blog :
8+
* [NotificationListenerService and a Whatsapp extension for Dashclock]
9+
http://gmariotti.blogspot.com/2013/08/notificationlistenerservice-and.html
10+
11+
**It uses a Notification Listener Service (4.3+). You have to enable it in Android Settings**
12+
13+
## Pre-Requisites
14+
15+
The following libraries need to cloned and manually added to project.
16+
17+
* [DashClock API](http://code.google.com/p/dashclock/wiki/API)
18+
19+
![ScreenShot](https://github.com/gabrielemariotti/androiddev/raw/master/DashclockWhatsapp2/Whts.png)
20+
21+
22+
Credits
23+
-------
24+
25+
Author: Gabriele Mariotti ([email protected])
26+
27+
License
28+
-------
29+
30+
Copyright 2013 Gabriele Mariotti
31+
32+
Licensed under the Apache License, Version 2.0 (the "License");
33+
you may not use this file except in compliance with the License.
34+
You may obtain a copy of the License at
35+
36+
http://www.apache.org/licenses/LICENSE-2.0
37+
38+
Unless required by applicable law or agreed to in writing, software
39+
distributed under the License is distributed on an "AS IS" BASIS,
40+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
41+
See the License for the specific language governing permissions and
42+
limitations under the License.

DashclockWhatsapp2/Whts.png

570 KB
Loading
5.38 KB
Loading
3.12 KB
Loading
1.63 KB
Loading
8.01 KB
Loading
14.6 KB
Loading
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<resources>
2+
3+
<!--
4+
Base application theme for API 11+. This theme completely replaces
5+
AppBaseTheme from res/values/styles.xml on API 11+ devices.
6+
-->
7+
<style name="AppBaseTheme" parent="android:Theme.Holo.Light">
8+
<!-- API 11 theme customizations can go here. -->
9+
</style>
10+
11+
</resources>

0 commit comments

Comments
 (0)