niteshmourya / app-inventor-for-android

Automatically exported from code.google.com/p/app-inventor-for-android
Apache License 2.0
2 stars 0 forks source link

Ability to write file to sd card #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If the app could write out a textbox.text or a textblock to a file on the 
sdcard.
 The application/user should be able to determine it's name.

Original issue reported on code.google.com by cpoul...@gmail.com on 9 Sep 2010 at 11:08

GoogleCodeExporter commented 9 years ago
I think rather than just "ability to write file to SD card" this might be 
better described as a text protocol/stream request.  The ability to stream text 
to and from the sd card actually would answer a whole handful of feature 
requests. XML, text, expanded DBase, CSV capabilities could be handled with the 
list, text and tinyDB functionality. TinyDB could be populated with a CSV,  CSV 
could be used as multidimensional array, data harvesting for in and out actions 
from users would become a reality. The applications include, data gathering, 
gaming, multiplayer gaming, enterprise application and cryptography. 

Original comment by jwty...@gmail.com on 11 Sep 2010 at 4:47

GoogleCodeExporter commented 9 years ago
Even just an sdDB set like WebDB and TinyDB would be very helpful.

Original comment by denver.o...@gmail.com on 17 Sep 2010 at 7:10

GoogleCodeExporter commented 9 years ago
Just the ability to store data as XML if the user is not within a service area
the data could be saved and uploaded when they get back to civilization 

Original comment by bobtimp...@gmail.com on 27 Sep 2010 at 2:39

GoogleCodeExporter commented 9 years ago

Original comment by sha...@google.com on 7 Oct 2010 at 9:08

GoogleCodeExporter commented 9 years ago
Please add a way to populate TinyDB from a .csv file

Original comment by jonhodg...@gmail.com on 11 Oct 2010 at 9:48

GoogleCodeExporter commented 9 years ago
Issue 589 has been merged into this issue.

Original comment by halabel...@google.com on 3 Nov 2010 at 10:16

GoogleCodeExporter commented 9 years ago
Please add a way to write a simple txt file on SD. Please

Original comment by lorenzo....@gmail.com on 7 Nov 2010 at 7:51

GoogleCodeExporter commented 9 years ago
The one thing I have left in order to finish my program is the ability to save 
.csv files to the sd card or to send them locally over wifi, and to load them 
into my program.

Project Details:
I am building an inventory calculator that will record lines of data as follows:
1001,02,001,1.99,50,11:13:2010:12:45:15,Eric
Hundreds maybe a thousand or more lines.
and would import lists of what various numbers mean into my app.

Thank You

Original comment by erico...@gmail.com on 13 Nov 2010 at 10:11

GoogleCodeExporter commented 9 years ago
My project is about obtaining 3 axis acceleration data and time stamp. So it 
would be nice if app inventor would let me save these data on to a .csv or a 
notepad so that it can be export on to another computer via email. 

This is very important for me as I am not a confident user of JAVA.

thank you app inventor

Original comment by khpete...@gmail.com on 28 Nov 2010 at 1:46

GoogleCodeExporter commented 9 years ago
I too am desperately looking for the ability to save to file (CSV or any format)

I *thought* my requirement was basic:  populate spreasheet cells with dropdown 
list boxes on a mobile device (remote areas with connectivity issues, so need 
island mode, sync later)

While googleDocs can do dropdown lists, I cannot get this feature to work on 
android or apple/safari.  iWorks-Numbers doesnt support drop lists, neither 
does Docs to Go.

I put together the droplists in appinventor, only to find I cannot get the data 
into a file!  Surely the MUST be a way - it seems such a basic requirement.

Someone please help me through my ignorance here... 

Original comment by jer...@gmail.com on 18 Dec 2010 at 11:44

GoogleCodeExporter commented 9 years ago
Requests:

1.  Read/write text and binary files on the SD card.
2.  Search for strings/tokens in text and binary files.
3.  Fully functional Arrays.  The lists that exist are in the right direction, 
but the contents are static.
4.  Case statements in logic control.  Existing Choose is limited.
5.  Ability to create hyperlinks.  For example, if one wanted to read in a 
table of contents and create a hyperlinked interface that would allow him to go 
directly to a place in the file.

Love the product so far.  Looking forward to future releases with even more 
functionality.  I'm a C++ and Java programmer with several years experience 
using National Instruments LabView which is also a graphical programming 
interface.

