Set custom ringtone via app - Android Q&A, Help & Troubleshooting

I am developing my first app, a soundboard, and I would like to offer my users the ability to set those sounds as ringtones. If anyone knows how this is done or a tutorial, code example, I would appreciate it.
Thank you in advance.
Also I apologize if this question is not for the development section.

Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

Related

[Q] Froyo youtube crash

Hey guys, hope this is relevant to this section and someone can help me out as ive been searching and trying to fix this for hours.
Xperia x10
Rogers
Rooted
froyo youtube version 2.0.26
Ok so i uninstalled the stock youtube app and upgraded with the froyo youtube app (much nicer). the app works great except If i sign into my youtube account and close the program it automatically force closes as soon as i start it up the next time. To be able to use youtube at all again i have to uninstall and then re-install it.
HOWEVER... if before i close youtube i sign out of my account i can reopen it later with no problems.
Ive tried deleting the /data/data/ youtube files and clearing the youtube dalvik cache, however i may be doing it incorrectly.
Can anyone please help or make some recommendations.
Thanks
Instead on uninstalling it, you can just clear user data,
After that resign and it should work fine,
Btw, wrong section.
Sent from my X10i using Tapatalk
-PiLoT- said:
Forum Searching | Posting | The Basics: (Make sure you've read them before starting a new thread)
Forum Rules - http://forum.xda-developers.com/announcement.php?f=642
Forum Search - http://forum.xda-developers.com/search.php
Google Forum Search - http://forum.xda-developers.com/showthread.php?t=304582
Advanced Searching - http://wiki.xda-developers.com/index.php?pagename=How%20to%20use%20Advanced%20Search%20on%20XDA-Developers%20Forum
XDA "Mantra" - http://forum.xda-developers.com/showpost.php?p=2031989&postcount=45
Post What Where:
General - general technical discussion items, news, anything else that does not fit into the other fora categories.
Q&A (Questions and Answers) - all questions, irrespective of type, get posted in here whether they be theme related, accessory related, technical, etc.
Accessories - any items to do with components and/or accessories relating to your device.
Rom Development - only meant for very advanced technical discussion directly related to ROM development activity and the delivery of actual ROMs and ROM components ONLY. Nothing else goes in here.
Themes & Apps - anything to do directly with the development of themes and/or applications. Nothing else goes in here.
MOD EDIT: BEFORE POSTING ANY THREAD IN THE DEVELOPMENT SECTION, PLEASE READ THE FOLLOWING:
If you have developed a ROM, or are working with others to do so, the development forum is somewhere to discuss and share ideas, post useful feedback and logs or crash dumps, and to discuss a common goal developers are trying to achieve.
It is NOT the place to post your question because it gets higher traffic, or because more experienced users frequent it. Doing this just annoys those who are working on the device, and drives them away. Developers don't want to wade through 20 threads of "Help me urgently" to find their threads for porting and fixing camera issues etc. Similarly, if a thread is designated as discussion for developers say, porting a camera fix, please do not post in there asking "When will it be ready?", "Can I flash this yet?" etc. This is both completely disrespectful to those working on the project (you evidently haven't read the important posts in the thread), and also is making it harder for developers to find comments from other developers or testers when required.
Similarly, don't make loads of "Thanks for your work here" posts in an active development thread. It's just as annoying to developers as asking when something will be ready. If a ROM is complete, then go ahead and thank the developer if you wish, but don't go into threads for devs only, and interrupt it to post "thanks". It's basically spamming, and is treated as such.
If you are posting in development, you should have read every sticky and notice there, and should be actively developing or helping in the development of something. Developing isn't installing a ROM, or using a tweak, it's creating a ROM or other hack or tweak. If you haven't read for several days before starting out on XDA, you are likely about to ask something already solved. I registered on XDA when I first wanted to post, and that was to join in a discussion on something. Sure, join up and ask a question, but read the information available in General and Q&A first, as your question will have been asked before. Search is your friend here, become familiar with it.
Regarding when to post in development if you are not actually developing something, there is one occasion where it's acceptable. If you find a leak of a new ROM, which isn't already posted, and you verify it's legitimacy via either running it, or based on the source you obtained it from, then this is assisting in development, and should be posted in development. If you want to ask when a leak will be available use search first, then if not already in discussion, open a thread in general or Q&A.
If you have a problem flashing a ROM, this is NOT related to development. It's up to you to determine if it is specific to a particular ROM, and post useful information in that developer's existing thread for the ROM. If it happens on more than one ROM, and isn't a known issue (remember you should read several times more words than you post), then find out what you are doing wrong. Check guides written by others, try to repeat the problem and see if it happens every time. Something needs to be reproducible to be fixed effectively.
Once you have identified what you need help with go to the device Q&A forum (general if device lacks one), and make a clear, informative thread that explains the issue, and what you have tried doing to fix it. Did you re-download the ROM? Did you ask a friend to flash it for you, to reduce chance of user error? What steps (exactly) did you follow? What errors did you see (exact wording)? Did you double check all the steps? Did you do a wipe or hard reset?
If you make a clear, concise, yet detailed post, you will find help forthcoming, and should get the problem sorted very quickly. If someone suggests you try something, report back on what happened, did it work etc. Then, next time someone has this issue and searches, they will find this and have a verified and tested solution.
So remember... before you start a thread in development, ask yourself what you are developing. If you can't answer, then stop, step away from the post button, and think about where you are posting. Would it be better in General or Q&A, or is some more time with your best friend, search, required?
Click to expand...
Click to collapse
..........

