tags:

views:

30

answers:

0

I create one application in android that will download the ics file from mail attachment.When i select the ics files in the downloads folder i can able to read the data of the file. This works fine in the emulator only. But in the device i can't able to read the file data.I use the following code to select the path of the selected file in android 1.5 simulator. Can anyone help me to solve this??

  Intent intent = getIntent();
  // get the selected file path
  String filepath = intent.getData().getEncodedPath();