Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting data from excel File

 
Jerry Gomez
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I`m kinda new with android ,but i know java.
With a normal application it`s possible to get data from an excel file.
When i try to put it into an android application it doesn`t work.

Is it even possible on the android?
Or do you have a better suggestion.

Greetings Vermi

 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The common libraries (POI, jExcel) have dependencies on AWT - which doesn't exist on Android; that's why they can't be used.

It's certainly possible in general, as attested by applications like DocumentsToGo.

If you just need to read the format, you might look into what's involved in stripping out all AWT components from those libraries. It's probably a big job, and you'd possibly lose image support, so it'd depend on what you need and how much work you are prepared to do.
 
Jerry Gomez
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The game that i`m working on has lots of text.
I want the text to be on some kinda file.

I want to read the text somekind of way with the android.

Thanks, Jerry
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So the question is no longer about Excel at all? In that case see http://developer.android.com/guide/topics/data/data-storage.html about internal and external storage.

If the file is part of the app itself, see http://developer.android.com/guide/topics/resources/index.html
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic