Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How Create a file in assets file ?

 
Farshad Zeinali
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi dears

How I can create a file in assets folder ?
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't. Any asset files needs to be in place when the APK file is generated; you can't add anything there at runtime. What is the underlying problem that you're trying to solve?
 
Farshad Zeinali
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for answer

I want run time create a html file then read and write in this
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure if what you propose to do is a good idea or not (there's too little detail to tell), but there are a couple of storage options for files: http://developer.android.com/guide/topics/data/data-storage.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic