projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Started working on the "Where is my device?" feature
[pub/Android/ownCloud.git]
/
src
/
eu
/
alefzero
/
owncloud
/
ui
/
activity
/
LandingActivity.java
diff --git
a/src/eu/alefzero/owncloud/ui/activity/LandingActivity.java
b/src/eu/alefzero/owncloud/ui/activity/LandingActivity.java
index
7e2a8c0
..
668f134
100644
(file)
--- a/
src/eu/alefzero/owncloud/ui/activity/LandingActivity.java
+++ b/
src/eu/alefzero/owncloud/ui/activity/LandingActivity.java
@@
-58,6
+58,11
@@
public class LandingActivity extends SherlockFragmentActivity implements OnClick
// Check, if there are ownCloud accounts
\r
if(!accountsAreSetup()){
\r
showDialog(DIALOG_SETUP_ACCOUNT);
\r
// Check, if there are ownCloud accounts
\r
if(!accountsAreSetup()){
\r
showDialog(DIALOG_SETUP_ACCOUNT);
\r
+ } else {
\r
+ // Start device tracking service
\r
+ Intent locationServiceIntent = new Intent();
\r
+ locationServiceIntent.setAction("eu.alefzero.owncloud.location.LocationLauncher");
\r
+ sendBroadcast(locationServiceIntent);
\r
}
\r
\r
}
\r
}
\r
\r
}
\r