shazam

Calling an extrenal application

走远了吗. 提交于 2020-01-24 10:49:49
问题 How can I call an external application from my application? E.g: I need to call Shazam (application) from my app. I can see the package name of the application in the logcat . will that be useful for any purpose? 回答1: You can call a third party application's activity in the following way. final Intent shazamIntent = new Intent("com.shazam.android"); shazamIntent .setComponent(new ComponentName("com.shazam.android","com.shazam.android.Splash")); startActivity(shazamIntent ); But, this is not a

iPhone Allow Other App to Play Audio While Recording Audio / Shazam

白昼怎懂夜的黑 提交于 2019-12-07 16:57:43
问题 Looking to do pretty much what Shazam is doing as far as recording audio while another app is playing audio. 1) Recording audio fine, no problem here 2) When app starts and starts recording, the music from another app stops (itunes, etc). 3) I have played with all of the incantations of the AV Audio settings with no luck in having the audio continue / resume. 4) When Shazam starts, the audio stop for a bit, and then resumes. I assume that Shazam is doing something to restart the audio with