ICEmobile
  1. ICEmobile
  2. MOBI-770

BB10 camcorder fails since OS10 upgrade

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3 Beta
    • Fix Version/s: None
    • Component/s: Containers
    • Labels:
      None
    • Environment:
      Android Container in BB10 runtime, BB OS 10.1.0.203

      Description

      After the BB10 upgrade, the video system is different. Originally, when launching the Camcorder, the UI was the full camera UI with flash, zoom, and capture controls. Now it is a simple screen that you touch to start recording. Further, the VideoHandler callback is throwing an exception after the video is captured:

      06-05 10:32:11.610: E/AndroidRuntime(54108376): Caused by: java.lang.NullPointerException
      06-05 10:32:11.610: E/AndroidRuntime(54108376): at org.icemobile.client.android.video.VideoHandler.gotVideo(VideoHandler.java:114)
      06-05 10:32:11.610: E/AndroidRuntime(54108376): at org.icemobile.client.android.ICEmobileContainer.onActivityResult(ICEmobileContainer.java:309)
      06-05 10:32:11.610: E/AndroidRuntime(54108376): at android.app.Activity.dispatchActivityResult(Activity.java:3948)
      06-05 10:32:11.610: E/AndroidRuntime(54108376): at android.app.ActivityThread.deliverResults(ActivityThread.java:2532)

      I fixed a problem earlier in the same area when the camera system couldn't deliver a bitmap thumbnail for a video clip when the video was taken in portrait mode. The code is here.

      //Need to move file as MediaStore.Video.EXTRA_OUTPUT does not work;
      Uri uri = data.getData();
      String[] projection = { MediaStore.Video.Media.DATA, MediaStore.Video.Media.SIZE };
      Cursor cursor = container.managedQuery(uri, projection, null, null, null);
      114) int column_index_data = cursor.getColumnIndexOrThrow(MediaStore.Video.Media.DATA);
      int column_index_size = cursor.getColumnIndexOrThrow(MediaStore.Video.Media.SIZE);
      cursor.moveToFirst();

      So the cursor returned by the container query is null. Perhaps the new video system stores the clip in a different location.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Greg Dick
            Reporter:
            Greg Dick
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: