HTC Hero (Sense UI) in emulator

by Alexey » Wed, 28 Oct 2009 07:29:30 GMT


Sponsored Links
 Is there a way to get HTC Hero system image for the emulator?

Sense UI has quite some changes to activities like Contacts. So
intents to select Phone number (new Intent(Intent.ACTION_PICK,
Phones.CONTENT_URI) ) work differently from default Contacts app, and
things like viewing Call Log ( new Intent
("com.android.phone.action.RECENT_CALLS"); ) do not work at all.
Is there a way to test my code against Hero device, beside getting
physical device.

 Thanks

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



HTC Hero (Sense UI) in emulator

by Mark Murphy » Wed, 28 Oct 2009 07:55:06 GMT


 > Is there a way to get HTC Hero system image for the emulator?

HTC has not released one, AFAIK. I inquired about this a couple of times
over the past month or so and there is no sign that there will be one.


Don't use com.android.* classes or Intent actions. Those are not part of
the SDK and are rather likely to be changed over time.


You can see if DeviceAnywhere or similar services have a Hero available
for remote testing.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
Android App Developer Books:  http://commonsware.com/books.html 



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


Sponsored Links


HTC Hero (Sense UI) in emulator

by vovkab » Wed, 28 Oct 2009 08:10:44 GMT


 Here is solution (Russian): 
 http://4pda.ru/forum/index.php?s=& ;showtopic=127892&view=findpost&p=3267124



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



HTC Hero (Sense UI) in emulator

by izzy » Sat, 05 Dec 2009 02:44:35 GMT


 it doesn't work.
I downloaded the HERO image from the thread of the forum, and put it
in the emulator.
It can not successfully launched.
Is there any trick for creating or launching avd?





--



Other Threads

1. Problems with Android Calendar functions

Hi,

i need a calendar function in my app, but i have problems to
determinate the day of the week from the chosen Date. I tried much and
it seems like a bug to me. Here's the code:

TimeZone zone = TimeZone.getDefault();
GregorianCalendar calendar = new GregorianCalendar(zone);

calendar.set( 2009 , 6 , 1);

                if( calendar.get(Calendar.DAY_OF_WEEK) == calendar.get
(Calendar.MONDAY) ){
                        System.out.println("MONDAY!");
                } else if (calendar.get(Calendar.DAY_OF_WEEK) == calendar.get
(Calendar.TUESDAY) ){
                        System.out.println("TUESDAY!");
                } else if (calendar.get(Calendar.DAY_OF_WEEK) == calendar.get
(Calendar.WEDNESDAY) ){
                        System.out.println("WEDNESDAY!");
                } else if (calendar.get(Calendar.DAY_OF_WEEK) == calendar.get
(Calendar.THURSDAY) ){
                        System.out.println("THURSDAY!");
                } else if (calendar.get(Calendar.DAY_OF_WEEK) == calendar.get
(Calendar.FRIDAY) ){
                        System.out.println("FRIDAY!");
                } else if (calendar.get(Calendar.DAY_OF_WEEK) == calendar.get
(Calendar.SATURDAY) ){
                        System.out.println("SATURDAY!");
                } else if (calendar.get(Calendar.DAY_OF_WEEK) == calendar.get
(Calendar.SUNDAY) ){
                        System.out.println("SUNDAY!");
                }


It prints Saturday, actually June the first is a Monday.

I tried other values:
calendar.set( 2009 , 7 , 1); prints Monday, but is actually a
Wednesday
calendar.set( 2009 , 8 , 1); -> Saturday, correct
calendar.set( 2009 , 9 , 1); -> Saturday, should be tuesday
calendar.set( 2009 , 10 , 1); -> Wednesday , should be a Thursday

Does anyone know what's wrong here? Thanks in advance

Regards, Pascal
--~--~---------~--~----~------------~-------~--~----~

2. long duration a/v sync in opencore

Hi all & esp. PV engineers,
I am working on a hard bug found during long duration video playback by
OpenCORE v1.0 and it hangs mediaserver.

I find an extremely old email talking about bugs related to long duration
avsync playback of opencore by Dave Sparks. It seems to be about OpenCORE
v1.0. I'd like to know the details about this bug, e.g. description and root
cause and workarounds? Thanks.

Please refer to the following statements by Dave Sparks. Thanks.




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

3. animations constrained by transformations?

4. Preferred method of copying arrays

5. YouTube app Intent and Extras

6. Create custom mime type handler

7. Slow to load emulator with eclipse