reading path of current file and display problem

Put your problem here if it does not fit any of the other categories.

reading path of current file and display problem

Postby vijays » Tue Mar 25, 2008 10:08 am

hi ,
i have file browser (List View) i want to read the path of current file and display on the screen(for validation)
but i have one screen as list view and after that i m doing setContentView() but it is not working geting
error:nullptrexception

String filePath;

filePath=file.getAbsolutePath();

txt.append(filePath);
setContentView(txt);

plz help me to solve this problem.
thanx
vijays
Freshman
Freshman
 
Posts: 4
Joined: Sun Mar 23, 2008 5:57 am
Location: india

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 19 guests