[Q] My X10 gprs connection doesn't work after updating

I have an unlocked X10, and before updating to 2.1 everything worked ok. But now it can't connect to internet or MMS trough gprs or 3g. I have repaired it with seus and tested it with two different sim cards. How can i repair it?? Anyone had this problem before??
Thanks and sorry because I´m from spain and I don´t speak english very well...
First of all read this before:
Thinking of posting a new thread???
Use the search button on the top bar between "New Posts" and "Quick Links"
Threads posted in the wrong fora will be moved initially; however, for repeat offenders, the moderating team will look to take action to rectify the situation in a manner it believes is appropriate
WITHOUT FURTHER NOTICE.
It is the responsibility of all users to keep the fora organised and clean. We need you to do your bit to keep things orderly.
To the dedicated members that care to keep this forum, subforums included, clean and organized and grouped.
Please start reporting threads to the mods to take action. Please use the REPORT button to do so.
Thank You and happy easy searching.
Forum Searching | Posting | The Basics: (Make sure you've read them before starting a new thread)
Forum Rules - http://forum.xda-developers.com/announcement.php?f=642
Forum Search - http://forum.xda-developers.com/search.php
Google Forum Search - http://forum.xda-developers.com/showthread.php?t=304582
Advanced Searching - http://wiki.xda-developers.com/index...lopers Forum
XDA "Mantra" - http://forum.xda-developers.com/show...9&postcount=45
Post What Where:
General - general technical discussion items, news, anything else that does not fit into the other fora categories.
Q&A (Questions and Answers) - all questions, irrespective of type, get posted in here whether they be theme related, accessory related, technical, etc.
Accessories - any items to do with components and/or accessories relating to your device.
Rom Development - only meant for very advanced technical discussion directly related to ROM development activity and the delivery of actual ROMs and ROM components ONLY. Nothing else goes in here.
Themes & Apps - anything to do directly with the development of themes and/or applications. Nothing else goes in here.
MOD EDIT: BEFORE POSTING ANY THREAD IN THE DEVELOPMENT SECTION, PLEASE READ THE FOLLOWING:
If you have developed a ROM, or are working with others to do so, the development forum is somewhere to discuss and share ideas, post useful feedback and logs or crash dumps, and to discuss a common goal developers are trying to achieve.
It is NOT the place to post your question because it gets higher traffic, or because more experienced users frequent it. Doing this just annoys those who are working on the device, and drives them away. Developers don't want to wade through 20 threads of "Help me urgently" to find their threads for porting and fixing camera issues etc. Similarly, if a thread is designated as discussion for developers say, porting a camera fix, please do not post in there asking "When will it be ready?", "Can I flash this yet?" etc. This is both completely disrespectful to those working on the project (you evidently haven't read the important posts in the thread), and also is making it harder for developers to find comments from other developers or testers when required.
Similarly, don't make loads of "Thanks for your work here" posts in an active development thread. It's just as annoying to developers as asking when something will be ready. If a ROM is complete, then go ahead and thank the developer if you wish, but don't go into threads for devs only, and interrupt it to post "thanks". It's basically spamming, and is treated as such.
If you are posting in development, you should have read every sticky and notice there, and should be actively developing or helping in the development of something. Developing isn't installing a ROM, or using a tweak, it's creating a ROM or other hack or tweak. If you haven't read for several days before starting out on XDA, you are likely about to ask something already solved. I registered on XDA when I first wanted to post, and that was to join in a discussion on something. Sure, join up and ask a question, but read the information available in General and Q&A first, as your question will have been asked before. Search is your friend here, become familiar with it.
Regarding when to post in development if you are not actually developing something, there is one occasion where it's acceptable. If you find a leak of a new ROM, which isn't already posted, and you verify it's legitimacy via either running it, or based on the source you obtained it from, then this is assisting in development, and should be posted in development. If you want to ask when a leak will be available use search first, then if not already in discussion, open a thread in general or Q&A.
If you have a problem flashing a ROM, this is NOT related to development. It's up to you to determine if it is specific to a particular ROM, and post useful information in that developer's existing thread for the ROM. If it happens on more than one ROM, and isn't a known issue (remember you should read several times more words than you post), then find out what you are doing wrong. Check guides written by others, try to repeat the problem and see if it happens every time. Something needs to be reproducible to be fixed effectively.
Once you have identified what you need help with go to the device Q&A forum (general if device lacks one), and make a clear, informative thread that explains the issue, and what you have tried doing to fix it. Did you re-download the ROM? Did you ask a friend to flash it for you, to reduce chance of user error? What steps (exactly) did you follow? What errors did you see (exact wording)? Did you double check all the steps? Did you do a wipe or hard reset?
If you make a clear, concise, yet detailed post, you will find help forthcoming, and should get the problem sorted very quickly. If someone suggests you try something, report back on what happened, did it work etc. Then, next time someone has this issue and searches, they will find this and have a verified and tested solution.
So remember... before you start a thread in development, ask yourself what you are developing. If you can't answer, then stop, step away from the post button, and think about where you are posting. Would it be better in General or Q&A, or is some more time with your best friend, search, required?
Click to expand...
Click to collapse
Then are you sure you have put your apn settings back to your phone? If you are using any unbranded firmware like the Global or Nordic you'll need to put your MMS, APN settings back to the phone manually...
Do a search within the Q&A forum or Google to find out what your career settings are...
PS> You can find the settings in the next path:
Configuracion>Redes Inalam. y redes>Redes Moviles.
Jim
Thanks for your reply!! I put the apn settings, and also my sim provider sent me a configuration sms. I check it out and everything is ok, also I have another x10 and everything works well with the same configuration. But this x10 doesn't try to connect if wifi is off, it always says that there is no internet connection available. I've tried many things but it doesn't work anyway...
luisnatur said:
Thanks for your reply!! I put the apn settings, and also my sim provider sent me a configuration sms. I check it out and everything is ok, also I have another x10 and everything works well with the same configuration. But this x10 doesn't try to connect if wifi is off, it always says that there is no internet connection available. I've tried many things but it doesn't work anyway...
Click to expand...
Click to collapse
try setting on my signature
Even with all apn settings ok, it won't connect... I really don't know what to do, this is the first problem I have with my x10. Do you think It would be ok to downgrade to 1.6??
luisnatur said:
Even with all apn settings ok, it won't connect... I really don't know what to do, this is the first problem I have with my x10. Do you think It would be ok to downgrade to 1.6??
Click to expand...
Click to collapse
that`s odd
try downgrade and see if it works. If it does upgrade again to 2.1 and see.
If still doesn`t work go to store and reclaim warranty

