ok, I"ve been searching around and I think I get a little bit of it -
Intent(Intent.ACTION_EDIT,Uri.parse("record")); sends an intent out
and the soundrecorder picks it up - as far as I can tell there's no
explicit call to soundrecorder, but it is the only item in teh system
with an intent listener for ACTION_EDIT and the "record" URI - still
not positive on the details though so any help is appreciated, thanks.

On Dec 6, 11:45 am, j p <[email protected]> wrote:
> ringdroid uses this code in it's record button, can anyone explain
> what this is doing, I don't see where the soundrecorder is called
> explicitly
>
> private void onRecord() {
> try {
> Intent intent = new Intent(Intent.ACTION_EDIT, Uri.parse
> ("record"));
> intent.putExtra("was_get_content_intent",
> mWasGetContentIntent);
> intent.setClassName
> ("com.ringdroid","com.ringdroid.RingdroidEditActivity");
> startActivityForResult(intent, REQUEST_CODE_EDIT);}
>
> catch (Exception e) {
> Log.e("Ringdroid", "Couldn't start editor");}
> }

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en

Reply via email to