tag:blogger.com,1999:blog-89878749563391212.post22515050982779931..comments2024-03-25T17:53:11.127-07:00Comments on Android-er: Create audio Visualizer for MediaPlayerUnknownnoreply@blogger.comBlogger22125tag:blogger.com,1999:blog-89878749563391212.post-50438826847194585912017-08-20T22:52:49.998-07:002017-08-20T22:52:49.998-07:00How to apply that in a "vertical-bars" w...How to apply that in a "vertical-bars" way?Anonymoushttps://www.blogger.com/profile/12519874738288040269noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-84014101267123908852017-07-24T05:22:51.321-07:002017-07-24T05:22:51.321-07:00Hey,
Thanks for an amazing tutorial. Although whi...Hey, <br />Thanks for an amazing tutorial. Although while running the application I am facing a run time exception. <i> java.lang.RuntimeException: Cannot initialize Visualizer engine, error: -1 </i>.<br />After installation, <b> the permission section of the application doesn't have "Audio" related permissions. </b> Please help me with this.paridhihttps://www.blogger.com/profile/00856984815624777938noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-74858460991624575232017-07-11T04:33:59.961-07:002017-07-11T04:33:59.961-07:00I also won't able to run.Please anyone can hel...I also won't able to run.Please anyone can help.How to connect music with visualizer in order to get effect of high note and low note.Anonymoushttps://www.blogger.com/profile/00495515301973189247noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-36355986595689256812017-07-11T02:30:42.387-07:002017-07-11T02:30:42.387-07:00Still its not working...
android.view.InflateExce...Still its not working...<br /><br />android.view.InflateException: Binary XML file line #20: Binary XML file line #20: Error inflating class com.example.androidaudiovisualizer.VisualizerView<br /><br />i am getting this kind of error..<br />please can anyone help me..Anonymoushttps://www.blogger.com/profile/00495515301973189247noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-74909064736918941542017-05-29T11:11:29.906-07:002017-05-29T11:11:29.906-07:00hello Alien LB,
You can remove it.hello Alien LB,<br /><br />You can remove it.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-74421037614744449672017-05-29T06:59:52.473-07:002017-05-29T06:59:52.473-07:00android:paddingBottom="@dimen/activity_vertic... android:paddingBottom="@dimen/activity_vertical_margin"<br /> android:paddingLeft="@dimen/activity_horizontal_margin"<br /> android:paddingRight="@dimen/activity_horizontal_margin"<br /> android:paddingTop="@dimen/activity_vertical_margin"<br /> tools:context="com.example.androidaudiovisualizer.MainActivity" ><br /><br />what is this? These things keep ocurring errors.... what to do?Anonymoushttps://www.blogger.com/profile/08868801046221260479noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-82787743880931524802017-03-17T18:28:55.985-07:002017-03-17T18:28:55.985-07:00Thanks for the post works like a charm
Thanks for the post works like a charm<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-42719578642573302302017-01-18T07:31:30.893-08:002017-01-18T07:31:30.893-08:00Hi! I get this error on Android 6.0 (LG Spirit):
C...Hi! I get this error on Android 6.0 (LG Spirit):<br />Cannot initialize Visualizer engine, error: -3Anonymoushttps://www.blogger.com/profile/07800898170026300592noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-47961720469953066962016-12-28T06:17:36.990-08:002016-12-28T06:17:36.990-08:00Sumit Naharia It's a permission problem, see h...Sumit Naharia It's a permission problem, see here: http://stackoverflow.com/a/28427213<br /><br />Just add the following to your app manifest xml:<br /><br />Anonymoushttps://www.blogger.com/profile/10226102392149385476noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-61001761814255415442016-10-17T10:16:02.971-07:002016-10-17T10:16:02.971-07:00remark@2016-10-18:
I found that the example code r...remark@2016-10-18:<br />I found that the example code removed from Android Studio examples list, may be it is NOT work now.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-87110307042076020852016-10-16T21:35:59.198-07:002016-10-16T21:35:59.198-07:00I'm on android 6.0, when I try to run the app ...I'm on android 6.0, when I try to run the app it just tells me 'Unfortunately, audioVisualizer has closed". I gave it the mic permission in my settings. The only thing that I think maybe went wrong with inputting the code was the part at the very top that says something about reference Android demo example: ApiDemos > Media > AudioTx. I don't know what I am supposed to do about that. Any ideas anyone? Thanks!Anonymoushttps://www.blogger.com/profile/05499824976738193644noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-7490464797713972112016-07-03T15:06:25.419-07:002016-07-03T15:06:25.419-07:00@anddev thx !! it's work!!
but now i get new q...@anddev thx !! it's work!!<br />but now i get new question, why when i use this visualizer, i cant use audio effect like BassBoost??Anonymoushttps://www.blogger.com/profile/14952070331880758518noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-89406296306297132972016-06-30T20:20:33.387-07:002016-06-30T20:20:33.387-07:00Hi~! This a great tutorial and working. Can this b...Hi~! This a great tutorial and working. Can this be possible for a bar graph?<br /><br />@ardi nada on MediaPlayer setOnCompletionListener call mVisualizer.setEnabled(false)anddevnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-67583241655905743412016-06-30T08:57:11.424-07:002016-06-30T08:57:11.424-07:00Thanks before, because it's works perfectly!!
...Thanks before, because it's works perfectly!!<br />but it's just for one audio, how can make it work for more audio??Anonymoushttps://www.blogger.com/profile/14952070331880758518noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-78377807511857773422016-06-27T05:14:22.819-07:002016-06-27T05:14:22.819-07:00Please show me how to use this on voice recorder (...Please show me how to use this on voice recorder (Android MediaRecorder) while I'm recording voice.<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-82554447281274263502016-04-08T05:47:42.761-07:002016-04-08T05:47:42.761-07:00Error code -1 when initializing VisualizerError code -1 when initializing Visualizersumit nahariahttps://www.blogger.com/profile/01058451093973995746noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-10837677697928929632016-03-29T05:43:27.430-07:002016-03-29T05:43:27.430-07:00Can you create a vertical bar style for this ?
Be...Can you create a vertical bar style for this ?<br /><br />Behind that, great tutorial and example +1Anonymoushttps://www.blogger.com/profile/00172582832250778024noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-85950322629470222282016-03-18T04:34:01.509-07:002016-03-18T04:34:01.509-07:00Works fine!
In Android 6.0 I had to ask for this ...Works fine!<br /><br />In Android 6.0 I had to ask for this permissions in the code to start working<br /><br /> if( ContextCompat.checkSelfPermission(this, Manifest.permission.MODIFY_AUDIO_SETTINGS) == PackageManager.PERMISSION_GRANTED){<br /> <br /> }else{<br /> ActivityCompat.requestPermissions(this,<br /> new String[]{Manifest.permission.MODIFY_AUDIO_SETTINGS},<br /> MY_PERMISSIONS_REQUEST_MODIFY_AUDIO_SETTINGS);<br /> <br /> }<br /><br /> if( ContextCompat.checkSelfPermission(this, Manifest.permission.RECORD_AUDIO) == PackageManager.PERMISSION_GRANTED){<br /> <br /> }else{<br /> ActivityCompat.requestPermissions(this,<br /> new String[]{Manifest.permission.RECORD_AUDIO},<br /> MY_PERMISSIONS_REQUEST_RECORD_AUDIO);<br /> <br /> }Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-8902715821776422762015-12-06T00:17:07.600-08:002015-12-06T00:17:07.600-08:00Thank you for Share it.
Thank you very much.Thank you for Share it.<br />Thank you very much.Sajjad Aknoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-86582807769643746172015-11-09T07:11:46.391-08:002015-11-09T07:11:46.391-08:00Please show me how to use this on voice recorder (...Please show me how to use this on voice recorder (Android MediaRecorder) while I'm recording voice.Anonymoushttps://www.blogger.com/profile/13360998147618281046noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-66520484609252136402015-10-01T01:10:55.140-07:002015-10-01T01:10:55.140-07:00Perfect !!!Perfect !!!vabymhttps://www.blogger.com/profile/12586929584269342791noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-71434713715915314432015-09-12T21:14:44.778-07:002015-09-12T21:14:44.778-07:00Works perfectly. Thanks !!Works perfectly. Thanks !!swapnil_gthttps://www.blogger.com/profile/05011634842701644823noreply@blogger.com