Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
6
600SeriesAndroidUploader
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cgm
uploader
600SeriesAndroidUploader
Commits
9600f5b4
Commit
9600f5b4
authored
8 years ago
by
Volker Richert
Browse files
Options
Downloads
Patches
Plain Diff
Make app reading data directly again if triggered by use
parent
1e1419e4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/src/main/AndroidManifest.xml
+1
-5
1 addition, 5 deletions
app/src/main/AndroidManifest.xml
app/src/main/java/info/nightscout/android/medtronic/MainActivity.java
+2
-1
2 additions, 1 deletion
.../java/info/nightscout/android/medtronic/MainActivity.java
with
3 additions
and
6 deletions
app/src/main/AndroidManifest.xml
+
1
−
5
View file @
9600f5b4
...
@@ -80,11 +80,7 @@
...
@@ -80,11 +80,7 @@
<receiver
android:name=
".medtronic.service.MedtronicCnlAlarmReceiver"
/>
<receiver
android:name=
".medtronic.service.MedtronicCnlAlarmReceiver"
/>
<receiver
android:name=
".upload.nightscout.NightscoutUploadReceiver"
/>
<receiver
android:name=
".upload.nightscout.NightscoutUploadReceiver"
/>
<receiver
android:name=
".xdrip_plus.XDripPlusUploadReceiver"
/>
<!-- ATTENTION: This was auto-generated to add Google Play services to your project for
<receiver
android:name=
".xdrip_plus.XDripPlusUploadReceiver"
/>
App Indexing. See https://g.co/AppIndexing/AndroidStudio for more information. -->
<meta-data
android:name=
"com.google.android.gms.version"
android:value=
"@integer/google_play_services_version"
/>
</application>
</application>
...
...
This diff is collapsed.
Click to expand it.
app/src/main/java/info/nightscout/android/medtronic/MainActivity.java
+
2
−
1
View file @
9600f5b4
...
@@ -283,7 +283,8 @@ public class MainActivity extends AppCompatActivity implements OnSharedPreferenc
...
@@ -283,7 +283,8 @@ public class MainActivity extends AppCompatActivity implements OnSharedPreferenc
stopCgmService
();
stopCgmService
();
finish
();
finish
();
}
else
if
(
drawerItem
.
equals
(
itemGetNow
))
{
}
else
if
(
drawerItem
.
equals
(
itemGetNow
))
{
startCgmService
();
// It was triggered by user so start reading of data now and not based on last poll.
startCgmService
(
0
);
}
else
if
(
drawerItem
.
equals
(
itemClearLog
))
{
}
else
if
(
drawerItem
.
equals
(
itemClearLog
))
{
clearLogText
();
clearLogText
();
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment