Every ProgressBar instance getIndeterminateDrawable returns a singleton? how to clone this Drawable?

by Romain Guy » Wed, 16 Dec 2009 14:12:45 GMT

Other Threads

1. Hessian Web Service and Android App

I have build a simple tapestry web application and set up hessian web
service within the servlet and when I access it from pc client it
works fine.

I want to access this service using hessian on Android but I can't
find a proper way to include hessian library(and any other third party
jar) in eclipse project so that it works during runtime. I have
browsed the web for like 2 last weeks, and googled and googled but all
solutions that I found were just not working! :(

Please Help!

I know this is basic stuff, and 90% of you guys know how to do this,
so help please :)
So my basic question is:

How to properly include third party jar in my android application so
that it works not only during compile time but also during runtime :)
Awaiting response eagerly :)

2. Cupcake's bug ? Caused by: android.content.res.Resources


My application works fine but in adb logcat, I see a bug in your lib.
Is it my fault ?

Thanks, bye.

I/ActivityManager(  568): Start proc com.orange.bagua for activity
com.example/.ExampleActivity: pid=884 uid=10019 gids={}
W/WindowManager(  568): Exception when adding starting window
W/WindowManager(  568): android.view.InflateException: Binary XML file
line #24: Error inflating class java.lang.reflect.Constructor
W/WindowManager(  568):         at
W/WindowManager(  568):         at
W/WindowManager(  568):         at
W/WindowManager(  568):         at android.view.LayoutInflater.inflate
W/WindowManager(  568):         at android.view.LayoutInflater.inflate
W/WindowManager(  568):         at android.view.LayoutInflater.inflate
W/WindowManager(  568):         at
W/WindowManager(  568):         at
W/WindowManager(  568):         at
W/WindowManager(  568):         at
W/WindowManager(  568):         at
W/WindowManager(  568):         at android.os.Handler.dispatchMessage
W/WindowManager(  568):         at android.os.Looper.loop(Looper.java:
W/WindowManager(  568):         at
W/WindowManager(  568): Caused by:
W/WindowManager(  568):         at android.widget.FrameLayout.<init>
W/WindowManager(  568):         at
java.lang.reflect.Constructor.constructNative(Native Method)
W/WindowManager(  568):         at
W/WindowManager(  568):         at
W/WindowManager(  568):         ... 13 more
W/WindowManager(  568): Caused by: android.content.res.Resources
$NotFoundException: Resource is not a Drawable (color or path):
TypedValue{t=0x2/d=0x1010059 a=-1}
W/WindowManager(  568):         at
W/WindowManager(  568):         at
W/WindowManager(  568):         at android.widget.FrameLayout.<init>
W/WindowManager(  568):         ... 17 more
D/AndroidRuntime(  877): Shutting down VM
D/dalvikvm(  877): DestroyJavaVM waiting for non-daemon threads to
D/dalvikvm(  877): DestroyJavaVM shutting VM down
D/dalvikvm(  877): HeapWorker thread shutting down
D/dalvikvm(  877): HeapWorker thread has shut down
D/jdwp    (  877): JDWP shutting down net...
D/jdwp    (  877): +++ peer disconnected
I/dalvikvm(  877): De{*filter*} has detached; object registry had 1
D/dalvikvm(  877): VM cleaning up
D/dalvikvm(  877): LinearAlloc 0x0 used 639228 of 4194304 (15%)
I/jdwp    (  884): received file descriptor 10 from ADB
W/InputManagerService(  568): Starting input on non-focused client
t$stub$pr...@436f1b98 (uid=10003 pid=611)
I/ActivityManager(  568): Displayed activity
com.example/.ExampleActivity: 815 ms

3. How the video display size making use of resize and rotation is set under Android

4. Updating cupcake Images to Android Developer Phone

5. using internal media provider

6. Basic HTTP authentication

7. how to implement tween animation with AppWidget using RemoteViews?