Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Spin_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
JunYoung7
2020-06-20 18:53:15 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
54183ba11d131d498b8f8f0060a45e8949ebb600
54183ba1
1 parent
8bf32d13
Update mainActivity code
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
FireDetection/.idea/vcs.xml
FireDetection/app/src/main/java/org/techtown/firedetection/MainActivity.java
FireDetection/.idea/vcs.xml
0 → 100644
View file @
54183ba
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
"$PROJECT_DIR$/.."
vcs=
"Git"
/>
</component>
</project>
\ No newline at end of file
FireDetection/app/src/main/java/org/techtown/firedetection/MainActivity.java
View file @
54183ba
...
...
@@ -85,7 +85,7 @@ public class MainActivity extends AppCompatActivity {
builder
.
setPositiveButton
(
"예"
,
new
DialogInterface
.
OnClickListener
()
{
@Override
public
void
onClick
(
DialogInterface
dialog
,
int
which
)
{
Intent
intent
=
new
Intent
(
Intent
.
ACTION_VIEW
,
Uri
.
parse
(
"http://1
14.108.69.93:8888
/"
));
Intent
intent
=
new
Intent
(
Intent
.
ACTION_VIEW
,
Uri
.
parse
(
"http://1
92.168.0.3:3000
/"
));
startActivity
(
intent
);
}
});
...
...
@@ -116,7 +116,7 @@ public class MainActivity extends AppCompatActivity {
public
void
onButton1Clicked
(
View
view
){
Intent
intent
=
new
Intent
(
Intent
.
ACTION_VIEW
,
Uri
.
parse
(
"http://1
14.108.69.93:8888
/"
));
Intent
intent
=
new
Intent
(
Intent
.
ACTION_VIEW
,
Uri
.
parse
(
"http://1
92.168.0.3:3000
/"
));
startActivity
(
intent
);
}
...
...
Please
register
or
login
to post a comment