Original comment by stinehel...@gmail.com on 21 Dec 2010 at 3:53

GoogleCodeExporter commented 9 years ago
@stinehelferw:

Please search the issues list for all of your requests, as I'm sure some of 
them may exist already, and if not you can request them and get votes (stars) 
for them.  Putting them into a reply here will not get them addressed.

Original comment by stevo...@gmail.com on 21 Dec 2010 at 5:46

GoogleCodeExporter commented 9 years ago
Just spent the last two weeks solidly coding... only to find out this last leg 
of the journey isn't supported..  Please come to a resolution soon.  Has anyone 
come up with a work-around?  I've created a huge textblock that I need to 
attach to an e-mail.  Maybe there is a simple java app that can be linked to 
via activity starter?

Original comment by sydcart...@gmail.com on 4 Jan 2011 at 10:52

GoogleCodeExporter commented 9 years ago
Would these requests allow the ability to write image files, (the URL to the 
images are in a plain text box.) To the SDcard, and also will these requests 
allow me to write an image that is in the canvas background to the SDcard?

Thanx

Original comment by mohansee...@hotmail.com on 12 Jan 2011 at 12:20

GoogleCodeExporter commented 9 years ago
I am trying to find a way to post files to a website. A simple FTP component is 
greatly needed for information to flow freely. In the meantime I will continue 
to attempt to use the activity starter with a 3rd party FTP program. Any help 
with this issue would be greatly appreciated. at the moment my 3rd party 
program is AndFTP, but I am having trouble finding the correct intents to even 
open it let alone auto-upload to my site.

Thanks.

Original comment by joezap...@gmail.com on 1 Feb 2011 at 2:54

GoogleCodeExporter commented 9 years ago
If you're in a real desperate hurry, you can use PHP and the browser-activity 
starter.  Just upload a file to your server called something like upload.php 
that will upload whatever is passed to it.  You may need to use a GET but 
that's doable, if it's just simple things you want uploaded, or if you want to 
upload things from for which you know the file path on the phone.

If you'd like more info, let me know...

Original comment by zela...@gmail.com on 1 Feb 2011 at 3:26

GoogleCodeExporter commented 9 years ago
yes that sounds promising if im even sure what you mean lol. Im trying to 
upload newly taken pictures, of which i do know how to get the path. i just 
dont know much about php ;)

Original comment by joezap...@gmail.com on 2 Feb 2011 at 5:41

GoogleCodeExporter commented 9 years ago
i also wanted to make an app that requires an xml file to be read from the sd 
card. so having that feature in AI will be very help full for me

Original comment by SridevPa...@gmail.com on 4 Feb 2011 at 7:55

GoogleCodeExporter commented 9 years ago
Write to sdcard very helpful for education projects where Android device uses 
as physical equipment. Log of sensor indication for every experiment needed to 
write on sdcard.
Please add this feature as soon as possible.
Thanks in advance!

Original comment by dmitry.i...@gmail.com on 4 Feb 2011 at 8:07

GoogleCodeExporter commented 9 years ago
yes. FileIO!

Original comment by cyberp...@gmail.com on 8 Feb 2011 at 8:25

GoogleCodeExporter commented 9 years ago
Save Canvas as Picture

Original comment by zachvo...@gmail.com on 13 Feb 2011 at 1:11

GoogleCodeExporter commented 9 years ago
just noticed Terminal app uses sqllite to read bookmarks on Android phone. It 
would be great if we had an sqllite interface as well and could get to such 
file types.

http://forum.xda-developers.com/showpost.php?p=3223060&postcount=199

Original comment by cyberp...@gmail.com on 17 Feb 2011 at 12:41

GoogleCodeExporter commented 9 years ago
I would love to use App Inventor, but I absolutely need to be able to read and 
write files, so AI is not currently of any use to me.  I see a lot of other 
people also want file I/O. It really would make your system much more powerful 
and widely useful.

Original comment by hgzuc...@gmail.com on 22 Feb 2011 at 12:57

GoogleCodeExporter commented 9 years ago
Will this mean we will have the ability to read (download) files (csv/txt) from 
the internet as well? Or is there already a way to do this?

Original comment by go.scott...@gmail.com on 22 Feb 2011 at 9:45

