What are all the Mobiles that support Android ???

by netizens » Tue, 24 Jun 2008 16:10:11 GMT


Sponsored Links
 Hi Friends !

I am new to Android. I followed the steps over Docs. I able to run the
sample applications on Emulator.

I have few questions

* How to Port Android in to Mobile Devices ?
* What are all the Models that support Android ?


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



What are all the Mobiles that support Android ???

by jdavidandroid » Wed, 25 Jun 2008 01:20:35 GMT


 Hi netizens!

There arent still any Android compliant devices in the market, so in
the moment, you can only do some testing using the emulator.  Google
anounced there will be some Android compliant devices in the market by
the second half of 2.008, but the date hasnt been confirmed yet.  As
for the models that support Android, companies from the Open Handset
Alliance have not informed yet the specific compliant devices.  You
can check the companies involved in the alliance in this link
 http://www.openhandsetalliance.com/oha_members.html to check for any 
update related to your inquiry.

Hope this is good for you.

Juan.



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


Sponsored Links


What are all the Mobiles that support Android ???

by netizens » Wed, 25 Jun 2008 04:31:32 GMT


 Hi Juan!

Thanks for your kind informations..

Regards
Netizens
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. GridView Problems.

Hi all guys,

I tried to get the pics from internet and display all the results in
the Gridview with a dynamic updated. However it doesn't work properly.
I did some research on the internet and using AsyncTask class to avoid
the block of the UI Thread. But I just can't get the Gridview
Dynamiclly updated well.

Here is the code snippet:

public class GridViewMultiThread extends Activity {
        Button button = null;
        GridView gridView = null;
        Context context = null;
        ImageAdapter imageAdapter;
        private View mSearchPanel;
        DownloadPhotosTask downloadPhotosTask;

        /** Called when the activity is first created. */
        @Override
        public void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                setContentView(R.layout.main);

                gridView = (GridView) findViewById(R.id.showPhotoGridView);

                imageAdapter = new ImageAdapter(this);
                gridView.setAdapter(imageAdapter);
                downloadPhotosTask = (DownloadPhotosTask) new DownloadPhotosTask
().execute();
//              button.setOnClickListener(new OnClickListener() {
//                      @Override
//                      public void onClick(View v) {
//                              button.setEnabled(false);
//                              downloadPhotosTask = (DownloadPhotosTask) new 
DownloadPhotosTask
()
//                                              .execute();
//                      }
//              });
        }

        class DownloadPhotosTask extends AsyncTask<Void, Photo, Void>
implements
                        PhotoDownloadListener {

//              @Override
//              protected void onPreExecute() {
//                      if (mSearchPanel == null) {
//                              mSearchPanel = ((ViewStub) 
findViewById(R.id.stub_search))
//                                              .inflate();
//
//                              ProgressBar progress = (ProgressBar) 
mSearchPanel
//                                              .findViewById(R.id.progress);
//                              progress.setIndeterminate(true);
//
//                              ((TextView) 
mSearchPanel.findViewById(R.id.label_loading))
//                                              .setText("loading");
//
//                              final View cancelButton = mSearchPanel
//                                              
.findViewById(R.id.button_cancel);
//                              cancelButton.setOnClickListener(new 
View.OnClickListener() {
//                                      public void onClick(View v) {
//                                              onCancelSearch();
//                                      }
//                              });
//                      }
//              }

//              private void onCancelSearch() {
//                      if (downloadPhotosTask != null
//                                      && downloadPhotosTask.getStatus() == 
AsyncTask.Status.RUNNING)
{
//                              downloadPhotosTask.cancel(true);
//                              downloadPhotosTask = null;
//                      }
//              }

                @Override
                protected Void doInBackground(Void... params) {
                        DownLoader.getInstance().downLoadImage(this);
                        return null;
                }

                @Override
                public void onPhotoDownloadListener(Photo photo) {
                        if (photo != null && !isCancelled()) {
                                publishProgress(photo);
                        }
                }

                @Override
                public void onProgressUpdate(Photo... photos) {
                        for (Photo photo : photos) {
                                imageAdapter.addPhoto(photo);
                                gridView.invalidateViews();
//                              imageAdapter.registerDataSetObserver(observer)
                        }
                }

        }

}

