[android-developers] Customizing the Android contact list?

2008-06-25 Thread Mike

Hi!

I'm a beginner on the Android platform, but I don't think this is a
really beginner-type question, so here goes...

I'm wondering if it's possible to modify the appearance of the
standard Android contact list (preferably programmatically). I'm
looking at interesting little projects to help me get some experience
on the platform, one suggestion was a simple app that allows you to
set a country for your contacts, and adds a flag for that country to
the contact list. Then, using GPS, it identifies the country you're in
as you travel, and highlights the flags for contacts in the same
country, telling you who you can easily get in touch with. A silly
little app really, but perhaps marginally useful to frequent
travelers?

So, questions - is it possible to add a flag component to Android's
contact list? If so, can it be animated by my flag app? If not, is
there any way around it, other than implementing an entire alternative
contact list within my app?

Here's a screenshot of the idea: http://host.fenz.net/acl.png

Comments + thoughts welcome (apart from 'this is a dumb idea' - I
already know that!)

Thanks - Mike.

--~--~-~--~~~---~--~~
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] Re: Android Specialists

2008-06-25 Thread whitemice

No one *really* supports Android yet as there are no actual devices to
deploy against.

However many developers who entered the Android Developer Challenge
have real mobile-software-development day jobs and are looking forward
to the first Android projects to walk in the door.

What sort of thing did you have in mind?
Mark

--~--~-~--~~~---~--~~
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] Re: Android Specialists

2008-06-25 Thread YA

http://sadko.mobi/

On Jun 24, 4:34 pm, JammoBurke [EMAIL PROTECTED] wrote:
 Hi,

 I am an interactive consultant at JWT London and would like to know if
 there are any companies that have got a jump on the whole Android
 specialism. I know its all in its infancy but there are great deal of
 projects I would like to look at for our clients which can be seen 
 onwww.jwt.co.ukralted to Android.

 Cheers,

 Jamie
--~--~-~--~~~---~--~~
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] Re: TabHost remove Tab

2008-06-25 Thread Guillaume Perrot

In fact it seems to have side-effects to use
myTabHost.getTabWidget().removeViewAt().
I have two tabs : A B
I delete B, i add C (at the end).
When clicking on C (the indicator is good), i see B's content which
was removed !
When adding tab D at the end, i see C's content !
And so on...
I think it's currently impossible to remove a tab making TabHost
completely useless for creating a IM application... I'm gonna think of
a different way to build my UI (like using buttons to replace tabs and
switching the view when clicking on a button).

On 24 juin, 18:13, Guillaume Perrot [EMAIL PROTECTED] wrote:
 I had the same problem.
 I used removeViewAt(int position) on the TabWidget and it worked for
 me.
 The same didn't work directly on TabHost (ArrayOutOfBoundException).

 On 24 juin, 17:03, Mark Murphy [EMAIL PROTECTED] wrote:

  Ahmy wrote:
   mm.. basically im creating a client messenger. the tab reveal when
   user wants to chat to some user.
   and the tab close when user no longer want to see the chat window.
   the reason im doing this is because i just wanted a single activity.
   and its only for testing my client messenger library.
   single activity can reduce the complexity because the activity only
   for a sample of how using this library.

  Have you tried removeView() on both the TabHost and TabWidget? That
  method should be available on both, since they inherit from ViewGroup.
  Calling it to remove the tab details and the tab itself from the host
  and widget, respectively, might do the trick.

  If that doesn't work -- and I hate to sound like a broken record here --
    you could roll your own tab-like view using ViewFlipper, where
  removeView() should work.

  --
  Mark Murphy (a Commons Guy)http://commonsware.com
  Warescription: All titles, revisions,  ebook formats, just $35/year
--~--~-~--~~~---~--~~
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] Re: Android Specialists

2008-06-25 Thread Eric

Hi,

Would you explain what exactly are you after?

The actual hardware that runs Android or the software?

