[jira] [Commented] (CB-5422) platform add android fails on Mac with JAVA_HOME error
[ https://issues.apache.org/jira/browse/CB-5422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836252#comment-13836252 ] Arjun T Raj commented on CB-5422: - [~VundaVon] problem solved or not ? > platform add android fails on Mac with JAVA_HOME error > -- > > Key: CB-5422 > URL: https://issues.apache.org/jira/browse/CB-5422 > Project: Apache Cordova > Issue Type: Bug > Components: Android, CLI >Affects Versions: 3.2.0 > Environment: Mac OS 10.9 >Reporter: David Pfahler >Assignee: Mark Koudritsky > > Just installed 3.2.0-rc1 as announced on cordova.apache.org. > ``` > $ cordova -v > 3.2.0-rc.1 > ``` > When trying to update the platforms it failed, so I tried removing each > platform and adding again. Works for iOS. When running `sudo cordova platform > add android -d` I get: > ``` > Running bin/create for platform "android" with command: > ""/Users/djpfahler/.cordova/lib/android/cordova/3.2.0-rc1/bin/create" > "/Users/djpfahler/localhost/LeadTracker/cordova/platforms/android" > "com.dockmaster.leadtracker" "LeadTracker"" (output to follow) > Error: An error occured during creation of android sub-project. > [Error: ERROR : Make sure JAVA_HOME is set, as well as paths to your JDK and > JRE for java.] > at > /Users/djpfahler/.nvm/v0.10.21/lib/node_modules/cordova/src/platform.js:246:30 > at ChildProcess.exithandler (child_process.js:641:7) > at ChildProcess.EventEmitter.emit (events.js:98:17) > at maybeClose (child_process.js:735:16) > at Process.ChildProcess._handle.onexit (child_process.js:802:5) > ``` > To verify I have JAVA_HOME set correctly: > ``` > $ echo $JAVA_HOME > /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home > ``` > Ant is in my path: > ``` > $ ant -v > Apache Ant(TM) version 1.9.2 compiled on July 8 2013 > Trying the default build file: build.xml > Buildfile: build.xml does not exist! > Build failed > ``` > ADT is installed. > What happens here? -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Comment Edited] (CB-5422) platform add android fails on Mac with JAVA_HOME error
[ https://issues.apache.org/jira/browse/CB-5422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13834531#comment-13834531 ] Arjun T Raj edited comment on CB-5422 at 11/28/13 5:21 AM: --- [~stevegill] i also added JAVA_HOME to .bash_profile but still i have problem mee-2:IFHHFK arjun$ sudo cordova platform add android Checking Android requirements... Creating android project... [Error: An error occured during creation of android sub-project. [Error: ERROR : Make sure JAVA_HOME is set, as well as paths to your JDK and JRE for java.] ] mee-2:IFHHFK arjun$ echo $JAVA_HOME /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home mee-2:IFHHFK arjun$ was (Author: arjun441): [~stevegill] i also added JAVA_HOME to .bash_profile but still i have problem > platform add android fails on Mac with JAVA_HOME error > -- > > Key: CB-5422 > URL: https://issues.apache.org/jira/browse/CB-5422 > Project: Apache Cordova > Issue Type: Bug > Components: Android, CLI >Affects Versions: 3.2.0 > Environment: Mac OS 10.9 >Reporter: David Pfahler >Assignee: Mark Koudritsky > > Just installed 3.2.0-rc1 as announced on cordova.apache.org. > ``` > $ cordova -v > 3.2.0-rc.1 > ``` > When trying to update the platforms it failed, so I tried removing each > platform and adding again. Works for iOS. When running `sudo cordova platform > add android -d` I get: > ``` > Running bin/create for platform "android" with command: > ""/Users/djpfahler/.cordova/lib/android/cordova/3.2.0-rc1/bin/create" > "/Users/djpfahler/localhost/LeadTracker/cordova/platforms/android" > "com.dockmaster.leadtracker" "LeadTracker"" (output to follow) > Error: An error occured during creation of android sub-project. > [Error: ERROR : Make sure JAVA_HOME is set, as well as paths to your JDK and > JRE for java.] > at > /Users/djpfahler/.nvm/v0.10.21/lib/node_modules/cordova/src/platform.js:246:30 > at ChildProcess.exithandler (child_process.js:641:7) > at ChildProcess.EventEmitter.emit (events.js:98:17) > at maybeClose (child_process.js:735:16) > at Process.ChildProcess._handle.onexit (child_process.js:802:5) > ``` > To verify I have JAVA_HOME set correctly: > ``` > $ echo $JAVA_HOME > /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home > ``` > Ant is in my path: > ``` > $ ant -v > Apache Ant(TM) version 1.9.2 compiled on July 8 2013 > Trying the default build file: build.xml > Buildfile: build.xml does not exist! > Build failed > ``` > ADT is installed. > What happens here? -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5422) platform add android fails on Mac with JAVA_HOME error
[ https://issues.apache.org/jira/browse/CB-5422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13834531#comment-13834531 ] Arjun T Raj commented on CB-5422: - [~stevegill] i also added JAVA_HOME to .bash_profile but still i have problem > platform add android fails on Mac with JAVA_HOME error > -- > > Key: CB-5422 > URL: https://issues.apache.org/jira/browse/CB-5422 > Project: Apache Cordova > Issue Type: Bug > Components: Android, CLI >Affects Versions: 3.2.0 > Environment: Mac OS 10.9 >Reporter: David Pfahler >Assignee: Mark Koudritsky > > Just installed 3.2.0-rc1 as announced on cordova.apache.org. > ``` > $ cordova -v > 3.2.0-rc.1 > ``` > When trying to update the platforms it failed, so I tried removing each > platform and adding again. Works for iOS. When running `sudo cordova platform > add android -d` I get: > ``` > Running bin/create for platform "android" with command: > ""/Users/djpfahler/.cordova/lib/android/cordova/3.2.0-rc1/bin/create" > "/Users/djpfahler/localhost/LeadTracker/cordova/platforms/android" > "com.dockmaster.leadtracker" "LeadTracker"" (output to follow) > Error: An error occured during creation of android sub-project. > [Error: ERROR : Make sure JAVA_HOME is set, as well as paths to your JDK and > JRE for java.] > at > /Users/djpfahler/.nvm/v0.10.21/lib/node_modules/cordova/src/platform.js:246:30 > at ChildProcess.exithandler (child_process.js:641:7) > at ChildProcess.EventEmitter.emit (events.js:98:17) > at maybeClose (child_process.js:735:16) > at Process.ChildProcess._handle.onexit (child_process.js:802:5) > ``` > To verify I have JAVA_HOME set correctly: > ``` > $ echo $JAVA_HOME > /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home > ``` > Ant is in my path: > ``` > $ ant -v > Apache Ant(TM) version 1.9.2 compiled on July 8 2013 > Trying the default build file: build.xml > Buildfile: build.xml does not exist! > Build failed > ``` > ADT is installed. > What happens here? -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5422) platform add android fails on Mac with JAVA_HOME error
[ https://issues.apache.org/jira/browse/CB-5422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13833489#comment-13833489 ] Arjun T Raj commented on CB-5422: - i have the same issue , OS: MAc 10.8.4. i added process.env.JAVA_HOME like this process.env['JAVA_HOME']='/System/Library/Frameworks/JavaVM.Framework/Versions/CurrentJDK/Home'; but not working > platform add android fails on Mac with JAVA_HOME error > -- > > Key: CB-5422 > URL: https://issues.apache.org/jira/browse/CB-5422 > Project: Apache Cordova > Issue Type: Bug > Components: Android, CLI >Affects Versions: 3.2.0 > Environment: Mac OS 10.9 >Reporter: David Pfahler > > Just installed 3.2.0-rc1 as announced on cordova.apache.org. > ``` > $ cordova -v > 3.2.0-rc.1 > ``` > When trying to update the platforms it failed, so I tried removing each > platform and adding again. Works for iOS. When running `sudo cordova platform > add android -d` I get: > ``` > Running bin/create for platform "android" with command: > ""/Users/djpfahler/.cordova/lib/android/cordova/3.2.0-rc1/bin/create" > "/Users/djpfahler/localhost/LeadTracker/cordova/platforms/android" > "com.dockmaster.leadtracker" "LeadTracker"" (output to follow) > Error: An error occured during creation of android sub-project. > [Error: ERROR : Make sure JAVA_HOME is set, as well as paths to your JDK and > JRE for java.] > at > /Users/djpfahler/.nvm/v0.10.21/lib/node_modules/cordova/src/platform.js:246:30 > at ChildProcess.exithandler (child_process.js:641:7) > at ChildProcess.EventEmitter.emit (events.js:98:17) > at maybeClose (child_process.js:735:16) > at Process.ChildProcess._handle.onexit (child_process.js:802:5) > ``` > To verify I have JAVA_HOME set correctly: > ``` > $ echo $JAVA_HOME > /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home > ``` > Ant is in my path: > ``` > $ ant -v > Apache Ant(TM) version 1.9.2 compiled on July 8 2013 > Trying the default build file: build.xml > Buildfile: build.xml does not exist! > Build failed > ``` > ADT is installed. > What happens here? -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Created] (CB-5146) While installing new plugin (ios) via cli plugin files not found inside plugin folder of xcode project
Arjun T Raj created CB-5146: --- Summary: While installing new plugin (ios) via cli plugin files not found inside plugin folder of xcode project Key: CB-5146 URL: https://issues.apache.org/jira/browse/CB-5146 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.1.0 Reporter: Arjun T Raj I am try to instal new plugin ie notification , but plugin successfully installed but plugin files (objective c file ) found inside plugins folder(root), but not found inside xcode project -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-3576) Add support for self-signed SSL certficates in InAppBrowser
[ https://issues.apache.org/jira/browse/CB-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770502#comment-13770502 ] Arjun T Raj commented on CB-3576: - iam wrkng on phonegap 3.0 (both ios and android) :( -- Regards, arJun SE : HiFX IT & Media Services (P) Ltd. > Add support for self-signed SSL certficates in InAppBrowser > --- > > Key: CB-3576 > URL: https://issues.apache.org/jira/browse/CB-3576 > Project: Apache Cordova > Issue Type: Improvement > Components: Android, iOS, Plugin InAppBrowser >Affects Versions: 2.7.0, 2.8.0 > Environment: Android and iOS >Reporter: Montyleena >Assignee: Andrew Grieve > Labels: android, https, inappbrowser,, ios, ssl > Attachments: InAppBrowser.java > > > Local https links are blocked by default in InAppBrowser (links using a local > SSL certificate which can't be verified by a 3rd party). Ideally, user should > be given an option to proceed or cancel the request like the default > desktop/mobile browsers do. > Right now, we have to overwrite the following API in Android to access such > URLs but onReceivedSslError() function gets called only for the main PhoneGap > window browser and not for InAppBrowser. > Create a new class: > public class CustomWebViewClient extends CordovaWebViewClient { > > public static final String LOG_TAG = "Plugin"; > > public CustomWebViewClient(DroidGap ctx) { > super(ctx); > Log.d(LOG_TAG, "Constructor!"); > } > @Override > public void onReceivedSslError(WebView view, SslErrorHandler handler, > SslError error) { > handler.proceed(); > } > } > In the main class, we use our custom class as a web view client > CordovaWebViewClient webViewClient = new CustomWebViewClient(this); > webViewClient.setWebView(this.appView); > this.appView.setWebViewClient(webViewClient); > And similar type of code needs to be written for iOS. > InAppBrowser should pick up the SSL settings from the main web view and once > we overwrite the onReceivedSslError() function, then it should allow such > URLs in the InAppBrowser too. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3576) Add support for self-signed SSL certficates in InAppBrowser
[ https://issues.apache.org/jira/browse/CB-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13754905#comment-13754905 ] Arjun T Raj commented on CB-3576: - hi yes i tried but got may errors :( -- Regards, arJun SE : HiFX IT & Media Services (P) Ltd. > Add support for self-signed SSL certficates in InAppBrowser > --- > > Key: CB-3576 > URL: https://issues.apache.org/jira/browse/CB-3576 > Project: Apache Cordova > Issue Type: Improvement > Components: Android, iOS, Plugin InAppBrowser >Affects Versions: 2.7.0, 2.8.0 > Environment: Android and iOS >Reporter: Montyleena >Assignee: Andrew Grieve > Labels: android, https, inappbrowser,, ios, ssl > Attachments: InAppBrowser.java > > > Local https links are blocked by default in InAppBrowser (links using a local > SSL certificate which can't be verified by a 3rd party). Ideally, user should > be given an option to proceed or cancel the request like the default > desktop/mobile browsers do. > Right now, we have to overwrite the following API in Android to access such > URLs but onReceivedSslError() function gets called only for the main PhoneGap > window browser and not for InAppBrowser. > Create a new class: > public class CustomWebViewClient extends CordovaWebViewClient { > > public static final String LOG_TAG = "Plugin"; > > public CustomWebViewClient(DroidGap ctx) { > super(ctx); > Log.d(LOG_TAG, "Constructor!"); > } > @Override > public void onReceivedSslError(WebView view, SslErrorHandler handler, > SslError error) { > handler.proceed(); > } > } > In the main class, we use our custom class as a web view client > CordovaWebViewClient webViewClient = new CustomWebViewClient(this); > webViewClient.setWebView(this.appView); > this.appView.setWebViewClient(webViewClient); > And similar type of code needs to be written for iOS. > InAppBrowser should pick up the SSL settings from the main web view and once > we overwrite the onReceivedSslError() function, then it should allow such > URLs in the InAppBrowser too. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3576) Add support for self-signed SSL certficates in InAppBrowser
[ https://issues.apache.org/jira/browse/CB-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13754614#comment-13754614 ] Arjun T Raj commented on CB-3576: - iam using *phonegap 3.0* -- Regards, arJun SE : HiFX IT & Media Services (P) Ltd. > Add support for self-signed SSL certficates in InAppBrowser > --- > > Key: CB-3576 > URL: https://issues.apache.org/jira/browse/CB-3576 > Project: Apache Cordova > Issue Type: Improvement > Components: Android, iOS, Plugin InAppBrowser >Affects Versions: 2.7.0, 2.8.0 > Environment: Android and iOS >Reporter: Montyleena >Assignee: Andrew Grieve > Labels: android, https, inappbrowser,, ios, ssl > Attachments: InAppBrowser.java > > > Local https links are blocked by default in InAppBrowser (links using a local > SSL certificate which can't be verified by a 3rd party). Ideally, user should > be given an option to proceed or cancel the request like the default > desktop/mobile browsers do. > Right now, we have to overwrite the following API in Android to access such > URLs but onReceivedSslError() function gets called only for the main PhoneGap > window browser and not for InAppBrowser. > Create a new class: > public class CustomWebViewClient extends CordovaWebViewClient { > > public static final String LOG_TAG = "Plugin"; > > public CustomWebViewClient(DroidGap ctx) { > super(ctx); > Log.d(LOG_TAG, "Constructor!"); > } > @Override > public void onReceivedSslError(WebView view, SslErrorHandler handler, > SslError error) { > handler.proceed(); > } > } > In the main class, we use our custom class as a web view client > CordovaWebViewClient webViewClient = new CustomWebViewClient(this); > webViewClient.setWebView(this.appView); > this.appView.setWebViewClient(webViewClient); > And similar type of code needs to be written for iOS. > InAppBrowser should pick up the SSL settings from the main web view and once > we overwrite the onReceivedSslError() function, then it should allow such > URLs in the InAppBrowser too. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3576) Add support for self-signed SSL certficates in InAppBrowser
[ https://issues.apache.org/jira/browse/CB-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13754550#comment-13754550 ] Arjun T Raj commented on CB-3576: - hi i tried but not working thats y i ask -- Regards, arJun SE : HiFX IT & Media Services (P) Ltd. > Add support for self-signed SSL certficates in InAppBrowser > --- > > Key: CB-3576 > URL: https://issues.apache.org/jira/browse/CB-3576 > Project: Apache Cordova > Issue Type: Improvement > Components: Android, iOS, Plugin InAppBrowser >Affects Versions: 2.7.0, 2.8.0 > Environment: Android and iOS >Reporter: Montyleena >Assignee: Andrew Grieve > Labels: android, https, inappbrowser,, ios, ssl > Attachments: InAppBrowser.java > > > Local https links are blocked by default in InAppBrowser (links using a local > SSL certificate which can't be verified by a 3rd party). Ideally, user should > be given an option to proceed or cancel the request like the default > desktop/mobile browsers do. > Right now, we have to overwrite the following API in Android to access such > URLs but onReceivedSslError() function gets called only for the main PhoneGap > window browser and not for InAppBrowser. > Create a new class: > public class CustomWebViewClient extends CordovaWebViewClient { > > public static final String LOG_TAG = "Plugin"; > > public CustomWebViewClient(DroidGap ctx) { > super(ctx); > Log.d(LOG_TAG, "Constructor!"); > } > @Override > public void onReceivedSslError(WebView view, SslErrorHandler handler, > SslError error) { > handler.proceed(); > } > } > In the main class, we use our custom class as a web view client > CordovaWebViewClient webViewClient = new CustomWebViewClient(this); > webViewClient.setWebView(this.appView); > this.appView.setWebViewClient(webViewClient); > And similar type of code needs to be written for iOS. > InAppBrowser should pick up the SSL settings from the main web view and once > we overwrite the onReceivedSslError() function, then it should allow such > URLs in the InAppBrowser too. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3576) Add support for self-signed SSL certficates in InAppBrowser
[ https://issues.apache.org/jira/browse/CB-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13754364#comment-13754364 ] Arjun T Raj commented on CB-3576: - [~montylee] i too have this problem but now how to solve this issue? > Add support for self-signed SSL certficates in InAppBrowser > --- > > Key: CB-3576 > URL: https://issues.apache.org/jira/browse/CB-3576 > Project: Apache Cordova > Issue Type: Improvement > Components: Android, iOS, Plugin InAppBrowser >Affects Versions: 2.7.0, 2.8.0 > Environment: Android and iOS >Reporter: Montyleena >Assignee: Andrew Grieve > Labels: android, https, inappbrowser,, ios, ssl > Attachments: InAppBrowser.java > > > Local https links are blocked by default in InAppBrowser (links using a local > SSL certificate which can't be verified by a 3rd party). Ideally, user should > be given an option to proceed or cancel the request like the default > desktop/mobile browsers do. > Right now, we have to overwrite the following API in Android to access such > URLs but onReceivedSslError() function gets called only for the main PhoneGap > window browser and not for InAppBrowser. > Create a new class: > public class CustomWebViewClient extends CordovaWebViewClient { > > public static final String LOG_TAG = "Plugin"; > > public CustomWebViewClient(DroidGap ctx) { > super(ctx); > Log.d(LOG_TAG, "Constructor!"); > } > @Override > public void onReceivedSslError(WebView view, SslErrorHandler handler, > SslError error) { > handler.proceed(); > } > } > In the main class, we use our custom class as a web view client > CordovaWebViewClient webViewClient = new CustomWebViewClient(this); > webViewClient.setWebView(this.appView); > this.appView.setWebViewClient(webViewClient); > And similar type of code needs to be written for iOS. > InAppBrowser should pick up the SSL settings from the main web view and once > we overwrite the onReceivedSslError() function, then it should allow such > URLs in the InAppBrowser too. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4698) Inapp Browser failed when we use a Https server with an invalid SSL certificate got Error : webView:didFailLoadWithError - The certificate for this server is invalid.
Arjun T Raj created CB-4698: --- Summary: Inapp Browser failed when we use a Https server with an invalid SSL certificate got Error : webView:didFailLoadWithError - The certificate for this server is invalid. Key: CB-4698 URL: https://issues.apache.org/jira/browse/CB-4698 Project: Apache Cordova Issue Type: Bug Components: Plugin InAppBrowser Reporter: Arjun T Raj Assignee: Steve Gill When we use InnAppbrowser with HTTPS , server with an invalid SSL certificate. we got this error webView:didFailLoadWithError - The certificate for this server is invalid. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Reopened] (CB-4471) navigator.device.capture. captureVideo() Not working on android 4.3
[ https://issues.apache.org/jira/browse/CB-4471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arjun T Raj reopened CB-4471: - Reproduced In: 2.8.0 How to solve this issue > navigator.device.capture. captureVideo() Not working on android 4.3 > --- > > Key: CB-4471 > URL: https://issues.apache.org/jira/browse/CB-4471 > Project: Apache Cordova > Issue Type: Bug > Components: Android, CordovaJS, Plugin Camera, Plugin Media Capture >Affects Versions: 2.8.0 > Environment: android 4.3 (nexus 4), cordova 2.8 >Reporter: Arjun T Raj >Assignee: Joe Bowser > > While calling navigator.device.capture. > captureVideo() on my nexus 4 android 4.3 app was crashing , same app works > on all other phones , and android version except 4.3 > check this https://groups.google.com/forum/#!topic/phonegap/flfkszbBJUo > LOG > 07-30 10:58:42.640: D/DroidGap(11149): Incoming Result > 07-30 10:58:42.640: D/DroidGap(11149): Request code = 2 > 07-30 10:58:42.640: D/DroidGap(11149): We have a callback to send this result > to > 07-30 10:58:42.640: D/AndroidRuntime(11149): Shutting down VM > 07-30 10:58:42.640: W/dalvikvm(11149): threadid=1: thread exiting with > uncaught exception (group=0x41542700) > 07-30 10:58:42.650: E/AndroidRuntime(11149): FATAL EXCEPTION: main > 07-30 10:58:42.650: E/AndroidRuntime(11149): java.lang.RuntimeException: > Failure delivering result ResultInfo{who=null, request=2, result=-1, > data=Intent { }} to activity { > com.mypjct.MainActivit/com.mypjct.MainActivity}: > java.lang.NullPointerException > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > android.app.ActivityThread.deliverResults(ActivityThread.java:3367) > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > android.app.ActivityThread.handleSendResult(ActivityThread.java:3410) > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > android.app.ActivityThread.access$1100(ActivityThread.java:141) > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > android.app.ActivityThread$H.handleMessage(ActivityThread.java:1304) > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > android.os.Handler.dispatchMessage(Handler.java:99) > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > android.os.Looper.loop(Looper.java:137) > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > android.app.ActivityThread.main(ActivityThread.java:5103) > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > java.lang.reflect.Method.invokeNative(Native Method) > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > java.lang.reflect.Method.invoke(Method.java:525) > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737) > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > dalvik.system.NativeStart.main(Native Method) > 07-30 10:58:42.650: E/AndroidRuntime(11149): Caused by: > java.lang.NullPointerException > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > org.apache.cordova.FileHelper.getRealPath(FileHelper.java:81) > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > org.apache.cordova.Capture.createMediaFile(Capture.java:351) > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > org.apache.cordova.Capture.onActivityResult(Capture.java:308) > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > org.apache.cordova.DroidGap.onActivityResult(DroidGap.java:864) > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > android.app.Activity.dispatchActivityResult(Activity.java:5322) > 07-30 10:58:42.650: E/AndroidRuntime(11149): at > android.app.ActivityThread.deliverResults(ActivityThread.java:3363) > 07-30 10:58:42.650: E/AndroidRuntime(11149): ... 11 more -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4471) navigator.device.capture. captureVideo() Not working on android 4.3
Arjun T Raj created CB-4471: --- Summary: navigator.device.capture. captureVideo() Not working on android 4.3 Key: CB-4471 URL: https://issues.apache.org/jira/browse/CB-4471 Project: Apache Cordova Issue Type: Bug Components: Android, CordovaJS, Plugin Camera, Plugin Media Capture Affects Versions: 2.8.0 Environment: android 4.3 (nexus 4), cordova 2.8 Reporter: Arjun T Raj Assignee: Joe Bowser While calling navigator.device.capture. captureVideo() on my nexus 4 android 4.3 app was crashing , same app works on all other phones , and android version except 4.3 check this https://groups.google.com/forum/#!topic/phonegap/flfkszbBJUo LOG 07-30 10:58:42.640: D/DroidGap(11149): Incoming Result 07-30 10:58:42.640: D/DroidGap(11149): Request code = 2 07-30 10:58:42.640: D/DroidGap(11149): We have a callback to send this result to 07-30 10:58:42.640: D/AndroidRuntime(11149): Shutting down VM 07-30 10:58:42.640: W/dalvikvm(11149): threadid=1: thread exiting with uncaught exception (group=0x41542700) 07-30 10:58:42.650: E/AndroidRuntime(11149): FATAL EXCEPTION: main 07-30 10:58:42.650: E/AndroidRuntime(11149): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2, result=-1, data=Intent { }} to activity { com.mypjct.MainActivit/com.mypjct.MainActivity}: java.lang.NullPointerException 07-30 10:58:42.650: E/AndroidRuntime(11149): at android.app.ActivityThread.deliverResults(ActivityThread.java:3367) 07-30 10:58:42.650: E/AndroidRuntime(11149): at android.app.ActivityThread.handleSendResult(ActivityThread.java:3410) 07-30 10:58:42.650: E/AndroidRuntime(11149): at android.app.ActivityThread.access$1100(ActivityThread.java:141) 07-30 10:58:42.650: E/AndroidRuntime(11149): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1304) 07-30 10:58:42.650: E/AndroidRuntime(11149): at android.os.Handler.dispatchMessage(Handler.java:99) 07-30 10:58:42.650: E/AndroidRuntime(11149): at android.os.Looper.loop(Looper.java:137) 07-30 10:58:42.650: E/AndroidRuntime(11149): at android.app.ActivityThread.main(ActivityThread.java:5103) 07-30 10:58:42.650: E/AndroidRuntime(11149): at java.lang.reflect.Method.invokeNative(Native Method) 07-30 10:58:42.650: E/AndroidRuntime(11149): at java.lang.reflect.Method.invoke(Method.java:525) 07-30 10:58:42.650: E/AndroidRuntime(11149): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737) 07-30 10:58:42.650: E/AndroidRuntime(11149): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) 07-30 10:58:42.650: E/AndroidRuntime(11149): at dalvik.system.NativeStart.main(Native Method) 07-30 10:58:42.650: E/AndroidRuntime(11149): Caused by: java.lang.NullPointerException 07-30 10:58:42.650: E/AndroidRuntime(11149): at org.apache.cordova.FileHelper.getRealPath(FileHelper.java:81) 07-30 10:58:42.650: E/AndroidRuntime(11149): at org.apache.cordova.Capture.createMediaFile(Capture.java:351) 07-30 10:58:42.650: E/AndroidRuntime(11149): at org.apache.cordova.Capture.onActivityResult(Capture.java:308) 07-30 10:58:42.650: E/AndroidRuntime(11149): at org.apache.cordova.DroidGap.onActivityResult(DroidGap.java:864) 07-30 10:58:42.650: E/AndroidRuntime(11149): at android.app.Activity.dispatchActivityResult(Activity.java:5322) 07-30 10:58:42.650: E/AndroidRuntime(11149): at android.app.ActivityThread.deliverResults(ActivityThread.java:3363) 07-30 10:58:42.650: E/AndroidRuntime(11149): ... 11 more -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira