[android-developers] Runtime annotations in Android 1.5?

2009-10-19 Thread JavaNut
Hello Android devs, A quick question: do runtime annotations (RetentionPolicy.RUNTIME ) work as expected in Android 1.5? And how is performance in detecting them? I haven't seen much discussion of them. Thanks --~--~-~--~~~---~--~~ You received this message bec

[android-developers] Adding a JAR to my Android project?

2009-09-29 Thread JavaNut
Is there a way to add external JARs to an Android project? I have some code in an external JAR file that I want to use. I saw many references to doing this within Eclipse, but I don't have Eclipse. I assume there's some way to do it by editing AndroidManifest.xml? I couldn't find any descripti

[android-developers] Re: DNS woes with the emulator

2009-09-23 Thread JavaNut
Thanks for the info. I tried to run it with -dns-server 127.0.0.1, with a working DNS proxy server. It accepted the argument but DNS resolution still didn't work. This is really bad. DNS and BIND are almost 20 years old at this point. We are past the time when people should have to spend hour

[android-developers] DNS woes with the emulator

2009-09-23 Thread JavaNut
My emulator (1.5) can't do DNS resolution. I'm running it on my Linux computer. My Linux computer has no problems with name resolution and has everything it needs in /etc/resolv.conf. According to the manual, the emulator is supposed to use the resolvers in /etc/resolv.conf but it doesn't appea

[android-developers] CertPathValidatorException: TrustAnchor for CertPath not found.

2009-09-17 Thread JavaNut
I'm trying to make an SSL connection to a host that is not using one of the "standard" CAs. I'm attempting to do this in the ordinary way: you create an SSLContext, and then you call sslContext.init(clientKeyManagers, trustManagers, secureRandom); Very simple stuff. I've confirmed that trustMa

[android-developers] Re: KXML and Android

2009-09-12 Thread JavaNut
I did some more searching. The KXML classes are in dalvik/libcore, and they are not in android.jar, and thus they are not visible to me as an app developer. Of course they are used internally for various things. Is there some way to use classes in libcore? Or are those separated, and I shouldn

[android-developers] KXML and Android

2009-09-11 Thread JavaNut
There's something I'm not understanding. I definitely was able to use Android's built-in KXML libraries in earlier releases. However, they are not visible now in the API documentation. I don't really understand it, because looking at the Android source, I definitely see dalvik/libcore/xml/src/m

[android-developers] Re: Printing from Android - the Brother MW-120 mobile printer

2009-09-10 Thread JavaNut
Thanks Dianne. I'll look around there. We'll probably end up writing our own driver for it, rather than trying to port the entire Linux printing system. The interface to it must be fairly simple. On my Android platform wish-list: I wish it had some package for printer support. Many users will

[android-developers] Printing from Android - the Brother MW-120 mobile printer

2009-09-10 Thread JavaNut
Another Android question. I did some searching and couldn't find any answers on this. We are using Android as an embedded type of system and want to get it to work with the Brother mPrint MW-120 printer. This is a compact, battery-powered thermal printer. It connects over USB. It seems like a

[android-developers] Re: Ethernet / IP over USB connection?

2009-09-08 Thread JavaNut
Thanks Roman. Sounds non-trivial. I'm going to see if we can convince the customer to go with a plain old USB Ethernet adapter, which seems like it would be a lot easier to work with. --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[android-developers] Ethernet / IP over USB connection?

2009-09-08 Thread JavaNut
I have a somewhat unusual question: We have a need to use an Android device in situations where there may be no wireless, no WiFi, no Bluetooth, and no Ethernet. The only way we will have of connecting to the outside world will be by plugging a USB cable from the Android to a network-connected PC

[android-developers] HSQLDB on Android? Anyone tried it?

2009-09-07 Thread JavaNut
Hello Androids, Has anyone tried running HSQLDB on Android? I did some Google searches and couldn't find any references to that. Why would anyone *want* to run HSQLDB on Android, when Android already comes with a perfectly good SQLite database? The answer is simple: we need to use an encrypted

[android-developers] Re: Intercepting SQLite's file reads / writes, so we can encrypt the storage

2009-09-03 Thread JavaNut
Thanks for the information on that. Yes, I looked some more and it looks like SQLite is in C. I have to figure out how to approach this situation. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Intercepting SQLite's file reads / writes, so we can encrypt the storage

2009-09-02 Thread JavaNut
Ok, Androids, I have an odd question on SQLite's file storage. We have a need to encrypt the data stored within SQLite. The obvious approach would be to encrypt individual records before storing them in the table, but that will melt down. For example, if we want to search for a string, we would