Hi, Megha. It's weird. I did include error log but it is not in my
post. (does google filter off Android error log:-)

Right now, it looks fine after i reboot the emulator. There is no more
error log. My photo is shown in photo picker now.

Thanku for the help. Have a nice weekend!!

On Sep 12, 3:42 pm, " Joshi" <[EMAIL PROTECTED]> wrote:
> 2008/9/12 Nickname <[EMAIL PROTECTED]>
>
>
>
> > More thanks, Megha.
>
> > One more problem: when i try to push a photo file from my XP directory
> > to /sdcard directory where taken photos seem have been stored, the
> > following errors show up. Could you please take time to elaborate them
> > and instruct me how to fix it, because i need to add a few "non-
> > factory" photos there so that i can take some screen shots of my
> > application to convice potential investors ^_^
>
> Please include the steps /commands you used and the  errorlog.
>
>
>
> > On Sep 12, 12:05 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> > > 2008/9/12 Nickname <[EMAIL PROTECTED]>
>
> > > > Thanku, Megha!
>
> > > > One more question: does that mean camera cannot work without sdcard
> > > > installed?
>
> > > Yes, you cannot use camera to capture pictures without installing sdcard.
>
> > > > 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