Android Bazaar and Conference 2011 Winter

gree_tech
gree_techgree_tech
GREE
HTML5+JavaScript & Android



                      (@ku)
       http://t.gree.jp/ku0522
•                GREE

    • HTML5
    •
• GREE Android
 • HTML
GREE
• 2010/8/9
•          ajax

• iOS, android(xperia)
• HTML5+CSS3+javascript
• http://t.gree.jp/
ajax +
Android Bazaar and Conference 2011 Winter
Android Bazaar and Conference 2011 Winter
android,iOS      webkit



• ajax
• HTML5
• CSS3, animation, transform
HTML Forms

• placeholder
•
  •
  •             UI
placeholder
    <input placeholder=‘   ’ />

    •
    •


•   android1.6
•   iOS4.0     textarea
<input type=email />



•   android
•
<input type=number />
• url
• date
• search
           UI
CSS3

•        3

•
•
•
• device-pixel-ratio
Selectors Level 3
• :last-child/:first-child
• :not(.loading)
• input[type='text']
• etc.
-webkit-gradient



-webkit-border-radius
-webkit-transition
CSS



• jQuery
 • fps
 •
• height: auto → height: 0
Android Bazaar and Conference 2011 Winter
transform3d
•        3
• iPhone                 GPU




Google Code Blog: CSS3 Transitions and Transforms in Gmail for the iPad http://
  googlecode.blogspot.com/2010/08/css3-transitions-and-transforms-in.html
GIF
       Issue 3422 - android - Animated GIF not
       working in browser


          • canvas
          • js

Issue 3422 - android - Animated GIF not working in browser
   http://code.google.com/p/android/issues/detail?id=3422
devicePixelRatio

•                   devicePixelRatio=1.5
    •          1                             1.5

•
    •2
    •   <meta name=viewport target-densitydpi=device-dpi />
Android
•


• IS03
Android Bazaar and Conference 2011 Winter
class GreeAppJs             WebView
                 WebView.addJavascriptInterface
     void uploadImageFile



WebView.loadUrl('javascript:setMoodImage(b64Img)')
iOS

    •   webView:shouldStartLoadWithRequest:navigationType:

    •   stringByEvaluatingJavaScript:

•                     HTML               android
    iOS

•
• HTML5
•
•

• android   HTML
Android Bazaar and Conference 2011 Winter
Issue 10059 - android - Browser does not render Unicode snowman
character (U+2603) http://code.google.com/p/android/issues/detail?id=10059
Application cache
• manifest
                 (~10M)

•
             (   )

•
Web SQL Database
•   SQLite
•
              (~10M)

•   SQL



•   js HTML
Web Storage
•               Key Value Store

•               5M~10M



•   cookie             js



•
              cookie
1 of 30

More Related Content

What's hot(20)

Xamarin DevDays Portland - iOS 9Xamarin DevDays Portland - iOS 9
Xamarin DevDays Portland - iOS 9
Craig Dunn1.6K views
MVVM & Validation with Kendo UIMVVM & Validation with Kendo UI
MVVM & Validation with Kendo UI
Lohith Goudagere Nagaraj10.5K views
Intro to Bot Framework v3 with DBIntro to Bot Framework v3 with DB
Intro to Bot Framework v3 with DB
Shahed Chowdhuri2.4K views
Native script overviewNative script overview
Native script overview
Baskar rao Dsn135 views
Cross-Platform Apps/Games with AzureCross-Platform Apps/Games with Azure
Cross-Platform Apps/Games with Azure
Shahed Chowdhuri2.1K views
Capture the Cloud with AzureCapture the Cloud with Azure
Capture the Cloud with Azure
Shahed Chowdhuri2K views
BizSpark & Azure for StartupsBizSpark & Azure for Startups
BizSpark & Azure for Startups
Shahed Chowdhuri2.9K views
Skillwise Dust JS TemplateSkillwise Dust JS Template
Skillwise Dust JS Template
Skillwise Group303 views
Introduction to xamarinIntroduction to xamarin
Introduction to xamarin
Nicolò Carandini202 views
2011 - SharePoint + jQuery2011 - SharePoint + jQuery
2011 - SharePoint + jQuery
Chris O'Connor358 views
Intro to Bot FrameworkIntro to Bot Framework
Intro to Bot Framework
Shahed Chowdhuri7.9K views
Real World Web componentsReal World Web components
Real World Web components
Jarrod Overson8.4K views
Rp Live@Edu SsoRp Live@Edu Sso
Rp Live@Edu Sso
remco_ploeg691 views
jQuery programming with visual web partjQuery programming with visual web part
jQuery programming with visual web part
Senthamil Selvan2.6K views
Xamarin microsoft graphXamarin microsoft graph
Xamarin microsoft graph
Nicolò Carandini572 views

Similar to Android Bazaar and Conference 2011 Winter

HTML5: An OverviewHTML5: An Overview
HTML5: An OverviewNagendra Um
2.8K views19 slides

Similar to Android Bazaar and Conference 2011 Winter(20)

HTML5: An OverviewHTML5: An Overview
HTML5: An Overview
Nagendra Um2.8K views
Mobile App DevelopmentMobile App Development
Mobile App Development
Chris Morrell16.7K views
ニコニコ動画でのHTML5ニコニコ動画でのHTML5
ニコニコ動画でのHTML5
Sho KUSANO5.3K views
design-lowdesign-low
design-low
Wjatscheslaw Kravtchenko78 views
Mobile Web Development with HTML5Mobile Web Development with HTML5
Mobile Web Development with HTML5
Roy Clarkson905 views
移动端Web app开发移动端Web app开发
移动端Web app开发
Zhang Xiaoxue794 views
InfoTalk#17 1stInfoTalk#17 1st
InfoTalk#17 1st
Wakasa Masao1.3K views
Server rendering-talkServer rendering-talk
Server rendering-talk
Daiwei Lu495 views
Mobile ApplicationsMobile Applications
Mobile Applications
Viktor Fonic1.3K views
WHAT IS HTML5? (at CSS Nite Osaka)WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)
Shumpei Shiraishi2K views
Phonegap for EngineersPhonegap for Engineers
Phonegap for Engineers
Brian LeRoux2K views
Html5 on Mobile(For Developer)Html5 on Mobile(For Developer)
Html5 on Mobile(For Developer)
Adam Lu3.3K views
HTML5のご紹介HTML5のご紹介
HTML5のご紹介
yoshikawa_t1.9K views
State of the WebState of the Web
State of the Web
Dmitry Buzdin335 views

More from gree_tech(20)

海外展開と負荷試験海外展開と負荷試験
海外展開と負荷試験
gree_tech593 views

Recently uploaded(20)

Android Bazaar and Conference 2011 Winter