0
HTMLAndroid             maruyama-r
•   WebView      HTML/JavaScript/CSS      HTML/JavaScript/CSS                                WebView :           WebView  ...
JavaScript         Java    •   Java    public class JavaScriptInterface {         public String getString(){             r...
Java      JavaScript•   JavawebView.loadUrl(“javascript:putString(‘Bye’)”);•   JavaScriptfunction putString(msg){  documen...
(´   ω   )
(   ∀   )
1. JavaScript      Java2.                        Bitmap3. Bitmap    PNG4. PNG      Base645.          URI6. JavaScript
URI • img      src<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXD...
URI•               4/3•         HTTP•   CSS   background-image   CSS
•                                img onload•       SharedPreferences   Android• Android2.1      Base64•
HTML Launcher
HTML Launcher
HTML Launcher
HTML Launcher
HTML Launcher
HTML Launcher
Upcoming SlideShare
Loading in...5
×

HTML Launcher

1,812

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,812
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "HTML Launcher"

  1. 1. HTMLAndroid maruyama-r
  2. 2. • WebView HTML/JavaScript/CSS HTML/JavaScript/CSS WebView : WebView Android Framework Linux
  3. 3. JavaScript Java • Java public class JavaScriptInterface { public String getString(){ return "Hello"; } } .... jsInterface = new JavaScriptInterface(); webView.addJavascriptInterface(jsInterface, “API”);• JavaScript var msg = API.getString();
  4. 4. Java JavaScript• JavawebView.loadUrl(“javascript:putString(‘Bye’)”);• JavaScriptfunction putString(msg){ document.write(msg);}
  5. 5. (´ ω )
  6. 6. ( ∀ )
  7. 7. 1. JavaScript Java2. Bitmap3. Bitmap PNG4. PNG Base645. URI6. JavaScript
  8. 8. URI • img src<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Reddot" /> http://en.wikipedia.org/wiki/Data_URI_scheme
  9. 9. URI• 4/3• HTTP• CSS background-image CSS
  10. 10. • img onload• SharedPreferences Android• Android2.1 Base64•
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×