android - download ftp files to sd card and show in a list view onclcik -


I downloaded the files from FTP and saved the SD card. So I click on SD card with listview. But this is not working for me.

This is my code

  public file f; Crate on public void (bundle extractor) {super. Cottage SetContentView (R.layout.activity_main); Lv = (ListView) findViewById (R.id.list); New Ftpclient () Executed (); Lv.setOnItemClickListener (New OnItemClickListener) {public void onItemClick (adapter view   

NPE in this line displays

  string uri = f.toString ();   

The six Thanks always to thank you

Try with LV inside Lv.setAdapter (arrayAdapter) PostExecute after invalid ()

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -