phonegap

How should I deal with persisting an Android WebView if my activity gets destroyed while showing another one?

Hi, I'm building an Android application that's based around an enhanced WebView (based on PhoneGap). I've enhanced the WebView so that from JavaScript running inside you can invoke the native contact picker to choose a phone number (which may be supplied by Facebook for example). The problem I have is that the native contact picker ru...

get image from iphone, using phonegap camera api

I'm new to Xcode and iPhone apps. I want to select an image from iPhone (camera or library) and send to php via ajax. http://wiki.phonegap.com/iPhone:-Camera-API I'm using the phonegap framework, Xcode iPhone SDK version 3.1.x. On clicking button it calls function with parameter 0 or 1, but it does not initialize camera or display the...

Select image iphone simulator using phonegap camera api

I'm new to Xcode and iPhone apps. I want to select an image from iPhone (camera or library) and send to php via ajax. http://wiki.phonegap.com/iPhone:-Camera-API I'm using the phonegap framework, Xcode iPhone SDK version 3.1.x. On clicking button it calls function with parameter 0 or 1, but it does not initialize camera or display the ...

Javascript data store solution using PhoneGap

Hiya, Does anyone have any experience of storing data in JavaScript across all mobile platforms using PhoneGap? My ideal solution would be to use something like SQLite, but unfortunately SQLite isn't supported across all the platforms PhoneGap supports. I tried to ask this question a little while ago, but it got quite a few negative ma...

How to "eval" Objective-C code in iPhone

Hi, does a method such as "eval" in Javascript exist in Objective-C (iPhone SDK) ? I use PhoneGap and I want to create a window which is specific for each of my project and I can't use the html file... so I want from JS call a method and give in argument OC code to ben interpreted ... Any idea? Thank you for your help ...

retrieving documents from sharepoint via web services using jquery

Hi, I am trying to develop a mobile application which can interact with a MOSS Site via web services. i expect it to be be able to; 1) retrieve documents (pdf, doc, docx, excel) 2) retrieve reporting services reports in a PDF or excel form. i will be using either phonegap or rhomobile to develop this app and i know that i can consume ...

Objective-c error "-[CFString retain]: message sent to deallocated instance 0x4593540"

Im using phonegap and currently I have a webapp with php and javascript / html running inside of an iframe. It worked for a while but now it crashes with this error when I load the page -[CFString retain]: message sent to deallocated instance 0x4593540 any ideas? thanks ...

Can an iPhone Web App use the Camera?

I have a web app and I want to take photos and then upload them to a server. Can this be done with a webapp? ...

Do I need specifically iPhone SDK 3 to develop new iphone apps within the current release of Titanium?

I was asked to inform myself about how to make iPhone apps using Javascript/CSS and HTML. Well i realized that there are some nice frameworks to work with, like Titanium or PhoneGap for example (if you know some more, feel free to post some names or links). But my biggest problem now is that generally, when i'm about to develop native a...

Hitting a XML API using phonegap?

Hey folks, I am looking at using phonegap to create a mobile app that accesses a xml api, I noticed there is a HTTP class defined in phonegap http://phonegap.pbworks.com/JavaScript-API#http, but I can't seem to find anyone that has used it yet. Any examples out there or hints/tips on using the http class to access a xml api? ...

Communication between Android Java and Phonegap Javascript?

I believe that it's possible to call Java methods from (PhoneGap) Javascript. Anyone knows how to do that?? (I know how to do it by changing the source code of PhoneGap, but I'd avoid that) ...

PhoneGap vs. Titanium

PhoneGap and Titanium allow you build native iPhone Apps based on HTML and JavaScript. Has anyone gained experience with both? What are the differences? ...

PhoneGap iPad lauch screen does not fit

Hi, I created an App which is compatible to iPhone and iPad. Because it is based on HTML (PhoneGap) the App itself is the same for both devices (HTML scales well!). But the launch screen image does not fill out the display on the iPad upon launch. In my Resorces folder there is only the iPhone launch image which is to small for the iPa...

Dropdowns don't work on webOS with PhoneGap?

I'm trying to use a dropdown in a PhoneGap app I'm writing. It uses a simple <select>: <select> <option value="1">First</option> <option value="2">Second</option> </select> This works fine on Android and the iPhone (including behaving like a native drop-down would on those systems). However, it doesn't appear to work on webOS (nei...

PhoneGap's vibrate() and beep() functions break in iPhone, Android emulators

I have a PhoneGap app that I'm testing on webOS, Android, and iPhone. I'm using physical devices as well as emulators (the ones that come with their respective SDKs, not the PhoneGap emulator). Part of the code uses the navigator.notification.vibrate() and navigator.notification.beep() functions. All the physical devices I'm using eith...

device.uuid undefined in PhoneGap on Android?

I'm writing a PhoneGap application that sends requests to a central database. It needs to be able to identify the unique devices that connect to it. PhoneGap's device.uuid property would seem to do the trick. On webOS and iPhone, I get back a unique string of alphanumeric characters, which will satisfy my need. However, the Android devi...

Call javascript from objective-c, only works with system functions like alert() etc / phonegap

hi havent found the solution yet in the forum. i want to call a function i created in the index.html via a objective-c function. As explained in stringByEvaluatingJavaScriptFromString so the network detection doesnt work for me the function gets called but no javascript is called in the index.html here is the code i use - (void)up...

[symbian Qt] phoneGap files not found in QT-creator

Hi, i'm new to Qt, i just install all in one QT-SDK beta with QT-creator as described here. I tried to import PhoneGap example files from there (I use Qt-creator coz when I try to do it on Carbide, as described, it said that my EPOCROOT is wrong, but it isn't). When I want to debug or run project it said that there are some files missing...

navigator.notification.* fails "navigator.notification [undefined] is not an object"

Any call to a PhoneGap navigator.notification method is failing with the message "Result of expression navigator.notification [undefined] is not an object" I've gone through the full installation and project generation process outlined here: http://phonegap.pbworks.com/Getting-started-with-Android-PhoneGap-in-Eclipse ...and the applica...

phonegap / iphone / zxing

Hello all, I need to add Zxing (a qrcode reader app) to my iphone app, made in html, css & js, phonagap compiled. I have the zxing app on a side & my app (phonegap based) on the other side. If someone knows what can I do to add the zxing project (a qrcode reader function) to my phonegap based app... It will great & really appreciated ...