• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

activity change problem

Hi!

I'm developing an android app. This app have got 3 activity. On the first activity i have two button. the first button is navigate the user the second activity, and the second activity navigate to the third activity.
the second button on the first activity is use the phone camera, and i would like to navigate to the third activity, but my app dont do this.
If i click on the second button on first activity the app show me the third activity, and after the third activity show me the camera.

I use this code to change activitys:
[HIGH]Intent kapcsolat = new Intent(v.getContext(), SECONDACTIVITY.class);
startActivity(kapcsolat);[/HIGH]

and i use this code to use the phone camera:
[HIGH]Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);

fileuri = getOutputMediaFileUri(KEP);
intent.putExtra(MediaStore.EXTRA_OUTPUT, fileuri);
startActivityForResult(intent, kamera_kep);[/HIGH]

Could you help me in my problem?
Now my app work as this:
First activity -> second button -> Third Activity -> Camera activity

But i would like to work as this:
First activity -> second button ->Camera activity -> Third Activity
 
Back
Top Bottom