RE: [android-developers] Re: Saving ArrayList to .txt file

2010-04-26 Thread Tommy
[mailto:android-develop...@googlegroups.com] On Behalf Of Kumar Bibek Sent: Monday, April 26, 2010 12:33 AM To: Android Developers Subject: [android-developers] Re: Saving ArrayList to .txt file What do you mean by there's nothing oevr there? Objects written down on a file would not be in a readable

[android-developers] Re: Saving ArrayList to .txt file

2010-04-26 Thread Kumar Bibek
: Monday, April 26, 2010 12:33 AM To: Android Developers Subject: [android-developers] Re: Saving ArrayList to .txt file What do you mean by there's nothing oevr there? Objects written down on a file would not be in a readable format. So you can't just use a text reader to read the contents

RE: [android-developers] Re: Saving ArrayList to .txt file

2010-04-26 Thread Tommy
@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Kumar Bibek Sent: Monday, April 26, 2010 3:33 AM To: Android Developers Subject: [android-developers] Re: Saving ArrayList to .txt file This piece of code works for me. You shoudl search for your file in /data/data/your package

[android-developers] Re: Saving ArrayList to .txt file

2010-04-26 Thread Streets Of Boston
- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Kumar Bibek Sent: Monday, April 26, 2010 3:33 AM To: Android Developers Subject: [android-developers] Re: Saving ArrayList to .txt file This piece of code works for me. You shoudl search

RE: [android-developers] Re: Saving ArrayList to .txt file

2010-04-26 Thread Tommy
- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Kumar Bibek Sent: Monday, April 26, 2010 3:33 AM To: Android Developers Subject: [android-developers] Re: Saving ArrayList to .txt file This piece of code works for me. You shoudl search

Re: [android-developers] Re: Saving ArrayList to .txt file

2010-04-26 Thread Mark Murphy
Tommy wrote: Seems it was a permission issue with Astro when view that directory. How can I view the /data directory. Is there a way to use windows explorer when the phone is connected or anything? No. You cannot view the /data directory on a production device without rooting it. -- Mark

RE: [android-developers] Re: Saving ArrayList to .txt file

2010-04-26 Thread Tommy
@googlegroups.com Subject: Re: [android-developers] Re: Saving ArrayList to .txt file Tommy wrote: Seems it was a permission issue with Astro when view that directory. How can I view the /data directory. Is there a way to use windows explorer when the phone is connected or anything? No. You cannot view

RE: [android-developers] Re: Saving ArrayList to .txt file

2010-04-26 Thread Tommy
, 2010 1:32 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Saving ArrayList to .txt file Tommy wrote: Seems it was a permission issue with Astro when view that directory. How can I view the /data directory. Is there a way to use windows explorer when the phone

Re: [android-developers] Re: Saving ArrayList to .txt file

2010-04-26 Thread Mark Murphy
Tommy wrote: So then there would be no way for my app to be able to list out the file names that reside in that location so the user can choose which one to open? Only those files within your own space (getFilesDir() and subdirectories), or are on the external storage

RE: [android-developers] Re: Saving ArrayList to .txt file

2010-04-26 Thread Tommy
: Monday, April 26, 2010 3:41 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Saving ArrayList to .txt file Tommy wrote: So then there would be no way for my app to be able to list out the file names that reside in that location so the user can choose which one

Re: [android-developers] Re: Saving ArrayList to .txt file

2010-04-26 Thread Mark Murphy
Tommy wrote: Ah ok. Would you have any recommended links for tutorials that show how to list files in a directory. I'm new to android/java. Thank you for your time. ExampleDepot is your friend for standard Java stuff: http://exampledepot.com/egs/java.io/GetFiles.html

RE: [android-developers] Re: Saving ArrayList to .txt file

2010-04-26 Thread Tommy
Thanks! -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Mark Murphy Sent: Monday, April 26, 2010 3:55 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Saving ArrayList to .txt file

[android-developers] Re: Saving ArrayList to .txt file

2010-04-25 Thread Kumar Bibek
What do you mean by there's nothing oevr there? Objects written down on a file would not be in a readable format. So you can't just use a text reader to read the contents. And if you mean that the file is empty, then the process of serialization is what you should check first. Try with a normal