Music Library for Android

Music Library for Android

This is the music library for android. You can use this library by just download and import in your android project. In this library we provide you detailed list of song which is stored in your phone. Some methods are defined to get details of songs.

Follow these steps to use music library :-

Step 1:  Download the sample project from given link –

Music library sample project Download

 Step 2: Import this library (musicLib) in your android studio project from this sample project.

Step 3: Now in your activity or fragment write this line of code for get all songs list

public static ArrayList<SongData> song_list = PhoneMediaControl.getInstance()

 .getList(MainActivity.this, 1, PhoneMediaControl.SonLoadFor.All, "");

Step 4: Finally the list of songs in “song_list”

Step 5: Some methods are defined to get song details

  1.   Song Title:  getSongTitle()
  2.   Song Artist: getArtist()
  3.   Song Duration: getDuration()
  4.   Song Path: getSongPath()
  5.   Song Album: getAlbum()
  6.   Song Album Id: getAlbumId()


Ravindra Solanki

FlexPLM ? Java |Spring

8 年

Hi ,Peeyush You are doing Great , It seems Intresting Surely Look Into this.

回复

要查看或添加评论,请登录

Peeyush Singhal的更多文章

  • Kiodesk : A Custome Support Software

    Kiodesk : A Custome Support Software

    KioDesk helps businesses deliver outstanding customer support to their clients through tools that allow customers to…

  • Roboeyelabs : A Online Free CRM Software

    Roboeyelabs : A Online Free CRM Software

    Customer relationship management (CRM) manages your business's single most important goal - satisfying your customers…

  • Sign Up for Best Free Bug Tracking Software | Bugcutter

    Sign Up for Best Free Bug Tracking Software | Bugcutter

    Bugcutter is a cloud based Bug Tracking and Project management tool. You can manage your projects here in a simplest…

  • Bugcutter - A Cloud based Project Management Tool

    Bugcutter - A Cloud based Project Management Tool

    Bugcutter is A cloud based bug tracking and project management tool . It is kanban based simple and free tools to…

  • PK Player - Android app

    PK Player - Android app

    Stylish , Powerful and Fast Music Player with elegant design . Music Player lets you manage all your music files…

  • Grow Your Business With Android Apps

    Grow Your Business With Android Apps

    Android has emerged as the most popular mobile operating system in the world. With more than 1 billion active Android…

  • Custom Fonts in Android - w2class

    Custom Fonts in Android - w2class

    In this post, we’ll look at a generalized approach, which is more complex, but also more suitable for a repeated use of…

  • AppLocker - Android application

    AppLocker - Android application

    AppLocker is an application which is used to keep your privacy. You can lock your applications in your phone.

  • How to Get List of Installed Apps in Android

    How to Get List of Installed Apps in Android

    How to Get List of Installed Apps in Android Android PackageManager class is used to retrieve information on the…

  • Android SQLite Database Tutorial - w2class

    Android SQLite Database Tutorial - w2class

    SQLite is a opensource SQL database that stores data to a text file on a device. Android comes in with built in SQLite…

其他会员也浏览了