Home View

by Business Talk » Sat, 28 Nov 2009 23:05:06 GMT


Sponsored Links
 I need to create an activity with a single view which has a multiple
width and/or height of the screen and be able to scroll it. Exactly,
like the home activity. Any Ideas?

--



Other Threads

1. extend Parcelable?

I have a class that extends a class that implements Parcelable. I have
instances of both classes in my app, and I would like to have the
subclass rely on the superclass' parceling methods for reading and
writing the superclass' variables, with the subclass only handling its
own extension.

It looks like there used to be a readFromParcel method on Parcelable
which would have suited my purpose, but with a static
Parcelable.Creator I'm not sure how to do it?

Anyone figure this out already?

Thanks,
Craig
--~--~---------~--~----~------------~-------~--~----~

2. ActivityManager(51): Timeout executing service?

I have an activity which startService of a background service which
just opened up a socket and sits there forever to "accept" incoming
connection; that is done in a Thread within onStart() method in the
Service.
What happens is the activity screen which started the service kept on
popping up a dialog:
"fta_dummy service is not responding"  <Force Close> or <Wait>
and the DDMS log shows:
10-30 21:32:25.049: WARN/ActivityManager(51): Timeout executing
service: ServiceRecord{434acd88 cta.fta.fta_dummy/.fta_dummy}

I think the fact that the service is waiting on the accept call is
timing the ActivitiyManager out.

But how do I get around this problem so the dialog box will stop
popping up?

Thanks in advance,

yx

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

3. Feature request?

4. Installing Applications to your G1 with ease using: SlideME & SAM

5. PathClassLoader failed in SDK 1.0, worked in 0.9

6. Maps Not Showing?

7. dalvik bug?