Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can i create Web App to be used on smart-phones without internet ? How?

I want to make cross - platform app which could be used for different smart-phones, and been advised to make 'Web App'.

Can 'web app' work without internet? How to do it, which programing language to use?

thanks

like image 668
ShoulO Avatar asked Jan 26 '26 06:01

ShoulO


2 Answers

Oh sure. Bundle all your HTML, JS anc CSS with your app, and have a thin Java/Android app over these assets. If you are not making any calls to fetch or show external HTML/pages, you don't need internet.

like image 171
Kumar Bibek Avatar answered Jan 27 '26 19:01

Kumar Bibek


Most likely no.

While it is possible to run "web apps" without access to the internet (you can simply execute Javascript locally from some browsers), it would be

  • (Subjectively) not particularly useful.
  • Not supported by many devices, whom (like the iPhone) do not allow the storage and execution of arbitrary, non-native code on the device.

However, some frameworks do exist that hold the idea of "web apps" can be a distribution model. For example, PhoneGap allows you to code in HTML5/Javascript, and distribute your app to multiple platforms.

like image 34
Patrick Perini Avatar answered Jan 27 '26 19:01

Patrick Perini