Want to get current location to work?
I've recently been plugging away at the contact section of the "soon to be launched" app for Our Daily Bread. By the way, they have some stellar cookies and baked goods! You should definitely check them out. At any rate, I wanted to share with some of you how to use Current Location in the Maps app for iOS. There is a very tedious way to go about it using the CoreLocation framework and CLLocationManager. However, if you just want the app to open up the maps app, and give directions to the user using their current location, it is very simple.
Take a look at my example below.
NSString* address = @"118 S. Main St., Fitzgerald, GA,31750";
NSString* currentLocation = @"Current Location";
NSString* url = [NSStringstringWithFormat: @"http://maps.google.com/maps?saddr=%@&daddr=%@",[currentLocation stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding],[address stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
UIApplication *app = [UIApplicationsharedApplication];
[app openURL: [NSURL URLWithString: url]];
Once you link your objects in Interface Builder to the button and it's event, you should receive the following screen (depending on your destination, of course).
If you appreciate this article, please like us on Facebook.
Apple iOS is the way to go for developers...
Simply because more Android phones are being shipped, doesn't make them the king of mobile. The Android experience, from what I've seen and heard, is not all that great. I'm not downing anyone who uses an Android device, but the overall experience is typically less appealing when compared to the king of mobile, iOS by Apple.
This post is in response to this Apple related article at Forbes.com and I wanted to give you 5 reasons why developers won't leave the iOS platform over the Android platform. The first will roll into the second, the second will roll into the 3rd and so on...
- User Interface
- User Experience
- User Market
1. User Interface - By default, and this may just be my preference, but the entire user interface for iOS devices is quite a bit more intuitive than Android. One feature is the simplistic nature of only having one button on the phone that can serve many different functions and really helps separate all Android devices that have several buttons on the device. Another would be multitasking and the new feature, Notification Center, for iOS. They work very well.
2. Consistency - The beauty behind iOS for developers is that you only have potentially two devices max to develop applications for. The iPhone/iPod Touch and the iPad. Whereas on the Android platform, you have an array of different devices from different brands such as HTC, Samsung, & Motorola with different screen resolutions that causes cross-device compatibility issues. This really becomes a headache for most people developing mobile applications. So, for developers, consistency is huge!
3. User Experience - One thing that I feel sets Apple's iOS apart from Google's Android is the user experience. I've heard too often people stating they will be using an Android phone and all of a sudden, it shuts down (and I'm not talking about 0% battery life). Now don't get my wrong, there are occasions where I know the iPhone to have a hiccup and have to reboot, but overall, the experience for people who switched from an Android to an iPhone have not looked back and love their iPhone. Conclusion: User experience is what sells, and ultimately gets you to the next point.
4. User Market - The user market for iOS devices is growing, and growing fast. Even though Android has a larger market presence in Q1 2012, "Apple’s iPhone devices held onto the top three spots in NPD’s overall handset ranking in the first quarter of this year." And this ranking, sadly to say for Android, will probably remain for a while.
5. Profitability - The App Store is a huge part of making it a success for developers. Developers submit their app, people (for whatever reason?) continue to buy apps. Not many apps are being sold on the Android platform. Why? Maybe because of the first three points I listed above, UI, consistency, and user experience.
And in response to memory management from the article on Forbes by Todd Warren, there is a solution for that: ARC - Automatic Reference Counting
More people have a
mobile phone than a toothbrush?
If this is true, some of us will be looking a little weird talking with no teeth one day.
But seriously, everyone has one! They are definitely the future PC if they aren't already.
I'm not sure of the statistic for businesses without a website but if you don't have one by now, GET ONE ALREADY! You are missing out on potential customers and profit potential. I'm not saying this so you just get a website to be up to date. It is essential in this day and age to connect and interact with people you wouldn't reach elsewhere. It allows people to connect with you and your brand whenever they wish, and not only that, where ever they wish! It should be part of your marketing strategy.
So why should you have a mobile app, too?
"Because every business should be thinking about building mobile applications today. It’s not a fad or a passing trend. It’s customer service." Everywhere you look these days, practically everyone has a smart phone and correct me if I'm wrong, their head is down and probably playing Angry Birds or Instagramming, or you name it! And pretty soon, don't be surprised if we're opening cars with our phones. A mobile app can play a large role in achieving that dream of yours.
Get an app or website today!
I highly doubt it...
Here is the article: http://fxn.ws/vPhewX
Here are a few reasons why:
- Better app selection and quality.
- The touch controls are perfected.
- Easy access to music & movies.
- Robust update schedule for all phones & tablets.
- iCloud automatic backup
- The mail inbox is unified among all e-mail accounts.
- The overall design is cleaner and consistent. (very intuitive)
- See more here.
Did you just get an iPhone? Even if you've had one for a while, there always seems to be something new.
One of my favorite feature is actually the "Shortcuts" feature available in the keyboard settings. If you get tired of typing full phrases out, you can create a keyword shortcut that automatically suggests the phrase associated with your keyword (or letters). (e.g. For the phrase, I love you, you can set a shortcut for 143 to spell out "I love you.")
Some other favorites...
- Comma shortcut. When you are typing and want to quickly add a comma, press and hold the 123 button and then without lifting your finger, slide your finger over to the comma and then release. After doing so you will have a comma and will be back in the letter mode and can keep typing your sentence. You can also use this trick to get a period, although if you are at the end of a sentence the faster way to get a period is to tap the space bar twice. In fact, the hold 123 and slide method can be used for any symbol, such as the question mark or the parenthesis, although it is a little easier for those keys closer to the 123 key.
- Contractions. When you are typing an e-mail, the iPhone suggests some contractions automatically. Type cantand the iPhone will suggest can't. (And of course, to accept a suggestion you just tap the space bar; to reject a suggestion you tap the x next to the suggested word.) But if you type well the iPhone normally won't suggest we'llbecause, well, well is a word. But for we'll and many other words, if you type the last letter an extra time, the iPhone will then suggest the contraction for you. Type welll and the iPhone will suggest we'll. Type weree and the iPhone will suggest we're. In the past, I used the trick with I'll and it's, but now I find that when I type ill andits the iPhone automatically suggests the contraction without needing to add an extra key. This happens because the iPhone learns your words as you type and adds them to the custom dictionary -- which, by the way, you can always reset if necessary by going to Settings --> General --> Reset --> Reset Keyboard Dictionary.
- Click hereto see more.
Where is iMessage? I can't find it anywhere...
I just updated my iPhone 4 with iOS 5 and am trying to take advantage of the wonderful iMessage app. I have several friends and family who have iOS devices and I want to be able to communicate "freely" with them. Ha.
Come to find out, it is easily integrated into one app, “Messages”. See below.
Well, what is iMessage?
"Thanks to iOS 5, anyone with an iOS device can now easily keep in touch—for free!—by using Apple’s new iMessage service, found within the Messages app. iMessage works without any per-message charges from cellular providers or monthly texting plans; instead, you’ll send messages over your device’s 3G or Wi-Fi connection.
iMessage works with any iOS 5-capable device, sending anything an SMS or MMS can—text, photos, video, contact cards, or map locations. The feature allows iPhone users to talk to iPad users, iPad users to send video to iPod touch users, and so on. You won’t be able to use iMessage to contact people with Android devices or BlackBerry phones—that’s still the province of text messaging.
iMessage is easy to set up and use: All you need is an Apple ID, and you can start messaging your fellow iOS device users."
To set up iMessage, do the following:
“To start using iMessage, open the Settings app and tap the Messages menu. You’re prompted to enter your Apple ID—that’s the email address you use for buying apps in iTunes and logging in to iCloud. If you don’t have one, you’ll be prompted to create an account.
If you’re setting up iMessage on your iPhone, people who know your mobile number will always be able to use it to message you; you can also supply iMessage with an email address where other iOS device users can reach you. If you’re using an iPod touch or iPad, you can message people only by email address, so you’ll have to supply one during the setup. You can use any email address you own—such as your iCloud or Gmail account.
Once iMessage has verified your email address, you’re brought to the Messages settings screen. Here, you can enable or disable iMessage altogether; turn on Read Receipts, which lets others see when you’ve read their message; or allow the Messages app to send your text as an SMS if iMessage can’t get through. This applies to the iPhone only. Disabling this setting prevents your phone from automatically reverting to SMS—and racking up texting charges—should iMessage fail. It doesn’t, however, disable SMS entirely.)
Other settings let you choose the email address or addresses you’d like people to be able to reach you at. (You can associate multiple addresses.) There’s also an SMS/MMS section, which allows you to enable or disable MMS Messaging (iPhone only), Group MMS Messaging (iPhone only), Show Subject Field, and Character Count (iPhone only).”
Credits: Brief overview of iMessage from Serenity Caldwell
Making apps isn't necessarily easy. However, making icons should be!
I've been developing apps for close to a year now and I recently found out the best way to make icons specific to the device. If this is old news for you, sorry. But for me, it was new. I knew there had to be some way to make iPhone app icons more crisp, especially on Apple's high resolution iPhone 4 model.
So, let's get started.
In your Xcode project, you should have an appname.plist file. Open that up! Once you have opened the plist file for your project, add a new "node," if you will, at the bottom. This is where you will select "Icon files." Please note: Pay close attention to the plurality of the word files.
From this point on, you can add several Strings underneath this particular "Icon files" node. Here is an example:
For more details on this issue, please visit the developer center's article on this matter.
If I were to start over, I believe my first iPhone app would be Instagram,
followed by Air Force+ of course. :)
One thing I love about Instagram is the Twitter integration that then integrates to my Facebook account. The ability to set the focus on each image is a big hit to me. And then you can apply some pretty neat effects to the pics to brighten them up, give them some 1977 look, or Gothamize them. :)
Another iPhone app recommendation.
It provides a quick and easy way to stay on top of everything happening in the U.S. Air Force. Another great feature, especially for the Aircraft buffs, is the Aircraft feature. It gives great details for the most current list of aircraft that support the entire U.S. Armed Forces. Pretty neat!
And thirdly, Songify. Songify is something fun for the whole family. We recently went on vacation, and everyone was begging to use my iPhone to create a fun song with the Songify iPhone app. It was a hit! I've really enjoyed the synthesizer making me sound great! LOL.
I know there are a ton of apps on the Apple App Store, and it really comes down to preference. You will download many apps that you may just not like, and some that are your, "I can't live without" ones. Have fun and enjoy your new iPhone.
Hope this helps!
If you are a new-comer to the iPhone and want more suggestions on apps to download, check out this link.