Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
FreifunkFrankenApp
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
freifunk
FreifunkFrankenApp
Commits
999298cb
Commit
999298cb
authored
5 years ago
by
Dennis Eisold
Browse files
Options
Downloads
Patches
Plain Diff
removed Todo
parent
91fbb5ac
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.idea/misc.xml
+1
-1
1 addition, 1 deletion
.idea/misc.xml
app/src/main/java/de/itstall/freifunkfranken/view/NextApFragment.java
+0
-6
0 additions, 6 deletions
.../java/de/itstall/freifunkfranken/view/NextApFragment.java
build.gradle
+1
-1
1 addition, 1 deletion
build.gradle
with
2 additions
and
8 deletions
.idea/misc.xml
+
1
−
1
View file @
999298cb
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_
7
"
project-jdk-name=
"1.8"
project-jdk-type=
"JavaSDK"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_
8
"
project-jdk-name=
"1.8"
project-jdk-type=
"JavaSDK"
>
<output
url=
"file://$PROJECT_DIR$/build/classes"
/>
</component>
<component
name=
"ProjectType"
>
...
...
This diff is collapsed.
Click to expand it.
app/src/main/java/de/itstall/freifunkfranken/view/NextApFragment.java
+
0
−
6
View file @
999298cb
...
...
@@ -132,19 +132,13 @@ public class NextApFragment extends Fragment implements NextApAdapter.OnItemClic
@Override
public
void
onItemClick
(
int
position
)
{
// TODO: Start navigation
// Create a Uri from an intent string. Use the result to create an Intent.
Uri
gmmIntentUri
=
Uri
.
parse
(
"google.navigation:q="
+
accessPointList
.
get
(
position
).
getLat
()
+
","
+
accessPointList
.
get
(
position
).
getLon
());
// Create an Intent from gmmIntentUri. Set the action to ACTION_VIEW
Intent
mapIntent
=
new
Intent
(
Intent
.
ACTION_VIEW
,
gmmIntentUri
);
// Make the Intent explicit by setting the Google Maps package
mapIntent
.
setPackage
(
"com.google.android.apps.maps"
);
// Attempt to start an activity that can handle the Intent
if
(
mapIntent
.
resolveActivity
(
getContext
().
getPackageManager
())
!=
null
)
{
startActivity
(
mapIntent
);
}
...
...
This diff is collapsed.
Click to expand it.
build.gradle
+
1
−
1
View file @
999298cb
...
...
@@ -8,7 +8,7 @@ buildscript {
}
dependencies
{
classpath
'com.android.tools.build:gradle:3.5.
2
'
classpath
'com.android.tools.build:gradle:3.5.
1
'
// NOTE: Do not place your application dependencies here; they belong
...
...
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