• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

Using other java libraries within Android

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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.
 
Did you miss me? Did you miss this tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic