phonegap

iPhone Phonegap based app load External website made of componentone

Hi, My Client wants a native iPhone App that displays their mobile site optimized for iPhone developed using asp.net and ComponentOnes Studio for iPhone. i was planning to use a PhoneGap app which calls an external URL using JavaScript and do it after showing the splash screen. but according to phoneGap FAQ its most likely to apple to ...

vertical scroll bar get disable and bounce back in iphone simulator using phone-gap

Hi folks, I am developing phonegap app in iphone,after successfully viewing pdf file (from server) on new HTML page,the vertical scrollbar get disable ,even i get back to the list page ,the list does not get scroll,this happen only if i run the app directly in simulator (not from xcode),any one know ,how to resolve this issue. thanks i...

CakePHP with Phonegap, can they be used together?

I want to build a phone app using phonegap that can access data on a mysql server that is backing a cakephp app. Can this be done, if yes then how can use phonegap to access data from a mysql server? ...

Would using webview with phonegap get an app rejected from Apple App Store?

Would using webview with phonegap get an app rejected from Apple App Store? The app would not be all in webview, but will using webview for certain things make apple reject the app? ...

Memory warnings/crashing with PhoneGap iPad app

Hello, I've tried several approaches to make a one-page native app using Phonegap, and am seeking some general advice on troubleshooting. First approach: It's basically a bunch of different pages and sub-pages loaded with jquery into containers that live on the index page. So, no page loads, just loading page fragments from pages in...

Phonegap Database problem - storing images in the database

Hello - I am trying to make a very basic inventory application with the option to include a photo of items in the inventory. I have everything working except the photo part... I have looked at this http://phonegap.pbworks.com/iPhone%3A-Camera-API and I can get the camera to work, but do not seem to be able to add the image to the da...

PhoneGap Templates Installed in XCode 4

I have installed PhoneGap, but I have the beta release of xcode4 installed on my machine with the older release version 3.2 when i installed PhoneGap, the Template went to the old version not XCode4 ...

Detect if phone is online/offline with PHONEGAP reachability API

Hi and thanks in advance, I'm aware Phonegap has a reachability API and I'd like to know how I can use it to detect if the phone is connected to the network or not. What I found is here: http://github.com/phonegap/mobile-spec/blob/master/tests/network.tests.js I just don't know how to use it or if it even suits my needs. Thanks again...

Phonegap offline storage

Hi and thanks in advance, I'm working on a phonegap iPhone app which downloads content from the network in the form of HTML docs with text, images, and embeded HTML5 videos. I want to download these documents as they're available and store them locally, for further reading in offline mode. I've searched a bit and found that the optimal...

PhoneGap for mobile and Appcelerator for desktop+mobile?

It seems that PhoneGap is only for mobil devices while Appcelerator is for desktop and the mobile, am I correct? ...

PhoneGap and Appaccelerator apps are legal for iPhone 4?

I want to create mobile apps for the iPhone and Android and Im wondering if PhoneGap and Appaccelerator are allowed in iPhone 4 due to the section 3.3.1. Do they know the case now? ...

PhoneGap and Appcelerator store data locally and remotely?

I wonder if I could store data with PhoneGap and Appcellerator both locally and remotely (postgresql in my web application)? Cause it's gonna be a realtime app that has to sync data between the mobile and remote backend server. ...

Javascript Orientation Change doesn't work with PhoneGap on iPad

I'm adapting a small HTML/CSS/Javascript driven web magazine as an iApp for the iPad with the great mobile framework PhoneGap. Everything works great, except the orientation change from portrait to landscape mode. I use the following Javascript code in the header of the index.html (portrait): var isiPad = navigator.userAgent.match(/i...

Can you record audio on the iPhone using PhoneGap?

Is it possible to record audio on the iPhone using the PhoneGap package? And if so, are there any examples of this? ...

Does PhoneGap Support HTTPS ajax requests?

I have an application where the html/javascript code executes fine in a standalone browser safari, but when the ajax calls are executed in PhoneGap, they all fail with the Network Error 101. I am requesting XML documents ...

phonegap android sample project not building

I'm trying to follow the setup instructions on phonegap-android's wiki page, but I'm having trouble. I've got all of the prereqs/path variables/etc set-up, but when I execute the command (in gitbash as per the instructions) for building the project, I get errors which I do not understand. Here is the script which I run: $ ruby ./droid...

AJAX-Request from Phonegap Apps

I'm working on a mobile web-app using HTML5 and sencha touch. My next step is to add some native capability using phonegap. My app uses Ajax requests to retrieve data from a server component and i am not sure if ajax will work within phonegap packed apps? Should i use JSONP instead? ...

Capturing native button clicks in Android phone in javscript

Is there a way by which we can capture the click of HOME and BACK button in the html file in android application using phonegap/jqtouch/javascript. ...

Opening and Closing Sized Popup Window Using SafariBrowserWindow Class

Hey -- Having great success using PhoneGap/HTML5 to develop basic iPad apps. However, I'm coming across something I can't quite crack, given my limited Javascript chops, and need help with ASAP. It's pretty simple functionality in the normal browser world -- I want to popup a window of a given width and height and simply have the abili...

Download images and save locally on iPhone Phonegap app

Hi, I've already managed to save a web page (x/html) successfully, but I'd also like to save the images and mp4 videos that are contained in it, for further visualization in offline mode. I've got access to the iOS filesystem, so I save the html by obtaining the code through an AJAX request, and later saving it to a file. I don't real...