What is so difficult in error message and *relevant* code? Debug your app, post the LogCat or DDMS with the code that gives the error. I am not going through all of the code.
On Wed, Sep 7, 2011 at 5:29 PM, Amit Mangal <forum.amit.man...@gmail.com>wrote: > I get Force close error. > > > I have attached camera xml and source file for camera opening and taking > pic. > > problem only comes when i rotate mobile if camera open. > > > thanks > > On Wed, Sep 7, 2011 at 4:39 AM, Appaholics <raghavs...@appaholics.in>wrote: > >> Could you post the error message and the relevant code? >> >> On Wed, Sep 7, 2011 at 5:02 PM, Amit Mangal >> <forum.amit.man...@gmail.com>wrote: >> >>> Hi Everyone, >>> >>> I am implement one application in which i am opening camera and taking >>> pic. everything working fine in that app i have only one problem. >>> >>> if the camera is open and i rotate device from portrait to landscape or >>> viceversa my application get crashed. >>> >>> any body knows the reason of this ? >>> >>> >>> thanks >>> >>> -- >>> 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+unsubscr...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/android-developers?hl=en >> >> >> >> >> -- >> ------------------ >> Raghav Sood >> CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles >> required to have complete control) >> http://www.raghavsood.com/ >> https://market.android.com/developer?pub=Appaholics >> http://www.appaholics.in/ >> >> -- >> 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+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- ------------------ Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en