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. Programatically change the color of layout

Hello All,
I am trying to programatically change the layout color but of a
relative layout (tried Linear layout but didn't change), but cannot
change it.

Also trying to debug the app doesn't help, there was not message
related to my TAG.

the application stood still after layout was colored initially.

"rellay" is id of Relative Layout.

package com.test.intentdemo;

import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;
//import android.os.SystemClock;
import android.widget.RelativeLayout;
import android.util.*;
import java.lang.Thread;

public class intentDemo extends Activity {
    /** Called when the activity is first created. */
    RelativeLayout lLayout;
    public static final String TAG="MyActivity";
    public void onCreate(Bundle savedInstanceState) {
        lLayout = (RelativeLayout) findViewById(R.id.rellay);
        if (Log.isLoggable(TAG,0))
                Log.e(TAG,"ERROR BEFORE");
                Log.i(TAG,"INFO BEFORE");
                Log.d(TAG,"DEBUG BEFORE");

                                catch (Exception e)

                Log.e(TAG,"ERROR AFTER");
                Log.i(TAG,"INFO AFTER");
                Log.d(TAG,"DEBUG AFTER");

Any help regarding this would be helpful.



2. updating problem in eclipse

i have everything installed fine in helios on windows up to SDK
platform 2.3.3 api 10 revision 1, but when i try updating to sdk 3.0,
api 11 revision 1, i get the message that a folder failed to be
renamed or moved. the message box says the problem is typically caused
by a program using the file or by anti-virus software, which should be
disabled. so, i disabled everything in norton 360, and ie is closed,
but the problem still occurs. i get the same problem on a couple of
the development tools and a few of the google apis.

any suggestions?


3. how to correct market issue

4. AudioFlinger DirectThread

5. Unable to open connection to supplicant on "/data/system/wpa_supplicant/wlan0"

6. compiling libdvm on ubuntu

7. Remove ringtones from ringtones list