tag:blogger.com,1999:blog-5215777427512085470.post6093937599712977562..comments2024-03-03T13:58:48.711+05:30Comments on Android Developers Blog: Android Play video from SD Card | Populating a listview with videos from sdcard in androidMukesh Kumarhttp://www.blogger.com/profile/02072401063614368529noreply@blogger.comBlogger21125tag:blogger.com,1999:blog-5215777427512085470.post-6994969751369959692016-10-19T22:10:40.060+05:302016-10-19T22:10:40.060+05:30Hello Marvin,
Please check the download link or di...Hello Marvin,<br />Please check the download link or directly check below<br />link<br />https://github.com/mukesh4u/android/tree/master/VideoPlayerMukesh Kumarhttps://www.blogger.com/profile/02072401063614368529noreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-48771646823787484822016-10-19T21:59:20.274+05:302016-10-19T21:59:20.274+05:30Can you please update this tutorial :) thank you :...Can you please update this tutorial :) thank you :)Anonymoushttps://www.blogger.com/profile/12731320481760224247noreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-38518258308183333392016-10-19T21:58:52.450+05:302016-10-19T21:58:52.450+05:30Can you update this tutorial please! thank you :)Can you update this tutorial please! thank you :)Anonymoushttps://www.blogger.com/profile/12731320481760224247noreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-27955456947827100502016-04-13T17:48:45.533+05:302016-04-13T17:48:45.533+05:30sir i want to add custom mediacontroller with vide...sir i want to add custom mediacontroller with videoview...and how can i add custom mediacontroller with next and prev button.Anonymoushttps://www.blogger.com/profile/07856273849306675662noreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-81130509298342488172016-04-13T17:47:05.844+05:302016-04-13T17:47:05.844+05:30sir how can i add custom mediacontroller with that...sir how can i add custom mediacontroller with that tutorial..can you tell me about the custom media controller with videoview.Anonymoushttps://www.blogger.com/profile/07856273849306675662noreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-32388518390541431612016-04-08T16:53:12.044+05:302016-04-08T16:53:12.044+05:30This may be giving you out of memory error.....so ...This may be giving you out of memory error.....so try to load data in list in a chunks(like paging).Mukesh Kumarhttps://www.blogger.com/profile/02072401063614368529noreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-45960993134210345472016-04-08T16:18:17.184+05:302016-04-08T16:18:17.184+05:30sir in my list there is 100 + video and when i scr...sir in my list there is 100 + video and when i scrolling down the app goes crash what i do sir...<br />Anonymoushttps://www.blogger.com/profile/04391003301589225027noreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-79240468716038973762015-12-09T13:14:49.899+05:302015-12-09T13:14:49.899+05:30Thank you for this tutorial! But I noticed that ot...Thank you for this tutorial! But I noticed that other video formats like .flv .mkv don't appear on the listview. Maybe they don't have thumbnails because they are not playable on a default player/codec? Please help me. ThanksAnonymoushttps://www.blogger.com/profile/09118734991576304760noreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-41054036809257685452015-07-24T17:35:08.676+05:302015-07-24T17:35:08.676+05:30how we can play a video in a Alert Dialog, my prob...how we can play a video in a Alert Dialog, my problem is that video playing correctly but Alert Dialog not show a Media Controller Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-20416975631048574512015-06-17T14:55:17.833+05:302015-06-17T14:55:17.833+05:30Then In that case you need give path and the scan ...Then In that case you need give path and the scan for all media file in that path.Mukesh Kumarhttps://www.blogger.com/profile/02072401063614368529noreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-37584615421839971502015-06-17T13:16:05.769+05:302015-06-17T13:16:05.769+05:30Hi Bro .... your post is very very very helpful .....Hi Bro .... your post is very very very helpful ...... I have a question that is .... through this code you are showing All the videos from external storage .... but i want to show a specific folder videos can you help me .. I have tried may codes but fail :( <br />Anonymoushttps://www.blogger.com/profile/01585560485516882602noreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-60385503030717552672014-06-23T15:23:53.796+05:302014-06-23T15:23:53.796+05:30Hello,
how can I delete a video with:
videolist.s...Hello,<br />how can I delete a video with:<br /><br />videolist.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener() {<br /> @Override<br /> public boolean onItemLongClick(AdapterView av, View v, int pos, long id) {<br /> return onLongListItemClick(v, pos, id);<br /> }<br /> protected boolean onLongListItemClick(View v, final int pos, long id) {<br /> <br /> <br /> <br /> final String str= videolist.getItemAtPosition(pos).toString();<br /> Log.i("ListView", "onLongListItemClick stirng=" + str);<br /> AlertDialog.Builder builder = new <br /> AlertDialog.Builder(StoredVideo.this);<br /> builder.setMessage("Are you sure you want to delete this video ?")<br /> .setCancelable(false)<br /> .setPositiveButton("Yes", new DialogInterface.OnClickListener() {<br /> public void onClick(DialogInterface dialog, int id) {<br /> <br /> // CODE NEEDED TO DELETE VIDEO HERE<br /> <br /><br /> ArrayAdapter myAdapter = (ArrayAdapter)videolist.getAdapter();<br /> myAdapter.remove(myAdapter.getItem(pos));<br /> myAdapter.notifyDataSetChanged();<br /> <br /> }<br /> })<br /> .setNegativeButton("No", new DialogInterface.OnClickListener() {<br /> public void onClick(DialogInterface dialog, int id) {<br /> dialog.cancel();<br /> }<br /> });<br /> AlertDialog alert = builder.create();<br /> alert.show();<br /> return true;<br /> }<br /><br /> });Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-28202315069410130742014-06-07T14:53:15.910+05:302014-06-07T14:53:15.910+05:30Hi Mukesh,
I am working on android applicati...Hi Mukesh,<br /> I am working on android application. In this application, I used VideoView to play demo videos. I need to implement the full screen video while clicking the full screen option like youtube. Is there any way to do like this using VideoView ? I am waiting for your reply... Thanks in advance.Anonymoushttps://www.blogger.com/profile/17506839416942667546noreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-77649482283580238212014-05-02T12:32:53.408+05:302014-05-02T12:32:53.408+05:30It doesnot work with 4.4
It doesnot work with 4.4<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-42435567435941901692014-04-22T12:19:44.846+05:302014-04-22T12:19:44.846+05:30Very nice Tutorial keep it up!!!!!!!!!!!!!!Very nice Tutorial keep it up!!!!!!!!!!!!!!Jaldeep Falduhttps://www.blogger.com/profile/10343520676753011781noreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-85313248800482635852014-04-12T16:02:33.648+05:302014-04-12T16:02:33.648+05:30it display videos from sd card or videos from any ...it display videos from sd card or videos from any sub folder of sd card can also be displayed using this.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-54072570218801254942014-04-11T11:16:40.855+05:302014-04-11T11:16:40.855+05:30thanks man.thanks man.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-8992066800108651302014-04-08T16:25:59.956+05:302014-04-08T16:25:59.956+05:30already provided the source code on git...plz cgec...already provided the source code on git...plz cgeck the download link.<br />OR<br />https://github.com/mukesh4u/android/tree/master/VideoPlayer Mukesh Kumarhttps://www.blogger.com/profile/02072401063614368529noreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-42313535881685882152014-04-08T16:21:12.542+05:302014-04-08T16:21:12.542+05:30can you display its xml file ? thanks in advancecan you display its xml file ? thanks in advanceAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-51410309754643652112014-02-26T11:03:56.452+05:302014-02-26T11:03:56.452+05:30Worked well.. ThankyouWorked well.. ThankyouAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5215777427512085470.post-28337549179323201222014-02-13T09:28:52.371+05:302014-02-13T09:28:52.371+05:30Help me !
How to get date and duration after show ...Help me !<br />How to get date and duration after show it's?<br />I'm use :<br />String[] proj = { <br /> MediaStore.Video.Media._ID,<br /> MediaStore.Video.Media.DATA,<br /> MediaStore.Video.Media.DISPLAY_NAME,<br /> MediaStore.Video.Media.SIZE,<br /> MediaStore.Video.Media.DATE_TAKEN,<br /> MediaStore.Video.Media.DURATION<br /> };<br />But it's not return fomat date, time.It's return is : 17564656. why?<br />BanhDucLachttps://www.blogger.com/profile/15845319730709091601noreply@blogger.com