Steve Sobol - Lobos Studios | 23 Sep 22:54 2014

Workflow question: iOS/Android project

I am looking for suggestions for Best Practices:

Probably the #1 selling point of Cordova/PhoneGap is the ease of creating a cross-platform app, right? So, I have my Cordova apps that I am creating for iOS and Android. For versioning, I have set up a Git repository on my Windows laptop (on which I'm doing the Android work) and a repository on my Mac (on which I'm doing the iOS work).

Yes, I know I could build both iOS and Android apps on the Mac. Often, I don't have easy access to it, and I could leave it turned on and remotely connect to it to do my work, but I like not having to be online to get work done. :)

Anyhow, I generally find myself working on the Android side first, committing my changes to the repository, pulling them from the repository on the laptop to the repository on the Mac, and rebuilding.

The platforms/ directory is NOT included in the repository at the moment. platforms/ and all of its subdirectories are excluded by a single entry in .gitignore in the root directory of my project. I want to change that. I have some changes to my Android manifest that I want to be versioned, and I'm almost 100% sure I will have some minor tweaks to one or more of the iOS plist files that I will want to include in the repository. So....

"platforms/" is obviously too broad an entry, but there are still files I won't want to include in the repository. For Android, I'm thinking I want to exclude:

platforms/android/ant-build
platforms/android/ant-gen 
platforms/android/bin
platforms/android/gen
platforms/android/libs
  
And keep:

platforms/android/
AndroidManifest.xml
platforms/android/assets
platforms/android/build.xml
platforms/android/custom_rules.xml
platforms/android/local.properties
platforms/android/proguard-project.txt
platforms/android/project.properties
platforms/android/res
platforms/android/src

Not sure if I need to include these:

platforms/android/cordova
platforms/android/CordovaLib
platforms/android/platform_www

And I'm not sure about these Eclipse config files; are they updated when you run "cordova build android"?

platforms/android/.classpath
platforms/android/.project
platforms/android/.settings
 

And to be honest, I'm not sure what I'd need to exclude/include on the iOS side. Need some advice here :)

For documentation purposes, if anyone has answers/advice for ANY of the platforms supported by Cordova, it'd be awesome if you replied! But I'm specifically looking for advice re. iOS and Android.


Thanks



--
Lobos Studios - Website Design, Mobile App Development, IT Support
Toll Free Phone/FAX: 877.919.4WEB
Victor Valley Phone/FAX: 760.684.8859
Los Angeles Phone/FAX: 310.945.2410
Business Cell: 310.487.2362
www.LobosStudios.com * www.facebook.com/LobosStudios * <at> LobosStudios

--
-- 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.

Jorge Vidal | 23 Sep 19:02 2014

Re: How to obscure Alert title "index.html" and button?

Thanks works great for me!!

El miércoles, 16 de diciembre de 2009 12:58:03 UTC-5, Thomas escribió:
Hi Gerald,

Use phonegap method

        navigator.notification.alert("alertMsg", "alertName",
"confirmButtonName");

instead of the javascript alert() function.

It also allows you to build custom confirm prompts with callbacks as
well - check the docs/sourcecode

regards
Thomas

On Dec 16, 5:17 pm, Gerald Buckley <gerald...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Apologies. Although I typed "alert.html" earlier... I meant
> "index.html"

--
-- 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.
Himanshu Sahu | 23 Sep 17:43 2014
Picon

How to disable landscape orientation in WP8 from config.xml (not using visual studio)

Hi
I am unable to prevent landscape orientation in wp8 phonegap (3.5.0) , I'm not using visual studio sdk.
Please let me know if there is any way to do this from config.xml?
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.
Shazron | 23 Sep 01:57 2014
Picon

[ios-sim] version 3.0 is out, supports Xcode 6

This tool is needed to use "phonegap emulate ios" or "cordova emulate ios" if your default Xcode is Xcode 6. Update from npm if you use Xcode 6.

The 2.x version is for Xcode 5.

--
-- 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.
Adam Johnson | 19 Sep 20:24 2014
Picon

App auto scaling on iPhone 6 and 6+ screens?