We are currently in the process of making some hardware that runs
Android if that's what you are after.

Cheers
Eric
Portable Electronics Ltd
www.hdmp4.com

On Jun 24, 10:34 pm, JammoBurke [EMAIL PROTECTED] wrote:
 Hi,

 I am an interactive consultant at JWT London and would like to know if
 there are any companies that have got a jump on the whole Android
 specialism. I know its all in its infancy but there are great deal of
 projects I would like to look at for our clients which can be seen 
 onwww.jwt.co.ukralted to Android.

 Cheers,

 Jamie
--~--~-~--~~~---~--~~
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] Re: Android Specialists

2008-06-25 Thread tberthel

I make Android apps that run on J2ME devices and also as Applets.

On Jun 24, 7:34 am, JammoBurke [EMAIL PROTECTED] wrote:
 Hi,

 I am an interactive consultant at JWT London and would like to know if
 there are any companies that have got a jump on the whole Android
 specialism. I know its all in its infancy but there are great deal of
 projects I would like to look at for our clients which can be seen 
 onwww.jwt.co.ukralted to Android.

 Cheers,

 Jamie
--~--~-~--~~~---~--~~
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] Re: Mobile capabilities from AJAX

2008-06-25 Thread Hong
the webkit supporst full ajax.

as for dialing call, sms, and battery status, it's not supported out of the
box, but u can have an application running with a bridge to the webkit that
provides the system information.

to natively support from ajax, they need to provide something like the
intel's javascript web 2.0 kit, which has battery info. support.

On Wed, Jun 25, 2008 at 11:51 AM, Jose María González [EMAIL PROTECTED]
wrote:


 Hello,
 I am interested in develop web pages specials for Android.
 I know that the web browser is based on WebKit:
 Does this means that the webpages are seen in Safari in the same way
 they are seen in Android?

 I would like to make a webpage which allows a user to click in some
 button or link and launch a call.
 Is it possible to access to some mobile expecific capabilities (such
 call dialing, messaging, battery status...)  from a web?

 Thanks.
 


--~--~-~--~~~---~--~~
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] Wifi SDK Available ?

2008-06-25 Thread rnateshmurthy

Hi ,
Please let us know whether the Android SDK Supports WIFI API
Where I can find all the Hotspot around me and get connected to any of
them

--~--~-~--~~~---~--~~
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] Re: Wifi SDK Available ?

2008-06-25 Thread Digit
WiFi and Bluetooth emulation are not planned for the immediate future (i.e.
won't happen before 2009)
emulation at the low-level protocol level on three distinct platforms is
next to impossible.
we could implement some sort of bridging with special code path in the
system, but we're
not there yet, having other priorities (like shipping a real device :-))

in other words, chances are that you'll have a real device to test these
features on before
seeing the emulator try to (badly) support them...

regards,

On Wed, Jun 25, 2008 at 1:15 PM, rnateshmurthy [EMAIL PROTECTED]
wrote:


 Hi ,
 Please let us know whether the Android SDK Supports WIFI API
 Where I can find all the Hotspot around me and get connected to any of
 them

 


--~--~-~--~~~---~--~~
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] Re: Should I use AlarmManager or ScheduledExecutorService? (pros/cons?)

2008-06-25 Thread hackbod

You should use AlarmManager so your app doesn't have to remain running
the entire time you have something scheduled.  AlarmManager allows you
to have an intent broadcast to a receiver of your application,
restarting it when the alarm goes off.

On Jun 24, 12:58 pm, ccylan [EMAIL PROTECTED] wrote:
 Hello Everyone,

 Here is my dilemma.  I have several different timed operations that I
 need to run on a daily basis, but at different times.  Currently I am
 using ScheduledExecutorService, however having dabbled with
 AlarmManager and its setRepeating function, I'm wondering if I should
 use that instead?  What are the pros and cons of using either of these
 classes?

 Cheers,
 Charles
