I have a problem with I open a new Activity. The app close and does not show any error to the user. I put the code of the activity where I do the call, the activity that should receive the call, the manifest and the log. I debugg the application and the debug does not get to go to the other activity.
//Here I do the call to other activity
@Override
protected void onPostExecute(String unused) {
if (pDialog != null) {
Intent i = new Intent(context, RedesActivity.class);
i.putExtra("redes", redes);
i.putExtra("token", token);
i.putExtra("iDUsuario", idUsuario);
i.putExtra("nombreUsuario", usuario);
startActivity(i);
pDialog.dismiss();
finish();
}
}
//The activity that receive the call (RedesActivity)
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// Quitamos el encabezado de la app
requestWindowFeature(Window.FEATURE_NO_TITLE);
.....
The manifiest
<activity
android:name="com.xxxxxx.MainActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.xxxxxxxx.RedesActivity"
android:label="@string/title_activity_redes"
android:configChanges="orientation|keyboardHidden|screenSize">
</activity>
If I run the app, the application exit and does not show error, but if I degug I can see
08-14 11:23:07.145: E/SurfaceTextureClient(22338): ISurfaceTexture::setBufferCount(0) returned No such device
08-14 11:23:07.940: I/Choreographer(22338): Skipped 485 frames! The application may be doing too much work on its main thread.
08-14 11:23:08.095: E/MaliEGL(22338): void __egl_platform_dequeue_buffer(egl_surface*):1099 [EGL-ERROR] failed to dequeue buffer from native window (0x40de0ad8); err = -19, buf = 0x0
08-14 11:23:08.100: E/SurfaceTextureClient(22338): ISurfaceTexture::setBufferCount(0) returned No such device
Can anyone help? Thanks