Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
502fbeec
Commit
502fbeec
authored
Mar 23, 2016
by
Jason Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update SkyApplication to SkyMain in the hello_android example
parent
e6a827e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
FlutterActivity.java
...pp/src/main/java/com/example/flutter/FlutterActivity.java
+1
-2
No files found.
examples/hello_android/app/src/main/java/com/example/flutter/FlutterActivity.java
View file @
502fbeec
...
...
@@ -8,7 +8,6 @@ import android.app.Activity;
import
android.os.Bundle
;
import
org.chromium.base.PathUtils
;
import
org.domokit.sky.shell.SkyApplication
;
import
org.domokit.sky.shell.SkyMain
;
import
org.domokit.sky.shell.PlatformViewAndroid
;
...
...
@@ -25,7 +24,7 @@ public class FlutterActivity extends Activity {
setContentView
(
R
.
layout
.
flutter_layout
);
flutterView
=
(
PlatformViewAndroid
)
findViewById
(
R
.
id
.
flutter_view
);
File
appBundle
=
new
File
(
PathUtils
.
getDataDirectory
(
this
),
Sky
Applicatio
n
.
APP_BUNDLE
);
File
appBundle
=
new
File
(
PathUtils
.
getDataDirectory
(
this
),
Sky
Mai
n
.
APP_BUNDLE
);
flutterView
.
runFromBundle
(
appBundle
.
getPath
(),
null
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment