iKnow Web App for iPhone

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    iKnow Web App for iPhone - Presentation Transcript

    1. How to Develop `iKnow Web App for iPhone' ANDO Yasushi http://d.hatena.ne.jp/technohippy
    2. Agenda
      • iPhone Web App
        • Web app vs. native app
        • How to overcome the cons of web app
      • iKnow Web App for iPhone
        • How to use sounds
        • Tips
      • Conclusion
    3. iKnow Web App for iPhone
    4. Pros and Cons: How I Learned to Stop Worrying and Love the iPhone Web App
      • Pros
        • Easy to develop
        • Easy to start using
        • No check by Apple
      • Cons
        • Difficult to get money
        • Poor UI (cosmetics and performance)
        • Network dependent
      • Why did I choose web app?
    5. How to Overcome the Cons
      • Safari is the Only Browser for iPhone
      • Libraries for iPhone Web App
        • iUi
        • Universal iPhone UI Kit
      • Ajax
      • Sqlite on Safari
      • Full screen mode for Safari
    6. Use iKnow API
      • def search_sentences(keyword)
      • call_api "sentences/matching/#{keyword}"
      • end
      • def call_api(api_type, result_key=nil, opts={})
      • uri = "#{API_URI_BASE}/#{api_type
      • }.json?api_key=#{API_KEY}&#{
      • opts.to_a.map{|(k, v)| "#{k}=#{v}"}.join '&'}"
      • hash = JSON.parse open(uri){|f| f.read}
      • result_key ? hash[result_key.to_s] : hash
      • end
    7. How to Use Sounds on iPhone Web App
      • /** IDEAL **/
      • iknow3g.replay = function(url) {
      • var embed = document.createElement('embed');
      • embed.setAttribute('src', url);
      • embed.setAttribute('hidden', true);
      • embed.setAttribute('autostart', true);
      • document.body.appendChild(embed);
      • setTimeout(
      • function(){document.body.removeChild(embed)},
      • 15000
      • );
      • };
    8. How to Use Sounds on iPhone Web App
      • <!-- READL -->
      • <embed
      • src=&quot;#{sound_url}&quot;
      • width=&quot;#{width}&quot;
      • height=&quot;#{height}&quot;
      • autostart=&quot;true&quot; />
    9. Tips
      • Autostart does not work
      • Remove generated embed tags
      • Use size attribute in embed tag
    10. Conclusion Let's develop iPhone Web App for iPhone

    + Yasushi ANDOYasushi ANDO, 2 years ago

    custom

    1494 views, 0 favs, 0 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1494
      • 1494 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 3
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories