Category Archives: air

MYSQL PID/SOCK error – I can’t get my Mac El Capitan to work with full web server

So I have been trying to get my localhost up on my brand new MacBook Air on OSX El Capitan.

What I have so far is PHP seems to be working correctly, Apache seems to be working correctly also, but mysql is giving me a headache.

I tried to install the stock version of mysql, which doesn't seem to work at all, it started and every time I tried to login to mysql it completely broke and I didn't see any error messages, but I guess it was the same I got for the homebrew installed version.

When I tried Homwbrew brew install mysql it worked correctly.

Then I tried mysql_secure_installation it threw and error: Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

Then I tried mysql.server start and I got ... ERROR! The server quit without updating PID file (/usr/local/var/mysql/Szekelys-MacBook-Air.local.pid).

This is my third fresh install for Mac and I have no idea at this point.

I tried permissions, creating the PID file and a lot of other things.

MD5 Verification Error on Flex SDK installation

Somehow, I keep on getting this error

Installer version 3.2.0 (windows) Using Locale: en_US Fetched the SDK download mirror URL from the CGI. SDK version Apache Flex SDK 4.14.1 AIR version 16.0 Flash Player version 16.0 Creating Apache Flex home Creating temporary directory Downloading Apache Flex SDK from: http://mirror.rise.ph/apache/flex/4.14.1/binaries/apache-flex-sdk-4.14.1-bin.zip Verifying Apache Flex SDK MD5 Signature The Apache Flex SDK MD5 Signature of the downloaded files does not match the reference value. The file is invalid, installation is aborted. Installation aborted

Launch Air Flex 4.10 mobile app from browser on Android

I'm trying to launch my air application from browser on android. I follow this document https://developer.chrome.com/multidevice/android/intents, but unfortunately with no success.

Here is the android manifest section of app desriptor xml file:

<android>
    <colorDepth>16bit</colorDepth>
    <manifestAdditions><![CDATA[

      <manifest android:installLocation="auto">
        <application android:hardwareAccelerated="true"/>

        <activity android:name=".AppEntry" android:excludeFromRecents="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.LAUNCHER"/>
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE"/>
                <data android:scheme="uicgame"
                      android:host="*"
                      android:mimeType="text/*"/>
            </intent-filter>
        </activity>

        <uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
        <uses-permission android:name="android.permission.WAKE_LOCK"/>
      </manifest>
    ]]></manifestAdditions>
</android>

Here is the links I use to invoke the app. None of them works properly. The first one opens google play and tries to find specified package (air.com.uic.GameLauncher in my case).

<p>
<a href="intent://game#Intent;scheme=uicgame;package=air.com.uic.GameLauncher;end"> Take a QR code </a>
</p>
<p>
<a href="intent:#Intent;scheme=uicgame;action=android.intent.action.VIEW;category=android.intent.category.LAUNCHER;component=air.com.uic.GameLauncher/.AppEntry;end"> Take a QR code </a>
</p>
<p>
<a href="uicgame:#Intent;action=android.intent.action.VIEW;end"> Take a QR code </a>
</p>
<p>
<a href="uicgame://">uicgame</a>
</p>

I can launch my app from another air app by using naviagateToUrl() function in couple with the second link like this:

naviageToUrl("intent:#Intent;scheme=uicgame;action=android.intent.action.VIEW;category=android.intent.category.LAUNCHER;component=air.com.uic.GameLauncher/.AppEntry;end");

Could any kind soul tell me where I'm wrong?