• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to give a file name duting run time

 
deepika deepi
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi every body,

i have an file that is stored in the data base and the file name is declared in the code. i want the user to enter the file name and get the contents inside the file.



how to change this? i have tried some thing to change in this code. but it's telling the emulator is forced to close. can any one help here would be of great help indeed. i am in my final stage of my project and need to complete this today. so any one helps would be of great help for my project at this crucial moment.
 
Tim Moores
Bartender
Posts: 2675
33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can let users enter text by adding an EditText widget to your UI.

As to an app being force closed: every time that happens the stack trace is written to the logcat output; that tells you at which line of your code it happened, and should also include an error message that at least hints at the problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic