I am writing a countdown timer for android right now and I want to give the user the possibility to customize the sound used for it. Rather than offering a set of fixed sounds i would prefer to give the user some settings in the hand with which the sound can be customized (and the app generates the sound based on the user settings). I would like a basic bell/gong type of sound, nothing fancy.
I found libraries like jass which offer this kind of audio generation yet i havent found something which i can use for android.
It would be great if somebody could give me some ideas in which direction to look.
Related
What i wanted to do, and didn't find any suitable solution, is :
create a scene in tasker (no problem on doing it :) )
display this scene on overlayed mode on other app (ex: waze,). Overlay is mandatory (as i know but i am maybe wrong) to let's the underlayed application work and refresh screen normally
allow interaction with button on the scene, just like we can do it if i choose the dialog mode for my scene. The problem with dialog mode is that the underlayed apps screen does not refresh.
In fact what i wanted to to is to display some button when i am running waze, to allow me to sens ETA Sms to my wife, or skip to the next track on my musics apps, or close waze quickly.....
As a resume i want to do what is
create floating windows like offered by apps like Overlays
but only using tasker
Best regards
Best
Please share some images of your requirements so that we can help you better but anyways I found a solution maybe it'll help you with some little customization.
According to my understanding, you need something like this:
You can download the whole project and customize it according to your requirements from Here
Video Link
I want to create view and animation like Apple Music App available in iOS. But, I want to do it in Android similar to above video link.
Is it possible to create such views in Android? How can I achieve this? How to proceed in this?
Please share any links and references.
This question is already asked but has no answer.
I want to implement something like Apple's new Music app which is synced with iTunes. Bubbles on the move, according to mood we can select a music, genre etc.
I want this type of gesture with moving bubbles in Android. Can anyone help me out, how to figure out and play with Gestures or Motion Controls of that bubbles anywhere in screen. Also is there any support library if available would be very helpful to implement and move further. The bubbles are to be created randomly by a web service call.
Any suggestion in this will be helpful.
i have used box2d with libGdx to configure the gradle in android studio...
u can refer my project on github which has selectable bubbles in random motion, and u can ask if any doubts...
https://github.com/mohitKejriwal/Bubble-UI-Android
I'm currently using Appgyvers SteroidsJS (which is forks of Phonegap and Cordova), and would like to control the default music player from within the app on my Android (5.0.1). Simple things like play, stop, pause, next, and back.
I can't seem to find any direct way to accomplish this, or even a way to pop in to the Android API from Steroids/Phonegap. Does anyone have a solid method to do so or is it not possible? Thanks!
Nothing simple existed, so in the end I learnt how to write something myself. :)
https://github.com/dustinblackman/cordova-MusicControl/
I'm wondering, if there is any predefined sounds in Android that I can use in my application.
I was trying to use a class called SoundManager which is build specifically for sound playing in an efficient way.
I realized that what I need is much much smaller than this class. I need a click sound when the button is clicked and a navigation sound when the user navigate through a menu or a set of buttons.
I guess there is something in the android API fit to my purpose but I could not find it.
any help please in finding it and hoe to use it?
You could look into the View.playSoundEffect api. This method accepts a SoundEffectConstants value where, among others, a CLICK constant is available.
Using the MediaPlayer it's really simple, see for instance this SO thread:
Android - play sound on button click - Null pointer exception
I am fiddling around with a dialog that pops up and displays an alarm information. (I know, it has been documented that in Android it's "better" style to use notifications instead, but just like the alarm clock I want it to display a dialog on top of whatever you do to really get the users immediate attention - as the user expects this behavior I don't think it's bad style!)
Now - the only easy way I found is using the RingtoneManager.getRingtone() function to get a Ringtone object for the type "alarm".
Well, I can play that sound now using Ringtone.play() - but it plays the sound only once and I cannot figure out how to let it play endlessly until the user reacts, e.g. by touching the dialog anywhere or dismissing it using Cancel button provided.
Does anyone know how this can be accomplished easily?
Thanks!
Take a look at AlarmClock from Android's git repository. It might be helpful to check out the source code on how to play sounds for an expected duration.