Is there any new updates for dev phone kernel?

by ghan » Sat, 07 Mar 2009 10:54:20 GMT


Sponsored Links
 Google guys,

Is there any new updates for the dev phone kernel?

I have a dev phone G1 since Jan, 2009, Shall I update the kernel ?

Thanks,

George

--~--~---------~--~----~------------~-------~--~----~



Is there any new updates for dev phone kernel?

by Al Sutton » Sat, 07 Mar 2009 15:25:06 GMT


  http://groups.google.com/group/android-developers/browse_thread/thread/99f283b99b01346d 





-- 

* Written an Android App? - List it at  http://andappstore.com/  *

======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Dialog is leaked on orientation change

Hi, built a simple app that displays an alertDialog with two buttons.
The problem is it's not getting dismissed when i change orientation.
After change i get a leak warning on de{*filter*} and the dialog appears
twice(pressing back hides the first dialog, only a second back
dismisses it completely). Any ideas?

Here is my code:

public class MyActivity extends Activity {

  private static final int TEST_DIALOG = 0;

  private AlertDialog alert;
  /**
  * Called when the activity is first created.
  */
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
      this.showDialog(TEST_DIALOG);
  }

  @Override
  protected Dialog onCreateDialog(int id) {
      switch(id){
          case TEST_DIALOG:
              AlertDialog.Builder builder = new
AlertDialog.Builder(this);
              alert = builder.create();
              alert.setMessage("Test Message");
              alert.setButton("Start", new
DialogInterface.OnClickListener(){
                  public void onClick(DialogInterface arg0, int arg1){
                      alert.dismiss();
                  }
              });
              alert.setButton2("Exit", new
DialogInterface.OnClickListener(){
                  public void onClick(DialogInterface arg0, int arg1){
                      MyActivity.this.finish();
                  }
              });
              return alert;
    }
    return alert;
  }

  @Override
  protected void onDestroy() {
      super.onDestroy();
      if(alert!=null)
      alert.dismiss();
  }
}

Warning i get:

Activity com.example.MyActivity has leaked window
com.android.internal.policy.impl.PhoneWindow$Decor v...@43b29210 that
was originally added here
android.view.WindowLeaked: Activity com.example.MyActivity has leaked
window com.android.internal.policy.impl.PhoneWindow$Decor
v...@43b29210 that was originally added here
at android.view.ViewRoot.<init>(ViewRoot.java:230)
at android.view.WindowManagerImpl.addView(WindowManag erImpl.java:148)
at android.view.WindowManagerImpl.addView(WindowManag erImpl.java:91)
at android.view.Window$LocalWindowManager.addView(Win dow.java:459)
at android.app.Dialog.show(Dialog.java:239)
at android.app.Activity.showDialog(Activity.java:2488 )
at com.example.MyActivity.onCreate(MyActivity.java:22 )
at android.app.Instrumentation.callActivityOnCreate(I
nstrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(A
ctivityThread.java:2459)
at android.app.ActivityThread.handleLaunchActivity(Ac
tivityThread.java:2512)
at
android.app.ActivityThread.handleRelaunchActivity( ActivityThread.java:
3625)
at android.app.ActivityThread.access$2300(ActivityThr ead.java:119)
at android.app.ActivityThread$H.handleMessage(Activit yThread.java:
1867)
at android.os.Handler.dispatchMessage(Handler.java:99 )
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.jav a:4363)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCa
ller.run(ZygoteInit.java:860)
at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:618)
at dalvik.system.NativeStart.main(Native Method)
Unexpected resume of com.example while already resumed in com.example

When changing orientation the activity gets destroyed and recreated
but after onCreate has finished creating the dialog, onCreateDialog is
run again, why is this happening?

-- 

2. Change drawable for indeterminate progress bar

Hi all, i'm trying to change standard indeterminate progress bar from
rotating wheel to sequence of 3 images ( dots ).

What i have is a animation drawable defined as progress.xml :

<animation-list   android:id="@+id/progress_animation"
android:oneshot="false"
        xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:drawable="@drawable/progress1"
android:duration="200" />
    <item android:drawable="@drawable/progress2"
android:duration="200" />
    <item android:drawable="@drawable/progress3"
android:duration="200" />
 </animation-list>

and progressbar defined as :

 <ProgressBar
        android:id="@+id/my_progress"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:indeterminate="true"
        android:indeterminateOnly="true"
        android:indeterminateDrawable="@drawable/progress"
        android:visibility="invisible" />

In general it works - however image is repeated for as much i have
space horizontally.  I think it's side effect of same kind of stuff
used in progress_indeterminate_horizontal.xml

Is there anyway to get rid of that repeating behavior ? Alternative,
as i understand would be change progressBar to ImageView with
animation drawable inside.

-- 

3. Log cAT DISAPPERAS

4. need help pulling/appling patches to kernal

5. Basic OpenGL ES Texture problem

6. Native RTP stack on Android

7. Shuttle component in Anroid ???