Steve Barnes | 22 Jul 19:46 2014
Picon

Recording Video

As a beginner, what do I need to make a plugin to record video then play it back in slow motion?

Thanks,
Steve

--
-- 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.
Ben Atack | 22 Jul 15:33 2014
Picon

Windows 8 phone splash screen

Good afternoon everyone,

Good news! I have finished uploading and had my first apple and android phonegap app accepted online!

Now for the bad... I'm stuggling with the windows 8 phone splash screen setup:

I've built everything so far using phonegap build, but for the windows phone it seems I need to use cordova to build it.
This is fine and I have successfully got all of the functionality working as expected... except the splash screen.

I know I just need to add navigator.splashscreen.hide() within a setTimeout(), to slow down the login...
but I'm not sure how to prevent the splashscreen from autohiding in the config.xml.

Any pointers would be most appreciated!

Ben

--
-- 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.
Szymon Nowak | 22 Jul 12:14 2014
Picon

Is it possible to play audio stream while app is in background on Android?

Hi,

is it possible to play audio stream created e.g. via WebAudio oscillator, getUserMedia (mic) or remote audio stream from PeerConnection while app is in the background on Android? I'm mostly interested in the last case - I hope to use https://crosswalk-project.org for WebRTC stuff.

Cheers,
Szymon

--
-- 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 | 22 Jul 06:47 2014
Picon

Cordova iOS Plugin Interface - upcoming changes

https://twitter.com/shazron/status/491363625727037441

Clayton Miller | 22 Jul 04:41 2014
Picon

Export data in a csv file on local network?

I would like to create an app that can work with no network connection. Basically its just s signup form. When ready to export data, I would like to be able to export a csv file and do it with a local network that is usually a network of Windows computers. I would like to be able to use tablets if possible, ipad, android tablets etc.... I can pick what ever is the simplest and use it. 

But that explains what I want to do. Have a signup form that works offline, that I can export offline in a csv format. 

Any recommendations on where to start on this. Its very elementary building this in a web environment with a network connection. 

I have used Phonegap before to create some simple apps purely just to test the framework. So I have some experience using it.

Thanks, Clayton

--
-- 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.
Piyush Hari | 22 Jul 02:00 2014
Picon

Creating a Contact with base64 photo not working

I am on Cordova 2.2 (I know its old) and on Android trying to use the Cordova's Contact plugin to create a contact with a photo passed in as a base64 encoded image string.

// create a new contact
var contact = navigator.contacts.create();

// store contact photos in ContactField[]
var photos = [];
photo
[0] = new ContactField('base64', '
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==', false);
contact.photos = photos;

// save the contact
contact
.save();




This creates a contact with expected image on iOS but on Android it just creates a Contact with NO photo. Logcat shows a "FileNotFoundException". 

Upon debugging, I notice that the FileNotFoundException is coming from this method :
org.apache.cordova.ContactAccessorSdk5#getPathFromUri(String path).


    /**
       * Get an input stream based on file path or uri content://, http://, file://
       *
       * <at> param path
       * <at> return an input stream
     * <at> throws IOException
       */
    private InputStream getPathFromUri(String path) throws IOException {
        if (path.startsWith("content:")) {
            Uri uri = Uri.parse(path);
            return mApp.getActivity().getContentResolver().openInputStream(uri);
        }
        if (path.startsWith("http:") || path.startsWith("file:")) {
            URL url = new URL(path);
            return url.openStream();
        }
        else {
            return new FileInputStream(path);
        }
    }

The "path" arg is as follows:
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==

The cordova documentation says that base64 encoded image strings are supported in this API but I do not see it working on Android.

Do the experts on this group have any clue if I may be doing something incorrect ?

--
-- 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.
Adarsh Hasija | 21 Jul 14:59 2014
Picon

regarding PhoneGap for windows mobile 6.5

Hi all,
   I want to develop an hwc app for windows mobile 6.5. Does any version of phonegap provide support for this development? Please confirm.

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.
Gary Yeung | 21 Jul 20:55 2014
Picon

Hydration in Production + Question regarding managing API version and data migration

Hi all,

Is it possible to use hydration in production app? i.e. B2B app that's distributed through app store?

I am working on a phonegap app that communicates with an API server. As this app is at a relatively early stage,
the API and data model may iterate quickly. I am looking for a solution like hydration to,

1) I would like our alpha users to be able to update the app with least amount of effort
2) Given 1, I can reduce the amount of time I need to maintain the old API versions and make data migration easier.

Has anyone run into a similar problem and like to share their experience?

Thanks in advance,
Gary

--
-- 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.
Andreas Baran | 21 Jul 15:57 2014
Picon

Multiple audio files at the same time

Hello, is it possible in phonegap using media to play 2 or 3 audio files simultaneously like in HTML 5?

The reason I dont want to use HTML 5 audio is because I hear that it is poor supported in old android versions.

This link shows what I would like to do:
http://hungry-media.com/2010/09/synchronizing-audio-with-html5/

Regards, Andreas

--
-- 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.
Seung Chan Lim | 21 Jul 20:34 2014
Picon

sending HTTP request on PAUSE event

Am I correct in assuming that there's no way to send an HTTP request on the PAUSE event on iOS?

I'm basing my assumption on this portion of the doc:

"In the pause handler, any calls to the Cordova API or to native plugins that go through Objective-C do not work, along with any interactive calls, such as alerts or console.log(). They are only processed when the app resumes, on the next run loop."

Are there workarounds to this? I would like to send a "I'm paused" message through HTTP when I enter "PAUSE"

thanks

slim

--
-- 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 Laskowitz | 21 Jul 19:29 2014
Picon

FileTransfer, website/server with password protection

Hello,

How would I upload a file with the https://github.com/apache/cordova-plugin-file-transfer/ plugin when the .php file to handle the upload lives on a password protected directory?
Do I pass this via "headers"?

Thanks!
- Adam

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