Well in a few weeks I'm going to submit my app, I think apple will be hardpressed to consider it a webclipping app. I would say 50% of the code is web dependent and the other 50 objective c. Without giving to much away, because I'm also doing a position paper for possible submission to Javaone. It uses a lot of phone features including location and gps. It uses a backend server written in java to display images from x number of upnp or bonjoir servers on your network.
It doesn't use iui or phoneGap, It uses a combination of a java framework called icefaces tightly integrated with dashcode for the web portion. It uses a server push technology. Clicking on the web tab opens 1-x uiwebviews, each webview represents an independent session. The backend uses the icefaces equivalent of comet-d to allow all the session to "talk" to each other. That is changing a value in one session directly affects all the other sessions. Lets say you had a geocaching application (which is something else I am working on) and the iphone ui has 4 open scaleable windows to your web application. Than each window could have a different user view of the map, say as a scatterPlot, a hyperbolic tree and an actual map showing gelogical data. Lets say you wanted to do gecaching, than using the location and gps functions on the phone the web application could update each of the 4 independent views realtime. Once more as your location changes the application could update all users who are connected to that application as well. At the same time they can open a chat window and talk with each other. Meantime the same data can be pushed to a static html location on the phone. (yes this is possible) which can be checked perodically via objective-c, this static info can then be accessed via a NSURLRequest , thus updating both gps info and the selection pick boxes on the screen. By my count to try to do this with safari would require 4 browser windows simultaneously pointing at the same location, but the app needs to know the session ids for this to work something your not going to be able to do with safari alone. This is just a quick capsule of the functionality, If apple calls this a web clipping app than they need to hire testers who actually know something about networking applications. Also most of the above is impossible to do with phonegap or iui. So I guess we will just see how many times it gets rejected . One interesting point, if apple actually deploys a kind of multitasking than you could write multiple linked applications connecting to the same browser session. This can already be done on other platforms that support icefaces like opera 9 running on windows mobile devices. Of course the only phone that can support all the functionality of this app is an iphone and possibly a blackberry. About the above, not all the details have been worked out, so you may find flaws, but I've tested individual proof of concepts of most of the techniques On Mar 11, 5:32 pm, pcm <[email protected]> wrote: > On Feb 2, 5:29 pm, markdionne <[email protected]> wrote: > > > > > We've reviewed your application, [name deleted]. The submitted iPhone > > application is a web clipping. The functionality of the submitted > > binary currently exists on the iPhone. A user can navigate to the > > webapp in Safari, select the "+" button, and select the option "Add To > > Home Screen". > > > I'll try again using PhoneGap. > > Apple is also rejecting PhoneGap apps, at least those that are mostly/ > all web-style HTML and JavaScript. > > Perhaps by integrating more deeply with the accelerometer, microphone, > and speakers, it will surpass "web-clipping" status. Or perhaps all > the HTML has to be ported to Objective-C. > > It's unclear, of course, why "web clipping" apps are rejected, when > there are many ports of websites (Twitter, Amazon) approved by the App > Store. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
