srooltheknife.com
Srool The Knife: May 2013
http://www.srooltheknife.com/2013_05_01_archive.html
Sunday, May 26, 2013. Analyzing SQLite on Android. Working on an Android project with quite a sophisticated SQLite DB, I am now trying to optimize the program access to the DB, and wanted to get access to the DB file. I don't like to root my devices (maybe I am over-sensitive about that), so I used this answer by RRTW from Stack Overflow (http:/ stackoverflow.com/questions/4452538/android-location-of-sqlite-database-on-the-device):. So I can now grab the file with DDMS and examine it on my Mac.
srooltheknife.com
Srool The Knife: March 2014
http://www.srooltheknife.com/2014_03_01_archive.html
Sunday, March 23, 2014. Debugging Android HTTP traffic with Charles Proxy and Genymotion emulator. Genymotion ( http:/ www.genymotion.com/. Is a great tool for debugging your Android code. It is much faster than the Android emulator as it is based on x-86 native code, and unless you really do some low level work, is indistinguishable from a real device. It actually is faster and smoother than most devices, so make sure you also test on real devices. And repeated for your convenience. Set your Proxy to: 1...
srooltheknife.com
Srool The Knife: March 2012
http://www.srooltheknife.com/2012_03_01_archive.html
Sunday, March 4, 2012. Custom Transition Animation for Modal View Controllers. Needed to implement a custom animation (push from right/left when presenting a modal view controller, and then pushing out to the other direction when dismissing the dialog). Yosi found this snippet: http:/ blog.radi.ws/post/5924267283/custom-modal-uiviewcontroller-transitions. To use it, you import "UIViewController Transitions.h" in your file and call the presentModalViewController:withPushDirection:. Links to this post.
srooltheknife.com
Srool The Knife: Developing with the latest OpenSSL on Mac OSX Yosemite and XCode 6.1.1
http://www.srooltheknife.com/2015/01/developing-with-latest-openssl-on-mac.html
Saturday, January 3, 2015. Developing with the latest OpenSSL on Mac OSX Yosemite and XCode 6.1.1. Developing OpenSSL on Mac OSX Yosemite, XCode 6.1.1. Had to write some encryption/decryption code for Mac OSX, and as I intend to use this on multiple platforms, I prefer to use openssl rather than Apple's code for all key generation and enc/dec functions. Headers, you will get a warning saying it was deprecated as of OSX Lion. 1 Check what openssl version is installed in your system:. Sudo ln -s /usr/local...
srooltheknife.com
Srool The Knife: May 2012
http://www.srooltheknife.com/2012_05_01_archive.html
Sunday, May 13, 2012. Background loading a Cocos2d Sprite from URL. Based on Steffen Itterheim's excellent article here. I created a CCSprite class to download itself in the background. You create such a sprite giving it a default image:. LGNetworkSprite *myImage = [LGNetworkSprite spriteWithFile:@"fbDefault.png"]; myImage.position = ccp( screenSize.width * 0.75, screenSize.height * 0.6); [self addChild:myImage];. Note: the local file name should be unique if you download different images. And the m file:.
srooltheknife.com
Srool The Knife: January 2011
http://www.srooltheknife.com/2011_01_01_archive.html
Wednesday, January 5, 2011. Creating a Slider Control in cocos2d. I wanted to add a little slider control to allow the user to set the background music level in a game I am working on. So I created this little CCSliderControl class that I think is cute and useful. The CCSliderControl is sub-classed from CCLayer. Here is the .h file for it:. In the init of this class instance, I add two sprites - one for the background, and one for the slider thumb:. Next step is to register for touch events:. Hg clone ht...
srooltheknife.com
Srool The Knife: October 2012
http://www.srooltheknife.com/2012_10_01_archive.html
Sunday, October 7, 2012. Arduino Adventures - part II. OK, I am stuck trying to transmit an IR code to turn my air condition on (see previous post here: http:/ srooltheknife.blogspot.co.il/2012/10/adventures-with-arduino.html. It is getting hot, and I want to turn the damn thing on. First, had to get the serial connection between the mac and arduino working. The power of the internet and the cool people helped. Found this:. Http:/ code.google.com/p/xcode-arduino-serial-communication/. Here is a screen du...
srooltheknife.com
Srool The Knife: January 2014
http://www.srooltheknife.com/2014_01_01_archive.html
Friday, January 3, 2014. Setting up a local Google App Engine Development Environment for Python. Installing Google App Engine Dev. Environment. I placed this list here, as some of the documentation around the web is scattered and sometimes confusing or outdated. This was done on OSX Mavericks. Some of the steps below are specific to my own app (pycrypto, PIL and lxml may or may not be needed by your app). 1 Python is installed by default (version 2.7.5 is bundled with OSX). 2 sudo easy install pip.
SOCIAL ENGAGEMENT