Skip to content

ingamedeo/vidtomp3-api-parser-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

vidtomp3-api-parser-android

vidtomp3.com API XML Parser for Android

How to use this stuff

How to use this parser in your project
...
InputStream instream = httpEntity.getContent(); //Get Inputstream from response
Vidtomp3parser parser = new Vidtomp3parser();
HashMap<String, String> data = parser.parse(instream);
  • Now you can access status, videoid, file, downloadurl and filesize tags.
/* Data */
private String title;
private String videoid;
private String mp3url;
private String status;
private String downloadsize;

...

status = data.get("status");
if (status.equals("finished")) {
  videoid = data.get("videoid");
  title = data.get("file");
  mp3url = data.get("downloadurl");
  downloadsize = data.get("filesize");
  }
  • Done!

Check out my code!

  • Clone this repo below
https://github.com/ingamedeo/vidtomp3-api-parser-android.git

About

vidtomp3.com API XML Parser for Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages