Sunday, July 31, 2011

[android-developers] Re: Multiple Intents

Hi,

My problem is the same as mentioned here:
http://stackoverflow.com/questions/4872986/android-intent-mediastore-action-video-capture-with-extra-output-crashes-on-play/6881561

The video is recorded and is saved into the sdcard but the app
crashes.Because by default after recording is stopped, it goes to the
replay activity to view the recorded video (This is where the crash
occurs).

Is there any way to prevent by app from starting the replay activity,
once the recording stops?

Thanks In Advance,
Perumal

On Aug 1, 1:14 am, TreKing <treking...@gmail.com> wrote:
> On Sun, Jul 31, 2011 at 6:20 AM, perumal316 <perumal...@gmail.com> wrote:
> > Any idea how can i resolve this issue?
>
> 1 - Don't hard code SD card paths like that - use
> Evironment.getExternalStorageDirectory().
> 2 - Debug your app to figure out why your app is crashing.
>
> ---------------------------------------------------------------------------­----------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment