How To Run Multiple iOS Simulator Instances At Once In XCode7
BY aswathy.s
2 months ago
comments comment

Running multiple iOS Simulator instances is very helpful for testing purposes. This is helpful in testing same application on different devices simultaneously or with different user credentials simultaneously.

The default behaviour does not allow to run more than one simulator instance from XCode. But it is possible to do it from the command line.


For this change the directory into Developer/Applications in package and run simulator with the "open" command.


cd /Applications/

open -n

open -n

When the second simulator instance launches you’ll get an error message saying “Unable to boot device in the current state: Booted”. Dismiss the error message and proceed with the test.

Device hardware type can be changed from "Hardware >> Device" menu of the iOS Simulator.



on 10th May 2013 / by nijo.lawrence
Nowadays most of the websites that are being built will have a mobile version also. One of the specific aspects we have to take care of with mobile sites is writing proper code to switch a drupal site to mobile website when the site is accessed from a mobile device. If you are trying to do the same thing then please follow below steps to solve your issue. Although this is written in the context of Drupal websites this should apply for other websites as well. First of all include the two js files(Session.js and detectmobilebrowser.js) given below. This will detect the browser used. Add the code given below to the page.tpl files of your desktop version theme.<script type="text/javascript"> var url = window.location.href.split('?')[1]; if (url == 'v=m') { Session.setVar('version', 'mobile'); } var sessionHome = Session.getVar('version'); var sessionMobile =; var strSession = sessionMobile.toString(); var sessionFound ='mobile'); if (!sessionHome) { if (sessionFound == -1){ if ( { var location_url = window.location; location_url = location_url.toString(); var search_str =\/\/m\.|http:\/\/www\.m\./i); if (search_str == -1) { if (\:\/\/www/)!=-1) { alert(); var mobile_url = location_url.replace("www.","m."); } else { var mobile_url = location_url.replace("http://","http://m."); } window.location = mobile_url; } } } } </script> Flush all caches and check with your mobile device it will automatically switch from 'www' to 'm'. If all the above steps are followed correctly, your site will automatically switch to mobile website when accessed from a mobile device. References: Detect Mobile Browser Drupal Drupal Theming Mobile Websites Mobile Applications Leave a reply Your email address will not be published. Required fields are marker *

on 23rd July 2015 / by anoop.v
"Conference" is a general purpose mobile app which is mainly used for managing schedules for meeting and events. Users can download the app directly from play store. The more speakers and sessions you have, the more likely last-minute changes will occur. Conference app makes sure you are always on top of things and one step forward. You can send out information quickly to a lot of people via update within the app. Features: Program: The option 'programs' provides users descriptions of particular sessions along with time and date. There is another option to add the events to favorite.' Sessions' provides users a detailed description of event and speakers. Halls: Users can browse sessions by day, time, and venue. Tracks: When the user clicks on tracks, he gets the title date, time, duration and location. Speaker: Users can search by keying in either a part or complete name of the speaker in the search bar. In addition, it provides options to see details about the speakers by clicking on the title. The 'speaker details' section include the background details of speakers, if they have one, as well as the sessions they’re presenting. Clicking the session title will take user to the Session description page To add the session to the calendar, the user needs to click the calendar icon inside the program details. While clicking on the star button, it will save it as a favorite item. Applicability of this kind of mobile app can span into areas such as: Film Festivals Cultural events Exhibitions Annual meetings Investor meetings By using the conference app, exhibitors can keep the people in mind and conference apps that help exhibitors better connect with attendees through messaging, meetings and branding. Mobile Applications Leave a reply Your email address will not be published. Required fields are marker *

on 17th August 2015 / by jimmy.sebastian
PhoneGap is an open source based Mobile App Development Framework. It is also known as Apache Cordova. Every mobile operating system providers have their own set tools and environments for developing application. Application made for one operating system and it's not support other operating systems. Developers using different frameworks and languages to building mobile applications for each devices- iPhone, Android, Windows Mobile etc. PhoneGap solve the above mentioned problem. Are you searching for an App Development, ping us quickly. In PhoneGap, developers develop their Apps using standard web APIs for all major mobile operating systems. Developers needed only the basic knowledge of Java scripts, HTML and CSS. Following are the steps to install PhoneGap. Installation of Java : Check if Java is not already installed on your system: Open terminal and Type java -version and press Enter. java -versionReturn Java version if available java in your system. Otherwise install java using the following commands. sudo apt-get install default-jre sudo apt-get install default-jdkInstallation of nodejs and npm : Node.js is a JavaScript platform for server-side programming. Node.js allows users to build network applications quickly. In most cases, you want to install npm. Npm is the package manager of Node.js. sudo apt-get install nodejs sudo apt-get install npmThe NodeJS is installed & named as nodejs. But PhoneGap, always execute using the name node. So create a symlink named node that points to nodejs for fix this inconsistency. sudo ln -s /usr/bin/nodejs /usr/bin/node Installation of Ant : sudo apt-get install antInstall PhoneGap and depending libraries of PhoneGap. sudo npm install -g phonegap sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6Download Android SDK and extract to /usr/local/. Give the executable permission for path/android-sdk-linux/tools/android. sudo tar -zxvf ~/Downloads/android-sdk_r24.0.2-linux.tgz -C /usr/local/ sudo chmod a+x /usr/local/android-sdk-linux/tools/androidEdit the .bashrc file and Set the environment variables in the bash configuration file. vim ~/.bashrcThen add the following lines to the end part of the file. export PATH=$PATH:/usr/local/android-sdk-linux/ export PATH=$PATH:/usr/local/android-sdk-linux/tools export PATH=$PATH:/usr/local/android-sdk-linux/platform-tools export PATH=$PATH:/usr/local/android-sdk-linux/build-toolsSave the file. Update the newly added alias in the existing terminal. source ~/.bashrcCreate PhoneGap application using the following commands: phonegap create testappTo read more mobile applications like this, click this link. Do you need any drupal solutions, get it from here. Mobile Applications Leave a reply Your email address will not be published. Required fields are marker * Julie Elangwey (not verified) access_time 23 Feb 2019 - 00:05 Hi Jimmy, Thank you for sharing the wonderful way to install Phonegap in Ubuntu. In previous I am using windows 7 and totally distract when I upgrade my system into Ubuntu! Your article helps me a lot and I bookmark it for my future endeavours :) Add new comment
Leave a reply
Your email address will not be published. Required fields are marker *

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
The content of this field is kept private and will not be shown publicly.
CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.