Anyone know about Rhomobile?

半世苍凉 提交于 2019-12-06 14:51:47

问题


I read about http://rhomobile.com/ and I found this is great but I want to ask whether the application built with that would run in Browser or Natively on the device as this requires HTML and Ruby?


回答1:


The application generated using Rhodes are pure Native application... And there is no need to install Ruby on devices as Rhodes will take core of it.. May be this URl is helpful : http://itsallaboutruby.blogspot.com/2010/08/rhodes-framework.html

Abhishek




回答2:


Both, actually.

Your application is a web application, but it doesn't run on the internet, it runs on a small webserver that is part of your application inside the phone. It also doesn't run in the browser, but rather in a native browser widget inside your application.

Since the webserver runs on the phone itself, it has access to all the native capabilities of the phone, so you can make HTTP calls to the webserver to capture sound from the microphone, shoot video with the camera, get the GPS location, get multitouch info and so on.



来源:https://stackoverflow.com/questions/3504875/anyone-know-about-rhomobile

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!