Add telephone number to ical - icalendar

Is it possible to add a telephone number to an ical file? I currently have this set as the "ORGANIZER":
ORGANIZER;CN="{ORGANIZER_NAME}":mailto:{ORGANIZER_EMAIL}
I would like to add a phone number to be able to call the ORGANIZER from e.g. Apple calendar.

According to the RFC5545 specification, the organizer is of value type CAL-ADDRESS.
https://www.rfc-editor.org/rfc/rfc5545#section-3.8.4.3
If one follows through on CAL-ADDRESS https://www.rfc-editor.org/rfc/rfc5545#section-3.3.3, it is defined as
The value is a URI as defined by [RFC3986] or any other IANA-registered form for a URI.
If one then clicks through on the RFC3986 specification link, to https://www.rfc-editor.org/rfc/rfc3986#section-1.1.2 and in particular the examples being easier to understand, one sees a tel example
tel:+1-816-555-1212
so just like the mail-to, one should be able to use .
Of course one has to check whether the receiving applications will cope with it. They don't support the specs 100%.

Related

update calendar from email link

Obviously I'm not using the right keyword/phrases to find the information that I need. Any help in pointing me in the right direction would be greatly appreciated.
I've generated an ICS file. I put a link to this file in an email. What I would like to happen is that the recipient clicks the link and it updates their calendar (regardless of OS, platform). Currently the link simply downloads the ICS file but does not update any calendar.
Background: I belong to a non-profit organisation that runs several courses that members can subscribe to. This means that each members course list will be different therefore I can not simply send out a single list or have people subscribe to lots of different 'events' to have their calendars updated.
Is this doable or am I simply dreaming :-)
Jeff, what happens when some one clicks on an ics link depends on their device and the program that they are reading the email in, and how they have setup their defaults - eg what calednar app. EG: I have mine setuo to download ics files for testing purposes, and if i click on a downloaded one it opens in notepad++.
Of course most people will not have that. However, not that easy to make it happen automatically, have to tell users.
To have updates (ie syncing) happen, recipients need to subscribe to the link, not import the data. If they are not familiar with using multiple calendars, they can get confused.
instructions on google: https://support.google.com/calendar/answer/37100 on apple calendars https://support.apple.com/en-au/guide/calendar/subscribe-to-calendars-icl1022/mac. Rather annoyingly, iphones will offer a user who clicks on a normal http..ics url an option to import all events. To make the iphone offer the subscribe option one has to use the unofficial apple icalendar prefix webcal. So one ends up either showing both link options on a webpage, or doing device detection and showing webcal for macs.
hope that clarifies.

Adding specific number of sections in a google form

When an user enters a number into a field (representing the number of persons in a group), I want to have a section of google forms to be multiplied that many times - one for each person. In each such section I need to enter their details. Anybody did something similar to this ?
I think what you're trying to do isn't possible (without using App Scripts) but I have built a little example of something that might work for you. Please see if this will work and get back to ASAP.
Pretty much it has a title page asks the user how many people they want to sign up. Then, depending on the answer, the form directs them to a section with the appropriate number of sign-ups.

What to do with "rude" app store promo codes..?

I recently generated promo codes for the iOS app store and at least one contains some combinations of letters that you better not pronounce on TV (to say the least). Is there any way to return or change such codes? I mean, I can't send that code to a reviewer, not even to a friend.
Edit: with "generated" I mean that I used iTunes Connect to get promo codes, i.e. Apple creates them and I just download them as a text file. One of the codes reads xxMFxxxxANAL. No joke! (x=arbitrary character not disclosed here). Not exactly the kind of code you want to send to somebody whom you would like to review your app...
Is there anything I can do about this? For example returning the code and getting a new one? And do you have to check every code Apple gives you by hand? If you want to give a batch to a website to give them out to their users, such a code could slip through easily.
Remove vowels from your character set?
Before returning the generated promo code, check it against a list of words you don't want to send. If it is in that list, regenerate it.
EDIT
However, that is really not the best solution. It might serve you well to change how you generate the code.
One possibility: in C# there is a Guid class that generates a guaranteed unique string. You may be able to use a subset of a Guid as your promo code.
Another Possibility: You could alternate letters and numbers.

How to create a To field like the one in Mail or Facebook app?

Does anyone know how to create a 'To field' like the one in Mail or Facebook app?
When an address is added from the A-Z list, a blue component that represents the address will be added to the text field. Is there a class provided for this functionality, or do we have to implement by ourselves?
There's no built-in framework. You'll either need to implement it yourself or use one of the open source components, such as Three20 (which includes the one used in the Facebook app).
In Three20's author's blog I found these few lines:
Message composer
TTMessageController emulates the
message composer in Apple's Mail app.
You can customize it to send any kind
of message you want. Include your own
set of message fields, or use the
standard "To:" and "Subject:".
Recipient names can be autocompleted
from a data source that you provide.
Maybe you should take a look at its source code at github.

How can I change the look of ABPeoplePickerNavigationController so that i can see phone number type (home,mobile etc)

I am using ABPeoplePickerNavigationController in my app ,but client wants to see label of phone number infront of name say
"Name number type"
Ali mobile
Ali home
is there a way to customize ABPeoplePickerNavigationController to fulfill this requirement?
thanks
If you want to customize the address book according to your requirements, I suggest you should not use ABPeoplePickerNavigationController. Instead of that make the use of Address Book object, retrieve data from your address book and display those data in your custom ViewController.In this way you will be able to customize your View in whichever way you want.
Secondly you cannot modify the APIs and frameworks provided by Apple.