on 05-27-2013 5:23 AM
Hi ,
We donot want to use Hybrid Web container , but want to develop OData based Hybird app on SUP 2.2 . The development flow for may apps will be :
So my questions are:
a)Do I need to access this app using HWC only , or is there any other way to access this deployed app.I am not using any MBO , just calling OData service.
b) Is the development approach possible , as stated above. Can someone please send me any blogs on it.
c)What are the benefits of using container rather than developing HTML5 app
d)Do I need any webservers like Apache or tomcat for approach stated above?
e)Can i use Relay server as my proxy in case i donot use HWC.
Regards
Nidhideep
The following sample may be helpful.
Sample: Getting Started With OData in SAP Mobile Platform 2.2 and 2.3 https://cw.sdn.sap.com/cw/docs/DOC-153015
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<<1. If i use phonegap in my app and runs it in HWC , will my app gets an access to use barcode feature ?
I don't believe Phonegap provides a built in api for a barcode scanner.
The api's are documented at
http://docs.phonegap.com/en/2.0.0/index.html
To extend phonegap, one would write a plugin to implement the custom functionality. See
4., 5. If you do not plan on using HWC, then there is no logical reason I can think of to generate a manifest.xml file or to deploy it to the server.
a), b) Its certainly possible to build HTML5/OData-based apps that don't run inside the container. There is no way that I'm aware of to access the application provisioning feature, though, you'd need to publish your app either as a traditional web app or by wrapping it in a Phonegap-style native app and distribute that to your users as you would a traditional native app.
c) To list a few - encrypted storage, secure messaging, user security (including X.509, SSO), application provisioning, native device functionality, ease of development.
d) If you choose to publish it as a traditional web app, then yes, you will need a web server.
e) In this scenario, its not clear to me where the relay server would go, as you would not be accessing the SUP server, it would presumably be a direct connection between your app and the OData source. That being said, I suspect the answer is yes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello David,
I developed HTML5 OData application using SUP2.2 ( using datajs file & not following MBO approach)
I installed HWC (Hybrid Web Container) in iphone and able to test the application in real device (iphone) . Here my application is running in HWC .I read that hybrid app's runs inside HWC doesn't provide access to native device features . But, i am targeting to use Barcode Scanner in my app. My question is
1. If i use phonegap in my app and runs it in HWC , will my app gets an access to use barcode feature ?
2. I am Registering a device ( includes Servername,template,FarmId, Activationcode) in Sybase Control Center . Once my device comes to Online, i am assigning the Hybrid App to the Online device, and then i can see my app in device. I am doing this process manually. How to make this process automatically . I mean , i am expecting my app to come and fall in the container automatically instead of assigning from SCC ?
Please suggest.
Thanks in Advance,
Hemagiri Seerapu
Thanks a lot David.
The first answer is very much helpful to me. I will proceed with that.
While coming to second answer, i am packaging the developed Hybrid App (using Packaging tool) into HybridApp_Name.zip , deploying it into Server and assigned it to Online device. I have the Objective-C code which installs HWC in Simulator . But, Pre-packaging inside HWC before build ? . Can you please explain a bit on this. It is not so clear to me at this moment .
Please suggest.
Thanks,
Hemagiri Seerapu
Try this documentation, see if it helps:
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.