[android-developers] Set Ringtone

2012-05-17 Thread baturanija1
Hey people, i have problem.Code below is to set ringtone in my app.It is copying song from app to SDC and call function to set ringtone.There is no error in code and its coping good song but not setting ringtone :( .Please see if there is something wrong and comment.. Thanks

Re: [android-developers] Set Ringtone

2012-04-26 Thread jadranko bodiroga
Thanks people,i succes in setting ringtone... thanks for sharing ideas On Apr 24, 2012 8:07 PM, Justin Anderson magouyaw...@gmail.com wrote: You may also want to use the assets folder: https://www.google.com/search?btnG=1pws=0q=android+move+file+from+assets+to+phone Thanks, Justin Anderson

Re: [android-developers] Set Ringtone

2012-04-24 Thread jadranko bodiroga
Tried solutins and ideas in a link you sent...in the both solutios thay are placing song on card and read it from it.but i whant to set ringtone from song that i inport in my activity in R.drawable.song...that solution i whant...did you try make app to set ringtone? On Apr 23, 2012 9:34 PM,

Re: [android-developers] Set Ringtone

2012-04-24 Thread Kristopher Micinski
So take your file, put it somewhere in storage, and then set the URI appropriately. Kris On Tue, Apr 24, 2012 at 10:40 AM, jadranko bodiroga jadrankobodiroga1...@gmail.com wrote: Tried solutins and ideas in a link you sent...in the both solutios thay are placing song on card and read it from

Re: [android-developers] Set Ringtone

2012-04-24 Thread jadranko bodiroga
But if i whant to send my app to friend ,i have to copy him that song too on specific location,is it? Than i can not share my app to others,becouse app will not find song...that is a reason i whant to import song into my activity... On Apr 24, 2012 5:10 PM, Kristopher Micinski

Re: [android-developers] Set Ringtone

2012-04-24 Thread Kristopher Micinski
What are you even talking about...? You can take the file out of shared resources and store it in storage, distributing the app with the file in resources.. Kris On Tue, Apr 24, 2012 at 11:48 AM, jadranko bodiroga jadrankobodiroga1...@gmail.com wrote: But if i whant to send my app to friend ,i

Re: [android-developers] Set Ringtone

2012-04-24 Thread jadranko bodiroga
How to do that...give me some example... On Apr 24, 2012 6:18 PM, Kristopher Micinski krismicin...@gmail.com wrote: What are you even talking about...? You can take the file out of shared resources and store it in storage, distributing the app with the file in resources.. Kris On Tue,

Re: [android-developers] Set Ringtone

2012-04-24 Thread Kristopher Micinski
Did you try googling access file from resources android? This comes up: http://stackoverflow.com/questions/4081763/access-resource-files-in-android kris On Tue, Apr 24, 2012 at 1:34 PM, jadranko bodiroga jadrankobodiroga1...@gmail.com wrote: How to do that...give me some example... On Apr

Re: [android-developers] Set Ringtone

2012-04-24 Thread jadranko bodiroga
THANKS MAN..I WILL TRY THAT TO IMPORT TO MY APP..if i manage i will share code... On Apr 24, 2012 7:53 PM, Kristopher Micinski krismicin...@gmail.com wrote: Did you try googling access file from resources android? This comes up:

Re: [android-developers] Set Ringtone

2012-04-24 Thread Justin Anderson
You may also want to use the assets folder: https://www.google.com/search?btnG=1pws=0q=android+move+file+from+assets+to+phone Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Apr 24, 2012 at 11:56 AM, jadranko bodiroga

[android-developers] Set Ringtone

2012-04-23 Thread baturanija1
Hey people, is there any chanse to set ringtone that i implement in my activity.This song is not placed on SD ,so is it possible? send me some solutions or link if you have ..Thanks people and thans for sharing -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Set Ringtone

2012-04-23 Thread Kristopher Micinski
Try googling set ringtone android? http://stackoverflow.com/questions/1271777/how-to-set-ringtone-in-android-from-my-activity Kris On Mon, Apr 23, 2012 at 9:24 AM, baturanija1 jadrankobodiroga1...@gmail.com wrote: Hey people, is there any chanse to set ringtone that i implement in my

Re: [android-developers] Set Ringtone

2012-04-23 Thread jadranko bodiroga
sorry..still did not solve my problem.any other suggestions where to start... -- 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

Re: [android-developers] Set Ringtone

2012-04-23 Thread Kristopher Micinski
How did it not solve your problem? What did you try? Kris On Mon, Apr 23, 2012 at 3:13 PM, jadranko bodiroga jadrankobodiroga1...@gmail.com wrote: sorry..still did not solve my problem.any other suggestions where to start... -- You received this message because you are subscribed to the

[android-developers] Set ringtone from raw resource?

2009-11-15 Thread Bryan Vincent
So I'm having a hard time setting a ringtone from a raw resource. My code is below. Any help would be much appreciated. RingtoneManager.setActualDefaultRingtoneUri(getApplicationContext(), RingtoneManager.TYPE_NOTIFICATION, Uri.parse(android.resource:// net.thebosskey.gijoepsasoundboard/ +

[android-developers] Set Ringtone

2009-06-04 Thread Nirav
How to set ringtone by using filename inplace of using its ID number. I don't want to use. Uri newUri=Uri.parse(content://media/external/audio/media/+ (String.valueOf(position+1))); Settings.System.putString(this.getContentResolver(), Settings.System.RINGTONE, newUri.toString()); Inplace of