[android-beginners] Re: UnsatisfiedLinkError in Native Method

2009-10-29 Thread Ostaski
OK, I found libjpeg.so in DDMS File Explorer under /data/data/ com.androidsecurity.wiia/lib/, so changed my loading to: System.load("/data/data/com.androidsecurity.wiia/lib/libjpeg.so"); and now the dalvikvm can find it. But now logcat shows: WARN/dalvikvm(757): No implementation found for nativ

[android-beginners] Re: UnsatisfiedLinkError in Native Method

2009-10-29 Thread Ostaski
FWIW, I also replaced: System.loadLibrary("jpeg"); with: System.load("/libs/armeabi/libjpeg.so"); since http://www.koushikdutta.com/2009/01/jni-in-android-and-foreword-of-why-jni.html says: "On Android, you must use System.load and provide a full path instead of using System.loadLibrary. This

[android-beginners] UnsatisfiedLinkError in Native Method

2009-10-29 Thread Ostaski
Hello, I needed to compare jpegs generated from the camera, so imported a minimal distribution of awt and jai ... that part compiles fine. JPEGImageDecoderImpl.java needs to load a jpeg shared library, so I grabbed the IJG JPEG library and built the shared library with NDK-1.6_r1 ... that built

[android-beginners] javax.imageio.ImageIO?

2009-10-09 Thread Ostaski
Hello, Looks like android does not support javax.imageio, but I need javax.imageio.ImageIO or a reasonable substitute for image processing. Any recommendations? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[android-beginners] Re: Retreiving Preferences

2009-09-14 Thread Ostaski
Mystery solved. I was calling "alarm_delay_keys" from res/xml/ arrays.xml in settings.getString() when I should have been calling "alarm_delay_list" from res/xml/preferences.xml. On Sep 14, 11:09 am, Ostaski wrote: > I am using a CountDownTimer which is set by a

[android-beginners] Retreiving Preferences

2009-09-14 Thread Ostaski
I am using a CountDownTimer which is set by a alarm_delay_keys value: public void arming() { // changing system_state textview tvSystemState = (TextView) findViewById(R.id.system_state); tvSystemState.setText(R.string.system_state_arming); // starting countdown