While building an Android java library project with Android Studio, a compiler error occurs: “android/asset_manager_jni.h: No such file or directory“. Java sources are in the main/java folder. C++ native sources are placed into the main/jni folder. When I try to compile the whole library without my custom Android.mk, there is no error! When using it, my own ndkbuild in the build.gradle fails with the above error. I searched for solutions but none helped me. Environment: MacBook, OS X: Yosemite, IDE: Android Studio 1.1.0. I installed the latest NDK android-ndk-r10d. What do I miss? (Project code was included).
Continue reading Android Studio ndk project asset_manager_jni.h – no such file or directory error →
The Raspberry Pi (RPi) is a great strong device to play with. It is definiately not the perfect gadget to run resource hungry IDE, and develop c, c++, web… or Java applications on. Use your own laptop or desktop computer to build your code, test it and debug it while the code is running on the device. NetBeans for Mac (and Windows) is a reliable IDE with remote testing and deployment options.
Continue reading Configure NetBeans to test and deploy Raspberry Pi project →
As a newbie I am planning to play with a Raspberry Pi 2 (RPi). I am a seasoned c++, c#, objective-c and java programmer. Can I manage projects from my MacBook Pro? Can I control RPi remotely from the Mac without using extra monitor and keyboard? What programming languages and SDK do you recommend? Can I use Xcode, Eclipse or NetBeans? How to debug and deploy a Raspberry Pi application?
Continue reading Develop Raspberry Pi application on Mac (OS X) →
In Android Java project I have to call a Microsoft .NET web service using soap. The response is a complex data structure in JSON string including a mySQL DateTime object in a strange format, like: “/Date(126521670000-0700)/”. How can I convert it into java.util.Date object or human readable text format in Android?
Continue reading MySQL “/Date(…)/” object in JSON string in Android project →
I’d like to pre-build a platform independent SQLite database with Java desktop app. This database file with FTS (Free Text Search) indexes will be embedded into Android and iPhone applications. How can I install an SQLite3 free text search (FTS3) module for my Java desktop application? Somehow this binary, library (or app file) cannot be found on the net. Environment: OS X 10.6, NetBeans IDE, Java Swing desktop app with sqlite-jdbc-3.7.2.jar wrapper.
Continue reading Add SQLite Free Text Search functionality to Java app on Mac →
An iPhone programmer’s question:
I have to design an app for both iPhone and Android platforms. Where’s the info.plist file and what icons and launch images do I have to include in an Android apps? What are the image sizes? I can’t find definitions. Thank you.
Continue reading Android projects: icon sizes and application configuration with AndroidManifest.xml →