Android on a touchscreen atom processor MID

by gowtham gowda » Sat, 11 Apr 2009 05:31:42 GMT


Sponsored Links
 Can i use the "building android for X86 on eee pc" procedure to build
a live usb for a atom processor like the one on dell mini or do i need
to change the processor type?
--~--~---------~--~----~------------~-------~--~----~

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



Android on a touchscreen atom processor MID

by Yi Sun » Sat, 11 Apr 2009 05:46:02 GMT


 You should, but be careful with the FB drivers.




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

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


Sponsored Links


Other Threads

1. problem when passing value between activities !

Hi...

I have a problem when i'm passing value between activities....i'm using a
activity to get information from a database and put into a listview after
this I'm using a  onListItemClick
to call the another activity  to show the  a details of the item I
selected...but when I put the key value of my item Id  on Intent method
"putExtra" I cant get then into another acitivity...
what I'm doing wrong ?!
Thanks Igor

here my code:
first activity  class (Restaurant.java)

public class Restaurants extends ListActivity {         
        
        @Override
        public void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                try {
                         setContentView(R.layout.restaurants);          
                         ListRestaurants();
                } catch (Exception e) {
                        // TODO: handle exception
                        Log.e("oncreate resta",e.getMessage());
                }
                
                
        } 
        @Override
        protected void onListItemClick(ListView l, View v, int position,
long id) { 
                // TODO Auto-generated method stub 
                //super.onListItemClick(l, v, position, id);
                
                String[] FROM = {"_id","res_name", "res_city"};

                Intent its = new
Intent().setClass(getBaseContext(),RestaurantsDetails.class);   
                DBAdapter dbAdapter = DBAdapter.getDBAdapterInstance(this);
                 try {
                                dbAdapter.createDataBase();
                                
                        } catch (IOException e) {
                                // TODO: handle exception
                                Log.e("*** select ",e.getMessage());
                        }
                dbAdapter.openDataBase();                                
                Cursor c = dbAdapter.selectRecordsFromDB("restaurants",
FROM,null,null,null,null,null);
                c.moveToPosition(position);             
                its.putExtra("Key",id);         
                startActivity(its);
                
        }       

        public void ListRestaurants(){                   
                         DBAdapter dbAdapter =
DBAdapter.getDBAdapterInstance(this);
                         String[] FROM = {"_id","res_name", "res_city"};
                         int[] TO = {R.id._id,R.id.res_name,R.id.res_city};
                         try {
                                        dbAdapter.createDataBase();
                                        
                                } catch (IOException e) {
                                        // TODO: handle exception
                                        Log.e("*** select ",e.getMessage());
                                }
                                 dbAdapter.openDataBase();

                                 Cursor c =
dbAdapter.selectRecordsFromDB("restaurants", FROM,null,null,null,null,null);

                                 SimpleCursorAdapter sAdapter = new
SimpleCursorAdapter(this,R.layout.restaurant_row,c,FROM,TO);
                                 setListAdapter(sAdapter);
                                 dbAdapter.close();
        }
}
   
//Second Activity 

public class RestaurantsDetails extends Activity {
        
        public void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                try {
                         setContentView(R.layout.restaurants_details);

                         Bundle extra = getIntent().getExtras();

                         if (extra != null) {
                                 String mRowId = extra.getString("Key");
                                 if (mRowId != null) {
                                        TextView txtResId =
(TextView)findViewById(R.id.txtResId);
                                        txtResId.setText(mRowId);
                                }
                        }
                         
                } catch (Exception e) {
                        // TODO: handle exception
                        Log.e("oncreate resta",e.getMessage());
                }
                
                
        } 
}


-- 

2. Compiler can't find method of ImageView.setBaselineAlignBottom(boolean);

Trying this code:

  ImageView green = new ImageView(this);
  green.setImageResource(R.drawable.green);
  green.setBaselineAlignBottom(true);

Compiler borks:

    [javac] Compiling 2 source files to /home/toby/android/exposmart 
  /bin/classes
    [javac] 
/home/toby/android/exposmart/src/com/rcsreg/exposmart/Shows.java:129: 
cannot find symbol

    [javac] symbol  : method setBaselineAlignBottom(boolean)
    [javac] location: class android.widget.ImageView
    [javac]             green.setBaselineAlignBottom(true);
    [javac]                  ^

I also get the same trying to call:

green.setBaseline(int);

I'm checking these out because I have some alignment problems
with image 'dots' that I'm putting into a TableLayout.  They
are showing up higher than text in other cells.  I want to move
them down a little.

Thanks,

Toby

--

3. Can't disable touch events for wallpaper engine

4. How should I design questionnaire on android?

5. Jar with resources like android.jar

6. on orientation change, keep all objects, just change content view

7. Just display an image.