Haven't read carefully all the responses but just a quick note:

It's not a good idea to declare the request code as a local variable, I
usually declare them as constants because you'll need it in the
onActivityResult method :)

2011/5/20 Kostya Vasilyev <kmans...@gmail.com>

>  20.05.2011 18:51, kypriakos пишет:
>
>  > Oh, and I see that the intent you're trying to start is for a service. 
> Using> startActivity (for result or not) with a service intent just doesn't 
> make> sense.
>
>  Where do you see that? The intent I am starting is an Activity class.
> Can you explain please?
>
>
> > Intent intent = new Intent();
> > intent.setClass(androidContext, mysnapPic2ServiceImpl.class);
>
> You class is named ...Pic2*Service*Impl, so I assumed it was a Service. If
> it's an Activity, well, so it is - you know your code, whereas I could only
> guess from the class name :)
>
> --
> Kostya Vasilyev -- http://kmansoft.wordpress.com
>
>  --
> 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

Reply via email to