to me.
Any clarifications as to why I should be seeing this behavior and
suggestions for a work-around would be much appreciated.
TIA,
Matthew Fleming
DermVision
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Sorry, yes, I meant options menu.
Matthew Fleming
On Monday, January 21, 2013 7:08:13 AM UTC-6, Mark Murphy (a Commons Guy)
wrote:
On Mon, Jan 21, 2013 at 7:44 AM, Matthew Fleming
mgf...@gmail.comjavascript:
wrote:
I'm trying to adapt a phone app for tablets and have run into a problem
Thanks very much. I had pretty much reached the same conclusion -- that I
should just try switching to encryption/decryption rather than wrap/unwrap,
and this works. I have included a complete example, below, which works on
Android 4.2, 4.1, and presumably earlier versions.
Actually I
Thanks very much. Using your code and a few other bits and pieces, I've
come up with this, which generates a SecretKey for AES and then wraps it
using PBE:
KeyGenerator generator = KeyGenerator.getInstance(AES);
generator.init(128);
Key keyToBeWrapped = generator.generateKey();
Got it. The problem was that I had replaced
byte[] keyBytes = keyFactory.generateSecret(keySpec).getEncoded();
SecretKey key = new SecretKeySpec(keyBytes, AES);
with
SecretKey key = keyFactory.generateSecret(keySpec);
This is not a problem for the generic version of the Bouncy Castle
You can also try deriving the wrap key separately with something like:
KeySpec keySpec = new PBEKeySpec(password.toCharArray(), salt,
ITERATION_COUNT, KEY_LENGTH);
SecretKeyFactory keyFactory = SecretKeyFactory
.getInstance(PBKDF2WithHmacSHA1);
On Wednesday, December 12, 2012 11:21:10 PM UTC-6, Nikolay Elenkov wrote:
On Thu, Dec 13, 2012 at 11:55 AM, Matthew Fleming
mgf...@gmail.comjavascript:
wrote:
I use the following code to encrypt a SecretKey with password-based
encryption:
Cipher pbeEncryptCipher
the cryptographic service
provider in Android 4.2, which was not missing in previous versions, ie an
Android bug.
Please advise if my understanding is incorrect, otherwise maybe Google
could fix this? There doesn't seem to be a work-around.
TIA,
Matthew Fleming, MD
DermVision, LLC
--
You received
of the spinner's
arrows is clicked. Is there any way around this? I suppose I could attach a
listener to the EditText, but this would use DatePicker's undocumented
internals, and might break down the road.
Thanks very much,
Matthew Fleming
--
You received this message because you are subscribed
to proceed?
TIA,
Matthew Fleming
Dermvision
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr
the
service's methods from that reference, which avoids IPC completely.
Swell. Thank you so much for explaining it.
Matthew Fleming
On Sep 28, 7:21 am, Mark Murphy mmur...@commonsware.com wrote:
Just subclass android.os.Binder and use an instance of it in your
onBind() method. You do not need AIDL
on an Android device. The application has
RECORD_AUDIO permissions.
Any ideas would be greatly appreciated -- this is really getting
annoying.
Thank very much,
Matthew Fleming
DermVision
--
You received this message because you are subscribed to the Google
Groups Android Developers group
Thanks, I will. I would have already, but don't have a device with me
at the moment. Also, when I last played with audio recording -- which
admittedly was some time ago -- I recall it did work on an AVD.
Matthew Fleming
On Sep 13, 10:58 am, Michael Banzon mich...@banzon.dk wrote:
I would try
explanations and for your
willingness to consider this EXCEPTIONALLY USEFUL, HELPFUL,
BENEFICIAL, WELCOME, and APPRECIATED modification to the platform.
Matthew Fleming
On Jan 17, 3:30 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
Thank you Romain!
About the 'inBitmap' option:
I (and, i
And then there was the time I ported a jpeg decoder to Palm OS, with
its lovely segmented memory architecture. Those, those were the days.
Matthew
On Jan 17, 5:25 pm, Zsolt Vasvari zvasv...@gmail.com wrote:
Of course, that will only work on 3.0 or higher.
Can't you do you own bitmap loading?
, I don't get any information, because Log.d() doesn't seem to work
at all with the actual hardware. Why is that?
Some real assistance with these problems would be much appreciated.
Google? Anyone home?
Matthew Fleming, MD
Fleming Dermatopathology, LLC
DermVision, LLC
--
You received this message
justification, and,
judging from a few postings here and there, has caused problems for
other developers as well.
Any thoughts on why I can't use Log.d with actual hardware?
Matthew Fleming
On Jan 17, 12:44 pm, Romain Guy romain...@android.com wrote:
Hi Matthew,
I am sorry that you didn't get a better
at once. Its not obvious why I shouldn't be able to
load the bitmap as mutable directly with BitmapFactory.decodeStream,
yet I can't seem to do it. Is there any way around this?
TIA,
Matthew Fleming
--
You received this message because you are subscribed to the Google
Groups Android Developers
, but
since those functions are opaque and there are no exceptions, its hard
to know what it is. I suspect it has to do with padding or flushing.
Any assistance would be gratefully appreciated.
Matthew Fleming, MD
DermVision, LLC
--
You received this message because you are subscribed to the Google
Groups
is happening ...
Matthew Fleming
On Dec 24, 7:36 am, Matthew Fleming mgf...@gmail.com wrote:
Hi,
I'm trying to encrypt image files on Android with password based
encryption. To save the encrypted image I just do this:
FileOutputStream fos = new FileOutputStream(thumbnailFile);
CipherOutputStream
Hi,
I'm just wondering what would be involved in connecting to an external
camera via usb from a device such as the Archos 43 which is capable of
functioning as a usb host? Evidently it is possible, because the
Archos 43 manual says it can download pictures from an external camera
using an
for connecting to a camera. But I'd like to know how to add this
capability to my own app.
Thanks,
Matthew Fleming
DermVision, LLC
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
22 matches
Mail list logo