phonegap

Programming iOS apps with PhoneGap and/or QuickConnect

Hi everybody, A friend of mine told me that some frameworks (PhoneGap and/or QuickConnect) can transform my HTML/JS/CSS code to an iOS App. Personally, I hate this kind of frameworks because when you get a bug, it's very hard to debug. But, on the other hand, as i'm starting learning iOS programming, I find Objective-C hard to learn. ...

Compiling phonegap application problem

I've followed the installation instruction to the letter. I've installed the latest JDK ADK ApacheAnt and Ruby installations. I've setup the JAVA_HOME, ANDROID_HOME, ANT_HOME paths, and added JAVA_HOME\bin; ANDROID_HOME\tools; ANT_HOME\bin; phonegap\bin to the path. However, when i try to run: C:\phonegap\bin>ruby ./droidgap c:\android-...

Calls to update DOM are ignored in Phonegap app with iPhone 3G running iOS 3.0

I am using phonegap/jquery/jqtouch to develop an iPhone app. When testing the app with an iPhone 3G running iOS 3.0.1, jquery calls that make changes to the DOM (such as 'append()') do not work consistently. I have an alert call right before a call to 'append' and have another alert call right after the call to 'append'. Both alerts w...

./droidgap:4:in `require': no such file to load

I'm trying to get PhoneGap working. I've hit a hurdle getting started. I've downloaded version 0.9.1. I've been following the instructions at http://phonegap.pbworks.com/Getting-started-with-Android-PhoneGap-in-Eclipse Using MacOS 10.5.8. Android SDK is already installed and working with Eclipse. My .bash_profile file looks like th...

Windows 7 multitouch capabilities with HTML5

Hello to all! I have a problem: There are HTML5/CSS3 mobile frameworks on the market like Sencha Touch and Phonegap which can use the multi-touch gestures of the iPad/iPhone, Android, etc. That's working fine, I can test it. But now I need to know what's about Multi-Touch displays based on a Windows 7 OS. Are there also multi-touch cap...

multiple HTML in Phonegap applications

Can we have multiple HTML files in Phonegap application? ...

capture the center/HOME button in iphone using phonegap

Can we also capture the center/HOME button in iphone the same way we can do for android using phonegap? ...

Reading files within app bundle at runtime using Phonegap and Javascript

Hi, I've tried using the FileReader class but it only seems to allow access to files outside the app bundle -i.e. the documents folder. But I want to read files within the app bundle - for example obtaining global settings from Phonegap.plist, working out if certain files exist in the www folder and so on. I have tried a few things but...

Can't run the new PhoneGap version on Windows 7

Hi everybody, I have some troubles when I try to create a droidgap project. I installed everything required to run a droidgap project (jdk, ruby, git bash, ...) and all of them work perfectly. I found this post : http://stackoverflow.com/questions/3588534/phonegap-android-sample-pr where it's said that I should try to add ".bat" tu the...

Mobile Sarai - "touchend" event not firing when last touch is removed?

The "gesture" I'm trying to capture is a tap when but only when an element (other or same) already has a touch on it. So, touch (1) presses the button down while touch (2) taps to selected options, touch (1) releases and button is depressed. The problem I'm having is with the last bit. The "touchend" event is not being fired when I rel...

Phonegap on iPhone 4 device

Hi, I have a PhoneGap app that works perfectly on the iPhone 3.2 simulator and also iPhone 3 and 3GS devices. I have just downloaded and installed the latest iOS SDK, changed the settings in Project>Edit Project Settings to allow the application to work, and run it successfully within the iPhone 4 simulator and even the iPad simulator....

jquery's ajax function does not working in android

Hi folks, I want to access open api through ajax in mobile application, its work fine in iphone but does not working in android phone-gap app, returning error->"error message-null,typeerror-Result of expression 'data'[null] is not an object and error status-parsererror" ,is there any browser setting,thanks in adavance. $.ajax({ ...

phonegap: cookie based authentication (PHP) not working [webview]

I'm working on a mobile web-app using sencha touch, HTML5 and phonegap as a wrapper. I'm using PHP-Authentication (Cookie) and ajax-requests. Everything works fine on safari or chrome, but after the deployment with phonegap (webview) it does't work anymore... Any help would be appreciated :) Some more details: All data for my app is...

Load local website from the Documents folder in iPhone using phonegap?

Hi, We're making an app using phonegap to load it locally. Everything is working fine, the problem is that our manager asked us to find a way of update the whole site (if necesary) from internet and replace the old one. So far I created one method to do it when the website is copied to the Documents folder but I found that the 'www' sit...

Problem when building phonegap example android app

Hi, I am trying to build android example app by using phonegap. Here are the the system details. Operating System : Windows XP Android Sdk : 1.5 ( Previously i had 2.2 but deleted suspecting problem was with that) Ruby : 1.9.1-p430 Ant: 1.8.1 Java JDK 5 PhoneGap 0.9.1 System Enviroment Variables ANDROID_HOME : D:\work\android-sdk_r3-wi...

Working sample of PhoneGap Android Test Case

I am trying to write a TestCase for PhoneGap on Android and i am unable to load the main PhoneGap activity that extends DroidGap. I believe there is a problem with the project set up because it continues to be unable to load the main activity that extends DroidGap I can make the test work by duplicating the code, placing the Activity i...

How to get a main (window?) UIView in iOS?

I'm developing a PhoneGap app, extending it with native stuff. I can make an UIView like this: [[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]] and show some stuff like ActionSheets here. But the MBProgressHUD doesn't show up in this view. So how do I get the main view (or the PhoneGap's WebView)? ...

Mobile Safari - Show console?

To prevent the default scrolling of a page I'm adding an event listener for "touchstart" events on the body and calling event.preventDefault() This works fine but I now can't access the debug console as it requires a page drag? Has anyone else had this problem and come up with a work around? ...

The BlackBerry Simulator rises a RuntimeException

Hi everybody, I'm trying to run a BlackBerry project using Phonegap. I followed all the steps described here. When I run the project, I get the following error: C:\Users\Admin\Development\eclipse_galileo\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.29\components\bin\rapc.exe -quiet codename=deliverables\Standard\6.0.0\TaskBlackBerry d...

Data encryption on PhoneGap applications?

Hi all, My company develops mobile apps that require encryption in their functionality for multiple platforms - iPhone, BlackBerry, J2ME, WinMobile, and probably Android in the near future. I've been trying to find ways to develop our apps such that all the app logic can be developed in a single code-base with a different UI wrapper for...