Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Android
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Java Persistence with Spring Data and Hibernate
this week in the
Spring
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Tim Cooke
Paul Clapham
Liutauras Vilda
Sheriffs:
Junilu Lacar
Rob Spoor
Jeanne Boyarsky
Saloon Keepers:
Stephan van Hulst
Carey Brown
Tim Holloway
Piet Souris
Bartenders:
Forum:
Android
How Create a file in assets file ?
Farshad Zeinali
Greenhorn
Posts: 17
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi dears
How I can create a file in assets folder ?
Ulf Dittmer
Rancher
Posts: 43075
77
posted 9 years ago
1
Number of slices to send:
Optional 'thank-you' note:
Send
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
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
thanks for answer
I want run time create a html file then read and write in this
Ulf Dittmer
Rancher
Posts: 43075
77
posted 9 years ago
1
Number of slices to send:
Optional 'thank-you' note:
Send
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
You can't expect to wield supreme executive power just because
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
How to read a doc file in the assets folder
how to copy font file from Assets folder to data folder
Create file object for each assets item.
Android - update SQLite
What is the different between Assets and res/raw folder
More...