Thanku, Megha!

One more question: does that mean camera cannot work without sdcard
installed?


On Sep 11, 10:23 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> 2008/9/11 Nickname <[EMAIL PROTECTED]>
>
>
>
> > *** HELP ***
>
> > I followed Cheryl Sedota's sample code to reuse photo picker activity.
> > The activity showed up, but... there is no photos to verify it.
>
> > Can anyone please teach me WHERE and HOW to MAUNUALLY add photos to
> > Android repository so that Android photo pick activity can pick??
>
> One of the ways to test this manually..is to launch the emulator with
> sdcard. Then launch the  camera app, hit the center dpad button to take a
> picture.
> Then you will see this picture in the photo picker.
>
>
>
> > Thanks! Thanks!!!
>
> > On Sep 10, 2:41 pm, Nickname <[EMAIL PROTECTED]> wrote:
> > > It seems I have missed this stuff, which is what i desperately need!
>
> > > Where can I find the documentation on this photo picker activity?
>
> > > Thanks for any information!!
>
> > > On Aug 29, 12:49 pm, Cheryl Sedota <[EMAIL PROTECTED]> wrote:
>
> > > > Hi, I have some code that attempts to invoke thephotopickeractivity
> > > > for result.  I can successfully launch thephotopickeractivity, but
> > > > my activity does not receive a result at all (onActivityResult() is
> > > > never called).  Can anyone help?  Thanks!!! - Cheryl
>
> > > >     @Override
> > > >     public void onCreate(Bundle savedInstanceState)
> > > >     {
> > > >         super.onCreate(savedInstanceState);
> > > >         setContentView(R.layout.main);
>
> > > >         Button button = (Button) findViewById(R.id.pick_button);
> > > >         button.setOnClickListener(new View.OnClickListener()
> > > >         {
>
> > > >             @Override
> > > >             public void onClick(View view)
> > > >             {
> > > >                 Log.i(TAG, "Trying to start thephotopicker
> > > > activity");
>
> > > >                 Intent photoPickerIntent = new
> > > > Intent(Intent.ACTION_PICK);
> > > >                 // Intent photoPickerIntent = new
> > > >                 // Intent(Intent.ACTION_GET_CONTENT);
> > > >                 photoPickerIntent.setType("image/*");
> > > >                 startActivityForResult(photoPickerIntent, 1);
>
> > > >             }
> > > >         });
> > > >      }
>
> > > >     @Override
> > > >     protected void onActivityResult(int i, int j, Intent intent)
> > > >     {
> > > >         super.onActivityResult(i, j, intent);
>
> > > >         // TODO: figure out why this method never gets invoked
> > > >         Log.i(TAG, "Got the result: " + intent.getDataString());
> > > >     }
>
>

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to