Win a copy of Java Persistence with Spring Data and Hibernate this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

Getting data from excel File

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Rancher
Posts: 43075
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 43075
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Can you smell this for me? I think this tiny ad smells like blueberry pie!
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic