mirror of
https://github.com/dart-lang/sdk
synced 2024-07-21 10:25:52 +00:00
Enable "Add to home screen" on Android.
Also restore a screen shot whose purpose I had forgotten. R=johnniwinther@google.com Review URL: https://codereview.chromium.org//140153002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31889 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
72f491a131
commit
c28ab2cbac
|
@ -18,8 +18,10 @@
|
|||
'dartlang-style.css',
|
||||
'iframe.html',
|
||||
'iframe.js',
|
||||
'dart-icon.png',
|
||||
'dart-iphone5.png',
|
||||
'dart-icon.png', # iOS icon.
|
||||
'dart-iphone5.png', # iPhone 5 splash screen.
|
||||
'dart-icon-196px.png', # Android icon.
|
||||
'try-dart-screenshot.png', # Google+ screen shot.
|
||||
|
||||
'../../third_party/font-awesome/font-awesome-4.0.3/'
|
||||
'fonts/fontawesome-webfont.woff',
|
||||
|
@ -87,6 +89,7 @@
|
|||
'add_time_stamp.py',
|
||||
'nossl.appcache',
|
||||
'<@(try_dart_static_files)',
|
||||
'build_try.gyp', # If the list of files changed.
|
||||
],
|
||||
'outputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/nossl.appcache',
|
||||
|
|
BIN
site/try/dart-icon-196px.png
Normal file
BIN
site/try/dart-icon-196px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
|
@ -50,10 +50,18 @@ a:hover.diagnostic span {
|
|||
<link rel="benchmark-DeltaBlue" href="benchmarks/DeltaBlue.dart">
|
||||
<link rel="benchmark-Richards" href="benchmarks/Richards.dart">
|
||||
<link rel="benchmark-base" href="benchmarks/benchmark_base.dart">
|
||||
|
||||
<link href="favicon.ico" rel="icon" type="image/x-icon">
|
||||
|
||||
<meta name="viewport" content="initial-scale=1.0">
|
||||
|
||||
<!-- Chrome Mobile (Android) "Add to home screen" support -->
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<link rel="shortcut icon" sizes="196x196" href="dart-icon-196px.png">
|
||||
|
||||
<!-- iOS "Add to Home Screen" support -->
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<link rel="apple-touch-icon" href="dart-icon.png">
|
||||
<link rel="apple-touch-icon" href="dart-icon-196px.png">
|
||||
<meta names="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<link rel="apple-touch-startup-image"
|
||||
media="(device-width: 320px)
|
||||
|
|
35
site/try/testing.txt
Normal file
35
site/try/testing.txt
Normal file
|
@ -0,0 +1,35 @@
|
|||
Things to test manually:
|
||||
|
||||
1. Each sample compiles and run as expected.
|
||||
|
||||
2. Check that "add to home screen" works on iOS:
|
||||
|
||||
- Check that "add to home screen" creates a new icon in Safari (Dart logo on
|
||||
white background with rounded corners). The suggested name should be "Try
|
||||
Dart!".
|
||||
|
||||
- Check that the app launches as a full screen app which must be killed
|
||||
separately from Safari.
|
||||
|
||||
- Check that the splash screen shows (Dart logo on white background).
|
||||
|
||||
- Check that the initial view port displays the full page, but that it can
|
||||
be zoomed.
|
||||
|
||||
3. Check that "add to home screen" works on Chrome Mobile (Android):
|
||||
|
||||
- Check the menu item "add to home screen" is enabled in Chrome.
|
||||
|
||||
- Check that an icon (Dart logo with transparent background) is added to the
|
||||
Android home screen. The suggested name should be "Try Dart!".
|
||||
|
||||
- Check that the app launches full screen and is separate from Chrome in the
|
||||
task viewer. For now, expect that the icon in task manager is Chrome and
|
||||
the name is just "web app".
|
||||
|
||||
4. Check that the site has a nice screen shot on Google+.
|
||||
|
||||
- Validate using http://www.google.com/webmasters/tools/richsnippets
|
||||
|
||||
- Try sharing on Google+. The screen shot should appear before you actually
|
||||
share, so you don't need to actually share.
|
BIN
site/try/try-dart-screenshot.png
Normal file
BIN
site/try/try-dart-screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 98 KiB |
Loading…
Reference in a new issue