Thursday, August 16, 2012

PhoneGap Facebook not a git repository error

PhoneGap Facebook Plugin is very nice and I successfully implemented it on iOS platform

Before starting or investing anything, I would recommend you to view the respective video first, it will clear most of your doubts.

Now, regarding issue, you will get this issue when you are trying to download the zip and run "git submodule update --init".

Instead of downloading zip click the "Clone in Mac" button. You must have github for mac installed first! Once you do so, choose the place where you want it cloned and begin the clone. Now you have the latest from master.

Now try to run "git submodule update --init" on this folder, it should work perfectly.


Tuesday, May 29, 2012

Connection to the server was unsuccessful

The issue occurs as the Android emulator is REALLY slow so a timeout occurs before loading index.html because it reacts too slow. 


In your custom Activity file before calling super.loadUrl add the following line: super.setIntegerProperty("loadUrlTimeoutValue", 60000);

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.