• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Native App or HTML 5

 
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are building a new app that serves curated contents from server on mobile - it involves some quizzes, polls, targeted information/contents on the user mobile. For the UI interaction part, we need to support gestures such as swipe, pinch, zoom, long press etc. We have two possible approaches here -

  • Native Android App - It gets data from server via JSON and uses native components to create UI with swipe, pinch, long-press etc. This is doable, but might take longer and UI changes would be time consuming.
  • Hybrid App with HTML5 + JS - The server generates UI with necessary JS and gesture support. Given the nature of app, I think it is a better approach but need to figure out right JS library to build UI with gesture support


  • I have two specific questions and I am hoping that experts here could share some insights -

    (1) Any compelling reason to go with native approach instead of hybrid?  I might have overlooked something as I am looking into mobile apps after ages.
    (2) Any recommendations for JS libraries for the UI and gesture support that we need? We'd prefer not to use JQuery based libraries - I have found QuoJS that seems to do what we need, but would appreciate recommendations from fellow coders here.  

    TIA,
    - Manish
     
    Consider Paul's rocket mass heater.
    reply
      Bookmark Topic Watch Topic
    • New Topic