Skip to content Skip to sidebar Skip to footer

Issue To Get Data From Xml Using Intent Filter

i need, when i click on XML file, to pass data from file to app...if i pass file's path static it work...but if i use intent filter so i pass data dynamically it doesn't work...i s

Solution 1:

Try to use this :

When passing data where filepath is a string that contains your dynamic filepath:

intent.putExtra("filename",filepath);

While getting it :

String intenttt=intentt.getExtras().getString("filename");

Post a Comment for "Issue To Get Data From Xml Using Intent Filter"