Get addressbook all phone labels list - ios6

I need to get addressbook all phone labels.
I mean, not phone labels for all existing contacts, but all phone labels list(when you touch phone label in Contacts app there is a list of labels).
Is it possible?

You can create your own labels on demand for individual ABPerson records. There is no central place where iOS keeps a list of all the standard labels. Here's my list of the iOS constants (I might have missed some) that are mapped to strings via ABAddressBookCopyLocalizedLabel:
kABPersonPhoneMobileLabel
kABPersonPhoneIPhoneLabel
kABPersonPhoneMainLabel
kABPersonPhoneHomeFAXLabel
kABPersonPhoneWorkFAXLabel
kABPersonPhonePagerLabel
kABWorkLabel
kABHomeLabel
kABOtherLabel
Any label that you add yourself will not be localized by iOS, it will appear verbatim regardless of locale setting.

Related

Planning calendar default one month view on mobile

Currently, I am developing an app in which users should be able to pick a date from the calendar. It works pretty much ok on desktop and also on mobile phone.
My problem is that the 'One Month' view is not reachable from mobile phones. What I need is to be able to have a similar view to the one shown below from my mobile phone.
I have already tried to PlanningCalendarView with intervalType="Month" but it just made it worse cause it shows the same appointments associated.
The “1 Month” option is not supported as intervalType for PlanningCalendarView.
But you can combine both your custom views ("Day" , "Week") and the already built in view for “1 Month”
by using the “builtInViews” property from PlanningCalendar.
Something like:
...
<PlanningCalendar
id="PC1"
startDate="{path: '/startDate'}"
rows="{path: '/people'}"
builtInViews="One Month"
...
<views>
<PlanningCalendarView
...
Please see also this Plunkr.

Tableau: Marking Cities and Towns on a Map

I have made a map with Tableau that shades based on the number of customers we have by county. I am trying to add labels of towns/cities in the area.
I tried going to map options --> Place names but there are two problems with this. First the places appear under the shading, secondly many places (some of the towns aren't big enough to be included on a standard list) are not included on the map.
I tried overlaying a custom list of city locations on top of the counties; but it seems to only load one or the other.
You have several options:
Go to Map Layers > Washout - modify it to see whether it improves the effect
Go to Marks > Color > Transparency and modify it.
Load a custom list with city names and their location.
Use the county variable as Label.
One of these should work.
Also, Tableau's place names are not complete so there will be gaps for smaller cities/towns. However, they will appear when you zoom in.
Tableau 10 should have improved mapping options so maybe that will solve your problem.

Which module can provide a group address field in drupal 7 ?

I would like create a field which is a group of drop-down list boxes for user to choose his/her address. The drop-down list boxes are such as: Country, City, Street, and so on.
Which module can provide this function in drupal 7?
This module does exactly what you are looking for: https://drupal.org/project/countries
With it you can create aditional fields also and modify the existing fields. I recommend you to use it with display suite mudule to have more flexibility
I know this is an old question but if people are still looking for an answer you may check out the Address Field Module - https://drupal.org/project/addressfield
It's not going to to offer everything asked but it's worth looking into.

How to generate tile of artical automatically in drupal?

There are several fields and I want generate title from these fields by concatenating them by character '||' in an article in Drupal. However I find it that you must input article title manually, then how to generate title automatically?
I have used Auto Node Title in a project for my client and worked fine to generate titles automatically for the nodes. I don't know if with it you can generate title for the other fields also, but maybe with some additional configuration it would be possible to do

Auto-generate title field from other columns of Drupal 7 Content Type

I'm struggling to adjust title field of my "car" content type in Drupal 7. How can I automatically generate title field text by combining for example Manufacturer, car Model, Year columns? Also if you could comment on good use of title field and tactics to avoid/remove it.
You can use the Auto Node Title module.
"auto_nodetitle" is a small and efficient module that allows hiding of
the content title field in the form. To prevent empty content title
fields one can configure it to generate the title by a given pattern.
When the token module is installed it's possible to use various node
data for the auto generated title - e.g. use the text of a CCK field
(since 5.x).
Automatic Entity Label is a generic approach. Works with any entity type. Uses Token module.
"Automatic Entity Label" is a small and efficient module that allows
hiding of entity label fields. To prevent empty labels it can be
configured to generate the label automatically by a given pattern.
This can be used on any entity type, including e.g. for node titles,
comment subjects, taxonomy term names and profile2 labels.

Resources