I have one html file, I will set the html file in iphone based application by using mgwt .. How i am set? - gwt

I have one html file, I will set the html file in iphone based application by using mgwt .. Please help me to set the html files in phone ...
Thanks in advance..

Based on what I was able to grasp from you question you have an HTML file and you want that file to act as an iPhone hybrid app using mGWT. If that's the case, then there is an huge abyss to cover before getting to that point. This is the list of general steps you would need to cover to get all the way there.
Get a grasp of GWT Basics
Configure a simple mGWT application with PhoneGap support.
Understanding the way GWT MVP works will also be very helpful but not required
Once you have that working its time to wrap the web app into a iOS cordova webview with PhoneGap
Please note that you will require an Apple Mac to acomplish the last step. You will also reequire to be registered as an Apple developer if you intent to get your resulting app into a real device. Also you will require a good understanding of Java application development and a good grasp on how Web applications work (HTML, JS and CSS at least).
You have a long way ahead of you.

Related

how to create a local RSS reader for iphone using HTML5

I am creating HTML5-based iPhone application. How to create a local RSS reader using JQurtyMobile , I don't want to host the HTML files on a server, rather, the HTML files are hosted locally in the iphone project folder
you should check this out with both server-side and only client-side implementation:
link
If you want to build your own RSS reader still in html + javascript and deploy it as an app, you can use PhoneGap.
PhoneGap allows you to store the html + javascript on the device, and then run it as an app.
It's exactly what you're asking for.
If you think phonegap is too big or confusing, you just need to follow one of the several UIWebview tutorials out on the web to write your own wrapper. It takes only a couple of minutes if you are familiar with objective c and Xcode. If that is not the case, it will take you some days, and phone gap adds lots of nice extra features.
for example:
http://www.theappcodeblog.com/2011/02/26/uiwebview-tutorial-link-to-an-ibaction/

Create Mobile Apps with Flash for iPhone and Android with Embedded browser

EDIT:
See my answer
I saw some interesting frameworks to build applications for mobile platforms like Android and iPhone with HTML and Javascript so you can use your current web-development skills without learning a new platform language. That's very interesting because you can write just ONE application for many platforms. Very easy to maintain.
But, you cannot sell it in the App stores, so I’m wondering if it is possible to use an embedded webbrowser in the application that loads an external/included html file.
I have seen that it is possible to create Android and iPhone apps with flash, that's is easy, so i want to create a simple 'host' application that only loads content and I can use it over and over again to distribute a new app.
So the question is, is it possible to create a simple app with flash that embeds a webbrowser to load a html file?
When it is possible, next question is, it possible to communicate with the embedded webbrowser? Also a question is, will Apple allow such application in it app store?
I hope my question is understandable.
In a very strict sense, yes, you can make an app that is just a simple WebView wrapper pointing to your web-hosted app.
This is usually frowned upon though in the android market community, and i'm fairly positive such an app won't make it through Apple's closed-doors decision committee.
On the iPhone, if your app only consist of a UIWebView it is very likely that you app is going to be rejected. What you could do is ask your users to bookmark your webapp adding an icon to the home screen. Think Basecamp for iPhone.
After all this time i got the answer.
Phonegap uses a WebView to display the HTML content. It is a compiled native App with embedded WebView.
Apple accepts phonegap generated applications but it still not sure if it made it to the AppStore, it depends on what you doing with it. I think simple apps will made it. See also: http://www.phonegap.com/faq
EDIT/UPDATE:
I tried allot of tools/solutions to create crossplatform apps but all of these seem to do the same thing: It's a executable for the specific platform with an embedded browser. None of them compiles HTML to native code.
Flash (Builder) is something different, it requires AIR (can be compiled into the executable). When you using a WebView (only) with Flash, it is overkill because in fact you do not need AIR to display the HTML in a WebView. I think it is better to use phonegap to 'compile' the executable.

