Showing results for 
Search instead for 
Did you mean: 

Running Hybrid App in Browser

Former Member
0 Kudos

Hi Experts

I am trying out to do one experiment with Hybrid App which developed in SMP 2.3. What i am trying to do is, loading the files in browser. is it possible to do that? If yes can you please tell me whcih file i need to open in browser like index.html

Happy Coding


Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Yes, it is possible to do so. I'm assuming you mean in a desktop browser (although it is possible in a device browser, you just have to publish it on a local web server). How you do so depends on how you built it. Did you build it by hand, or in the Designer? If its the latter, then which platform are you trying to view in a browser? For Android and iOS, for example, you'll want to open hybridapp_jQM.html and you'll want to specify the screentoshow URL parameter. Which browser are you trying to use? If you are using Chrome, for example, you'll need to launch it with the --allow-file-access-from-files command-line parameter. Also, it should be noted that device-specific functionality, such as the camera and most notably interoperability with the SUP server, are not going to be accessible when launched outside the container.

Answers (0)