--~--~-~--~~~---~--~~
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] Re: Request for comment on Activity flow design

2008-06-25 Thread hackbod

Don't use singleTask or singleInstance, because that will cause your
overall activity flow to be broken up into separate tasks for each
activity where this intermediate goes.

There really isn't a way to do exactly what you want.

On Jun 24, 1:06 am, Gavin Bong [EMAIL PROTECTED] wrote:
 I have a need to intersperse the flow between one Activity to another
 with an intermediate Activity.

 Let's call the intermediate activity INTERMEDIATE.

 So imagine my application having a normal activity flow like this:

 A - B - C - D

 Now putting the intermediary activity into the flow, we get:

 A - INTERMEDIATE - B - INTERMEDIATE - C - INTERMEDIATE - D

 When the user presses the BACK button starting from D, it will go
 directly to C.
 i.e. the INTERMEDIATE activity only appears in the forward direction.

 Basically INTERMEDIATE will transition between foreground  background
 many times
 throughout the lifetime of the app.

 A summary of my requirements:

 1) The INTERMEDIATE activity should NOT die unless the initial launch
 activity A exits.
     i.e. I only have an exit menu item in A.

 2) I need to be able to change the contents displayed by INTERMEDIATE
 during a transition.
    i.e. From A - B, I will need the properties of INTERMEDIATE: (2.1)
 the displayed content. (2.2) the next activity to progress to
 (activity B). This applies to the other forward transitions.

 My idea:

 3) Store the states in a service. And in INTERMEDIATE's onResume() I
 can query the service
 for both (2.1) and (2.2) and change it accordingly.
 4) I still don't know which of the launch modes to use for
 INTERMEDIATE.
 Based on the docs; it's between singleTask and singleInstance. However
 I don't understand the concept of Tasks as described in the doc:

 e.g.

 Only allow one instance of this activity to ever be running. This
 activity gets a unique task with only itself running in it; if it is
 ever launched again with the same Intent, then that task will be
 brought forward and its onNewIntent(Intent) method called. If this
 activity tries to start a new activity, that new activity will be
 launched in a separate task.

 Any help would be much appreciated.

 Thanks

 Gavin
--~--~-~--~~~---~--~~
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] Re: Is modeless window supported in Android?

2008-06-25 Thread ferne.ych

Hi hackbod,

Actually, what I want to do is:
1. run a activity with the theme of Theme.Dialog. Supposing this
activity is running on the homescreen, so there are some icons of
applications on its background.
2. click an icon, the application witch is clicked will be run.

Is it possible to do this?

Best regards.


On Jun 24, 7:42 am, hackbod [EMAIL PROTECTED] wrote:
 These are the relevant ones:

 http://code.google.com/android/reference/android/view/WindowManager.L...

 http://code.google.com/android/reference/android/view/WindowManager.L...

 http://code.google.com/android/reference/android/view/WindowManager.L...

 On Jun 23, 2:16 am, ferne.ych [EMAIL PROTECTED] wrote:

  Hi hackbod,

  Thanks a lot! The Theme.Dialog does work.
  But could you pls tell me which flag in WindowManager.LayoutParams
  can be used to the input behavior of a window? I tried some but none
  seemed to do the job.

  Best regards

  On Jun 23, 2:19 pm, hackbod [EMAIL PROTECTED] wrote:

   For an activity that looks like a dialog, in your manifest just use
   android:theme=Theme.Dialog.

   For modeless windows, there are flags in WindowManager.LayoutParams
   that can be used to the input behavior of a window (though you
   probably only want to use these with dialog windows created inside of
   an activity, not on an activity window itself).

   On Jun 22, 7:15 pm, ferne.ych [EMAIL PROTECTED] wrote:

Hi all,

Is modeless window supported in Android? Or can I run an Activity
like running a Dialog (If I click the area outside of its size, it
will disappear)?

Best regards
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---