MANOJ KUMAR | 10 Feb 12:10 2016
Picon

Need hello world Java, Css3, html5 project connecting mysql db at backend on phonegap platform

Hi All,

Can someone pls help in setting up development environment for "Hello World" java, css3, html5 connecting mysql db at backend on phonegap platform. I am unable to find any single detailed document for the setup as per the latest available versions of phonegap, node.js etc.

Thanks in advance!!

Manoj!!

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Jesse Monroy | 10 Feb 08:05 2016
Picon

Cordova / Phonegap Release History

A few days ago I blogged on How Cordova and Phonegap releases work. The blog post includes links to the blogs - from where some of the information comes, was confirmed.

However, the blogs also provide a historic record of the Release and important transitions. As such, Cordova and Phonegap each have their own histories. Those histories are intertwined.


Cordova / Phonegap Release History

https://unbot.wordpress.com/2016/02/10/cordova-phonegap-release-history/


Jesse

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
mecjun | 10 Feb 03:35 2016
Picon

cordova ver6.0.0 have permission error

error like this!

my location requires permission ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION

anybody have any suggest?

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Antoin Friel | 10 Feb 01:55 2016
Picon

Rebooted android phone and the Geolocation in my phonegap application stopped working

I rebooted my android phone and the geolocation code in my app has stopped working. The navigator.geolocation is returning true but getCurrentPosition and watchPosition aren't working. It isn't returning an error message either. I have location turned on the phone, the phone version is 5.0.1 and the cordova version I am using is 5.3.3.

Any help would be greatly appreciated!


The JavaScript code I am using:


function showCurrentPosition(){ if(navigator.geolocation){ navigator.geolocation.getCurrentPosition(onSuccess, onError); } } // onSuccess Callback // This method accepts a Position object, which contains the // current GPS coordinates // var onSuccess = function(position) { alert('Latitude: ' + position.coords.latitude + '\n' + 'Longitude: ' + position.coords.longitude + '\n' + 'Altitude: ' + position.coords.altitude + '\n' + 'Accuracy: ' + position.coords.accuracy + '\n' + 'Altitude Accuracy: ' + position.coords.altitudeAccuracy + '\n' + 'Heading: ' + position.coords.heading + '\n' + 'Speed: ' + position.coords.speed + '\n' + 'Timestamp: ' + position.timestamp + '\n'); }; // onError Callback receives a PositionError object // function onError() { alert('code: ' + error.code + '\n' + 'message: ' + error.message + '\n'); }

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Jason Talbott | 9 Feb 23:57 2016
Picon

plugin unsupported?

I did several builds this morning in phonegap build with no trouble, then around 3pm ET had big issues. "plugin unsupported: org.apache.cordova.device <at> 0.3.0"
I clicked on the plugins tab and the four that I use all said n/a under the columns source, version, installed, and latest.
Is this a problem with PhoneGap plugins in general today, or did I likely do something wrong? I don't think I touched my config.xml at all so I'm not sure why it would stop working.


--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
tbald | 9 Feb 23:02 2016

DatePicker

Hello,
      Currently, I am not using any DatePicker plugin, I am just using the default DatePicker that Android or iOS bring up for the given device when the devices browser sees an HTML like this:
<input type="date" />
It works fine on Android and iPad, but iPhone I have problems with the DatePicker staying open when I click on a non-date field.  So I have two questions:
  1. In recent code, cordova 5.3.3 or later, have other people had this problem?  If so, how have you solved it?
  2. There are lots of DatePicker plugins for Cordova.  Considering that both Android and iOS now give the date picker for 'type="date"', when do people think it is good to use those DatePicker plugins?

Thanks.

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
MANOJ KUMAR | 9 Feb 21:52 2016
Picon

Development Setup for "Hello World" PhoneGap Project

Hi All,

Can someone pls help in setting up development environment for "Hello World" phone gap project. I am unable to find any single detailed document for the setup as per the latest available versions of phonegap, node.js etc.

Thanks in advance!!

Manoj!!

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
'Rob Willett' via phonegap | 9 Feb 20:42 2016

Differences between test and production release for Android - A network puzzler

Hi,

We're having problems which we suspect are Whitelist related when we release the Android version of our App for production use. 

We've built and tested our app on real hardware (Nexus 5) running Android 5.0. When we build locally and install locally, the app works fine. When we put it onto the Google App store and download the app from the play store, it *appears* that none of the $HTTP.get calls we make to our server work. 

