[android-developers] title bar progress indicator

2008-04-10 Thread colintheprep

I can make the title bar of an application have a progress bar + the
little progress circle indicator.  Is there a way I can only give it
the progress circle indicator, and not the bar?

thanks anybody!

Colin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] architecture question relating to network use

2008-04-06 Thread colintheprep

Hi all, I'm looking for suggestions on how to architect something:

My application consists of a number of activities, most of which talk
to the network (through tcp sockets).  I.e. - one activity connects to
the network, sends and receives some stuff, launches another activity,
which also sends and receives some stuff, etc.

What would be the best way to encapsulate the 'network communicator'
portion, so that all activities can talk to the network through the
same socket?  I can't pass objects to activity's create methods, only
strings, right?  So I can't pass a 'networkcommunicator' object - only
an ip address, credentials, etc.  Would it be better to set up a
service or intent receiver or something like that, and then all
activities talk to the network through it?  Or some other way?

As an aside, is it bad in any way to maintain a connected socket
through different activities in such a way (whatever way that would
be)?

thanks for the feedback!

Colin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] MapView inside ScrollView doesn't move right

2008-04-03 Thread colintheprep

Hi - anybody know if it's possible to have a mapview inside a
scrollview, and have it take focus such that it can move without the
scrollview scrolling?

So I want:
scrollview
   some stuff
   mapview
   some more stuff

When I drag on empty space or tab between elements in stuff, the
scrollview scrolls correctly.  But when the mapview is visible, and I
click on it, and try to move it around with the 'touchscreen', the
scrollview takes over and scrolls instead of the mapview moving.  I'd
like to be able to 'focus' the mapview, such that it pans instead of
the scrollview scrolling, and then to restore focus to the scrollview
by clicking on empty space, or another item.

any ideas?

thanks!
Colin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---