A control that looks like searching people in SMS composing window - iphone

I am looking for a control, class or nib file looks like "SMS or Email writing window".
In order to do my job, it should have these particular functions.
Has to look for the people in Addressbook.
When person is selected, it should return person's name and placed in the UITextField.
Has to be searched by person's surname or firstname.
If you see this screen capture, you will understand more easily.
But I am a new user in this web site, and I cannot upload the picture that I wanna show you guys.
Can anyone give me some clue how to solve this out?
Thanks in advance.

You're never going to get something that perfectly fits your very specific needs like that. To get the user info you'll want to look into Address Book Framework. To get the SMS view, here are two classes to get you started:
SSMessagesViewController
AcaniChat

You will probably have to interact with the Address Book UI Framework.

Related

Getting more information from form choices

I'm not sure if this is the right place to ask this. But I work for a large design company and the way we receive work is through a request form in Adobe Workfront.
We would like to have a spreadsheet that gets populated with all of the info from the choice they made ie: if they selected a social media graphic for twitter, we would like there to be an output of the correct aspect ratio, whether we use our logo on that graphic, and whether we include text (if yes what would that be?).
Is there a good way of going about doing this? And if I am in the wrong place, where would I be able to get a good answer?
Thanks for the help!

Making an overlay for profile picture on FB

TL;DR: look for bold text to see the questions without context.
When something bad (or good, but this is a cruel world) happens, FB has a feature to change your profile picture - when USA legalized gay marriage you could have had a rainbow flag over your pic, when SW7 came out, you could have added a lightsaber, etc.
I wanted to do something similiar for a social campaign and started writing an app for that. I figured it should be possible, as in case of Star Wars it seemed to be managed by private company (Disney), not FB itself.
My plan was to:
download current user profile pic (done, though I cannot get good quality; anyway, gonna fix that later)
in-memory add the banner (done)
upload that photo with banner added (done)
redirect user to photo from (3) with makeprofile=1 as proposed here, to make it users profile picture
profit
Unfortunately, the answer quoted in (4) doesn't seem to be working anymore.
My question is: is this still possible? If yes - how?
If not - do I have any alternatives?
I've also tried figuring out how is the link "Make Profile Picture" in webview composed. It looks like:
https://www.facebook.com/photo.php?fbid=<<picture id>&set=a.<<similiar, but not the same as picture id>>.<<not a clue>>.<<seems to be profile id>>&type=3&makeprofile=1&profile_id=<<profile id, duh>>&pp_source=photo_view
If anyone knows what following parts mean, my issue would probably be solved:
<<similiar, but not the same as picture id>>
<<not a clue>>
<<seems to be profile id>>
I also tried figuring out ProfilePictureSource, but the abstraction itself isn't described anywhere (or I couldn't find it) and judging by permissions needed, that doesn't seem like what I need (why would I need any pages, groups, mailbox or business permissions when I only want to update a profile pic?). If that is the way and I just lost it, please tell me how to use it.
Another way to answer this question would be to propose alternative way of having the banner over profile picture.
For the record, I'm using Python with facebook-sdk wrapper, but only for fast prototyping - I could as well use Java with Spring Social, DLang with manual HTTP calls, whatever - technology isn't an issue, I need a general way here.

Interactive map, which unlocks if you provide email. What is the best way to get started on this?

So basically there is to be a map, and users are able to drop a pin in to note their location. To access the map and pin, an email must be provided.
So like you go to the site, there is a prompt for your email to proceed then that window closes after an email is given and there is a map and a pin that you can drop where ever you want.
What is the best way to do this?
I am finding interactive map tutorials that lead to external pages, or pop up windows for facts but nothing as visceral as putting a pin in a location with your name on it.
Also while we want to get the email, we want it in NO WAY to be connected to the pin information wise.
Thank you!
So I will make a guess and say you wan't this for a website, (should state what language or system you are doing this for)
Just have a simple
Javascript pop up with a text field.
Or use googles API

Create a view like contact info in ios4

I would like to create a view like contacts info in new ios4.
I've been looking for a document, source code(this is better) or something else but I wasn't lucky.
Please if somebody can help me I will be very very happy, I need to show a picture, some fields like textbox and description field.
Thanks in advance
I think you're talking about the Address Book APIs? Here is a link to the Apple Developer site that should get you started:
http://developer.apple.com/iphone/library/documentation/ContactData/Conceptual/AddressBookProgrammingGuideforiPhone/100-Introduction/Introduction.html
It goes over both how to integrate with the Address Book database, and how to just use an Address Book-like view for listing contact information.
Controllers: http://developer.apple.com/iphone/library/documentation/ContactData/Conceptual/AddressBookProgrammingGuideforiPhone/400-UI_Controllers/UI_Controllers.html#//apple_ref/doc/uid/TP40007744-CH5-SW1
Use tableView:viewForHeaderInSection: for your first table section, and point it to a UIView you've designed in IB. Take a look at this tutorial.

Does anyone know of a To/Subject control a'la iPhone's Mail and SMS application?

I'd like to show a widget with a "To:"-field and a "Subject:"-field, just like Mail application does and the SMS application partly does (it has no subject field). For example, when entering a few letters of a person name a table is shown with relevant hits from the address book. A recipient is encapsulated in a blue bubble. And so on...
Has anyone reversed the MobileMail.app or MobileSMS.app and wrapped it up in an easy to use class? That is my dream ;-)
Thanks in advance!
/John
Check out Joe Hewitt three20 project, it includes a message composer.
It might be more than you want, because I'm not sure from your question what you're wanting to do with this view. But there's skpsmtpmessage, an open-source SMTP sender that includes the UI. It's available at http://code.google.com/p/skpsmtpmessage/
This is a non-answer, but I have looked for this as well, and have not found anything. I ended up doing something different with my idea that didn't require those fields to be directly input. I think you'll have to roll your own.
catlan points to a good library there with three20.
Also in 3.0 there is the new MessageUI Framework
chris.