Android :: Chess Board Mini Game - Navigation Across Screen
Jun 24, 2010
So I was planning on writing a Chess-based mini game as part of a project. I was working on my pitch when I realized that I had to represent 64 clickable squares on a screen of that size. I found a couple of ways around it. Like letting them choose a row number from 1-8 and a column number from A-H OR providing them with four arrow keys to navigate across the screen. But it just takes the fun and intensity out of the game.
View 8 Replies
Mar 13, 2010
I'm developing chess game for Android (androidchess.appspot.com). If I want to add animations, should I use custom View extending Canvas (I do this now), or custom View extending SurfaceView?
View 1 Replies
View Related
Oct 10, 2009
I am developing a chess game, what view should I use for the chessboard, Canvas or SurfaceView? I want to implement some animations like moving a piece, fading the chessboard or maybe rotating the chessboard.
View 4 Replies
View Related
Oct 9, 2010
I had a message pop up saying I needed a spyware, malwRe, antivirus program. Any ideas about this? This only happened after I downloaded a chess game off the market
View 3 Replies
View Related
Sep 13, 2010
Is there a free simple chess game to install on the htc desire please?
View 3 Replies
View Related
Jan 5, 2010
I need to design a board UI using android platform. I was planning to take one image as board and moving the required images over the board. How do I achieve the same? I need to find the coordinates for image and need to move the required images to specifies coordinates. Is there any andorid API for this?
View 2 Replies
View Related
Jan 5, 2010
I need to design a board UI using android platform. I was planning to take one image as board and moving the required images over the board. How do I achieve the same? I need to find the coordinates for image and need to move the required images to specifies coordinates. Is there any andorid API for this?
View 4 Replies
View Related
Mar 5, 2010
Does anyone know of a app that download a more user friendly qwerty board?
View 6 Replies
View Related
Oct 21, 2010
Which would be the best application to use for GPS navigation. I am currently using google navigator but cannot use this while driving as the screen blacks out after sometime, I need to keep unlocking the phone which is not a good idea while driving. Please let me know if this is the best application or are there any work around for this problem.
View 5 Replies
View Related
Nov 2, 2009
I created a chess game for Android - Chess Walk, it's on Market for free under title "Chess Walk (BETA)". It has online mode (you can play on Free Internet Chess Server) and offline mode. The built-in chess engine is not very good, I'll probably focus now on improving its strength and style of play.
View 6 Replies
View Related
Aug 2, 2010
I've just started to learn Android development and ran into a problem.Controls in the game I'm making work on virtual device, but not on phone:I have an Xperia X10 Mini Pro.I'm making a basic Pong game to learn droid software development.The game works just fine on my Android virtual device, you can move the paddles up and down smoothly.On my phone I've figured that the onKeyDown event doesn't run until I release the button or after I've held down the button for a second or two, but then it only registers it as a brief press of the button, not like if I was holding it down.I believe that it's a feature of my phone to quickly access special characters, because some keys register different key codes when pressed quickly and when held down.The problems this results in is that I can not move the paddles, but I can do single press things, like pause the game
View 1 Replies
View Related
Jul 29, 2010
I have an X10 mini and plugged it into my computer 'PC Companion' prompted an update and restart of the phone this installed the backup and restore app which is fine but also a demo of a game called 'roller coaster' the demo lasted like 5 minutes and I'd like to uninstall it but can't do it the usual way as it wasn't from market place? Any suggestions?
View 2 Replies
View Related
Nov 10, 2010
When i have download the game or application and install in the phone, it install those on the Internal Phone memory. Does it have option to install in on the memory stick? i didn't found it the setting.
As our internal phone rest only 120MB only, we can only install not much application. Does every one know about how to change this option?
View 3 Replies
View Related
Aug 18, 2010
Like in portrait mode? Does Epic Also Have A Touch Screen key Board?
View 2 Replies
View Related
Nov 23, 2010
public class check extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);}
void myonclick(View view)
{
Intent mIntent = new Intent(this,check2.class);
startActivity(mIntent);...............
when i click a button it will show error in emulator has (The Application Check has stopped unexpectedly).
View 2 Replies
View Related
Oct 16, 2010
I got Samsung Galaxy 5.
I got some gameloft games (HD versions) installed but as I Run them only Top left (approx 1/4)view of game screen appers.
As whole game can not to fitted on one screen..
|--------------------|
| |
| |
| |
|Gamel |
| |
|--------------------
It looks like half of screen is cut like on "oft" of Gameloft is invisible
View 3 Replies
View Related
Dec 9, 2009
It seems like there should be an easy fix (change a setting or something) for this, but I can't seem to find it and it's driving me nuts.
Whenever I use Google Navigation, the screen times out after a minute (just like any other time I'm using my phone). But, doesn't it seem like the screen should not shut off EVER while using Nav?
View 5 Replies
View Related
Oct 24, 2010
Have owned an xperia mini pro for about 2 weeks now. It has a problem that every few days or so the screen locks up and becomes unresponsive and the only way to reset it is to do a battery pull. My question basically is should I take it back to the shop, or is it likely to need to have android reinstalled or something?
It did this on the very first startup after unboxing, it froze up when choosing the language setting, so obviously it is unrelated to any other apps i have installed. At the time I didnt think it was too much of a problem but then as I say, it started doing it every few days.
View 7 Replies
View Related
Oct 21, 2010
I was using Google Navigation this morning to direct me to somewhere and the screen kept timing out and locking. This was happening every 10 minutes or so.
Surley this is not meant to happen on a NAVIGATION application where you would expect the screen to stay active all the time! how can i prevent this from happening?
View 2 Replies
View Related
Mar 3, 2010
I want do make navigation bar at bottom of the screen in android application . how can i do that?
View 1 Replies
View Related
Aug 23, 2010
I fight with me for some days about asking this question.
Its pretty plain and simple:
If you have an application with a GUI totally working on 2D drawing, what should be the best practice to handle what to draw and where to touch?!
Some example for better understanding:
I have a game with a map. On this map I can build houses and stuff.
I also have a information bar which can be extended. On the extended bar I draw some information about the game and also enables to change different values. If a touch occurs, I have to check, if the information bar is extended or not to determine if I want to change something on the map or something on the bar.
Thats done by the State Pattern, but I have some doubt if thats the right one because I think it can be a bit complex because of possible "sub-states".
So basically the question: Is the State Pattern (from GoF) the best practice to handle a pure graphical GUI?
View 1 Replies
View Related
Feb 25, 2010
It would end up looking something like the PSP. You would think that this would be an incredible feature for gamers and any platform that was serious about gaming. Then we wouldn't have to use touchscreen controls, barely passable d-pads, or optical trackballs?
View 3 Replies
View Related
Apr 25, 2010
I have a game built for 480x320 screen resolution. When playing the game on a phone with a higher screen resolution (480 x 800 or 480 x 856) the game automatically stretches to fit the screen which works great. Because of different screen dimensions there is a piece of the screen on the right side (game is in landscape mode) that is black, not used by the game. I want to fill this up with an image, so the whole screen is filled. I only draw that image on screens bigger than 480x320. This all works fine, the image is displayed exactly the way I want to. The only problem is that the game runs less smooth then it used to run. There are small stutters noticeable. When I just draw a rectangle instead of an image the same problem occurs. Does anyone have an idea why this is happening?
View 8 Replies
View Related
Jun 15, 2010
What's the best way of intercepting screen touches and coords during a game loop? At this point, I don't have a View from my main.xml file, so the normal OnTouchEvent doesn't apply, as far as I can tell. What's the usual procedure for this?
View 2 Replies
View Related
Dec 17, 2009
In my game because it is a board game, I do not want the screen to timeout which the user is playing my game. Any idea on how to do this?
View 2 Replies
View Related
Jan 18, 2012
I am working on a game for android at the moment, and was wondering how i would change the screen depending on orientation.
So if the user turned the phone horizontally then the app would be viewed horizontally if you know what i mean
Also how would i make a timer, so if a button were pressed, how would i say stop for 2 seconds and then go to link?
View 3 Replies
View Related
Oct 15, 2010
I'm using webview to display local html content. The text fits the screen width, but the user is able to navigate horizontally where there is only blank space left. However, there is no content to be shown as everything fits the screen size. Does anyone know how can I avoid this behavior? I mean, if all content is being show, how can I disable horizontal navigation.
View 2 Replies
View Related
Jan 29, 2013
Is there any way to move navigation bar in tablet on top of screen instead of bottom?
View 1 Replies
View Related
Apr 16, 2010
Anyone have download and played the "Air Attach"? In this game,
1.The man can go right when you touch and move finger to the right and can go left when touch and move finger to the left,
2.Touch and release, it is launching a missile
I'm also want to develop a game and have this function, Would you tell me how to implement it?
View 7 Replies
View Related
Sep 16, 2009
I want to make a tile based game for android. At the moment I am drawing each tile as a separate bitmap. I have a big for loop that reads from a string and draws different tiles depending on what character it finds to draw the level. I have allowed the user to scroll the screen using scrolling gestures. However the game is too slow. It takes a long time to update the screen after the user scrolls. I presume this is because it has to draw each tile's bitmap individually. What would be a faster way to draw the level? I was thinking I could merge all the tiles into one bitmap. But I don't know how to do this.
Anyway here is my code so you can see the problem:
package org.example.tutorial2d;
import android.app.Activity;
import android.os.Bundle;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.GestureDetector.OnGestureListener;
import org.example.tutorial2d.Panel;
public class Tutorial2D extends Activity implements OnGestureListener {
GestureDetector gestureScanner; Panel main;
/** Called when the activity is first created. */
@Override public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
gestureScanner = new GestureDetector(this);
//requestWindowFeature(Window.FEATURE_NO_TITLE);
main = new Panel(this); setContentView(main); }
@Override public boolean onTouchEvent(MotionEvent me) {
return gestureScanner.onTouchEvent(me); }
@Override public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
main.handleScroll(distanceX,distanceY); return true; }
@Override public boolean onDown(MotionEvent e) { return true;
} @Override public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { return true;
} @Override public void onLongPress(MotionEvent e){
} @Override public void onShowPress(MotionEvent e) {
} @Override public boolean onSingleTapUp(MotionEvent e) { return true; } }
And the class that does all the work:
package org.example.tutorial2d;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.util.Log;
import android.view.View;
import org.example.tutorial2d.Point;
public class Panel extends View {
private int scrollX = 0; private int scrollY = 0;
public Panel(Context context) { super(context);
} @Override public void onDraw(Canvas canvas) {
/*Bitmap scratch; //Drawable scratch;
//scratch = getContext().getResources().getDrawable(
// R.drawable.icon); canvas.drawColor(Color.BLACK);
//scratch.draw(canvas); int origin = 0;
scratch = BitmapFactory.decodeResource(getResources(), R.drawable.horizontal5);
canvas.drawBitmap(scratch, origin, origin, null);
int width = scratch.getWidth(); int height = scratch.getHeight();
scratch = BitmapFactory.decodeResource(getResources(), R.drawable.room4entrynesw3x3);
canvas.drawBitmap(scratch, origin + width, origin - 32, null);
[Code]
View 3 Replies
View Related