Skip to content

Commit d625c60

Browse files
committed
Adding Otto and foreground service as an example of how to use Otto and background services.
Removing comments
1 parent 2240626 commit d625c60

35 files changed

+682
-2
lines changed

app/AndroidManifest.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@
3434
</intent-filter>
3535
</activity>
3636

37+
<activity android:name=".ui.BootstrapTimerActivity"
38+
android:configChanges="orientation|keyboardHidden|screenSize" android:label="@string/app_name"
39+
android:launchMode="singleTop"/>
40+
41+
<service android:name=".core.TimerService" android:enabled="true" android:exported="false" />
3742

3843
<service
3944
android:name=".authenticator.AccountAuthenticatorService"

app/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@
8080
<version>0.8</version>
8181
<type>apklib</type>
8282
</dependency>
83+
<dependency>
84+
<groupId>com.squareup</groupId>
85+
<artifactId>otto</artifactId>
86+
<version>1.3.2</version>
87+
</dependency>
8388
<dependency>
8489
<groupId>junit</groupId>
8590
<artifactId>junit</artifactId>
Loading
Loading
1.05 KB
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy