So the app I'm building has to use a specific library. Unfortunately this library uses bouncycastle in it. As is known this will not work with Android. Are there any ways to get around this? I was suggested to build a service layer to interact with the library SDK but I have no idea where to begin or what that really is.
Using Java SDK in Android app
131 Views Asked by Adrian Le Roy Devezin At
2
There are 2 best solutions below
3
Synx
On
If the library comes in a packed .jar file you can import it to your Android project by right clicking on the project > Properties > Java Build Path > Libraries tab and pressing the Add external JAR button
This is valid for Eclipse, there way to do it on Android Studio might be different.
This post may also solve your issue: BouncyCastle on Android
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in SDK
- Customizing tweet view using Fabric SDK
- Facebook iOS SDK 4 error info.plist
- Why my android application stopped when I run it in Emulator?
- android.support.v7.app.ActionBarActivity cannot be resolved
- Ionic cordova build
- Programmatic Access to Apple Watch Crown
- iOS using microsoft band build error
- Framework causing errors in Xcode after adding cocoapods
- Downgrade Android App Sdk
- How to utilise GStreamer plugins-good/bad/ugly in iOS SDK
- I don't know what exactly is wrong with my SDK and ADT Plugins
- How to configure Android SDK manager with socks?
- Errors after updating sdk with Eclipse
- Paypal in-context express checkout - modal windows incorrect
- share link on facebook,can not published.error "We are sorry.this post is no longer available, it may have been removed"
Related Questions in BOUNCYCASTLE
- Recovering an ECPublicKey from JavaCard to Java
- searchable row level encryption using java?
- Create signature with bouncycastle api. Key always null
- Bouncy Castle Decryption in Java
- Using CmsEnvelopedData with CmsSignedData to verify signed data
- AES with PKCS#5 padding
- What encoding does [BouncyCastle] PKCS10CertificationRequest.getEncoded() return?
- Java/Clojure BouncyCastle reports wrong key size, but key size is right
- ePassport Problems reagrding MAC creation in ICAO 9303 "worked examples" in Java/Clojure
- Jsch not working with certain sftp servers
- Using Java SDK in Android app
- C# PCL HMACSHAX with BouncyCastle-PCL
- BouncyCastleProvider class not found in Grails 2.5.0
- {Bouncy Castle} RsaKeyPairGenerator.GenerateKeyPair takes very long
- Using keytool from Java code rather than command line
Related Questions in SPONGYCASTLE
- Retrieve ECC Public Key from Base64 encoded string
- Using Java SDK in Android app
- Bouncycastle (Spongycastle) key import and use on android
- Install AndroidKeyStore entry to AndroidCAStore
- IV for encryption conversion. Expected IV length of 16 but was 24
- java.io.IOException: Can't process class when running ProGuard in Maven build of Android project
- SpongyCastle: how to generate signed data?
- Java NoClassDefFoundError with DexGuard and spongycastle
- Jsch with spongycastle rather than bouncycastle on Android
- Android Studio: Custom Writer Class extends BufferedWriter (PemWriter)
- ECDSA for Android using SpongyCastle
- Android - Where is the best place to place the "addProvider" / "Security.insertProviderAt" code line
- Fail to add Spongycastle as provider in android
- Implementing SpongyCastle BouncyCastle JCEIESCipher
- Setting up an SSLContext using Spongy Castle
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I ended up finding and modifying the source code of the SDK to implement spongycastle