Letting user save as ringtone or Notification... Please help

by SteelJ0ker » Mon, 08 Feb 2010 09:30:33 GMT

Sponsored Links
 I've got a soundboard application created, but i want to allow the
users to be able to long press on one of the sounds and they can
select to save the tone as a ringtone or notification.
I've tried finding good solid examples i could learn from but i just
can't seem to figure it out....

any help would be appreciated. Thank you..


Other Threads

1. Android 1.5 in Eclipse - source JAR problem not solved by usual solution

I recently took a new position and I've been handed a project their
former developer started.  I've been picking through his code, trying
to get things to display and weeding through all his commented-out
sections.  Once I got things displaying, I tried to debug through it
to see what, if anything, he had finished.

I immediately ran into an InvocationTargetException and the standard
text: The JAR of this class file belongs to container 'Android 1.5'
which does not allow modifications to source attachments on its
entries.  I Googled it, followed some instructions to make sure the
source was available and even after restarting Eclipse, opening and
closing the project and clean/rebuilding I'm still unable to view the

The source JAR is loaded into the project explorer and I can expand it
to show everything inside, but when I try to open any specific file I
get the same problem.  I'm at a bit of a loss.  Is there something the
previous developer may have done that could cause this problem?  Is
there a way around it?  Any shoves in the right direction appreciated.


2. Android Camera Picture Taking Problem

dear experts,

using following code to use camera to take photo and then display it
in imageview to another activity.

now problem i am facing is
this code behaves differently in different firmwares and phones

for example
1) it works fine on HTC hero with 2.1
2) it gives null pointer exception on Galaxy S with 2.1 (while getting
bm = (Bitmap)data.getExtras().get("data")
3) it opens camera in nexus one but after taking picture when i press
ok button camera is not closed and it does not return to my
4) same case with emulator after taking picture pressing ok button
does not return to activity result.

string  _path = Environment.getExternalStorageDirectory() + "/images/
Uri selectedImage;

    protected void startCameraActivity()

                File file = new File( _path );
                Uri outputFileUri = Uri.fromFile( file );

                Intent intent = new
Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE );
                intent.putExtra( MediaStore.EXTRA_OUTPUT,
outputFileUri );

                startActivityForResult( intent,0);


            protected void onActivityResult(int requestCode, int
resultCode, Intent data)

                switch( resultCode )
                    case 0:
                        Log.i( "MakeMachine", "User cancelled" );
                    case -1:
                        bm = (Bitmap)data.getExtras().get("data")

protected void onPhotoTaken()

                 Bitmap bitmap =bm;

Intent myIntent = new Intent(ActivityA.this, DisplayTakenPhoto.class);


what mistake am i doing in this?
any help would be appreciated


3. Always getting java.lang.VerifyError on 1.6 but fine on 2.1 and 2.2

4. Comment calculer les puissances sur Google ?

5. Possible Solution for ADB Device Off-line

6. Develop Android Community in Vietnam

7. Tracing service method calls?