Any clues on how to stop the app auto scaling on iPhone 6 and 6+ screens?

--
-- 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.
tsupio | 20 Sep 03:13 2014
Picon

PLEASE HELP....

Hello.
I am very new to phonegap. I use the following version of phonegap:
C:\Users\no>phonegap -version
3.5.0-0.20.10



I just created a page with a button to select a picture using the "camera API"

the problem that I have on my android device (which is a motorola G with android 4.4.4)
is that when I select the image, I have a popup that appears asking me to "crop the image".

I would like to know How to not have this popup.

HOW TO DO TO NOT HAVE THIS "CROP PICTURE"?

OR HOW DO I DO TO FORCE THE CROPING TO BE A SQUARE?  (cause I can select whatever form I want...)


here are the option that I used when calling the navigator.camera.getPicture function

quality :75 destinationType :0 sourceType :0 allowEdit :true encodingType :0 targetWidth :-1 targetHeight :-1 mediaType :0 correctOrientation :false saveToPhotoAlbum :false cameraDirection :0

--
-- 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.
Yonatan B | 17 Sep 11:15 2014
Picon

How to make phonegap open all external links in the device's browser?

Hello

We are at the final stages of developing a phonegap application.

I'd like to know how can I tell phonegap to open all external links (like google.com) and so on in the devices browser (external browser), While the internal links (like /news that addresses a page in my app) in the webview (the phonegap)?

Thanks a lot, Yonatan

--
-- 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.
Wes Wilson | 17 Sep 21:39 2014
Picon

Which database option should I pick?

I need some help deciding which is the best approach for database type (web sql , sql lite or other) that I should use for the app I am building.

I need it to satisfy these conditions:

1) must work with phonegap for android and iOS deployment (don't want to have to deal with two setups for the same app)

2) I want to be able to sync the database with an online version for definition updates (there is a glossary portion in the app) without the user having to re-download the app

3) for the sync'ing i don't just want to replace the database as there will also be user specific data saved there, I assume there is a way to just update particular tables or such but if there is another or even easier way (like two databases or some sort of other local storage solution that isn't a database that I am not aware of please let me know).

Thanks for your help and advice in advance. Lots of common database types seem to be 'depreciated' , which I am totally okay with using if thats what you suggest, but I just don't want to start building it the wrong way from the beginning. 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.
Tom Pennetta | 22 Sep 03:50 2014
Picon

Project Creation/Scaffolding for using Phonegap Build and Ionic Framework

Hi All,

I have been combing through documentation, examples, blog posts, you name it, but just cant find a simple solution to my problem at hand. What I am trying to accomplish is a proper initialization/scaffolding for my mobile application project. I want to be able to utilize the following technologies fir the mobile application:

-Phonegap (with Phonegap Build)
-Ionic (with Angular)

and to streamline the build process I will be using Grunt, and I suppose Bower but have not read up much on the documentation.

What I am wondering is all of these technologies use their own initialization CLI tools. For example I can start the following ways:

ionic start "AppName"
phonegap create "AppID" "AppName"
cordova create "AppID" "AppName"

but I am afraid if I use one, for example Phonegap CLI, I will not have the ability to include and implement Ionic/Angular in the application. The directory structure is completely different.

Using the Ionic framework would create a great start for the ionic framework, but would not be able to utilize the Native mobile device framework settings that Cordova/Phonegap provides.

I find myself about to pull my hair out trying to scaffold this project the correct way to include the technologies I need.

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.
Angus Bremner | 21 Sep 14:44 2014
Picon

iPhone 6 and 6+ prevent scaling

Just wondering if anyone has figured out how to prevent Phonegap/Cordova apps scaling up on the iPhone 6? I've read that it can be done by using the correct splash screen sizes, but haven't figured out how to integrate this with the splashscreen plugin.

--
-- 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.
Derek Law | 18 Sep 12:22 2014
Picon

PhoneGap Buld install by QR code broken in iOS 8?

I installed iOS 8, and now cannot install the build from PhoneGap Build. I get to the browser asking "build.phonegap.com would like to install" question, but when I choose "install" the browser just spins.

Any clues or corroboration?

--
-- 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