It has been a long time since the last post. It is time to show my new open source project - gcqlsh. The idea came when I was preparing some Cassandra docker images and I wanted to stay minimalistic with our CI infrastructure. So I have based my Cassandra docker image on Alpine. Unfortunatly came the frustration with installing python and all the dependencies. On the other hand, I needed an utility for automating the schema creation withing the docker container on first start.
Many applications use Core data for iOS devices, others utilize frameworks like fmdb. But there are also people that write SQLite access from scratch. The comes the answer - how do you cache prepared statements (I will not discuss here why we cache prepared statements)?
Well - I have implemented 2 methods:
1) Using C syntax to maintain array of sqlite_stmt* 2) Using NSPointerArray* to store sqlite_stmt* that are prepared First approach has it’s advantages in regards of using older SDKs (NSPointerArray is available from iOS 6.
If you are developing for Android, you probably have already abandoned the emulator that comes with Android SDK, and are testing and debugging on a real device. I cannot blame you - the emulator is awfully slow. Well I have good news for you - you can speed it up, if you are using uX system (Unix like - Linux, Mac OS X, BSD).
The trick is very simple - and I suppose some of you have already activated it - mount /tmp folder into memory.
This article continues the series for creating a web service consuming program on your mobile device. In the previous article I have showed you how to create Server part (web service) on Geronimo and how to access it from Android app. Now we shall do the same with iOS application.
So what do you need.
Mac with OSX XCode IDE with iOS SDK Code and applications (server, IDE, code) from previous article in order to run the server So lets start.
This articles will reveal the first steps in setting up your development environment for building WebService/Enterprise Java applications and consuming their services from Android device. What I am using in this example:
Geronimo with Jetty7 javaee5 - 2.2.1 - as application/web server Eclipse Indigo EE (with WTP plugin) Android SDK 4.0.3 Google Gson 2.1 Resteasy - jaxrs - 2.3.1.GA Please don’t be bored from so many screenshots. If you know the basics you just can skip them.