Android Find Phone App - android

I am playing around and I am trying to make a Android find phone app like the onces in the market place. if someone text my phone "beep" I want the phone to make a loud sound and if the phone is on silent i still want the sounds. I was thinking to use a alarm but the alarm does not make sound. can someone give me some

you are right... try out to invoke media player. because Media player always work immaterial to phone ringer. Something like this http://www.anddev.org/video-tut_-_playing_mediamp3_on_the_emulator-t156.html

Related

disable screen record with sound in flutter

I am trying to disable screen record and screenshot in my flutter app and I already did using flutter_windowmanager package.
my problem is with screen recording, the sound of the video inside th app is still running and recorded by screen recording !
any suggestions for also preventing sound record ?
No. If your app is playing loud enough the microphone can hear it, it can be recorded. There's no way to prevent that- algorithmically canceling out sound from one source in an audio recording like that would be difficult, if not impossible. Nor would it really buy you all that much- they could always just hold an external mic up to the phone (they can also just capture your app with a second camera, which makes removing video recording also of limited use, if done to prevent a user from recording).
The one thing you could do is claim the mic yourself and not give it up. But that would be annoying to anyone actually using your app. And wouldn't rpevent capture with an external device of course.

Android - detect if speakers are playing audio programmatically

I'm working on a diagnosis app for android, I want to test whether the speakers are working fine or not. I thought the way to do this is to play a sound and check whether the speakers are playing the audio or not. I looked for code but didn't find anything useful. How can this be achieved in android? Is there a better way to do the same thing?

How can I record a video with sound of my app using Android Studio?

I am developing an app with Android Studio 2.1 and I would like to record a video of an usage example, with sound.
I have already recorded some videos, but always without sound. As the sound in my app is a key feature, I would like to have the video with the audio output of my app.
Is it possible? In case it is, how could I use it?
Thanks!
Maybe you should try using external app for recording both screen and sound. I have dig in just few mins and i have found some apps.
Here I left link to a top http://www.androidauthority.com/best-screen-recording-apps-600838/
The last one seems to be the one you are looking for (SCR Screen Recorder, which requires root), hope it works!
Other option could be to use a male to male audio cable and record the audio transmitted to the pc.

Stop media player on phone turned over

I'm doing an app that has a media player working on notifications , and I want to be able to mute/stop, When the phone is turned over or the screen is covered.
Can anyone give me pointers how to implement This, many thanks.

Get Sound volume size of android : Unity3d

I have developed game in unity3d.
In that game, i have given option for setting sound volume sound which affects my game sound object only, This does not relate with the android sound setting.
But i just want to check whether my android device is set to mute or not. If my device setting is mute then i will keep my game sound volume size value to 0.
But i am not getting the way to find the android device sound status,..if anyone is having idea then please guide me.
Thanks in advance for your support and help..
You can get the level of sound from your device this way:
AudioManager manager = (AudioManager)context.getSystemService(Context.AUDIO_SERVICE);
int levelSound = manager.getStreamVolume(AudioManager.STREAM_MUSIC);
You need to know the stream you are using, normally Music for any multimedia sound (music, games, films, etc...)
You can check also this, to know the mode of the phone right now:
manager.getRingerMode();

Categories

Resources