Don’t Forget to Give Your Android Application INTERNET Permissions

In Android, network permissions are necessary for applications that want to establish network connections and use sockets to communicate over the internet. These permissions are declared in the AndroidManifest.xml file, and they inform the Android system about the specific capabilities an application requires. For applications that use sockets and perform network-related operations, the following permissions are commonly used: 1. INTERNET […]

Android Java .so Shared Lib sizes, and Android C++ Linker Options to Minimize Size

The Chilkat v9.5.0.79 version reduces the size of the Android Java .so shared libs by approximately 24%. For example, the armv7l lib is reduced from 9.86MB to 7.56MB. For developers writing C++ code in Android (i.e. using the Android C++ libs downloaded from https://www.chilkatsoft.com/chilkatAndroidCpp.asp), you’ll want to include the following linker options when linking with the Chilkat static libs: -Wl,–gc-sections,–icf=safe […]

Android Socket Permission Denied Error

If the LastErrorText contains a line such as this: socketError: Permission denied It means you need to add permissions for Internet communications in your manifest. It should be placed outside of the application tag, such as: <manifest> <application> . . . </application> <uses-permission android:name=”android.permission.INTERNET” /> </manifest>

Chilkat is available for the Android™ OS

The Chilkat libraries have been released for the Android™ mobile operating system. Go to Chilkat for Android The Chilkat for Android library supports Android Platform 2.0 (API Level 5) and above. Chilkat has been tested on Honeycomb (Android 3.0, API Level 11). The Chilkat library should be compatible with future versions of Android.