Showing posts with label IOS. Show all posts
Showing posts with label IOS. Show all posts

How to install or upgrade iOS 8

Here is the Cnet.com  described on own article, How to easy to install or update ios 8 in you iphone, ipad.

Method 1: Over-the-air update

If you are on a Wi-Fi network, you can upgrade to iOS 8 right from your device itself. No need for a computer or iTunes. Go to Settings > General > Software Update and click the Download and Install button for iOS 8.
download-and-install-ios-8.png
Screenshot by Matt Elliott/CNET
After tapping the Download and Install button, you'll need to tap to agree to Apple's terms and conditions and then wait as your phone slowly downloads the file.
Once you have successfully downloaded the file, which was 1.1GB for my 32GB iPhone 5S (though my iPhone told me I needed to have a whopping 5.8GB of free space in order to proceed), you'll be greeted by an Install Now button. After the update installs and your device restarts, you can slide to set up iOS 8. You'll need to click through the following setup screens:
ios-8-install-1.png
Screenshot by Matt Elliott/CNET
ios-8-install-2.png
Screenshot by Matt Elliott/CNET
ios-8-install-3.png
Screenshot by Matt Elliott/CNET
ios-8-install-4.png
Screenshot by Matt Elliott/CNET

Method 2: Via iTunes

If you are near your computer with iTunes, it might be faster to update this way. In my experience, updating my iPad Air via iTunes was faster than updating my iPhone 5S over the air. The first order of business is to update iTunes to version 11.4. Open iTunes and then click iTunes > Check for Updates to install the latest version.
Once iTunes is up-to-date, connect your iOS device. Click on your device in the upper-right corner of iTunes and then click the Update button.
itunes-ios-8-update.jpg
Screenshot by Matt Elliott/CNET
A pop-up window will appear, alerting you that a new iOS version is available for your device. Click the Download and Update button. (Or, if you are going to need your phone in the near future, opt for the Download Only button to download it now and install later. iOS 8 is a 1.1GB download and took the better part of an hour to download and install via iTunes.)

Convert UTF-8 encoded NSData to NSString in ios


UTF-8 encoded NSData from windows server and I want to convert it to NSString for iPhone. Since data contains characters (like a degree symbol) which have different values on both platforms,  convert data to string following way.




If the data is not null-terminated, you should use -initWithData:encoding:

NSString* newStr = [[NSString alloc] initWithData:theData encoding:NSUTF8StringEncoding];

If the data is null-terminated, you should instead use -stringWithUTF8String: to avoid the extra \0 at the end.

NSString* newStr = [NSString stringWithUTF8String:[theData bytes]];

if you are doing this, remember this: using "stringWithUTF8String:" on a string that is not null-terminated, the result is unpredictable.

or simple call this for this

+(id)stringWithUTF8String:(const char *)bytes.

Happy Coding !!!

ebook: Migrating to Android for iOS Developers


Migrating to Android for iOS Developers gives you - as an experienced iOS app developer - the ability to learn native Android apps development from scratch. Through case studies and examples, this book starts with a simple but meaningful Hello Android project. Then, this book continues by providing guidelines and tutorial projects showing you how to translate iOS apps to Android right from the beginning.

What you’ll learn

• How to maximize your existing iOS mobile knowledge to learn Android programming skills
• How to use the Android integrated development environment with the Eclipse ADT plugin
• How to translate your existing iOS code to Android with the following common mobile topics:
° Common mobile screen navigation patterns
° User interface components and UI animations
° Storing data
° Networking and using remote services
° Using system apps
° Maps and location awareness
° Mobile search frameworks
° Mobile analytics


  • SBN13: 978-1-484200-11-7
  • 532 Pages
  • User Level: Beginner to Intermediate
  • Publication Date: July 20, 2014 

  • Differences and Similarities Between Android and iOS.


    Diffen.com, summarize between  differences and similarities Google's Android and Apple's iOS.

    Differences:



    Android


    iOS


    Company/Developer Google Apple Inc.
    OS family Linux OS X, UNIX
    Customizability A lot. Can change almost anything. Limited unless jailbroken
    Initial release September 23, 2008 July 29, 2007
    Programmed in C, C++, java C, C++, Objective-C
    Dependent on a PC or a Mac No No
    Easy media transfer depends on model with desktop application
    Source model Open source Closed, with open source components.
    Open source Kernel, UI, and some standard apps The iOS kernel is not open source but is based on the open-source Darwin OS.
    Widgets Yes No, except in NotificationCenter
    Call features supported Auto-respond Auto-respond, call-back reminder, do not disturb mode
    Internet browsing Google Chrome (or Android Browser on older versions; other browsers are available) Mobile Safari (Other browsers are available)
    Available on Many phones and tablets, including
    Kindle
    Fire(modified android), LG, HTC,
    Samsung
    , Sony, Motorola, Nexus, and others.
    iPod Touch, iPhone, iPad, Apple TV (2nd and 3rd generation)
    Interface Touch screen, Smartwatch Touch screen
    Messaging Google Hangouts iMessage
    Voice commands Google Now (on newer versions) Siri
    Maps Google Maps Apple Maps
    Video chat Google Hangouts Facetime
    App store Google Play – 1,000,000+ Apps. Other app stores like
    Amazon
    and Getjar also distribute Android apps. (unconfirmed ".APK's")
    Apple app store – 1,000,000+ Apps
    Market share 81% of smartphones, 3.7% of tablets in North America (as of Jan'13) and 44.4% of tablets in Japan (as of Jan'13). In the United States in Q1 2013 - 52.3% phones, 47.7% tablets. 12.9% of smartphones, 87% of tablets in North America (as of Jan'13) and 40.1% of tablets in Japan (as of Jan'13)
    Available language(s) 32 Languages 34 Languages
    Latest stable release Android 4.4 Kitkat (October, 2013) 7.1 (March 10, 2014)
    Device manufacturer Google, LG, Samsung, HTC, Sony, ASUS, Motorola, and many more Apple Inc
    Upcoming releases/Release dates Unknown Unknown
    Working state Current Current
    Website android.com apple.com


    Similarities 



    Android


    iOS


    Dependent on a PC or a Mac No No
    Upcoming releases/Release dates Unknown Unknown
    Working state Current Current