Android :: Bouncycastle Encryption Algorithms Not Provided

Jan 7, 2010

I'm trying to use BouncyCastle with android to implement ECDH and EL Gamal. I've added the bouncycastle jar file (bcprov-jdk16-144.jar) and written some code that works with my computers jvm however when I try and port it to my android application it throws: java.security.NoSuchAlgorithmException: KeyPairGenerator ECDH What am I doing wrong?

Android :: Bouncycastle encryption algorithms not provided


Android :: Using Bouncycastle

Jan 6, 2010

I'm converting a J2ME application to Android using Eclipse + SDK.

The J2ME is using Bouncycastle SHA1. I understand that Android now includes Bouncycastle ?

How do I use the Bouncycastle functions. What do I have to Import or how do I add the BC libraries to the Eclipse.

View 2 Replies View Related

Android :: BouncyCastle Code In Dalvik/libcore

Jul 15, 2009

What version is the bouncycastle libs included in dalvik libcore code? I'm trying to use OpenPGP code to an app but I'm getting big conflicts and issues because of the existing code, but it doesn't include all bouncycastle code, and the version of android code I've checked out doesn't indicate the version of bouncycastle used.

View 8 Replies View Related

Android :: What Algorithms Does Javax.crypto Support?

Jul 21, 2010

I cannot find any documentation that specifies the algorithms that I can specify in getInstance for Cipher. Is there any around? Specifically, I am looking for support for the RC4 cipher.

View 4 Replies View Related

Android :: Optimizing Image Processing Algorithms

Aug 19, 2010

I am developing a mobile application that involves complex image processing operations. The app is designed in Java while the core image processing ops are implemented in native code, and compiled using the Android NDK.Now, I know that native code will *not* yield any significant performance improvement over Java code, and that the NDK purpose is only to support re-use of code libs (or to quickly integrate legacy code).are there any resources/tips-n-tricks/white papers/ samples on optimizing image processing algorithms for Android? To be even more specific, I am looking out for optimizing memory operations (cache misses, memory stalls, etc.). I profiled my application code and came to the conclusion that memory issues are causing the *maximum* performance penalty. (Nothing surprising over there, it is expected, but just verified with profile data as well).

View 1 Replies View Related

Android :: How To Implement Algorithms Such As Dijkstra On Google Maps?

Jul 19, 2010

How can I implement algorithms such as Dijkstra or backtracking on Google Maps integrated in Android ? For example I want to compute a route from city A to city B such that I pay the lowest price for gas.

View 2 Replies View Related

Android :: Difference Between BitBlit Algorithms In Skia And Libpixelflinger

Jul 14, 2009

In Android, I could see 2 BitBlit functions defined in skia and libpixelflinger libraries.

1) S32A_D565_Opaque function in external/skia/src/core/ SkBlitRow_D16.cpp has one implementation

2) scanline_t32cbl6blend function in system/core/libpixelflinger/ scanline.cpp has another implementation

Both implementations look different. Please help me understand the rationale behind these algorithms and the reason for having two different implementations/algorithms.

View 2 Replies View Related

Android :: How To Create BKS - BouncyCastle - Format Java Keystore That Contains A Client Certificate Chain

Oct 31, 2010

I'm writing an Android app that requires SSL client authentication. I know how to create a JKS keystore for a desktop Java application, but Android only supports the BKS format. Every way I've tried to create the keystore results in the following error:
handling exception: javax.net.ssl.SSLHandshakeException: null cert chain

So it looks like the client is never sending a proper certificate chain, probably because I'm not creating the keystore properly. I'm unable to enable SSL debugging like I can on the dekstop, so that's making this much more difficult than it should be.

For reference the following is the command that IS working to create a BKS truststore:
keytool -importcert -v -trustcacerts -file "cacert.pem" -alias ca -keystore "mySrvTruststore.bks" -provider org.bouncycastle.jce.provider.BouncyCastleProvider -providerpath "bcprov-jdk16-145.jar" -storetype BKS -storepass testtest

Here is the command I've tried that is NOT working to create a BKS client keystore:

CODE:.........................

View 3 Replies View Related

Android :: Using SDk Provided Images

Jul 28, 2009

There are images provided in android-sdk-windows-1.5_r2platforms android-1.5data esdrawable folder of SDK. Is there any way that we can use those directly in appliation. (without local copy)?

View 6 Replies View Related

Android :: How To Keep GPS Active Until More Accurate Location Is Provided?

Jan 2, 2010

