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. NullPointerExceptions calling IMarketBillingService

I've been getting exceptions like the one below reported by ACRA. Is anyone 
seeing 
something similar? Any ideas for a workaround?

java.lang.NullPointerException 
   at android.os.Parcel.readException(Parcel.java:1253) 
   at android.os.Parcel.readException(Parcel.java:1235) 
   at 
com.android.vending.billing.IMarketBillingService$Stub$Proxy.sendBillingRequest(IMarketBillingService.java:100)


Something similar has been reported here: 
http://code.google.com/p/android/issues/detail?id=16043, 
but apparently that's not right place for reporting it (where do we report 
bugs for the 
Market app?). Also, I don't think it only happens if the Market app's data 
has been cleared, since people manage to download and run the app, 
and it's kind of unlikely they will clear the Market data right after that.

This: http://code.google.com/p/android/issues/detail?id=2387 suggests it's a
 bug in Android and happens with other services too, but it's quite old and 
with 
no comment. 

Of course, this only happens when people are just about to upgrade, and 
most probably give up after seeing the an error message...



-- 

2. Broadcast to a specific class in another app

Hello everyone,

I have a problem when I try to send a broadcast intent from App1 to App2 and
set my component name using *setComponent()* method

That is,

In my APP2 I have
*String myAction = ..;
IntentFilter filter = new IntentFilter();
filter.addAction(myAction);
this.registerReceiver(receiver, filter);
*

//APP1

*String myAction = ..;
Intent intent = new Intent(myAction);
sendBroadcast(intent);
*
it works, but if I use

*String myAction = ..;
Intent intent = new Intent(myAction);
intent.setComponent(new ComponentName(pkgApp2, clsApp2));
sendBroadcast(intent);

*It doesn't works. So my question is: why?*
*
Thanks in advance.

PG

-- 

3. Digest HttpS connection

4. Accessing database from android

5. Porting SDK on android device

6. R: R: Porting Android on Freescale IMX31 board

7. happen "line 23: exec:python:not found" while downloading android source code