Sorry for not being specific enough.  I meant to duplicate the code of the
existing contacts app and modify it to fit your needs.  What you are hitting
on here is one of the many wonderful, groundbreaking ideas about Android.
Because Android is so Open, 3rd party apps developed by non-google
developers are treated exactly the same as apps created by Google.  All
Android 3rd party apps have access to all the same apis and system resources
that the Android Apps created by Google have access to.  Android 3rd party
apps are treated with the same priority as Android apps created by Google.
Then when your modified Contacts app is finished and loaded on your Android
phone, you can specify within Android that you want your Contacts app
instead of the google contacts app to be used as the default contacts app on
the phone through intent receivers.  If you choose, you could also remove
the default contacts app from the phone after testing yours and making sure
it works properly.

In comparison, the iPhone for example, it has 3rd party apps, but these 3rd
party apps are hobbled in the manner of they are sandboxed away from many of
the system resources and apis that are available to Apple developer iPhone
apps.  They are also treated with a lower priority than the Apple developer
iPhone apps.

I hope this helps make it clearer.

-----Original Message-----
From: android-beginners@googlegroups.com
[mailto:android-beginn...@googlegroups.com] On Behalf Of King of Camelot
Sent: Wednesday, August 26, 2009 6:31 AM
To: Android Beginners
Subject: [android-beginners] Re: Additional Contact Information


Sorry, could you be a bit more specific? By 'modify the current contacts
app' do you mean duplicate the code in my application? If so, that sounds
kind of like option three. If you mean modify the contacts app by itself,
then I'm not sure how this would work in the case of my application. I'm
under the assumption that the application which users will download comes as
a single APK, and as such couldn't really modify the contacts app, unless it
re-directed it to the APK for my application?

Unless I'm missing something?

Thanks! Sorry if I'm missing something.

On Aug 25, 4:36 pm, "tinyang" <tiny...@earthlink.net> wrote:
> Hello Sire :)
>
> I'm new to Android too, but it sounds like the first option is 
> certainly do-able.  Just modify the current contacts app (assuming 
> it's open source) and replace one of the current spinners (drop down 
> menus) with the Favorite food item spinner you wish to add.  Modify 
> the contacts database to add a field for your fav food, link it to your
spinner, and you're good to go.
>
>
>
> -----Original Message-----
> From: android-beginners@googlegroups.com
>
> [mailto:android-beginn...@googlegroups.com] On Behalf Of King of 
> Camelot
> Sent: Tuesday, August 25, 2009 12:52 PM
> To: Android Beginners
> Subject: [android-beginners] Additional Contact Information
>
> Hi all. New to Android, so I'm just trying to get a grasp of what's 
> possible for an application and what's not.
>
> Let's say for example I wanted to add a 'Favorite Food Type' drop-down 
> box to the contact view UI. This way when you add new contacts, or 
> modify old ones, you can select a favorite food type for that 
> individual, that the application I'm making would then use to display 
> all individuals who like the food type you're currently craving. (Just 
> an example application)
>
> And just to clarify, by the contact view UI, I mean the interface you 
> see when you go to contacts and select an individual. In other words, 
> the screen that lets you modify their contact information.
>
> Now, would it be possible for an application to insert this drop-down 
> box into the default contact view UI? Or would the application need to 
> show all contacts itself and force the user to do the food type 
> selections in the application?
>
> The first options is preferable. If that isn't possible, there's also 
> a third potential option where the application overrides the default 
> contact view UI with it's own.
>
> Anybody know which of these is possible, and how to implement?
> (Although the in-application version need not explanation)
>
> Thanks!
>
> No virus found in this incoming message.
> Checked by AVG -http://www.avg.com
> Version: 8.0.169 / Virus Database: 270.13.49/2293 - Release Date: 
> 8/25/2009
> 6:07 PM

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.169 / Virus Database: 270.13.49/2293 - Release Date: 8/25/2009
6:07 PM


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to