class ImageAdapter extends BaseAdapter {

        private Context mContext;
        private List<Photo> photos = new ArrayList<Photo>();

        public ImageAdapter(Context context) {
                this.mContext = context;
        }

        public void addPhoto(Photo photo) {
                photos.add(photo);
        }

        @Override
        public int getCount() {
                return photos.size();
        }

        @Override
        public Object getItem(int position) {
                return photos.get(position);
        }

        @Override
        public long getItemId(int position) {
                return position;
        }

        @Override
        public View getView(int position, View convertView, ViewGroup parent)
{
                final ImageView imageView;
                if (convertView == null) {
                        imageView = new ImageView(mContext);
                } else {
                        imageView = (ImageView) convertView;
                }
                imageView.setImageBitmap(photos.get(position).getBm());
                return imageView;
        }

}

class DownLoader {
        private static DownLoader downloader = new DownLoader();
        private static String[] myImageURL = null;
        private List<Photo> photos = new ArrayList<Photo>();

        public static DownLoader getInstance() {
                initImageURL();
                return downloader;
        }

        static void initImageURL() {
                int no = 0;
                myImageURL = new String[100];
                for (int i = 0; i < myImageURL.length; i++) {
                        myImageURL[i] = "http://cp.a8.com/image/128X128GIF/8" + 
no +
".gif";
                        no++;
                        if (no % 10 == 0) {
                                no = 0;
                        }
                }
        }

        public List<Photo> downLoadImage(PhotoDownloadListener listener) {
                List<String> urls = Arrays.asList(myImageURL);
                List<Photo> photos = new ArrayList<Photo>();
                URL aryURI = null;
                URLConnection conn = null;
                InputStream is = null;
                Bitmap bm = null;
                Photo photo = null;
                for (String url : urls) {
                        // Log.e("URL:", url);
                        try {
                                aryURI = new URL(url);
                                conn = aryURI.openConnection();
                                is = conn.getInputStream();
                                bm = BitmapFactory.decodeStream(is);
                                photo = new Photo(bm);
                                listener.onPhotoDownloadListener(photo);
                                photos.add(photo);
                        } catch (Exception e) {
                                throw new RuntimeException(e);
                        } finally {
                                try {
                                        if (is != null)
                                                is.close();
                                } catch (IOException e) {
                                        e.printStackTrace();
                                }
                        }
                }
                return photos;
        }
}

class Photo {
        private Bitmap bm;

        public Photo(Bitmap bm) {
                this.bm = bm;
        }

        public Bitmap getBm() {
                return bm;
        }

        public void setBm(Bitmap bm) {
                this.bm = bm;
        }

        interface PhotoDownloadListener {
                public void onPhotoDownloadListener(Photo photo);
        }

}

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
        android:orientation="vertical" android:layout_width="fill_parent"
        android:layout_height="fill_parent">
        <TextView android:layout_width="fill_parent"
                android:layout_height="wrap_content" 
android:text="@string/hello" />

        <GridView android:id="@+id/showPhotoGridView"
                android:layout_width="wrap_content"
android:layout_height="wrap_content"
                android:numColumns="3" android:verticalSpacing="10dp"
                android:horizontalSpacing="10dp" />
        <ViewStub android:id="@+id/stub_search" android:inflatedId="@+id/
panel_search"
                android:layout="@layout/progress_overlay"
android:layout_width="fill_parent"
                android:layout_height="wrap_content"
android:layout_gravity="bottom" />
</LinearLayout>

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

2. Accessing GPRS packets

Hi all,
I am new to Android and I want to learn about it to do a very specific
kind of work. For that I need to know whether I can access GPRS/GSM
packets. To make myself clear; like in linux if I use an open source
driver with a wireless card(802.11) I can get the packets at MAC
layer. Can I do something like that?


Thanks.


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

3. Binding data to a View object

4. How can I prevent the background from fading out when I show a dialog?

5. Setting up a proxy server for android emulator

6. ion with tmobile web2go

7. How to determine if phone supports video capture?