[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

[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

[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

[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

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

2009-09-18 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

[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

[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

[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

[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] 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

[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

[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