We've installed the Whitelist plugin, added in a Content Security Policy to index.html, added in access origins that match the CSP tag into config.xml. indeed I used this setup to help Jesse when he wrote his whitelist docs, so the fact that something doesn't work is embarrassing. All the network calls work on the Genymotion emulator and on our own hardware when locally installed. This is stuff thats been working for months (or we thought it was). 

We've uploaded a test version of our app to the Google store with the console plugin still left in so we could see what was going on but it appears that console output for production apps doesn't work, at least we can't see it Google Chrome which take that option off the table so we're looking at adb logcat to try and isolate the problem. 

It appears that none of our requests to get data via $http.get() are working but that the PushWoosh notification is working, though that is handled in native code.

We've checked the access origins and content security policy tags and they look OK and indeed work when we install locally. We can see the $http.get returns an error 

I/chromium( 5717): [INFO:CONSOLE(103)] "Error: GetCameraData{"data":null,"status":0,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"url":"https://cdn.jambuster.london/jamcams.json","headers":{"Accept":"application/json, text/plain, */*"}},"statusText":""}", source: file:///android_asset/www/js/utilities.js (103)

If we click on the https link we get the right JSON file downloaded in a browser, 

As an example here's the access origin for the above

  <access origin="https://cdn.jambuster.london/*" />

and here's the CSP connect src 
    <meta http-equiv="Content-Security-Policy"
          content="default-src 'self' 'unsafe-eval' gap:
                   https://XXXX.jambuster.london
                   https://YYYYY.jambuster.london:*;
                   connect-src 'self'
                   http://cdn.jambuster.london
                   https://cdn.jambuster.london
                  ...... OTHER STUFF REMOVED>

Yes we know we have an http and an https for cdn.jambuster.london. We left both in for testing purposes for certificates.

So we're dazed and confused as Led Zep would say. We did look at the version of the Android SDK we were running SDK23 and wondered if that had anything to do with it and we recall *something* about Android 6 *possibly* being an issue but we can't find that web page and we are running Android 5.0 anyway.

We're running

Cordova 5.3.3
Ionic v.1.7.13
cordova-plugin-whitelist 1.2.1 "Whitelist" (amongst many others)

We build on Mac's and test on Nexus 5, Genymotion and it all works fine locally, just when we get into production.  We get the same issues when we download from the App store to genymotion though we have just discovered that Chrome does work on the Genymotion version which gives us more options for checking. However if we look at the network section, it appears that nothing is being sent out, which tends to back up our thinking that something is blocking network traffic and its whitelist related.

Have we missed something dumb and stupid? is there an optional flag somewhere we've missed? We're scratching our heads and are stuck where to go next so any and all suggestions very much welcomed. We're not even sure what other information to post as we have this working locally.

Thanks

Rob

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Justin | 9 Feb 19:31 2016
Picon

JavaScript Library

I have written a Cordova iOS app.  It uses xCode 7.1.1, Cordova 3.5.0, jQuery 1.9.1, and JQM 1.3.2.  It was written a few years ago, and it is still hanging in there, but is starting to have some performance problems since the iOS9 release.

What javascript library would you recommend? I want get to get my current app up to date and I have to write a second product.  I have seen some info that indicates JQM is sluggish, and I figure that now is the time to switch if I am ever going to switch.  I would appreciate your suggestion, and I would appreciate the logic behind your recommendation.

Many thanks,

Justin

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Kuldeep Parmar | 9 Feb 10:43 2016
Picon

Run phonegap app in browser and get alerts

phonegap serve command 

i am getting following this alert and crash the browser tab.

gap_init:2

gap_init:2

gap:[null,"StatusBar","_ready","StatusBar337442855"]gap:[null,"App","show","App337442856"]

gap:[null,"File","requestAllPaths","File337442857"]

gap:[null,"NetworkStatus","getConnectionInfo","NetworkStatus337442858"]

gap:[null,"Device","getDeviceInfo","Device337442859"]

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
jcesarmobile | 9 Feb 09:39 2016
Picon
Gravatar

Update your cordova android apps to at least cordova android 4.1.1 or higher

I've received mail from google telling me that beginning May 9, 2016, Google Play will block publishing of any new apps or updates that use pre-4.1.1 versions of Apache Cordova.

More info: https://support.google.com/faqs/answer/6325474

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Gmane