Re: [android-developers] Using multiple API versions

2012-01-23 Thread Mark Murphy
On Mon, Jan 23, 2012 at 5:09 PM, Bret Foreman wrote: > But if I build with API 10 on run on Android 2.2.2 then my > MainActivity throws a ClassNotFoundException. > > Something in the Activity constructor for API 10 is barfing in Android > 2.2.2, which I guess is no real surprise. It's surprising

[android-developers] Using multiple API versions

2012-01-23 Thread Bret Foreman
I've got a library built by another developer. I have the source, but I'd rather not hack it up in case he releases any updates that might over-write my changes. But he's got some problematic code in it. Namely: public BluetoothSocket createSocket(final BluetoothDevice device)