Is there a way to automate conversion of web app to iphone or android native app?

I came across this link:
http://ofps.oreilly.com/titles/9780596805784/
which seems to suggest web app can be converted to native iphone without writing a single line
of objective-c code. But the book mentioned there is outdated now and things may have changed a lot.
Are there open source software that will allow me to automatically convert my web application to native iphone ( or android) application? By the way my web application is html5 canvas based animation application with lot of html and css as well.
PhoneGap doesn't generate native code for you: it creates an application consisting of a WebView and throws your HTML code on it. From personal exerience I can add that the performance is quite slow, on both iPhone and Android, compared to a native app.
jqTouch creates a nice way to access your web application, but the application remains a web application residing on your site, plus you have to use some jquery for styling.
Apparently the only one that actually does generate native code is Appcelerator Titanium. On RhoMobile I never managed to get to the point to actually write some Ruby code because you have to know all the Ruby in he word just to install it on your Mac.
So the verdict was to sit down and develop the app in objective-c.
Have you looked at PhoneGap?
Simple steps to put your html app into iOS native container, without coding:
Download xCode
Download simple web view app from https://github.com/nomtek/iOSWebViewApp
Open simple web view app within xCode
Add your HTMLs to the project file structure
Run your app and voila :)
This approach is good if you don't need access to any phone specific features, just a standard Web View. Loading time will be short as this approach doesn't load any extra libraries.

IPhone application in HTML 5

I have got a assignment to develop a IPhone application in HTML 5 & I really don't have any idea from where I have to start.
Please let me know which editor I have to use to develop IPhone application in HTML 5.
also, as I am a pure .NET developer, what other skills I need to write the program in HTML 5.
Thanks in advance.
When they say develop an iPhone application in HTML 5, what they are really saying is develop a web application that fits in the dimensions of an iPhone. So you do not need to know any Apple centric technologies. You can use your ASP.NET/HTML/Javascript/CSS skills.
If you need any rich interactions in your app, you will then need to use HTML 5 with the canvas element. I recommend using the library Processing.js which makes working with the canvas element much easier.
HTML5 isn't that different from HTML. For a great resource, check out Apple's developer site. Here's the section on Safari: http://developer.apple.com/safari/.
In terms of what editor you should use: You can use whatever editor you want! Notepad for Windows works fine ;) On the Mac, I prefer Coda or Textwranger. Dashcode will work too! In order to write HTML5, you just need to know HTML, CSS and Javascript (jQuery would help too).
And, what's more, since this is just HTML, don't forget you can test it in the browser on your desktop before you test on the iPhone or the iPhone Simulator (included in Xcode). I'd recommend testing in Safari first and Google Chrome second.
Good luck and welcome to the wonderful world of HTML5 and iPhone development!
Please let me know which editor I have to use to develop IPhone application in HTML 5.
Any you like. I usually go to Komodo Edit.
What other skills I need to write the program in HTML 5.
HTML, JavaScript and DOM are key, along with the new JS APIs introduced in the HTML 5 Drafts. CSS is all but essential and you'll probably want some skill at graphics editing. SQL will be useful if you want to use a database.

Embedding an offline Dashcode application in a UIWebView in an iPhone application

In order words, can anyone tell me the basics of how to create a "hybrid" iPhone application? I want to load the web content (the Dashcode app itself) from the native application's application bundle.
I've gotten this to partially work, but some content won't display and it otherwise seems like Dashcode is assuming a certain Safari environment or something that I don't seem to have in my UIWebView.
Can anyone provide a link to some sample code that embeds a Dashcode project into a cocoa touch Xcode project?
(I did search around Google for a bit trying to find something and I failed to come up with anything worthwhile, except for some books that I might eventually buy if the approach seems worthwhile.)
After a while I answered my own question here. It looks like http://quickconnect.sourceforge.net/browser/index.html will show me want I want to know even if I don't actually use the framework.