Thread Moved/DELETED/Locked?? This is DEVELOPMENT section not Q&A/General!!

Thinking of posting a new thread???
Please read the following​
Forum Searching | Posting | The Basics: (Make sure you've read them before starting a new thread)
Forum Rules - http://forum.xda-developers.com/announcement.php?f=642
Forum Search - http://forum.xda-developers.com/search.php
Google Forum Search - http://forum.xda-developers.com/showthread.php?t=304582
Advanced Searching - http://wiki.xda-developers.com/index.php?pagename=How to use Advanced Search on XDA-Developers Forum
XDA "Mantra" - http://forum.xda-developers.com/showpost.php?p=2031989&postcount=45
A Solid XDA Post to Read- http://forum.xda-developers.com/showpost.php?p=16682226&postcount=2441
Post What Where:
General - general technical discussion items, news, anything else that does not fit into the other fora categories.
Q&A (Questions and Answers) - all questions, irrespective of type, get posted in here whether they be theme related, accessory related, technical, etc.
Accessories - any items to do with components and/or accessories relating to your device.
Development - only meant for very advanced technical discussion directly related to ROM/Kernel/Device development activity. Nothing else goes in here.
Themes & Apps - anything to do directly with the development of themes and/or applications. Nothing else goes in here.
EDIT: BEFORE POSTING ANY THREAD IN THE DEVELOPMENT SECTION, PLEASE READ THE FOLLOWING:
If you have developed a ROM/Kernel/Device Hack/Mod, or are working with others to do so, the development forum is somewhere to discuss and share ideas, post useful feedback and logs or crash dumps, and to discuss a common goal developers are trying to achieve.
It is NOT the place to post your question because it gets higher traffic, or because more experienced users frequent it. Doing this just annoys those who are working on the device, and drives them away. Developers don't want to wade through 20 threads of "Help me urgently" to find their threads for porting and fixing camera issues etc. Similarly, if a thread is designated as discussion for developers say, porting a camera fix, please do not post in there asking "When will it be ready?", "Can I flash this yet?" etc. This is both completely disrespectful to those working on the project (you evidently haven't read the important posts in the thread), and also is making it harder for developers to find comments from other developers or testers when required.
Similarly, don't make loads of "Thanks for your work here" posts in an active development thread. It's just as annoying to developers as asking when something will be ready. If a ROM is complete, then go ahead and thank the developer if you wish, but don't go into threads for devs only, and interrupt it to post "thanks". It's basically spamming, and is treated as such.
If you are posting in development, you should have read every sticky and notice there, and should be actively developing or helping in the development of something. Developing isn't installing a ROM, or using a tweak, it's creating a ROM or other hack or tweak. If you haven't read for several days before starting out on XDA, you are likely about to ask something already solved. I registered on XDA when I first wanted to post, and that was to join in a discussion on something. Sure, join up and ask a question, but read the information available in General and Q&A first, as your question will have been asked before. Search is your friend here, become familiar with it.
Regarding when to post in development if you are not actually developing something, there is one occasion where it's acceptable. If you find a leak of a new ROM, which isn't already posted, and you verify it's legitimacy via either running it, or based on the source you obtained it from, then this is assisting in development, and should be posted in development. If you want to ask when a leak will be available use search first, then if not already in discussion, open a thread in general or Q&A.
If you have a problem flashing a ROM, this is NOT related to development. It's up to you to determine if it is specific to a particular ROM, and post useful information in that developer's existing thread for the ROM. If it happens on more than one ROM, and isn't a known issue (remember you should read several times more words than you post), then find out what you are doing wrong. Check guides written by others, try to repeat the problem and see if it happens every time. Something needs to be reproducible to be fixed effectively.
Once you have identified what you need help with go to the device Q&A forum (general if device lacks one), and make a clear, informative thread that explains the issue, and what you have tried doing to fix it. Did you re-download the ROM? Did you ask a friend to flash it for you, to reduce chance of user error? What steps (exactly) did you follow? What errors did you see (exact wording)? Did you double check all the steps? Did you do a wipe or hard reset?
If you make a clear, concise, yet detailed post, you will find help forthcoming, and should get the problem sorted very quickly. If someone suggests you try something, report back on what happened, did it work etc. Then, next time someone has this issue and searches, they will find this and have a verified and tested solution.
So remember... before you start a thread in development, ask yourself what you are developing?... If you can't answer, then stop, step away from the post button, and think about where you are posting. Would it be better in General or Q&A, or is some more time with your best friend, search, required?

