image transfer howto

by koray » Sat, 14 Mar 2009 21:31:40 GMT


Sponsored Links
 Hello all,

i've Toshiba G500 with PXA270 cpu. I've followed the instructions on 
 http://source.android.com/download 
and i've builded the source without errors. Now i want to boot my device 
with that image. But i couldnt find how to transfer the builded image to 
my G500 device.

I need your advices

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

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



Other Threads

1. Activities from widget

I have a widget with a few buttons. 
I want one button to open preferences, and the second to start an 
AlarmManager according to the preferences that have been set. 
A click of either button on the widget will go the same activity, but I wish 
to distinguish between the clicks via extra information. And I set some 
extra information in my intent. 
Then in my activity I check for this extra information, but I can't ever 
seem to get it as not null. 
Am I doing something wrong here? 

(I can't copy over from my source directory so the code might be 
slightly erroneous)

// Setting up the intent from the widget onUpdate function
Intent intent = new Intent( context, Preferences.class ); 
intent.setAction( ACTION_WIDGET_PREFERENCES ); 
PendingIntent pendingIntent = PendingIntent.getActivity( context, 0, intent, 
0 ); 
intent.putExtra( "timerSetup", false ); 
remoteViews.setOnClickPendingIntent( R.id.button_settings, pendingIntent ); 


...

// And in my onCreate of my activity:
Bundle = getIntent().getExtras(); 
try {
  if ( extras.isEmpty() )
    Log.i( "Preferences.onCreate", "Bundle empty" ); 
} catch ( Exception e ) {
  Log.w( "Preferences.onCreate", "extras.isEmpty() threw" ); 
}


And each time I press the button isEmpty throws. 

I also tried

getIntent().getBooleanExtra( "timerSetup", false ); 

and while it doesn't throw, it always seems to return the default value I 
provide (even if I pass an integer in instead). 

How can I pass data from a widget to an activity correctly? 

All advice appreciated.

-- 

2. Changing the row color in ListView

Hi All,

I'm using a listview with customAdapter extending from base adapter.
Everything is working fine the data is populating and click events are
also firing. Now the scenario is; while I'm downloading the data, that
will show up onClick Event of the List, I want to disable the click
event and want the color of each row in listview to be gray. I'm
maintaining a check which notify me that the data is downloaded
successfully and after which I want enable the click event and change
the color of each row back to black. Any idea how I can do that.

I'm using Android SDK 2.2

Thank You

-- 

3. Android porting guide removed?

4. android booting slowly from nand flash

5. OOT; WTA; Whatsapp chat dengan orang dengan beda nomor hp

6. Mainan baru, besok release?

7. [WTA] Hunting nexus s