On Sun, May 30, 2010 at 3:42 PM, Brian Victor <[email protected]>wrote:

> I don't have a project yet.  I want to replace the global controls so that
> (e.g.) the built-in calendar program becomes usable.  Right now it takes so
> long to set up an event that I don't even bother.
>

I see you point about the controls' usability. I think if you want to modify
this on the global level - for yourself you'll have to build your own
firmware and put it on your device. I don't know what this involves as I've
not done it myself, but you could probably get better info on the Android
Porting group.

If you want to contribute these changes to the official build, check the
Android source project page (http://source.android.com/source/index.html)
and start reading up on how to do so.

It you want to ask the user to choose a contact, you use an intent, right?
>

Not sure - contacts are delivered by content providers, which may or may not
require an intent - a cursory glance at the docs indicates that you don't -
but I haven't really done much with them, so I can't really say.


> If you want to ask the user to take a photo, you use an intent.
>

Yes, to launch the camera app that will take a picture, AFAIK.


>  I'm not sure why choosing dates or times are so much different.
>

Well, there is no "date and time content provider", so you couldn't query
for this like you would for contacts.
And there's "date and time selection activity", so you couldn't start one up
to allow the user to pick a date and time.

In general, an intent is used to pass data along to some other system
(activity, service, whatever) have it receive it, do something with it, and
possible send something back. In this case, there wouldn't be anything (by
default) to receive a generic "date and time picker" intent.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to