[android-developers] Cloning an AVD on the command line

2013-02-28 Thread Lindley
I want to create a new AVD on the command line based off of an existing AVD. It doesn't necessarily need the exactly same user data etc but at least the same target settings and display resolution etc. Previously, I had just done a cp -r on the source AVD and this worked fine. After some recent

[android-developers] Maven nar-apklib integration?

2012-11-20 Thread Lindley
There is a C++ library which I would like to use in Android. I started to write JNI bindings using the NDK, but before I finished I learned that JNI bindings already existed, so I want to leverage them. The trouble is that the JNI bindings which exist come with a build system that uses maven an

[android-developers] Re: 1.5 release - DexClassLoader issue

2012-10-10 Thread Lindley
Sorry for the gravedig, but I have a related question. Let's say we have the aforementioned situation: mystuff.dex has "MyClass" and "MyOtherClass" newstuff.dex has "NewClass" and "MyOtherClass" FancyClassLoader knows about mystuff.dex and newstuff.dex FancyClassLoader uses MyOtherClas

Re: [android-developers] Exclude dependencies from apk?

2012-10-04 Thread Lindley
laborate > with custom rules. > > I'm honestly not seeing what your problem is, and still not seeing why > you need a class loader, in my experience if you can do things > statically it's best to do them that way.. > > kris > > On Thu, Oct 4, 2012 at 11:

Re: [android-developers] Exclude dependencies from apk?

2012-10-04 Thread Lindley
However, even though Eclipse now builds cleaning, ant does not. I'm not an ant expert. Any ideas how to do the same thing there? I need both to work. On Tuesday, October 2, 2012 5:02:35 PM UTC-4, Kristopher Micinski wrote: > > On Tue, Oct 2, 2012 at 4:45 PM, Lindley > > wrote: > &g

Re: [android-developers] Exclude dependencies from apk?

2012-10-02 Thread Lindley
ssLoader is required from. From where will > the classes be loaded? > > kris > > On Tue, Oct 2, 2012 at 3:51 PM, Lindley > > wrote: > > I'll give a little more detail. The Impl class is supposed to be one of > > several pure-java implementations of the ser

Re: [android-developers] Exclude dependencies from apk?

2012-10-02 Thread Lindley
as an AIDL interface, so putting on in Impl would just be silly. On Tuesday, October 2, 2012 3:47:52 PM UTC-4, Lindley wrote: > > For a variety of reasons, most notably because the plug-in portion is not > supposed to be Android-specific, I don't want to use AIDL here. > > Sta

Re: [android-developers] Exclude dependencies from apk?

2012-10-02 Thread Lindley
t; project, if you can statically link. > > What kinds of things do you need. > > Multiple functional looks very much like you might want a single app, > and not a collection of plugins. > > kris > > On Tue, Oct 2, 2012 at 3:00 PM, Lindley > > wrote: > > I a

[android-developers] Exclude dependencies from apk?

2012-10-02 Thread Lindley
I am using Eclipse with the ADT plugin, as well as ant. I am trying to design a plug-in architecture. I have three projects, call them Main, Plugin, and Impl. Main builds a service apk, Plugin is an Android Library. Plugin just defines two classes, AbstractPlugin and PluginFactory. AbstractPlug

[android-developers] Re: Android emulators and UDP broadcasts

2012-07-26 Thread Lindley
. On Wednesday, July 25, 2012 6:23:43 PM UTC-4, Lindley wrote: > > I have two Android emulators networked together, one at 10.11.1.54, the > other at 10.11.1.56. > > If I open an adb shell on each of them, then I can run tcpdump on one and > ping on the other. If I ping .54

[android-developers] Android emulators and UDP broadcasts

2012-07-25 Thread Lindley
I have two Android emulators networked together, one at 10.11.1.54, the other at 10.11.1.56. If I open an adb shell on each of them, then I can run tcpdump on one and ping on the other. If I ping .54 from .56 normally, everything is fine. The packets come back to .56 and tcpdump shows both ICMP