• Skip to main content
  • Skip to primary sidebar

Ravi Shankar

Tweaking Apps

  • Swift
  • Tech Tips

How to retrieve the archived messages in iPad or iPhone

May 28, 2012 By Ravi Shankar Leave a Comment

This answers the query posted by a reader regarding “How to retrieve the archive messages in iPad “. The below mentioned steps can be used for seeing the archived messages of GMail account on iPad as well as iPhone.

Step 1: Tap the mail icon on iPad or iPhone.

201205282221.jpg

Step 2: In the Mail App, navigate to Accounts section and tap your Gmail account.

201205282223.jpg

Step 3: The GMail account Mailbox will display a folder named All Mail.

201205282224.jpg

The All Mail folder would contain all the archived message of GMail account on your iPad on iPhone.

Read: How to block contact in IOS 7 for iPhone

Filed Under: iPad Tagged With: archived, iphone, Messages, Retrieve

Provisioning iPhone 4S for deploying and testing Apps

March 31, 2012 By Ravi Shankar 1 Comment

Listed below are detail steps for provisioning iPhone 4S for deploying and testing Apps. The steps have been broadly classified in to the following topics.

  • Requesting Development Certificate
  • Submit Certificate in iOS Provisioning Portal
  • Installing Certificate
  • Registering Device to Provisioning Portal

Requesting Development Certificate

Requesting development certificate requires you to generate a Certificate Signing Request (CSR). The CSR can be generated using the KeyChain app available as part of the Mac OS. You can quickly launch keychain using spotlight search. Apart from generating the CSR, the Keychain app also generates the public and private key.

201203311214.jpg

Select Keychain Access preferences from the menu list and navigate to Certificates tab.

201203311227.jpg

Turn off the Online Certificate Status Protocol (OCSP).

201203311229.jpg

Now to request Certificate, click the Keychain Access menu, select Request a certificate from a Certificate Authority under the Certificate Assistant.

201203311244.jpg

In the Certificate Assistant window, enter your email address, name and mark the radio option with caption as Saved to disk also the check box with label as Let me specify key pair information.

201203311250.jpg

Save the generated certificate to your desktop.

201203311318.jpg

Then for the Key Pair information, select Key Size as 2048 bits and Algorithm as RSA.

201203311319.jpg

On clicking the continue button will display the following confirmation message.

201203311439.jpg

The login section under Keychain Access would display the generated Public key and Private key.

201203311440.jpg

Submitting Request in Provisioning Portal

Login to the members account with your Apple user id and password. Click the iOS Provisioning Portal link available under Developer Program Resources section.

201203311444.jpg

In the Provisioning Portal, navigate to Certificates section and click the Request Certificate button under Development.

201203311443.jpg

This would display a screen with option to submit the CSR.

201203311446.jpg

Choose the required CSR and click the Submit button. After submitting the status would initially be displayed as Pending issuance and later a download link would appear.

201203311447.jpg

201203311448.jpg

Now install the WWDR certificate and iOS developer Certificate on your Mac system

201203311449.jpg

201203311450.jpg

You can verify the installation of certificates by navigating to My Certificates in Keychain Access App.

201203311451.jpg

Registering Device to Provisioning Portal

You can use Xcode for registering the Device ID and this process also create the App ID. Launch Xcode, click the Window menu option and select Organizer from the menu list.

201203311454.jpg

This would display the list of available Devices that have been connected to the Mac system,

201203311455.jpg

When the device is connected, a green status light will be displayed. Now select iPhone 4S and click the Use for Development button. If your Device and Mac system are out of sync with the iOS SDK then you will get the message to keep both of them in sync.

201203311501.jpg

Once the device and Mac system are in sync, you can add the device to Provisioning Portal by right clicking on the device and selecting Add Device to Provisioning Portal.

201203311503.jpg

Xcode will request permission for accessing your Keychain, click Always Allow button and sign-in with your Apple Developer Account credentials. Also allow code sign to sign using your key in keychain.

201203311506.jpg

Now you can test your app on iPhone 4S by selecting the device from Active Scheme list.

201203311508.jpg

Filed Under: Develop, ios Tagged With: Apple, Blogging, deploying, iphone, Provisioning

How to insert math symbols in Word 2010

March 13, 2012 By Ravi Shankar 2 Comments

Word users can use the insert equation option to add mathematical equation to a document. Similarly to add any Math’s Symbol, you can use Insert –> Symbol feature. This is quite useful when you are preparing Mathematics Questionnaire using Word 2010.

For example, if you want to add non equality operation, then navigate to Insert menu, click the Symbols option and pick non equality symbol from the drop down list.

insert symbols in Word 2010

If you can not find the symbols in the above list then you can click the More Symbols menu option and pick the extended list.

more symbols in Word 2010

Another alternative way to add mathematic operation in a Word document is by using the insert Object option. Navigate to Text section under Insert menu and click the Object menu option.

image

Then from the Object window, select Microsoft Equation 3.0 from the Object Type list and click the OK button.

Insert Microsoft Equation

Now you can select the required symbols from the Equation window.

image

del.icio.us Tags: Word 2010,mathematical,insert symbols,Operation,math equation

Filed Under: Office 2010, Word 2010 Tagged With: insert symbols, math equation, mathematical, Operation, Word 2010

Apple Mach-O-Linker Id Error – OBJC_CLASS_$_MFMailComposeViewController

March 11, 2012 By Ravi Shankar Leave a Comment

