How to call SOAP web service from in SENCHA TOUCH 2
I have been successful using other libraries along side with sencha touch. you include them in your project, and will have access to them in your controllers. http://javascriptsoapclient.codeplex.com/
Sorry, Sencha Touch does not provide a proxy for that: http://www.sencha.com/forum/showthread.php?243660-Consume-a-SOAP-web-service-in-Sencha-Touch-2
If you are savvy, try porting this.
Related
I'm getting started with Sencha Touch via this official tutorial and in the same time I can run the Hello application via the tool Eclipse-ADT Bundle as guided here
But I don't know how to use ADT Bundle to run the Sencha Touch application.
We need to install Phone Gap so that Sencha web page will be provided extra javascripts API to access the device API.
And we also need a way to wrap Sencha web inside an Android native app project. This is done also done by PhoneGap - detail steps are greatly guided here by Andrew Trice from Adobe
Greetings,
I am thinking of getting an application in iPhone to establish connection with a application server to collects its contact details and then sync it with our address book.
Anyone could direct me in the direction i have to take to achieve this target. And the things i have to look up.
You must, first of all, start with a XML-RPC library for iPhone. That is not implemented yet in the iOS core sdk. A good starting point is the open source application developed from wordpress that contain a xml-rpc library. Then you can play with the method from within this application, calling specific opener methods.
This is the link to download wordpress for iOS: http://ios.wordpress.org/development/
Someone is working on a mobile client for OpenERP, but I don't know if there are any plans for iPhone specifically.
If you want to build your own, I suggest you look at the OpenERP developer book's section on web services. You can send XML-RPC requests to the server to do anything the regular client can do. The XML-RPC layer is basically a wrapper around the ORM methods.
It seems that I haven't understood correctly how PhoneGap works.
I thought:
Take an index.html, include the PhoneGap.js in as type of JavaScript and open the result on iPad/iPhone.
But then, none of the functions like accelerometer, beep(), vibrate() is working. Is it necessary to build an app for that for working correctly?
I have a Webpage and I want only include the functions of PhoneGap so that the iPad can recognize if it was shaken or a draggable HTML Element was touched and thrown at an other place on screen.
Is sencha able to do that and is it the better choice?
Greetz and Thanks!
Markus
PhoneGap is a native application wrapper for a variety of different phone platforms. It requires that you use the PhoneGap framework, which is written in native code for each supported platform, for whatever platform you are targeting, and allows you to drop HTML, CSS and JS assets into this framework so that you can build applications for a phone with only those web technologies.
Simply including phonegap.js on a web site that is hosted on a server will not work, because phonegap.js communicates with the (native) PhoneGap framework code. The framework code does the work of accessing the phone's APIs for vibrate, accelerometer, contacts and compass functionality (among others). phonegap.js simply provides a consistent API in JavaScript for accessing this native device functionality.
There is no access from Javascript hosted in an ordinary web page to the accelerometer on the iPad as of today -- which is the first piece of functionality that you want to access. If you want to use Sencha (I work for Sencha), you must wrap Sencha code with Phonegap's native shell in order to get access to this functionality. Phonegap takes native Objective C API's and creates new Javascript objects that correspond to these API's. But the result will be a native app, not a web page.
Drag and Drop, the second piece of functionality that you want, is an activity entirely within the browser, and Sencha handles drag and drop just fine.
Is it possible to create communication between running program context and javascript ?
for example, iPhone have good example about it under webkit development on iPhone.
It's possible to invoke this command stringByEvaluatingJavaScriptFromString from webview in the application scope on Obj-C and iPhone platform. I'm looking to same thing in windows mobile 6 or greater versions.
Any comments would be appreciated.
This question has some links about hosting a web browser control on an application.
I guess it's possible to catch events from the page, or maybe just from the url change that you can use to trigger an action on the application.
PhoneGap has a WiMo prototype here. You have a web browser control in your application, then call out to C# by setting the href and intercepting in the Navigating event.
I want to call a .net web service from an iPhone application. Like I want to call a web service with respect to name and display the history sent by the web service.
Can anyone help me with the tutorial or some code how to do this.
This question has been asked a lot of times here in SO, do a search, here is a link to one iPhone interaction with ASP.NET WebService
and another How to Fetch Data From a WebService in iPhone?
I use www.sudzc.com to consume a .NET web service in a native iPhone app.