Other [new feature] Three birds with one stone - Erel    
Feb 23, 2016   
(29 reactions)B4A v5.80 includes a new attribute named #ExcludeClasses.
Example:
#ExcludeClasses: com.google.ads, anywheresoftware.b4a.phone.RingtoneManager
During compilation, all classes from all referenced libraries, that their full name (package + class) starts with one of the above prefixes, will not be included in the APK.
Why is it useful?
Smaller APK, faster compilation and faster installation... that include the RingtoneManager classes. So instead of modifying the Phone library, you can exclude...
B4A Question Ringtonemanager: isPlaying - KMatle    
May 23, 2016:
Dim jo As JavaObject
jo.InitializeStatic("android.media.RingtoneManager")
Log(jo... not found in: android.media.RingtoneManager" exception...
link: You will need to play the ringtone with the code I posted here: https://www.b4x.com/android/forum...
link: .
ringtone.RunMethod("stop", Null)...
link: Always create a new thread in the question forum. For EACH question you have....
B4A Library Phone library v1.80 - RingtoneManager - Erel    
Apr 29, 2012   
(3 reactions)This update adds a new object: RingtoneManager.
This object allows you to access the ringtones (set the default ringtone, get the default ringtone and show a ringtone picker).
See...
link: Use PhoneCalls.Call instead of the intent. It will create the intent for you and will add the requir...
link: Thanks you for all , another problem appeared
http://store2.up-00.com/2015-05/1430479259181.jpg...
link: Hi Erel
I want to communication service company code as an example *102#, but does not send code # w...
B4A Question RingtoneManager won't stop - NeoTechni    
May 28, 2021I've searched already and the 3 other topics about stopping the RingtoneManager don't actually use it for playing, they use a separate JavaObject to play and use the RingtoneManager just to...
link: I've searched already and the topics about stopping the RingtoneManager don't actually use...
link: I don't know what you mean by that. I wasn't trying to insult the code but make a logical st...
link:
I assume it has the ability cause otherwise it's playback capabilities are useless
You are con...
B4A Question Ringtonemanager stop ringtone - kisoft    
Sep 14, 2017.media.RingtoneManager")
Dim jo2 As JavaObject
jo2.InitializeContext
Dim u As Uri
u...Sub Activity_Create(FirstTime As Boolean)
PlayRingtone(rm.GetDefault(rm.TYPE_NOTIFICATION))
End...
link: As RingtoneManager
Dim ringtone As JavaObject
Dim rt As JavaObject
Dim ion As Object
Dim dzw...
link:
Dim rm As RingtoneManager
Dim ringtone As JavaObject
Dim rt As JavaObject
Dim ion...
link: Unfortunately, I have no solution...
B4A Question Volume in RingtoneManager - vbmundo    
Oct 1, 2016Hi,
RingtoneManager is a great tool, but all Ringtones be played with the maximum volume.
I put this code before run the RingtoneManager but doesn't work.
Dim VolumenNuevo As Int...)
How can I put the volume in low value before open the RingtoneManager ? because when you select...
link: 1. Why are you setting the volume to the maximum value?
2. Try it with other volume streams. It is probably not VOLUME_MUSIC.
Hi Ere...
link: 1. Why are you setting the volume to the maximum value?
2. Try it with other volume streams. It is probably not VOLUME_MUSIC....
B4A Question RingtoneManager launch the Activity_Resume ? - vbmundo    
Sep 26, 2016Hi,
I put the RingtoneManager (Phone Lib 1.80) into my project.
But I see that when the RingtoneManager start, and you select a Ringtone, then the Activity_Resume is executed.
And I see this lines in the LOG
** Activity (main) Pause, UserClosed = false **
** Service (starter) Create...
link: For me it is logical : when you select the ringtone you open a new Activity. So when the ringtone...
link: It's the desired behaviour ?
For me it is logical : when you select the ringtone you open a new...
B4A Question RingtoneManager example - Erel (first post)    
Jan 28, 2019https://www.b4x.com/android/help/phone.html#ringtonemanager...
link: is there a RingtoneManager example? i cant seem to find.
Please provide me with a link if...
B4A Question RingtoneManager & NB6 - iz0ndg (first post)    
May 30, 2018Thank you Erel...;)...
link: )
'set custom sound
Dim rm As RingtoneManager 'Phone library
Sleep(210) 'allow...
link: https://www.b4x.com/android/forum/threads/android-jar-targetsdkversion-minsdkversion.87610/#post-554...
link: object from the Uri
R.Target = R.RunStaticMethod("android.media.RingtoneManager"...
B4A Question RingToneManager - Humberto (first post)    
Jun 23, 2017If I choose "TYPE_RINGTONE" plays high volume ( OK)
If I choose "TYPE_ALARM" plays high and don´t stop ever, I had to close the program
During my test I rceive a whatsapp message with high volume just before mine with low volume...
link: )
Dim rm As RingtoneManager
rm.Play ( rm.GetDefault( rm.TYPE_NOTIFICATION ) )
How...
Page: 1  
2  
3  
4  
5  
6  
7