You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2013/06/03 23:18:20 UTC

[jira] [Commented] (CB-3508) device-motion-camera

    [ https://issues.apache.org/jira/browse/CB-3508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673587#comment-13673587 ] 

Joe Bowser commented on CB-3508:
--------------------------------

ExifHelper is in the latest master version. (org.apache.cordova.ExifHelper)
Base64 is used by commons-codec, but will soon be the Android version.
DirectoryManager.getTempDirectoryPath needs to be made public, I'll ask why this is protected.
                
> device-motion-camera
> --------------------
>
>                 Key: CB-3508
>                 URL: https://issues.apache.org/jira/browse/CB-3508
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, iOS, Plugin Camera
>            Reporter: Steve Gill
>            Assignee: Joe Bowser
>             Fix For: 3.0.0
>
>
> This is all to do with 3.0.0 branch stuff and Plugin breakout
> ios
> Create a cordova project. Run, device ready fire. Instal the plugin and device ready won't fire.
> Something wrong with how it installs or handles dependencies. I believe it has to do with the javascript. More investigating required.
> Android
> Lots of build issues post installation (below). Need to fix imports and look at dependencies.
> After these issues are sorted, android could have same issue as ios
> -compile:
> [javac] Compiling 4 source files to /Users/stevengill/Documents/repo/plugins/plugin-breakout-release-test-harness/cameraandroid/bin/classes
> [javac] /Users/stevengill/Documents/repo/plugins/plugin-breakout-release-test-harness/cameraandroid/src/org/apache/cordova/core/CameraLauncher.java:29: package org.apache.commons.codec.binary does not exist
> [javac] import org.apache.commons.codec.binary.Base64;
> [javac] ^
> [javac] /Users/stevengill/Documents/repo/plugins/plugin-breakout-release-test-harness/cameraandroid/src/org/apache/cordova/core/CameraLauncher.java:522: cannot find symbol
> [javac] symbol : class ExifHelper
> [javac] location: class org.apache.cordova.core.CameraLauncher
> [javac] private Bitmap getRotatedBitmap(int rotate, Bitmap bitmap, ExifHelper exif) {
> [javac] ^
> [javac] /Users/stevengill/Documents/repo/plugins/plugin-breakout-release-test-harness/cameraandroid/src/org/apache/cordova/core/CameraLauncher.java:216: getTempDirectoryPath(android.content.Context) has protected access in org.apache.cordova.DirectoryManager
> [javac] photo = new File(DirectoryManager.getTempDirectoryPath(this.cordova.getActivity()), ".Pic.jpg");
> [javac] ^
> [javac] /Users/stevengill/Documents/repo/plugins/plugin-breakout-release-test-harness/cameraandroid/src/org/apache/cordova/core/CameraLauncher.java:218: getTempDirectoryPath(android.content.Context) has protected access in org.apache.cordova.DirectoryManager
> [javac] photo = new File(DirectoryManager.getTempDirectoryPath(this.cordova.getActivity()), ".Pic.png");
> [javac] ^
> [javac] /Users/stevengill/Documents/repo/plugins/plugin-breakout-release-test-harness/cameraandroid/src/org/apache/cordova/core/CameraLauncher.java:279: cannot find symbol
> [javac] symbol : class ExifHelper
> [javac] location: class org.apache.cordova.core.CameraLauncher
> [javac] ExifHelper exif = new ExifHelper();
> [javac] ^
> [javac] /Users/stevengill/Documents/repo/plugins/plugin-breakout-release-test-harness/cameraandroid/src/org/apache/cordova/core/CameraLauncher.java:279: cannot find symbol
> [javac] symbol : class ExifHelper
> [javac] location: class org.apache.cordova.core.CameraLauncher
> [javac] ExifHelper exif = new ExifHelper();
> [javac] ^
> [javac] /Users/stevengill/Documents/repo/plugins/plugin-breakout-release-test-harness/cameraandroid/src/org/apache/cordova/core/CameraLauncher.java:282: getTempDirectoryPath(android.content.Context) has protected access in org.apache.cordova.DirectoryManager
> [javac] exif.createInFile(DirectoryManager.getTempDirectoryPath(this.cordova.getActivity()) + "/.Pic.jpg");
> [javac] ^
> [javac] /Users/stevengill/Documents/repo/plugins/plugin-breakout-release-test-harness/cameraandroid/src/org/apache/cordova/core/CameraLauncher.java:325: getTempDirectoryPath(android.content.Context) has protected access in org.apache.cordova.DirectoryManager
> [javac] uri = Uri.fromFile(new File(DirectoryManager.getTempDirectoryPath(this.cordova.getActivity()), System.currentTimeMillis() + ".jpg"));
> [javac] ^
> [javac] /Users/stevengill/Documents/repo/plugins/plugin-breakout-release-test-harness/cameraandroid/src/org/apache/cordova/core/CameraLauncher.java:447: getTempDirectoryPath(android.content.Context) has protected access in org.apache.cordova.DirectoryManager
> [javac] String resizePath = DirectoryManager.getTempDirectoryPath(this.cordova.getActivity()) + "/resize.jpg";
> [javac] ^
> [javac] /Users/stevengill/Documents/repo/plugins/plugin-breakout-release-test-harness/cameraandroid/src/org/apache/cordova/core/CameraLauncher.java:451: cannot find symbol
> [javac] symbol : class ExifHelper
> [javac] location: class org.apache.cordova.core.CameraLauncher
> [javac] ExifHelper exif = new ExifHelper();
> [javac] ^
> [javac] /Users/stevengill/Documents/repo/plugins/plugin-breakout-release-test-harness/cameraandroid/src/org/apache/cordova/core/CameraLauncher.java:451: cannot find symbol
> [javac] symbol : class ExifHelper
> [javac] location: class org.apache.cordova.core.CameraLauncher
> [javac] ExifHelper exif = new ExifHelper();
> [javac] ^
> [javac] /Users/stevengill/Documents/repo/plugins/plugin-breakout-release-test-harness/cameraandroid/src/org/apache/cordova/core/CameraLauncher.java:783: cannot find symbol
> [javac] symbol : variable Base64
> [javac] location: class org.apache.cordova.core.CameraLauncher
> [javac] byte[] output = Base64.encodeBase64(code);
> [javac] ^
> [javac] 12 errors

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