This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Android and the fly likes Getting data from excel File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Getting data from excel File" Watch "Getting data from excel File" New topic
Author

Getting data from excel File

Jerry Gomez
Greenhorn

Joined: Sep 15, 2011
Posts: 5
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
Marshal

Joined: Mar 22, 2005
Posts: 41148
    
  45
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.


Ping & DNS - my free Android networking tools app
Jerry Gomez
Greenhorn

Joined: Sep 15, 2011
Posts: 5
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
Marshal

Joined: Mar 22, 2005
Posts: 41148
    
  45
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
 
wood burning stoves
 
subject: Getting data from excel File
 
Similar Threads
Insertion in MS-EXCEL using JDBC
opening excel application in browser
Export data to Excel in Websphere Portals
How 2 Get reports
Exporting data to excel file... using java web app