Android SDK location should not contain whitespace, as this cause problems with NDK tools

As the warning message states, the SDK location should not contain whitespace. Your SDK is at C:\Users\Giacomo B\AppData\Local\Android\sdk. There is a whitespace character in Giacomo B. The easiest solution is to move the SDK somewhere else, where there is no space or other whitespace character in the path, such as C:\Android\sdk. You can point both … Read more

Creating a custom ODBC driver

Another option: Instead of creating a ODBC driver, implement a back end that talks the wire protocol that another database (Postgresql or MySQL for instance) uses. Your users can then download and use for instance the Postgresql ODBC driver. Exactly what back-end database you choose to emulate should probably depend the most on how well … Read more

cmdline-tools : could not determine SDK root

Since new updates, there are some changes that are not mentioned in the documentation. After unzipping the command line tools package, the top-most directory you’ll get is cmdline-tools. Rename the unpacked directory from cmdline-tools to tools, and place it under $C:/Android/cmdline-tools now it will look like $C:/Android/cmdline-tools/tools and it will work perfectly.

SBStatusBarController instance

Ok, I’ve found the way how to show double-height status bar like In-Call status bar without SpringBoard and using legal means. Here is a solution. There are two ways to show a double-height status bar with application name while an application is in background mode: Connect to VoIP service using sockets or to simulate audio … Read more

Do I need an appId for a XFBML version of the Facebook Like button?

Answering my own question, after pulling out all my hair… http://developers.facebook.com/docs/guides/web/ “The JavaScript SDK requires that you register your website with Facebook to get an App ID (or appId). The appId is a unique identifier for your site that ensures that we have the right level of security in place between the user and your … Read more

Fling Gesture and Webview in Android

Create a GestureListener and a GestureDetector. Call the GestureDetector.onTouchEvent by overriding the webview’s onTouchEvent. You can also just override the Activity onTouchEvent btw. I can post some code if you need. Edit: Code as requested. public class Main extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) … Read more