I recently posted this question on stackoverflow (http://tinyurl.com/ yzrofne), but maybe someone here can help me. I am using the location manager's requestLocationUpdates() method to receive an intent to my broadcast receiver periodically. The system is correctly firing the intent to my broadcast receiver, and I have been able to use it correctly. The only problem is that the GPS location provider only stays active for a few seconds after the initial location acquisition, and I need it to stay on a little longer so that the location estimates are more accurate. For example, if I tell the location manager that I want an update every 5 minutes, it correctly fires the intent with location information from the GPS. However, the GPS only stays active for about 5 seconds, so it doesn't give much time for the location to reach a high accuracy (say, less than 10-20 meters). My question is how to make the GPS location provider stay active for each periodic request that comes from the LocationManager requestLocationUpdates. Does anyone know how to do this?

View 2 Replies View Related

Android :: How To Disable A View Provided There Are 2 Views In Xml?

Mar 25, 2010

The reason for me to do this, I have created these 2 views in the beginning of the app. SO they are always present. But in some cases where i want only 1 view(which is surfaceview) and if i dont need the 2nd view(i.e, videoview), i am still getting a black patch at the palce where i have defned a videoview. want to get rid of this. Can anyone please tell me if it is possible to disable views/surfaces corresponding to them? If so how can we do this?

View 2 Replies View Related

Android :: Recent Apps Seem To Have Google-provided Ads Is There Some New API For This?

May 5, 2009

Several recent applications (e.g. Shazam) have text and image ads which are handled by Google. I can't seem to find how they did this. Is there some new API that you can use to display ads given some key, similar to how the maps API works? Or is this something that developers individually negotiate?

View 3 Replies View Related

Android :: Cities / Countries Data Provided By Google API

Mar 30, 2009

I am using Geocoding API for my application... How can i know the set of cities/countries for which google API provides data for? If there is a list of cities and countries, can anybody provide me with the same?

View 2 Replies View Related

Android :: Coordinates Provided By Geo Fix Command To Emulator Are Different In Location Listener

Aug 3, 2010

I use Android emulator to test my location based application. The cordinates are provided by geo fix command (for example: geo fix 2.31278 48.9533 10). But when the new location event is fired, the cordinates are not the same as those in the command: I got latitude = 48.95800053333334, longitude = 2.3033544999999997 (I use Location.getLatitude() and Location.getLongitude() methods). Does anyone have an idea of my trouble ?

View 5 Replies View Related

Android :: Intent Provided By Cursor Is Not Fired Correctly (LiveFolders)

Apr 15, 2010

In my desperation with trying to get LiveFolders working, I have tried the following in my LiveFolder ContentProvider:Which, in all normalness, should launch the Browser and display the Google homepage when clicking on an item in the LiveFolder. But it doesn't. It gives a Application is not installed on your phone error. No, I'm not defining a base intent for my LiveFolder.logcat says:I/ActivityManager( 74): Starting activity: Intent { act=android.intent.action.VIEW dat=Intent { act=android.intent.action.VIEW dat=http://www.google.com/ } flg=0x10000000 }It seems it embeds the Intent I give it in the data section of the actually fired Intent. Why is it doing this? I'm really starting to believe it's a platform bug.update: I have filed an issue and removed the LiveFolders feature. I will include it in my app when I'll get a response either here or there that clarifies this thing. If I get the time I think I'll upload a demo app to that issue. Update: I have received a notification that the bounty is expiring in 3 days. No one wants it? Update 04/25/2010: I have updated the issue on the Android project and uploaded a test application. It would be nice if someone could test this application on a device, maybe it's such a subtle problem that it only appears on the emulator.

View 2 Replies View Related

Android :: List Widget Similar To One Provided By Stock Music App

Sep 26, 2010

I have been googling for a couple days now searching for a sortable list widget similar to the one provided by stock android music app. What I would like is ability to sort a list similar to how you can sort your music playlist. I am coming to the conclusion that I am obviously not using the proper keyword to find my answer.

View 1 Replies View Related

Android :: How To Add Bouncycastle Algorithm To Android

Apr 6, 2010

I am trying to write a small application using bouncycastle algorithm, from the http://tinyurl.com/ylclavn (BouncyCastleProvider.java) it says we have to import and add the provider during runtime by the following code

import org.bouncycastle.jce.provider.BouncyCastleProvider;
Security.addProvider(new BouncyCastleProvider());

error - The import org.bouncycastle cannot be resolved; during import
error - BouncyCastleProvider cannot be resolved to a type; when calling addProvider

I though bouncycastle is not provided with the Android 1.6 SDK, so thought of installing separately. how should i do this?

If Bouncycastle is shipped along with SDK, what should i do to avoid these errors?

I am using Android 1.6, eclipse-V3.4.0 on winXP .

View 4 Replies View Related

Android :: What Case Managed Query Method Return Null If Uri Is Provided?

Jun 25, 2010

I am doing some android application. I just wonder what will case the managedQuery method return a null value?

View 1 Replies View Related

Android : Requirements To Start App / Type Of Database Support Provided By Droid?

Mar 6, 2009

I am new to Android. I want to know the things before going to start the Android application. What are the requirements need to start the application. What type of Database support provided by Android?

View 3 Replies View Related

Android :: SD Card Encryption App For Phone?

Apr 8, 2010

I'm look for an app that will encrypt my SD card. I don't want to worry about losing my phone and the finder having access to the information on my SD card. I know it'll slow the phone down.

'Gallery Private' in the market looks like it may do this. Does anyone have experience with this app? Does it only encrypt pictures and folders?

'B-Folders+sync' looks like it only does contacts and notes. I may need a combination of them both.

Makes me sort of wish there was a BitLocker-esque app available.

View 4 Replies View Related

HTC Incredible :: How To Root Phone - Use File Provided

Sep 3, 2010

Okay, we have many little things going around so I'm going to try and consolidate for everybody. With my phone having hardware issues I've practically got this memorized now. These are basic steps, if you do not know how to flash a file you need to do a little more reading before you follow this. I take no responsibility for your actions, they are yours! If you destroy your phone, I cannot help you. Most of the links I provided have instructions on them. If they are just downloads, it assumes you know how to use the file provided.

View 49 Replies View Related

Android :: Why SQLite Doesn't Support Encryption

Jun 23, 2010

I want to know why SQLite doesn't support encryption! & How to secure the SQlite db on a Android app?

View 3 Replies View Related

Android :: Password Security - Encryption - Decompile

Feb 2, 2010

I am developing an app that uploads files to an FTP server, and the app will have the ftp user name / password in the code. I'm investigating making the FTP user name and password as secure as possible (including an encrypted value for each in a strings.xml and decrypting in the app when it needs to connect to the FTP server).

My concern is this is not actually secure at all, it seems someone could unzip the .apk, decompile it, view the strings.xml and java code that decrypts it - and thereby obtain the ftp login info.

So my question is.. am I approaching this wrong way? Is there a standard method of ensuring passwords that are hard coded into an app can be secure? (note - in this case this is not a password a user of the app would enter, the FTP password is universal to all that install it so it is included in the app).

View 3 Replies View Related

Android :: How And Where To Save SecretKey For Encryption And Decryption

Aug 26, 2009

I wrote a small application which encrypt some files using a secret key. i need to decrypt files on 2nd run which requires same key again plz advise where should i store the secret key.

View 13 Replies View Related

Android :: Best Encryption Library For Mobile Devices?

Jan 18, 2010

I have been using LibTomCrypt to use SHA1 encryption ( for data integrity checking ) on mobile devices (iPhone OS and Android for the moment ). I was wondering if anyone is using anything else, things to consider are Portability ( C preferred but C++ is also an option ), and libraries size ( small == better for my particular needs ).

View 3 Replies View Related

General :: Native Android Encryption And Root?

Jan 18, 2013

I recently with though a "lost device scare" but I was able to get it back but it got me thinking into securing my device more I was curious about the Native Encryption option on our settings will I still be able to copy pictures off my SD afterwards? And is it root Friendly meaning can I still use titanium to back up my apps afterwards..

View 2 Replies View Related

Android :: Recommended Encryption Combination For Digital Signatures

Jul 3, 2010

I have finally - after days and days of agony - figured out that I need two forms of encryption for my Digital Signatures Project. The first will will be symmetric (AES) and will encrypt the license data and the second will be a asymmetric (RSA) an will encrypt the symmetric key. Can someone give me pointers on the best methods to use for Android.

For the public/private keys I am using: "RSA/ECB/PKCS1Padding"(I head ECB is bad so what should I use?, what about the PKCS1Padding - shoudl I be using PKCS5Padding?)

For the symetric keys I will probably use: "AES/?/?" (What mode and padding should I use?)

The provider: "BC"

RSA Keysize: 1024 (I tried 2048 but it didn't work for some reason)

AES Keysize: ?

View 4 Replies View Related

Android :: Extend Contacts Application To Provide Encryption

Nov 16, 2009

I want to encrypt individual contacts stored by the Contacts application on Android based on user's preference. So, I am thinking I'll have to hook/extend the Contacts application before the it stores data into the database and decrypt it when the user wants to view it. Also, I am assuming I will have to store the key for encryption in a file.

View 1 Replies View Related

General :: GS2 I9100 / CM9 - Full Device Encryption Android

Jul 9, 2013

I'm on gs2 I9100 cyanogenmod 9 and can't find a solution to encrypt internal databases like sms, call logs, contacts... ( so in /data).

No problems with documents in container created by luksmanager. But i wonder is it possible to make a sort of preboot script who mount after correct passphrase a luks container who is symlinked in /data ? Because android ics built in encryption installation stop at beginning.

Is there now new method or app to encrypt full or partial phone? Maybe new encryption function or improvement in JB? Pattern/face unlock fixed?

View 5 Replies View Related

General :: Galaxy Note II - Android Drive Encryption

Jan 20, 2014

I used the IPhones hardware encryption to encrypt all my phone data, now on my Galaxy Note II I am wondering if there is something similar. Hardware? Software?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved