naXa777 / SoundRecorder

A simple sound recording Android app implementing Material Design
https://naxa777.github.io/SoundRecorder/
GNU General Public License v3.0
36 stars 43 forks source link

Allow other apps to start MainActivity so they can use intent to record audio #38

Closed naXa777 closed 4 years ago

naXa777 commented 6 years ago

Android docs: https://d.android.com/training/basics/intents/filters

Example of invoking code:

Intent intent = new Intent(MediaStore.Audio.Media.RECORD_SOUND_ACTION);
startActivityForResult(intent, RECORD_REQUEST);

Preconditions:

Expected behaviour:

aman0408 commented 5 years ago

Can I work on this?

naXa777 commented 5 years ago

@aman0408 yes, sure. you're welcome here =)

Sony's audio recorder already has this feature -> https://play.google.com/store/apps/details?id=com.sonymobile.androidapp.audiorecorder we can use it as a reference.

aman0408 commented 5 years ago

I am unable to build the app. Android studio gives me the following error "ERROR: Could not get unknown property 'soundrecorderCrashlyticsApiSecret' for project ':app' of type org.gradle.api.Project." Could you please guide me on how to go about it?

naXa777 commented 5 years ago

@aman0408 did you follow steps in Building section? https://github.com/naXa777/SoundRecorder#building

aman0408 commented 5 years ago

My bad. I'll do that.

aman0408 commented 5 years ago

I have made a PR. Please look into it.