I am currently developing a desktop application on flash builder 4.5 . It make uses of Flex.
I found out that there is an Flex-Ajax bridge that can be used to implement Ajax.
But does this work out for desktop application? Cause Ajax is javascript. so i assume that it is only able to use it in web applications.
Can AJAX be implemented in Flex desktop application ?
You can use XMLHttpRequest with javascript.
Related
I am developing a web application and that will be mainly used in Windows CE hand sets which has Windows CE 4.2 with IE 6 and I just wanted to know whether AJAX and JQuery can be used in my web app or not.
I tried using UpdatePanel in my project, but, it seems to be not working. Any advice will greatly appreciated.
To have support for AJAX you need support for Javascript and for XMLHttpRequest object.
A WinCE image can include support for both:
JScript;
XMLHttp (xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");)
If you have IE6 mobile installed on your wince image I can imagine that both componente are included in the wince image itself.
As a consequence also JQuery is supported but if you use IE6 you have to use at max the 1.9 version: see here
How can I embed a WebView (Embedded Web browser) inside a Delphi MacOS application?
It does not appear the webkit headers are included in XE2.
Have you tried the TWebBrowser control? This control works in the iOS environment and you can simply set it's URL or use the Navigate function.
Have you looked at Chromium Embedded Framework? It might be kinda heavyweight if you just want a view with some HTML, but they have bindings for Delphi. You get access to an up to date chrome webkit/blink browser with V8.
I was using XUI javascript library for Blackberry web application (OS 4.7 and 5.0). I just tried code on Blackberry Bold with OS6.
Problem is that http ajax calls to remote server fail. No errors are shown, just calls do not work. Programs works 100% with Mozilla and IE on desktop and older Blackberry models. Can anyone suggest a fix, or a better library? I do not need GUI that jQueryMobile offers.
I want to convert an existing website for mobile version, what will be the best choice for me.
Using JQuery Mobile on asp.net webform or asp.net mvc
Create application on phonegap for the targeted mobiles
Any Other ?
You would need to provide a lot more information about your goals and your background to answer the best solution for you.
However, I can clarify your title: PhoneGap is a complementary solution to jQuery Mobile. They provide different capabilities and work together. You can use one or both of them. Here's a picture.
PhoneGap does two major functions:
Converts JavaScript/HTML/CSS assets to a native app
Provides a set of JavaScript APIs that map to device capabilities, not otherwise accessible to a web app, like Contacts, Accelerometer, Telephony, GPS, etc
jQuery Mobile is a cross-platform user interface system. It is an extension to jQuery that provides a set of UI libraries specialized for mobile device programming including small screens and touch and swipe events.
I would lie to build a desktop app with Titanium and i thought that the API would give me access to a native ui for desktop. But reading the documentation it seems like the native ui api is directed only to mobile development, while for desktop you have to build the UI yourself in html and js and it will not be native code (with the risk of low performance animation and graphic).
Am i right?
Thanks
Yes you are right. Titanium Desktop only WebKit UI is possible: HTML5+js and/or PHP/Ruby/Python. You can see Tweetanium on git to see how Desktop/Mobile application can be designed. But simply also in mobile you can use a webkit view... It'sn't fast as native UI on mobile but it makes your UI code reusable in both world.
This is exactly what happens on PhoneGap project.