This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Android and the fly likes Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Help" Watch "Help" New topic


Alex Vandusen

Joined: Jun 14, 2011
Posts: 13
I want to have a place in my app where users can submit text. How would I set that up to where when the user submits text where can I make it go so that I can view it. And do I have to make an update for the app everytime I add new text files or is there another way
Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
What do you mean by
Alex Vandusen wrote:I want to have a place in my app where users can submit text.

You want to store some data private to your own app ?
Well if this is the requirement you can use sqlite database or there is assets folder too.Create your own file and store in that folder.
Peter Johnson

Joined: May 14, 2008
Posts: 5852

Also confusing:

a) You say the "user submits text" and then "I can view it". So you personally want to view the text the user entered?

b) You say "I add new text files". Do you mean that you personally can also add new text and the user (all users of you app or just specific users?) should be able to view that text?

The kind of global sharing that you are implying would require a centralized server (perhaps in a cloud environment) to store text.

JBoss In Action
I agree. Here's the link:
subject: Help
It's not a secret anymore!