[Q] Genymotion [Ubuntu; Unfortunately app has stopped]

Hello,
First let me start off by saying: I was directed here by several "tech" friends of mine concerning this issue, and directly to this sub-forum when I asked where I should post the question. So if I have erred and this question/thread does not belong in this sub-forum, I apologize. There are so many forums and sub-forums it is a bit confusing.
Secondly:
Is it possible to customize the installed Android version? Like themes, icons etc? I know you can change the wallpaper but what can a user change? Is there someplace I can go to read about it?
Thirdly and lastly:
edit
Nevermind, I have solved my "third" issue. Should I include what I did for references to others? Is that allowed?
If any other information is required, I will happily provide it!
Thank you for looking, and for any and all help.

setting system profile

Anyone give me some pointers how to change android system profile (on htc m8 lineageos 14.1)?
I have a general purpose zooper widget and would like to display / set from there.
Have tried searching but keep getting links to tasker profiles.
Thanks
gazzacbr said:
Anyone give me some pointers how to change android system profile (on htc m8 lineageos 14.1)? I have a general purpose zooper widget and would like to display / set from there. Have tried searching but keep getting links to tasker profiles. Thanks
Click to expand...
Click to collapse
I don't have this device and though, I do understand your question, I'm just not completely sure about an answer for you.
Have you tried to post this question within the following Q&A thread or Official LineageOS thread that's specific to your device?
https://forum.xda-developers.com/showthread.php?t=2897783
https://forum.xda-developers.com/showthread.php?t=3511673
If your not receiving any responses from the above threads (within a reasonable amount of time... 7-10 +/- days) then you next best bet would be to post this question within one of the following General Q&A threads on the forum. You can even mention that your posted question went unanswered on the above threads so they will know that you had been unable to obtain any guidance from those appropriate threads.
https://forum.xda-developers.com/showthread.php?t=2259645
https://forum.xda-developers.com/showthread.php?t=2257421
I wish you the best of luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Whoops, wrong thread :silly:
I wanted the tasker command to pull (and possibly set) the variable for Android system profile to pass to a zooper widget.
Would have made a bit more sense in the right forum
Will search and repost elsewhere...
Sent from my HTC One_M8 dual sim using XDA Labs

Categories

Resources