GoogleCodeExporter commented 9 years ago
I would also like to see writing to a file. it would be very helpful, i made an 
app in which i record my usage of electricity of my appartment, and then making 
analisys of the data in excel. csv would be very usefull.

Original comment by danilo.m...@gmail.com on 16 Mar 2011 at 3:49

GoogleCodeExporter commented 9 years ago
File IO is absolutely FUNDAMENTAL. Why does it take so long. So many months of 
waiting... TinyDB is realy qute but it is a very isolated situation. I would 
imagine a read procedure as ReadSDFile(file_location_name):text with "text" 
being the readed text For non existing files the "text" could be as well empty 
(nothing to read).
The WriteSDFile could be WriteSDFile(file_location_name, text):boolean with the 
output being the result of the write (failed/succeeded). Even a 
Fileexist(file_name_location) could be provided. All these cannot be so 
difficult to take so much time. It is rather ironic to provide lego and not 
file io.

Original comment by strata...@gmail.com on 16 Mar 2011 at 8:42

GoogleCodeExporter commented 9 years ago
trying not to beat a dead horse here........ Using the basic tutorial of the 
paintpot.  let's say I draw a face on my cat..... being able to save that to 
the sd card seems like a pretty basic request.  THANKS!

Original comment by k8k...@gmail.com on 21 Mar 2011 at 12:18

GoogleCodeExporter commented 9 years ago
I understand a feature is in the works.  I think It would be EXTREMELY useful 
and valuable if this feature would integate seemlessly with a new control for 
managing this local SD File Data. But mostly it would help address a very 
common forms need. 

Imagine a new control (combination textbox/List Picker), you point it to a file 
and it allows UI for adding, editing or deleting rows in a file (by line feed). 
Row by row, List Picker to select the row and maybe an option for setting the 
default selected row.

Original comment by cyberp...@gmail.com on 5 Apr 2011 at 10:19

GoogleCodeExporter commented 9 years ago
Does anyone think that adding an app that we could call via activitystarter
would suffice?  It shouldn't be overly difficult to write?

Original comment by sydcart...@gmail.com on 6 Apr 2011 at 2:18

GoogleCodeExporter commented 9 years ago
It was not... at least as much as is done. 

We are not doing a lot because there has not been a lot of interest in the 
conversation I had in the forums about it.

Is there interest?

Gary

Original comment by g...@jsoft.com on 6 Apr 2011 at 10:07

GoogleCodeExporter commented 9 years ago
there is absolutely interest! I have at least 3 app ideas where I would need sd 
card write capabilities. as   great as tiny db is we don't always have internet 
connections when we need to store something.

Original comment by malhotra...@gmail.com on 6 Apr 2011 at 12:11

GoogleCodeExporter commented 9 years ago
This is so true. This is why an app is needed over a mobile friendly
website.

Sent from my Droid phone.

Original comment by davidmca...@gmail.com on 6 Apr 2011 at 1:11

GoogleCodeExporter commented 9 years ago
Here is not where we should have a conversation.

Here is one of the topics where there was almost no interest.
  https://groups.google.com/d/topic/programming-with-app-inventor/mOC1b-xHZko/discussion

A few of us that are interested are following up on my private group. Feel free 
to email me if you are interested.

Gary

Original comment by g...@jsoft.com on 6 Apr 2011 at 3:10

GoogleCodeExporter commented 9 years ago
So, seven months later and we still do not have a mechanism to write to the SD 
card??? What's the problem? App Inventor without write capability is useless...

Original comment by michael....@gmail.com on 10 Apr 2011 at 9:49

GoogleCodeExporter commented 9 years ago
I need it !

Original comment by andag...@gmail.com on 4 May 2011 at 6:39

GoogleCodeExporter commented 9 years ago
Try using TinyDB
Its better than nothing.

Original comment by jcbod...@gmail.com on 26 May 2011 at 5:33

GoogleCodeExporter commented 9 years ago
Please add ability to read & write to text files.

Original comment by craigwhi...@gmail.com on 26 May 2011 at 9:14

GoogleCodeExporter commented 9 years ago
Arbitrary file IO as well as raw SQLite, please. And both of these should be 
able to work with data on the SDcard.

Original comment by chris.ku...@gmail.com on 29 May 2011 at 3:04

