android - CWAC Camera crash on NPE on Motorola Device -


I'm also having trouble opening the CameraDamO-V9 application (using version 0.6 of the library). The hardware I am testing is a Motorola DDR Razor MXx HD. It is currently the only physical device that I have access to, but the library works on this phone when this version was around 0.4.2. I am getting into the logbook:

  02-17 16: 38: 17.889: E / Android time (4382): Reasons for this: java.lang.NullPointerException 02-17 16: 38: 17.889: E / AndroidRuntime (4382): com.commonsware.cwac.camera.CameraView.setHost (CameraView.java:87) 02-17 16: 38: 17.889: E / Android Time (4382): com.commonsware.cwac Camera.acl.CameraFragment.onCreateView (CameraFragment.java:40) 02-17 16: 38: 17.889: E / Android TimeTime (4382): Android. Support.v4.app.Fragment.performCreateView (piece Java1500) 02 -17 16: 38: 17.889: E / Android Random (4382): Android. Support.v4.app.FragmentManagerImpl.moveToState (FragmentManager.Java: 9 27) 02-17 16: 38: 17.889: E / Android TimeTime (4382): Android Support.v4.app.FragmentManagerImpl.moveToState (FragmentManager.java:1104) 02-17 16: 38: 17.889: E / Android Time (4382): Android. At Support.v4.app.BackStackRecord.run (Backstack Records. Java: 682) 02-17 16: 38: 17.889: E / Android Random (4382): Android. Ctions on Support.v4.app.FragmentManagerImpl.execPendingA (FragmentManager.java1467) 02-17 16: 38: 17.889: E / Android Time (4382): Android. Support.v4.app.FragmentActivity.onStart (Fragment ActivityJevaT 7070) 02-17 16:38: 17.889: E / Android Rendime (4382): Android. App Instrumentation.ColactivityOnStart (InstructionsJava1163) 02-17 16: 38: 17.889: E / Android Time (4382): Android.AP.activ.startstart (activity .java: 5068) 02-17 16: 38: 17.889: E / Android Rendime (4382): Android. App ActivateTrade.Perform Launching Activity (ActivityTrad.Java 2073)  

On this method that looks:

if (host.getDeviceProfile (.) UseTextureView () ) {

of this method:

  Public Zero set host (camerahost host) {this.host = host; If (host.getDeviceProfile (). UseTextureView ()) {previewStrategy = New Texture Display Content (this); } Other {previewStrategy = New Page Preview Preview (this); }}  

I think it may be a problem that I am now setting up the library because I am not importing any jars, I just downloaded the zip , And I am importing two library projects, can someone confirm that my resident is "legal"? I had only one idea that was checking past issues, but it seems that it was already resolved because of the latest version (6.0) release. Perhaps this is because they are both Motorola devices, but maybe this is a false impression?

Note: Before viewing anything on the screen, I crash any preview or nothing.

This is a bug, because I do not have enough Motorola equipment in my portfolio and My new getDefaultProfile () missed a defect in the implementation. Track for a 0.6.1 release and watch it soon. My apologies for the trouble, and thanks for telling me!


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -