archive-com.com » COM » B » BLOGMINES.COM

Total: 339

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • XCode’s iOS Simulator for iPhone and iPad
    icon will not be displayed unless you delete the app from the simulator and re run the program You can also delete individual apps by clicking and holding the installed apps followed by clicking delete mark just like you do on any iOS device Choosing the device screen on Simulator IOS Simulator allows users to choose different device screens such as iPad iPad Retina iPhone iPhone Retina 3 5 inch and iPhone Retina 4 inch You can choose the desired screen by navigating to Hardware menu option and selecting the Device It is always recommend to try out the apps on the different device simulator before releasing it on the App Store For example if you are developing an app for the iPhone then you need to try out in all the 4 iPhone device simulator apart from testing your app on live device Taking App Screenshots using Simulator IOS Simulator can be used for taking screenshots of your app for publishing app on the App Store This is quite useful when you do not have all IOS devices but still want to see the screenshots of your app The Screenshots can be taken by loading the app on the Simulator and clicking the File menu Save Screenshot The screenshot will be saved to your desktop in PNG file format IOS Simulator also provides option to copy the individual screen from the simulator using the option available as part of the Edit menu Other Hardware features IOS Simulator has features that lets users to see the behaviour of the app on each action such as Rotating Screen to Left Rotating the Screen to Right Shake Gesture Accessing the Home Screen Locking the Device and also simulating low memory warning Simulate Locations Location menu option under the Debug menu is quite

    Original URL path: http://blogmines.com/blog/xcodes-ios-simulator-for-iphone-and-ipad/ (2016-04-25)
    Open archived version from archive


  • ‘NSInvalidUnarchiveOperationException’, reason: ‘Could not instantiate class named MKMapView’
    and navigate to Build Phases Click the sign under Link Binary with Libraries and select MapKit framework from framework and libraries to add selection window Now running the project should not display the NSInvalidUnarchiveOperationException In Category Develop Programming Tagged as MapKit framework MKMapView Objective C Spread the word How to insert current date and time in Word How to set Out of Office reply in Outlook Disable autocomplete suggestion feature

    Original URL path: http://blogmines.com/blog/nsinvalidunarchiveoperationexception-reason-could-not-instantiate-class-named-mkmapview/ (2016-04-25)
    Open archived version from archive

  • Objective-C – What are Categories?
    Category and select Category On as NSNumber The class for which we are adding the additional method Write Implementation Two new files NSNumber PrintNumber h and NSNumber PrintNumber m files will be added to your project Define the new method for NSNumber in the header file as shown below interface NSNumber PrintNumber void printNumber NSNumber num end where printNumber is the new method that takes num of type NSNumber as the argument In the implementation file NSNumber PrintNumber m add the code that write the value number to NSLog void printNumber NSNumber num NSLog The number value is num Using Categories Now in main m file make a call to the new method of NSNumber after importing the NSNumber PrintNumber h as shown below import Foundation Foundation h import NSNumber PrintNumber h int main int argc const char argv autoreleasepool insert code here NSLog Hello World NSNumber num NSNumber alloc initWithInt 25 num printNumber num return 0 The call to num printNumber num will write the value to the console Categories have access to instance variable of the original class but cannot have its own instance variable Categories on parent class will be available for all its subclass as well

    Original URL path: http://blogmines.com/blog/objective-c-what-are-categories/ (2016-04-25)
    Open archived version from archive

  • How to only enable portrait orientation for iPhone App
    shown below BOOL shouldAutorotateToInterfaceOrientation UIInterfaceOrientation interfaceOrientation return interfaceOrientation UIInterfaceOrientationPortrait This method will return true only when the orientation in Portrait mode Step 4 Now navigate to Project Folder on the navigattion bar In the summary tab under Supported Device Orientations make sure to un mark the other orientation except portrait In Category Apple Develop iPhone Tagged as device orientation dsiable iPhone app portrait Xcode Spread the word How to insert

    Original URL path: http://blogmines.com/blog/how-to-only-enable-portrait-orientation-for-iphone-app/ (2016-04-25)
    Open archived version from archive

  • Provisioning iPhone 4S for deploying and testing Apps
    option with caption as Saved to disk also the check box with label as Let me specify key pair information Save the generated certificate to your desktop Then for the Key Pair information select Key Size as 2048 bits and Algorithm as RSA On clicking the continue button will display the following confirmation message The login section under Keychain Access would display the generated Public key and Private key 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 In the Provisioning Portal navigate to Certificates section and click the Request Certificate button under Development This would display a screen with option to submit the CSR 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 Now install the WWDR certificate and iOS developer Certificate on your Mac system You can verify the installation of certificates by navigating to My Certificates in Keychain Access App 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 This would display the list of available Devices that have been connected to the Mac system 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 Once the device and Mac system are in sync you can add the device to Provisioning Portal

    Original URL path: http://blogmines.com/blog/provisioning-iphone-4s-for-deploying-and-testing-apps/ (2016-04-25)
    Open archived version from archive

  • Develop — Page 2
    menus Type Network in the text box provided under the Preferences screen This would display the Network Connections under the Read More Ravi Shankar 0 What are Class declarations and Modifiers in Java A class in Java can be declared as shown below class SampleApp The above class does not specify any modifiers but in general most of the Java classes declaration will be specified with modifiers The different modifiers that are allowed in java class declarations are Access Modifiers public protected private Non Access Modifiers Read More Ravi Shankar 0 How to install Google App Engine Plugin for Eclipse Google App Engine Plugin for eclipse can be installed using the Help menu Install New Software menu option Click Help Menu and select Install New Software from the list of available menu option In the Work with text box enter the URL http dl google com eclipse plugin 3 6 and click the Add button Enter the Name in the Add Read More Ravi Shankar 1 What is a java class A class in Java is a classification of an object with similar attributes and behavior For example Circle Square Triangle and Rectangle can be classified in to a Shape class as they exhibit the same behavior and attributes such as sides area etc The attributes of a class are the visible properties of a class Read More Ravi Shankar 0 Check out posts on Java Programming 160 Read More Ravi Shankar 1 My First Java Swing App that prints current date This is my first java swing app that prints the current date in in JLabel component Check out the code for this very simple program import javax swing JFrame import javax swing JLabel import javax swing JComponent import java util Date public class SwingApp extends JFrame public static void main String args new SwingApp SwingApp JLabel Read More Ravi Shankar 1 What is the difference between System out println and System out print in java During runtime if you want to print any message in the java console then you can use System out println or System out print The difference between System out println and System out print in java is that println always prints the message in a new line where print displays the same message For example output of the following code snippet will be Read More Ravi Shankar 1 javac is not recognized as an external or internal command javac is the compiler tool in java language which converts the java classes and interfaces in to bytecode class files When you type javac in Windows command prompt you might receive the following error javac is not recognized as an internal or external command operable program or batch file This could be because the windows Read More Ravi Shankar 0 What is the signature of main method in a java class This is a simple question but nowadays programmers prefer auto generated code by IDEs rather than using any text editors and they have difficult

    Original URL path: http://blogmines.com/blog/category/develop/page/2/ (2016-04-25)
    Open archived version from archive

  • Develop — Page 3
    be used as Read More Ravi Shankar 0 SCJP Java 1 6 Keywords These are list of Java 1 6 keywords abstract boolean break byte case catch char class const continue default do double else extends final finally float for goto if implements import instanceof int interface long native new package private protected public return short static strictfp super switch synchronized this throw throws transient try void volatile while Read More Ravi Shankar 0 Java Compilation error interface or enum expected When using Wordpad as a Text Editor for writing java programs and while compiling the java program the following error might be displayed if you had saved your java file as rich text format file type samplehello java 1 class interface or enum expected rtf1ansiansicpg1252deff0deflang16393 fonttbl f0fswissfcharset0 Arial This can be resolved by saving the file with Save as type Read More Ravi Shankar 1 Setting up your Windows PC for Java If you want to write a small java program and run it from your PC then you need to have the following in your PC 1 Java SDK and JRE download from http java sun com javase downloads index jsp 2 Text Editor WordPad TextPad EditPlus etc After you have downloaded and installed Java SDK and JRE you can execute Read More Ravi Shankar 2 Why do we need import statement in Java import statement in java allows users to access classes from different packages using the class name instead of prefixing with the full package name For example if you are referring to java util Date in your class then instead of referring to java util Date where ever the date class is being used you can just to refer it Read More Ravi Shankar 0 Web Services Tutorial Part 1 Web Services are typically services

    Original URL path: http://blogmines.com/blog/category/develop/page/3/ (2016-04-25)
    Open archived version from archive

  • Autocorrect in Word – Replace text as you type
    selected any image then this option will not be displayed Step 6 Click Add button to add the entry to AutoCorrect list Then OK button on the AutoCorrect and Word Options to close the windows Now whenever you type the replace text it will be automatically replaced with the image If you are frequently going to insert company logo or your signature then you try this feature Also See Find Autocorrect entries file in Word 2010 In Category MS Office Technical Word 2007 Word 2010 Word 2013 Word 2016 Tagged as AutoCorrect Proofing Replace text as you type replace text with image Word Options Spread the word How to insert current date and time in Word How to set Out of Office reply in Outlook Disable autocomplete suggestion feature in Excel How to increase number of worksheets Excel A trick to flip a column upside down in Excel Ravi Shankar A Software developer and blogger who is always looking to provide technical help to the wider community Show 7 Comments donna September 2 2009 9 26 pm I am a transcriptionist and I use a lot of the same sentences or phrases in my transcription In the older versions of word I only had to use autoformat and could add these sentences or phrases and when I started to type them the first word or two and they would automatically be typed into my transcription How does 2007 do this Please let me know Tom Wadsworth September 15 2009 3 18 am Donna I m in a similar situation I loved the AutoCorrect feature in Word 2003 but it has been a challenge to regain the same efficiencies in Word 2007 I think I ve finally figured it out Go to Insert Quick Parts Building Blocks Organizer Here is where

    Original URL path: http://blogmines.com/blog/microsoft-word-2007-autocorrect-option-replace-text-as-you-type/ (2016-04-25)
    Open archived version from archive



  •