• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using other java libraries within Android

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mark,

Can we add our own java libraries to be used within Android?

Also, Does Android provide out of the box support for google maps and other google api's?
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, you can add your own jars. And Android does provide APIs for several Google services.
 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Anup Francis wrote:Also, Does Android provide out of the box support for google maps and other google api's?



I also believe that Android is supposed to be seamlessly intergated with other Google's services... I once bookmarked this. Hope it is interesting to you as well...
 
Author
Posts: 131
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Can we add our own java libraries to be used within Android?



Yes and sort of.

Android supports incorporating third-party JARs into Android apps. However, those JARs might assume they are on JavaSE (or, worse, JavaME) and therefore be missing some important APIs.

Also, you will have some problems if the JAR was compiled using older Java (e.g., 1.4.2) or non-Sun Java (e.g., gcj). If the source is available, I recommend recompiling the code using the same compiler that you would use for your Android app.
 
reply
    Bookmark Topic Watch Topic
  • New Topic