[android-beginners] Re: someone plz help me .. how to call built in camera app from my custom app ??

2009-10-08 Thread wahib haq
i got it right. I used this method and camera app executes. Intent intent = new Intent(); intent.setClassName(packageName, className); really thankful to u justin. Now next hurdle is that i want to run my decode function on the snap taken but after taking snap it remains in the camera app. so ca

[android-beginners] Re: someone plz help me .. how to call built in camera app from my custom app ??

2009-10-08 Thread wahib haq
Dear Justin !! Thanks again as always. I understand your point. I'll try my best to work it out myself in future. I hope this time it works out. On 10/8/09, RichardC wrote: > > In the SDK samples have a look at > android-sdk-windows-1.6_r1\platforms\android-1.5\samples\ApiDemos\src > \com\examp

[android-beginners] Re: someone plz help me .. how to call built in camera app from my custom app ??

2009-10-08 Thread RichardC
In the SDK samples have a look at android-sdk-windows-1.6_r1\platforms\android-1.5\samples\ApiDemos\src \com\example\android\apis\graphics\CameraPreview.java On Oct 8, 10:43 am, wahib wrote: > Hi !! I have a straightforward question. I just want to call and > execute the built-in camera app i cl

[android-beginners] Re: someone plz help me .. how to call built in camera app from my custom app ??

2009-10-08 Thread Justin Anderson
Do some debugging work... The PackageManager can give you a list of all applications on your phone. Step through them and find the Camera application and note the package name of the camera application. Assuming you have done that, you can do something similar to the following (obviously putting