Xcode displays the Apple Mach-O undefined symbols for architecture error when the library referred in the code is not included as part of Build Phases. For example, I was instantiating MFMailComposeViewController in one of my project

  MFMailComposeViewController *mc = [[MFMailComposeViewController alloc] init];

And while trying to compile the code, the build failed and displayed the following error.

Undefined symbols for architecture i386:   

“_OBJC_CLASS_$_MFMailComposeViewController”, referenced from:

objc-class-ref in RootViewController.o

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)

I was able to fix this issue by including the MessgeUI.framework library as part of the Build Phases.

In Xcode, navigate to Project Summary screen then to the Build Phases tab

201203110834.jpg

Click the Add Items (+ sign) under Link Binary With Libraries section then select MessageUI.frameework from the list and click the Add button.

201203110836.jpg

201203110842.jpg

Similarly by including the relevant libraries you can resolve the obj-class-ref errors.


Filed Under: Apple Tagged With: Apple, Apple Mach, Linked Error

How to start new browser session in Internet Explorer 10

March 10, 2012 By Ravi Shankar Leave a Comment

I just came across a New Session feature on Internet Explorer 10 Consumer Preview. Generally we had to close the browser to start a new session and this would mean that all the open web pages has to be closed. But now using the New Session option, users can keep all open tabs and start a fresh session in a separate browser window.

You can start a new session by clicking the File menu then selecting New Session from the menu list.

image

del.icio.us Tags: Internet Explorer 10,new session,browser session

Filed Under: Browsers, Internet, Internet Explorer Tagged With: browser session, Internet Explorer 10, new session

How to convert Keynote slides in to images

March 7, 2012 By Ravi Shankar 1 Comment

This article is about the feature that allows Apple Keynote users to convert the slides in to .PNG, .JPEG and .TIFF image files.

Step 1: Launch the Keynote App and open the Keynote presentation

Step 2: Click File menu and select Export from the menu list.

201203071115.jpg

Step 3: Navigate to Images section and select the Slides that needs to be exported to images.

201203071116.jpg

You have the option to specify all slides or range of slides. Similarly you are allowed to select the image format (JPEG, PNG, TIFF) from the drop down. After specifying the required details, click the Next button.

Step 4: Then click the Export button after providing a name and location for the images.

201203071122.jpg

Filed Under: Apple, Keynote Tagged With: Apple, convert, Export, Image, Keynote, Slides

How to hide bookmarks bar in Safari on iPad

February 12, 2012 By Ravi Shankar 10 Comments

Safari browser on iPad, like any other PC or Mac browsers allows users to save webpage URL as bookmark. It also provides a separate Bookmarks Bar for easily accessing these saved URLs.

201202120828.jpg

Screenshot with saved bookmarks

201202120831.jpg

If you are not using the Bookmarks Bar on Safari then you have the option to turn off the display of Bookmarks Bar. This would give more space for the web page browsing and you can still access the saved bookmarks using the Safari browser menu items.

Hide Bookmarks Bar on Safari

Navigate to iPad home screen and tap the settings icon. Then navigate to the General section under Safari settings.

201202120839.jpg

Slide the ON/OFF switch to turn off the “Always Show Bookmarks Bar”

201202120842.jpg

Filed Under: Apple, iPad, Safari Tagged With: Apple, Bookmark, hide, iPad, Safari, Turn Off

Code Example – Check for Prime Number Objective C

February 10, 2012 By Ravi Shankar 1 Comment

This is a simple Objective C program written to check whether a number is a Prime number.

//

// main.m

// PrimeNumbers

//

// Created by Ravi Shankar on 10/02/12.

// Copyright (c) 2012 rshankar.com. All rights reserved.

//

#import <Foundation/Foundation.h>

int main (int argc, const char * argv[])

{

@autoreleasepool {

  

int number;

BOOL isPrime=YES;

NSLog (@”Enter a number”);

scanf(“%i”,&number);

for (int i=2; i < number –1; i++)

{

if (number % i == 0)

{

isPrime = NO;

break;

}

}

if (isPrime)

{

NSLog (@”%i is a Prime Number”,number);

}

else

{

   NSLog (@”%i is not a Prime Number”, number);

}

  

}

return 0;

}

Output (as displayed in Xcode console window)

2012-02-10 15:53:52.072 PrimeNumbers[1164:707] Enter a number

23

2012-02-10 15:53:58.665 PrimeNumbers[1164:707] 23 is a Prime Number


2012-02-10 15:54:41.469 PrimeNumbers[1176:707] Enter a number

24

2012-02-10 15:54:44.589 PrimeNumbers[1176:707] 24 is not a Prime Number


This program checks whether the number is divisible by any of the n-1 number and if divisible (% operator returns reminder as 0) then the flag is set to false otherwise it is set to true. Then based on the flag value the message is printed to the console window.


Filed Under: Blogging, Develop, ios Tagged With: Objective C, prime number, Program

  1. Pages:
  2. «
  3. 1
  4. ...
  5. 34
  6. 35
  7. 36
  8. 37
  9. 38
  10. 39
  11. 40
  12. 41
  13. 42
  14. 43
  15. 44
  16. »
« Previous Page
Next Page »

Primary Sidebar

TwitterLinkedin

Recent Posts

  • How to block keywords in Jio broadband
  • How to disable opening an app automatically at login in Mac
  • How to set preferred Wifi network on Mac
  • Attribute Unavailable: Estimated section warning before iOS 11.0
  • How to recover Firefox password from Time Machine backup

Pages

  • About
  • Privacy Policy
  • Terms and Conditions

Copyright 2022 © rshankar.com

Terms and Conditions - Privacy Policy