Giant Android Device seen at I/O

by SteveKeinath » Fri, 20 May 2011 09:53:51 GMT


Sponsored Links
 I was at Google I/O and used the giant Android device 
 http://goo.gl/photos/U5SiuUOHUR 

Is there any way to buy/get one of these for my classroom?  I teach
mobile App/Game development and would LOVE to be able to use this in
my class.

-Steve

-- 



Re: Giant Android Device seen at I/O

by Zsolt Vasvari » Fri, 20 May 2011 10:12:11 GMT


 LOL.  I'd say it's just a TV with a fancy surround and it's mirroring
the device's display via HDMI.




-- 


Sponsored Links


Re: Re: Giant Android Device seen at I/O

by Dianne Hackborn » Fri, 20 May 2011 10:14:51 GMT


 It probably also has a working touch screen.  I don't know about that
particular one, but the ones being build I know of had a touch screen.








-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 



Re: Re: Giant Android Device seen at I/O

by B Lyon » Fri, 20 May 2011 10:16:30 GMT


 very cool






-- 



Other Threads

1. Auto scrolling a textview

I have a TextView (called tv) which is a child element of a ScrollView
(called sv). When I add text to tv, I want to be able to scroll down.
I've tried using sv.fullScroll(View.FOCUS_DOWN) and also
sv.scrollTo(value1, value2). This doesn't work, if I try
tv.scrollTo(value1, value2), it doesn't scroll at all and doesn't show
any response. I can't work out the proper way to do this, any help is
appreciated.
--~--~---------~--~----~------------~-------~--~----~

2. Exception while Inserting a new contact

HI All,

I would like insert contacts using my application. I'm able to create
a contact if name is mentioned. When I attempt to insert the number
this user i get execptions.

Could some one pls let me know where I'm going wrong.


Code snippet:
 public int insertContactAsMyFave(Contacts contact)
    {
        //DISCLAIMER:-THIS CODE HAS NOT YET BEEN TESTED
        ContentValues content = new ContentValues();
        content.put(People.NAME, contact.getContactName());
        //content.put(People.NUMBER, contact.getContactPhoneNumber());
        content.put(People.CUSTOM_RINGTONE,
contact.getContactRingTone());
        content.put(People.STARRED,true);

        Uri mContacts = People.CONTENT_URI;
        Uri newContactUri =
contactsCtx.getContentResolver().insert(mContacts, content);

        mContacts = Phones.CONTENT_URI;
        content.clear();

               //////I GET EXCEPTION WHEN I EXECUTE THE FOLOWING LINES
OF CODE////////////
        content.put(Phones.PERSON_ID,
ContentUris.parseId(newContactUri));
        content.put(Phones.NUMBER, contact.getContactPhoneNumber());
        // insert the new phone number in the database
        contactsCtx.getContentResolver().insert(Phones.CONTENT_URI,
content);
        return (int)ContentUris.parseId(newContactUri);
    }

Execption received:
10-21 15:51:46.729: ERROR/DatabaseUtils(93): Error inserting
isprimary=1 number_key=888888888888 number=888888888888 person=12 into
table  phones
10-21 15:51:46.729: ERROR/DatabaseUtils(93):
android.database.sqlite.SQLiteConstraintException: error code 19
10-21 15:51:46.729: ERROR/DatabaseUtils(93):     at
android.database.sqlite.SQLiteStatement.native_execute(Native Method)
10-21 15:51:46.729: ERROR/DatabaseUtils(93):     at
android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:
69)
10-21 15:51:46.729: ERROR/DatabaseUtils(93):     at
android.database.DatabaseUtils
$InsertHelper.insertInternal(DatabaseUtils.java:761)
10-21 15:51:46.729: ERROR/DatabaseUtils(93):     at
android.database.DatabaseUtils$InsertHelper.insert(DatabaseUtils.java:
882)
10-21 15:51:46.729: ERROR/DatabaseUtils(93):     at
com.android.providers.contacts.ContactsProvider.insertAndFixupPrimary(ContactsProvider.java:
1869)
10-21 15:51:46.729: ERROR/DatabaseUtils(93):     at
com.android.providers.contacts.ContactsProvider.insertInternal(ContactsProvider.java:
1575)
10-21 15:51:46.729: ERROR/DatabaseUtils(93):     at
android.content.SyncableContentProvider.insert(SyncableContentProvider.java:
312)
10-21 15:51:46.729: ERROR/DatabaseUtils(93):     at
android.content.ContentProvider$Transport.insert(ContentProvider.java:
139)
10-21 15:51:46.729: ERROR/DatabaseUtils(93):     at
android.content.ContentProviderNative.onTransact(ContentProviderNative.java:
124)
10-21 15:51:46.729: ERROR/DatabaseUtils(93):     at
android.os.Binder.execTransact(Binder.java:276)
10-21 15:51:46.729: ERROR/DatabaseUtils(93):     at
dalvik.system.NativeStart.run(Native Method)
10-21 15:51:46.768: ERROR/JavaBinder(93): *** Uncaught remote
exception!  (Exceptions are not yet supported across processes.)
10-21 15:51:46.768: ERROR/JavaBinder(93): java.lang.RuntimeException:
error while inserting into phones, isprimary=1 number_key=888888888888
number=888888888888 person=12
10-21 15:51:46.768: ERROR/JavaBinder(93):     at
com.android.providers.contacts.ContactsProvider.insertAndFixupPrimary(ContactsProvider.java:
1872)
10-21 15:51:46.768: ERROR/JavaBinder(93):     at
com.android.providers.contacts.ContactsProvider.insertInternal(ContactsProvider.java:
1575)
10-21 15:51:46.768: ERROR/JavaBinder(93):     at
android.content.SyncableContentProvider.insert(SyncableContentProvider.java:
312)
10-21 15:51:46.768: ERROR/JavaBinder(93):     at
android.content.ContentProvider$Transport.insert(ContentProvider.java:
139)
10-21 15:51:46.768: ERROR/JavaBinder(93):     at
android.content.ContentProviderNative.onTransact(ContentProviderNative.java:
124)
10-21 15:51:46.768: ERROR/JavaBinder(93):     at
android.os.Binder.execTransact(Binder.java:276)
10-21 15:51:46.768: ERROR/JavaBinder(93):     at
dalvik.system.NativeStart.run(Native Method)

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

3. Class cast exception

4. Not able to return to Home Screen by pressing 'Home' key from any application

5. how to get redirect url from response with HttpClient?

6. Program Announcements

7. Positioning of ImageView