Closed venkatchenna closed 10 years ago
Hi
I am able to proceed further by making couple of changes in my application java script.
S.NO Issue Work Around 1 Method with name "new" does not work Change Method name 2 Attributes with name "class" does not work Change the attribute name 3 "window.location.origin" does not work use "window.location.protocol" + '//' + "window.location.host" 4 is reloading the entire page instead of the iframe have to change all the href's to onclick event
I will update further issues if any.
thanks Chenna
Hi. What are your issues (parse errors) exactly? I see your approaches look sound and some of your javascript work arounds sound intuitive, e.g. I expect both 'new' and 'class' are keywords in Javascript. Bear in mind to use the javascript API within an iframe you will have to load the rhomodule-api.js within that iFrame, not just the parent window.
As there has been no response in 5 months, I am closing this issue. As this appears to be application development related, a better forum for this type of discussion can be found here:
https://developer.motorolasolutions.com/community/rhomobile-suite/rhomobile-community
Hi
We have developed our web application in ASP.NET MVC 3 and it runs on IIS server. And our application supports wide variety of our Motorola devices. Viz., SB1,MC75,MC67,MC90xx, MC40 and ET1 etc.,
At present we are using Rhoelements 2.2 shared runtime on both windows and android devices.
We understand that our application can be migrated to Rho 4.x without making any changes to existing application.
we have taken two approaches to migrate our MWM to Rho 4.x
First approach : We have made a simple Rhoelements native application and changed the start_path to point to our application URL. We found some parse errors in 2 files. But our application working fine in Rho 2.2 and on chrome.
Second Approach: Build Rhoelements2 shared runtime and deployed on device. Configured config.xml
In both approaches application not loaded But same application working fine in Rho 2.2
Please throw some light on this issues.
thanks Chenna