Posts tagged Android
[Android] Show notification in status bar
Jan 15th
Used for persistent applications (with service) or just to post important notifications to the Android status bar.
[Android] Setting screen orientation programmatically
Jan 15th
import android.app.Activity;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
public class Orientation extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
//---change to landscape mode---
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
}
}
To change to portrait mode, use the ActivityInfo.SCREEN_ORIENTATION_PORTRAIT constant:
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
Need testers for my text-based Android MMO
Jan 14th
I am now looking for some alpha testers to help me improve the client for Android phones and test the server capacity as well as its stability. The game is a text-based multi-massively online strategy & roleplaying game that can be played without having to type much (as it is common for text-based games) thanks to its Android client that offers UI elements for most commands.
Here is a little info on the story of the game:
The year is 2030. Nanotechnology has improved our society in many ways. Nanobots are active in our bodies to fight diseases and enable us to wirelessly interface with devices such as cars, planes, robots and computer networks. When you log into the game, you leave your body behind and enter cyberspace, a visual representations of computer systems and data.
Click on read more to see some screenshots of the client and to download the apk for your Android phone. I develop and test this client on a HTC Hero. The client should look as-intended on devices that have a similar display as the Hero, but I am also interested on how it works for other Android phones. Read on for more information…
Android Game of the Day – 24/11/09 – Cestos Full
Nov 25th
Android Game of the Day – 23/11/09 – Crystallight Defense Free
Nov 23rd
