Questa community è dedicata esclusivamente allo sviluppo di applicazioni per Android.Se state cercando una guida su come rootare il vostro telefono,o su come installare l'ultima Cyanogen, avete sbagliato sito
private File imageFile; private void takePhoto() { Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); // Set up file to save image into. imageFile = new File(nomeImmagine); Uri uri = Uri.fromFile(imageFile); intent.putExtra(MediaStore.EXTRA_OUTPUT, uri); intent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 1); // And away we go! startActivityForResult(intent, CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE); } protected void onActivityResult(int requestCode, int resultCode,Intent data) { if (requestCode == CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE) { if (resultCode == RESULT_OK) { //faccio qualcosa } }
10-07 13:06:16.596: ERROR/AndroidRuntime(344): FATAL EXCEPTION: GLThread 1110-07 13:06:16.596: ERROR/AndroidRuntime(344): java.lang.IllegalArgumentException: No configs match configSpec10-07 13:06:16.596: ERROR/AndroidRuntime(344): at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:760)10-07 13:06:16.596: ERROR/AndroidRuntime(344): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:916)10-07 13:06:16.596: ERROR/AndroidRuntime(344): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1246)10-07 13:06:16.596: ERROR/AndroidRuntime(344): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)
Ho tolto entrambi i parametri ma l'errore è sempre lo stesso
Allora, sul mio liquid funziona perfettamente, mentre sul Galaxy S di un'altra persona non ne vuoloe sapere di funzionare