Wednesday, May 23, 2012

PhoneGap Orientation

  1. For iOS
    1. Click on Project Name
    2. Go to Summary
    3. Select orientation you require for your PhoneGap application
  2. For Android
    1. Open AndroidManifest.xml
      1. In activity add "android:configChanges="orientation|screenSize|keyboardHidden"
      2. Add a new activity
        <activity android:configchanges="orientation|screenSize|keyboardHidden" android:label="@string/app_name" android:name="com.phonegap.DroidGap"> <intent-filter> </intent-filter> </activity>

Saturday, April 21, 2012

Ubuntu 11.10 Skype Hangs

After doing too much search I found a solution and this worked for me, so I am sharing this with you.

  1. Open "Home" Folder
  2. Press CTRL + H (show all hidden files)
  3. Remove ".pulse" folder and restart the system again
Hope this resolve your problem too.

Tuesday, December 27, 2011

Android Source resource does not exist

While working on Android project with Netbeans I got this error and to resolve it we need to follow these steps:
  1. Open Project Folder
  2. Open build.xml with any text editor
  3. Search for "project.properties" and replace it with "default.properties", means replace
    <loadproperties srcfile="project.properties"></loadproperties>
    to
    <loadproperties srcfile="default.properties"></loadproperties>
Hope this helps :)

Wednesday, November 16, 2011

Remove SVN Folders Ubuntu 11.04

To remove all SVN folders recursively, run below command in your terminal:
  1. Open Terminal
    ShortCut: CTRL+ALT+T
  2. First open your directory (in my case it is "/var/www/mySite")
    cd /var/www/mySite
  3. Run below command
    find . -name ".svn" -exec rm -rf {} \;
Hope this save your time.

Sunday, October 23, 2011

amChart Cache Issue

Add random parameter after the file path i.e. data.xml?<?php echo microtime();?>

Hope this helps to save your time.