Tagged Questions

Operating system for mobile devices. Developed by Google and the Open Handset Alliance. Android Developers Contains the SDK downloads, documentation, class reference and tutorials. Start here. Android Developers Google Group Alternative developer discussion forum for Android. Android Open Source ...

learn more… | top users | synonyms

-2
votes
0answers
20 views

Crash application while destroy box2d body

I am developing game in andoid using cocos2d with box2d . I am stuck in tha collision deduction When i destroy body my appication crashes Below is my code. static class Box2DLayer extends CCLayer { ...
1
vote
1answer
37 views

Is there a way to setup an Android game project with a large assets during development to allow for fast testing/iteration?

I'm working on an Android port of an iOS game at the moment. I am using the Android NDK only (android_native_app_glue) in Eclipse (CDT + ADT). I am using the Android emulator, API 15 (but we are ...
0
votes
1answer
60 views

Game State with sqlite + MySql

I am building out my first android game, after some utility app development. I want to be sure I am not moving into a direction that is not a best practice, so please (constructively) criticize my ...
-1
votes
0answers
54 views

So finally what is the reliable way to stop loosing OpenGL context in Android onPause()?

I have huge native code, I dont think replicaIsland's custom GLSurfaceView is any good to me, and I'm not so fascinated by reloading textures which is kind of killing experience of my app, and there ...
0
votes
0answers
38 views

How do I get my Android app into 1Mobile's Market?

In my quest to upload my app to free android app markets, I ran into 1Mobile's market, which seems quite decent. But I can't figure out how to upload my app; there's no link on their website. (I even ...
1
vote
1answer
53 views

Android app: adding background, styles, custom buttons

I am still fairly new to programming in general and android specifically. I am working on an app that currently runs fine and does everything its supposed to do, but its only a skeleton of the app I ...
0
votes
1answer
69 views

Simple way to post score from my game to Facebook and Twitter?

What's the best and simple way to post score from my game to Facebook and Twitter with store link in cocos2d-x?
4
votes
1answer
103 views

Which app markets should I deploy my Android game to?

I just launched my Android game today. I'm curious to know where I can deploy it. Of course, Google Play is the veritable king of markets, and my own game site will be next. After that, which ...
-4
votes
1answer
74 views

“Null Pointer Exception” Animating sprite in cocos2d android

I am converting this monkey jump game tutorial in android. I have done til monkey sliding right to left and left to right but I am stuck in the part of monkey walking animation. I have tried but ...
1
vote
1answer
170 views

Scrolling and Parallax scrolling in 2D game

I'm developing a 2D side-scrolling game.I have a scrollable bitmap for background with size 2400x480.How can i scroll this bitmap?I have searched for algorithms but i can't find any solution. I know ...
-2
votes
0answers
32 views

Best way to send data from an android device to a mySQL server and vice versa? [closed]

I'm currently creating an mmo and was wondering what the best way to send data from an android device to a mySQL server and vice versa? I was thinking possibly to send a message containing a string ...
-2
votes
2answers
108 views

Absolute newb Java programmer seeks “dumbed-down” tutorials/resources [closed]

I understand the basics of Java and Object Oriented Programming so far, and am still working on refining my understanding of it. I have sought several different resources - two books and Oracle's own ...
3
votes
2answers
186 views

Why does creating dynamic bodies in JBox2D freeze my app?

My game hangs/freezes when I create dynamic bullet objects with Box2D and I don't know why. I am making a game where the main character can shoot bullets by the user tapping on the screen. Each touch ...
-3
votes
0answers
68 views

Move object right to left and left to right in cocn2d with box2d android

Is there way of moving my main character in my game which is a android Box2D object with the accelerometer than modifying the gravity, if I do this, all my other Box2D objects are moved! I just want ...
2
votes
2answers
120 views

Loading large bitmaps in Android

In a few games in the Android Market/Google Play Store, huge bitmaps are drawn onto the screen. For example, the game Unicorn Dash: and Robot Unicorn Attack: I'm assuming the entire island ...
-2
votes
0answers
50 views

Coin Sprites for developing game [closed]

Possible Duplicate: Where can I find free sprites and images? I am making an android game with a basic 2D Framework. no OpenGL or anything. but i want to make my coins look 3d. where can i ...
0
votes
0answers
78 views

How to display bitmap using Texture api in android opengl

I want to display a bitmap image at screen using texture api in android opengl. Some code which I have used in our code as below. public void onSurfaceChanged(GL10 gl, int width, int height) { ...
-5
votes
0answers
40 views

How to rotate roulette in Android?

I am implementing a game in which I want to rotate a wheel image on touch listener (like casino wheel). I have tried, but with no success. Can you give me some advice regarding how to do this?
2
votes
5answers
363 views

What is the average team size for mobile games like these?

I know that it is maybe too broad question but please give me at least some guidance. What is the average team size for mobile games like in ...
0
votes
1answer
62 views

Libgdx Animation Timing

I'm having a small issue with libgdx animation. I'm using getKeyFrame() to get the current frame of the animation and I'm updating the state time by adding on deltaTime in my update function for the ...
2
votes
2answers
163 views

How do I find the angle between two vectors?

I have 3 points on my screen: a = a point which is (c.x, 0) makes a line pointing straight up b = a user input touch, can be anywhere on the screen c = a moving object a _______.________ | ...
-1
votes
0answers
89 views

Application Crashed After Box2d Collision

Can anyone tell me after collision my application crash Below is my code. public class Box2DScene extends CCScene { static class Box2DLayer extends CCColorLayer { protected static final float ...
2
votes
1answer
103 views

Why did an Android update disable the textures in my game?

I recently updated my tablet to Android 4.0.3 and now the textures for my game do not show up. I'm using OpenGL-ES 2.0 for my engine. It worked fine when I was running android 3.0. Is there any ...
3
votes
2answers
314 views

Resolution problems when porting a Unity game to Android

So, I'm porting a game to the Android for the first time in Unity3D. And I've run in to a few problems along the way. My current problem is the resolution doesn't seem to be right, it cuts off the ...
-1
votes
1answer
112 views

Beginning Android Game developement from scratch [closed]

I'm interested in game development, on the Android platform. I know a bit about Java (created a few apps here and there - nothing major). I'm looking for what's needed to start: What level of ...
0
votes
0answers
58 views

Unity: Side-by-side cameras to Evo3D

I got my hands on a HTC Evo 3D phone, and now im trying to figure out how to make stereoscopic content on Unity for the device. What I have gathered so far is that I most likely will have to write a ...
0
votes
1answer
166 views

Sprite collisions in android andengine

I'm developing a simple game by andengine. I have 10 balls which are moving randomly on screen.i'm importing the balls as picture in sprites.if they move at the same coordinate , they pass though ...
0
votes
0answers
100 views

Mono and/or MonoGame for Android and iOS Experiences [closed]

I was wondering if anyone has any experience of using Mono and/or MonoGame for cross platform game development, particularly with regards to Android and iOS games development. Key things are; What ...
0
votes
0answers
73 views

Making body(box2d) a spite(andengine) in android

I can't make body(box2d) a spite(andengine) and at the same time i wanna apply MoveModifier to sprite which is body.if i can make just body,it works namely the srites can collide.if i can apply just ...
1
vote
0answers
125 views

Building for the Android errors Unity3D [closed]

EDIT: After doing some research on my own I found that by deleting the debug.keystore file everything fixed itself. So currently I'm exporting my game strictly for testing to the Android. However, ...
1
vote
2answers
61 views

CCSpriteFrameCache: Frame '%s' not found

I have just started using the Cocos2D library for Android. I am trying to make a walking bear animation. For that I am using a CCSpriteFrameCache, but I'm getting a "frame not found" error in the ...
-2
votes
3answers
119 views

Client Server what do i need?

Simple question if the Client is Android Game App That send data to the server for Storing/Recalling Data as well as calculating data? I hear sql is good for simple database stuff.what is good for ...
0
votes
4answers
139 views

Relationship between Desktop and Android on LibGDX

So I finished tweaking a tutorial called Rain Catcher and I ran the desktop application. It works fine. I then proceeded to run the application using the android emulator the game then crashes. I ...
1
vote
1answer
104 views

Random Sprite Speed

I followed the Rain Catcher tutorial from libGDX and I made some modifications to the code, allowing the rain drops to appear faster. But I cant figure out how to make the raindrops fall at random ...
1
vote
1answer
121 views

Android APK export duplicating libgdx assets folder

I'm developing a game using libgdx targetting Java desktop and Android. For the assets I have a "data" folder inside the "assets" folder in the Android project. Then, I link it from the desktop ...
1
vote
3answers
77 views

Vectors and corners of squares

I am having some problems with some vector math. Imagine a square and coming from each corner of the square is an invisible vector, which starts at the square's centre and ends at the edge of the ...
0
votes
1answer
113 views

Virtual screen size with libgdx and GLES 2

I've been trying to use a virtual screen size for my libgdx desktop-android game. I'd like to always use a 16:9 aspect ratio but with a virtual screen size so everything would adapt automatically ...
2
votes
3answers
249 views

I finished “Beginning Android Games”, should I use its framework?

I've worked through Mario Zechner's "Beginning Android Games" and have made my own pong and asteroids game using the framework used in the book. I have also downloaded the source code for Replica ...
2
votes
1answer
72 views

How should I determine direction from a phone's orientation & accelerometer?

I have an Android application which moves a ball based on the orientation of the phone. I've been using the following code to extract the data - but how do I use it to determine what direction the ...
0
votes
2answers
172 views

Android Java rectangle collision detection not working

I had been hard coding a collision detection system which was buggy. Then I came across using rectangles for collsion detection. So I put it all in and it does not work, I put a log in and it never ...
-1
votes
1answer
123 views

Receive UDP packet in android [closed]

I'm sending UDP packet to android over a wireless network from some other software . how can I receive that in android ? should I write a client in android to get the data?
1
vote
0answers
99 views

Sending a android.content.Context parameter to a function with JNI [migrated]

I am trying to create a method that checks for internet connection that needs a Context parameter. The JNIHelper allows me to call static functions with parameters, but I don't know how to "retrieve" ...
1
vote
1answer
348 views

Open GL Android frame-by-frame animation tutorial/example code

My first question was asked wrong, so I need to ask again :) I found out, that I will have to do an OpenGL animation for my Android game. The closest (known) example is Talking Tom (but I don't know ...
1
vote
2answers
179 views

How are buttons made to be clicked?

I just want to ask a general question. According to that answer, I'll continue thinking. You know in games there are lots of clickable items. Play button, exit, combo-boxes, etc. My question is: Are ...
0
votes
1answer
252 views

How do I draw a scrolling background?

How can I draw background tile in my 2D side-scrolling game? Is that loop logical for OpenGL es? My tile 2400x480. Also I want to use parallax scrolling for my game. ...
1
vote
1answer
67 views

Initializing OpenFeint for Android outside the main Application

I am trying to create a generic C++ bridge to use OpenFeint with Cocos2d-x, which is supposed to be just "add and run" but I am finding problems. OpenFeint is very exquisite when initializing, it ...
-1
votes
1answer
42 views

How to integrate ad mob ads in cocos2d android portal?

Could anybody tell me how to integrate ad mob ads in my cocos2d android app.
1
vote
1answer
216 views

How do I generate a level randomly?

I am currently hard coding 10 different instances like the code below, but but I'd like to create many more. Instead of having the same layout for the new level, I was wondering if there is anyway to ...
1
vote
0answers
88 views

Android/Java AI agent framework/middleware

I am looking for an AI agent framework to use as a starting point in an Android game I have to create for a university research project. It has been suggested to me to use JADE, but, as far as I can ...
2
votes
1answer
310 views

OpenGL ES 2 on Android: native window

According to OGLES specification, we have the following definition: EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, ...

1 2 3 4 5 9