Problem in moving the image from camera capture to other activity in android?

It's possible that you have not declared the second activity in your AndroidManifest.xml. All activities must be declared there in order to be accessible If you have done that, then I suggest trying to create the intent a different, less problematic way new Intent(this, com.resting.gis.View. Class) the first parameter is the context to use.

The second is the Activity class to be started. When it's inside of your app, this is by far the easiest and least error prone way to start an activity. I made the assumption that com.resting.gis.

View was the name of your second activity class developer.android.com/guide/topics/manif....

It's possible that you have not declared the second activity in your AndroidManifest.xml. All activities must be declared there in order to be accessible. If you have done that, then I suggest trying to create the intent a different, less problematic way.

New Intent(this, com.resting.gis.View. Class); the first parameter is the context to use. The second is the Activity class to be started.

When it's inside of your app, this is by far the easiest and least error prone way to start an activity. I made the assumption that com.resting.gis. View was the name of your second activity class.

developer.android.com/guide/topics/manif....

In your first attempt, it could be that the Camera app crashes when it reads your "output" extra, since it expects it to be a Uri, while you provide a String. The Camera app seems to read the extra flag after capturing the photo. You should just provide uri, and not uri.getPath().

Then, since you already know the URI to the photo, it will not be returned in the onResult call.

It's possible that you have not declared the second activity in your AndroidManifest.xml. All activities must be declared there in order to be accessible.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions