Showing posts with label phonegap. Show all posts
Showing posts with label phonegap. Show all posts

Tuesday, May 8, 2012

SQLite database on PhoneGap


I want to implement SQLite database for iPhone using PhoneGap. I know some basics SQLite database in iPhone native application. But how can I implement SQLite database in PhoneGap?

Thursday, May 3, 2012

The relationship between Phonegap"s "onBodyLoad()/onDeviceReady()” functions and Jquery"s "$(document).ready()”


I am using PhoneGap + jQuery Mobile in Android, I am confused about the Phonegap's "onBodyLoad()/onDeviceReady()" functions and Jquery's "$(document).ready()".

Tuesday, May 1, 2012

Creating templated/persistant header/footer template in jQuery Mobile and PhoneGap


I'm diving into writing a mobile app with jQuery Mobile/PhoneGap. I'm using this sample template to start from, which uses HTML/JS to create the pages. Rather than have all the <page> tags in one single html file, he's got it split up so it's easier to edit.

Monday, March 5, 2012

How can I increase the scrolling speed of the Monocle e-reader library?


We're currently using Monocle (https://github.com/joseph/Monocle) to build a book-reader application. The scrolling speed of the built-in Monocle.Flippers.Scroller is slow, especially when compared to native book applications. How can that be improved/sped up?

How can I increase the scrolling speed of the Monocle e-reader library?


We're currently using Monocle (https://github.com/joseph/Monocle) to build a book-reader application. The scrolling speed of the built-in Monocle.Flippers.Scroller is slow, especially when compared to native book applications. How can that be improved/sped up?

Thursday, March 1, 2012

Android Packaging: Error generating final archive resources.ap_


I'm currently trying to build a PhoneGap project I've been working on in Eclipse. However, when I try to build and run the project on the Android Emulator, I get the following error...

Wednesday, February 29, 2012

Page contains error in android phonegap wit h jquery mobile. Please help me i m in real need


I have deployed android application made with phone gap, and I haven't problem with emulator and web browser.But when i install that application on android tablet (samsung galaxy) device it shows following error when i click on cell of table.

AJAX to Sharepoint Server with Phonegap and JQuery Mobile not working


I have the following Problem. In the Phonegap App(for Android) I want to make an AJAX-Call to connect with a Sharepoint Server, with the following Code:

Monday, February 27, 2012

PhoneGap Better Error Handling? (Android)


I'm working on a simple photo viewing app using PhoneGap on Android.. for the most part I can get it working with absolutely no problems but am finding that occasionally when loading a .gif image the page just fails and PhoneGaps just terminates the whole application with an error something along the lines of:

PhoneGap Fixed Orientation + ChildBrowser Non-Fixed Orientation (Android)


I'm creating a HTML/JS/CSS App using PhoneGap (1.4.1) for Android. Within the App I'm using the PhoneGap ChildBrowser plugin to display external content.

Saturday, February 25, 2012

Phonegap and Admob on iPhone


I am trying to implement AdMob Javascript on a Phonegap mobile application, however when I paste in the code I get a whitelist error in the console leading to mmv.admob.com , so clearly phonegap was blocking communication with this url so I added to phonegaps url exceptions in the plist , this then lead to a blocked communication with the url doubleclick.net so I added *.doubleclick.net so now it has lead to no url errors, just not displaying any ads at all - not even a block colour which it is meant to fallback too.

Friday, February 24, 2012

iphone navigate back to app from external page


I have an iphone app that I want to be able to navigate to an external page and then have a back button when pressed take me back to my apps page.

Tuesday, January 31, 2012

how to use global variable with phonegap navigator.notification.confirm?


i have this situation:




<a href="#" onClick="submitNotification(1);">click1</a>
<a href="#" onClick="submitNotification(2);">click2</a>
<a href="#" onClick="submitNotification(3);">click3</a>

function submitNotification(cdata){
navigator.notification.confirm(
'do you like '+cdata+' option ',
submit,
'notice',
'Yes,No'
);

function submit(button){
if (button == 1){
alert(id); //or alert(cdata);
} else if (button == 2){
...
}
}

how to use global variable with phonegap navigator.notification.confirm?


i have this situation:




<a href="#" onClick="submitNotification(1);">click1</a>
<a href="#" onClick="submitNotification(2);">click2</a>
<a href="#" onClick="submitNotification(3);">click3</a>

function submitNotification(cdata){
navigator.notification.confirm(
'do you like '+cdata+' option ',
submit,
'notice',
'Yes,No'
);

function submit(button){
if (button == 1){
alert(id); //or alert(cdata);
} else if (button == 2){
...
}
}

jquery events blocking default long press events using DroidGap class in phone gap


I am using some jquery events in droid gap class but it will block default long press for selecting text and copy and paste .can anybody tell How to avoid this ?

jquery events blocking default long press events using DroidGap class in phone gap


I am using some jquery events in droid gap class but it will block default long press for selecting text and copy and paste .can anybody tell How to avoid this ?

How to set device height and width for a bar chart in android


I am using phonegap to build my app.I am using flot to create charts. here is my javascript code

Tuesday, January 17, 2012

How to call any objective c plugin method on click event of html button


I am new in phonegap development. I have one html page which contains one textfield and one button. I want to call my plugin method -(void)nameOfMethod:( NSMutableArray*)paramArray withDict: (NSMutableDictionary*) options which is inside the my plugin class and it getting text from my html text field and displaying alertview.I don't have have idea how to call this method via a javascript .I did a small part of coding in javascript