Yes that's the only way I know how to do it. I'll try to contact them and hear what they have to say about it. Thank you
On Dec 4, 3:20 pm, Mark Murphy <[email protected]> wrote: > On Sun, Dec 4, 2011 at 10:10 AM, Pedro Teixeira > > <[email protected]> wrote: > > I'm almost sure the problem is as you mentioned that thecamerais > > already in use. > > > I'm going from an activity that uses thecamera(wikitude applicaiton) > > to an activity that still uses thecamera(my own). > > > I'm not sure what are my options here: > > Am I able to continue without releasing thecameraor do I have to > > release thecameraand then start again? > > Unless you want problems (technical or user), activities should > release theCamerain onPause(), or at the very latest onStop(). If > Wikitude is not doing this, and Wikitude is starting your activity, > then you need to talk to the authors of Wikitude. > > > Another issue that I'm having is that I can't seem to find any code on > > wikitude demonstration example that starts thecameraso I'm not even > > sure how to stop it. > > Presumably, they have a support board or email address or something. > > > Is there any general or standard mode of doing this? I mean.. release > > thecameraindependently from which activity I'm on at the moment? > > You can only release cameras that you open. If you open in (onStart() > or onResume()), you release it (onPause() or onStop()). > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android Training...At Your Office:http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