GoogleCodeExporter commented 9 years ago
Funny, people keep saying they need file IO.
Then people, presumably from Google keep suggesting to use TinyDB instead.
file IO is a very very very basic computer feature.
It's the kind of feature that infinitely multiplies the usability of a device.

I know Google is all about the cloud these days, but if they would add this 
feature, they would gain lots of apps and users.

As for me, I need this file IO to do an expense report app. And I don't want to 
use tinyDB or web objects because it would be used by people traveling abroad, 
and probably don't want to use expensive data roaming for filing expenses.
Populating a csv file would be perfect (no data roaming, can work even in an 
underground parking, etc ...).

Original comment by gdevauco...@gmail.com on 26 Jun 2011 at 9:11

GoogleCodeExporter commented 9 years ago
I checked, and this issue has 250 votes as of today. It makes it the fifth most 
voted issue in a list of more than 900. So I'm confident Google will provide 
that feature soon. At least I hope

Original comment by gdevauco...@gmail.com on 26 Jun 2011 at 9:19

GoogleCodeExporter commented 9 years ago
my guess is not for a very long time as it still has to go to started and
testing phase

Original comment by danixp...@gmail.com on 26 Jun 2011 at 9:23

GoogleCodeExporter commented 9 years ago
Personally I wouldn't be too "confident" about it considering it been on the
list for forever and still hasn't been implemented. You would think it would
be relatively high on the priorities list instead of these other less needed
features.

Sent from my Android Powered Moto Droid!

Original comment by chrisyu...@gmail.com on 26 Jun 2011 at 9:26

GoogleCodeExporter commented 9 years ago
I've written a bluetooth panorama-robot remote control app in AppInventor. 
(Normally I write c/c++/Java for my apps.) I want filesupport to be able to 
make the logfiles that will later be used by the panorama stitcher to create 
the panoramas.  Now I have to mail the data as body-text as it doesn't even 
support attachments!

I have to say though, that AppInventor is hell to work with when apps become 
this large and complex. At minimum zoom my app spanns 6 screens. When it keeps 
reorganizing based on some odd parameter it becomes very difficult to find the 
function you want to modify. I guess I'm going back to proper coding.

Original comment by tha_krea...@hotmail.com on 26 Jun 2011 at 10:05

GoogleCodeExporter commented 9 years ago
Please please PLEASE let me save sound clips to the SD card.

Original comment by lord.bla...@gmail.com on 30 Jun 2011 at 5:10

GoogleCodeExporter commented 9 years ago
I aggree to comment #43.
I've got an app with "only" 3 screens and about 50 functions. And it's nearly 
impossible to find the right function, if your app has got a bug.

I need filesupport, cause the user should be able to down- and upload some data 
as a csv-file to work with it in MS Excel. In the moment it's only possible to 
mail the data you want to download as plain text. Uploading is not possible at 
all.
I don't want to use TinyDB, cause the user should be able to use my app without 
any data connection.

What I really don't like at AppInventor ist, that you always need a connection 
to the internet - otherwise you're not able to develop your app. That's not the 
way I like it.

Original comment by Jan.Gros...@googlemail.com on 2 Jul 2011 at 1:59

GoogleCodeExporter commented 9 years ago
With some duck tape and scissors you can do bucket loads with inventor. The 
options to save files to the card would be welcomed.

Original comment by johnjosh...@gmail.com on 29 Jul 2011 at 8:17

GoogleCodeExporter commented 9 years ago
Of course there should be a I/O...from the SDCARD at least!

Original comment by lghoc...@gmail.com on 30 Jul 2011 at 11:14

GoogleCodeExporter commented 9 years ago
DB für SD-Card und Google Text und Tabellen.
Wichtig!

Original comment by pruritus...@gmail.com on 31 Jul 2011 at 6:19

GoogleCodeExporter commented 9 years ago
Why is there not file I/O in App Inventor. Is there not enough requests for it. 
It is after all a basic function of any computer or project development 
software. Ho difficult can it be. Files are read and written all the time.

Original comment by maimag...@gmail.com on 2 Aug 2011 at 6:10

GoogleCodeExporter commented 9 years ago
"How difficult can it be" ???
Why don't you join the app inventor team? I mean you know how simple all of
this is for them, so why not join in and help. Oh wait, your using app
inventor, not writing code.

Sent from my Android Powered Moto Droid!

sd

for

development

Original comment by chrisyu...@gmail.com on 2 Aug 2011 at 8:25