Android is an operating system for mobile devices. For non-developer questions, see http://android.stackexchange.com

learn more… | top users | synonyms

2
votes
1answer
36 views

OpenGL ES God Ray Precision error

I have encountered the following (i think) precision error. (missing link need 10 rep) My source of inspiration was: (missing link need 10 rep) On the PC everything works fine, but on android it ...
0
votes
1answer
41 views

Marketing PC/Android 2d Physics Game [closed]

I've been working on a game for couple years now, its fairly original, has definite potential within an indie market, and appeal for the masses also. I want to deploy on Android and PC, green-light ...
0
votes
0answers
38 views

Capture what is Rendered in OpenGL

Im Making an android Game with OpenGl ES, I Want to capture what is rendered onto screen By FloatBuffer and save it for later use, For Example If this is the OutPut: I want this for Result: How ...
1
vote
1answer
41 views

Playing with hashmap in drawing

I'm developing a game in Java for Android, using LibGDX. In my render(), between the batch.begin() and batch.end() I'm running through all the game objects and draw them. Every game object is stored ...
0
votes
0answers
43 views

NullPointerException in android.app.Activity.onCreate(android/app/Activity.java:874)

I'm trying to get libGDX 1.6.1 to run on Android via Ruboto. So far, I: Generated a new libGDX app using the app generator Got the desktop app to run (Java) Got the android app to run (Java) ...
1
vote
0answers
60 views

Libgdx performance on old devices

I'm developing a game in Java for Android, using LibGDX. I'm using Nexus 5 to test my game most of the time and it works great (Minimum FPS it gets is 57 out of 60). Recently I ran my game in Galaxy ...
0
votes
1answer
91 views

How to send dynamic data to a vertex shader OpenGL ES 2 Android

I'm very new to Android development and OpenGL ES 2.0. I have been working through a book called "OpenGL ES 2 for Android A Quick Start Guide" which has been useful, but at times I get a bit lost as ...
1
vote
1answer
66 views

Android OpenGL EGL context lost

I'm developing simple Android game in OpenGL ES 2.0 and the development stage is getting closer to publishing game on play store, but I'm still unsure about EGL context behaviour on different devices. ...
1
vote
1answer
77 views

Developing an iOS/Android game with the free Unity license - feasible?

I recall, when I looked up the Unity license comparison page several months ago, seeing that some iOS/Android features were disabled for the Free license. However I can't seem to find that page now, ...
1
vote
1answer
81 views

What size should i use for my game design?

i am currently working on a android game by using libgdx and i am designing graphics with ps for it. I want my game looks the same quality for different screen sizes but i dont know in which size ...
0
votes
1answer
72 views

Android multiplayer via bluetooth [closed]

How do I transfer game commands between 2 android devices via bluetooth first of all is possible to do this??If possible then someone please help in doing so.Thank u
0
votes
2answers
27 views

ETC1 Performance Problem Android

I wanted to support etc1, because it shoul improve the performance and loading times, but somehow its worse than using normal png files. I'm using Mali compression tool with seperate RBG pkm texture ...
5
votes
1answer
266 views

Why does flipping 1 texture region cause an identical texture region to also be flipped? (libGDX)

Sorry for the bad title. I didn't know how else to explain it. The following is a portion of my code: public class AssetLoader { public static TextureAtlas spriteSheet; public static ...
1
vote
1answer
39 views

Unity: Slow deployment to Android devices?

From the time I hit "Build & Run", I wait 2 minutes (each) for Unity 5 to push to two different 'Droids. Fresh project, one script to generate a simple mesh, and no other assets. I am deploying ...
-2
votes
1answer
114 views

Porting SDL OpenGL Game to Android and IOS

I am currently learning OpenGL (3.0+) with C++. I am using SDL for input handling, window creation, etc., GLEW to use OpenGL and call OpenGL Functions, and GLM for OpenGL Math stuff. If I fully ...
0
votes
0answers
49 views

Cocos framework gives large Android builds than cocos2d-x

This question is regarding Project Architecture and workflow. I have an installation of cocos2d-x and Cocos Studio with Cocos Framework ( version 3.6). I carried out different build tests with hello ...
0
votes
0answers
22 views

Unity - Eclipse Error :Failed to receive dispatch signal. status=-11

I develop game . This Game run directly in unity but it export to Eclipse this error : channel UnityPlayerNativeActivity (client)' ~ Failed to receive dispatch signal. status=-11
0
votes
1answer
46 views

AssetManager proper usage in libgdx

I am a beginner in libgdx and I am coding a simple game. This game is like a word puzzle where each letter is a texture. Before loading the first level I need to load into memory 26 textures, one for ...
3
votes
2answers
61 views

LIbgdx android app remove fullscreen and show titlebar

I am developing an app using libgdx and i dont want the app to go fullsceen and i also want to show the title bar but the app goes to full screen and hides title bar instead of all efforts. here is ...
0
votes
0answers
32 views

How can I get float values using glReadPixels? [Android NDK es3.0]

c++ code: float* data = (float*)malloc(texWidth*texHeight*sizeof(float)); // or GLfloat float* result = (float*)malloc(texWidth*texHeight*sizeof(float)); // or GLfloat for (int i = 0; i < texWidth ...
0
votes
1answer
127 views

How do games such as aa Game have high levels in the structure of their code [closed]

How do games such as aa Game have high levels in the structure of their code? I mean if we want create a game with high levels, should we create and use a class for each level? I do not want code from ...
0
votes
0answers
90 views

OpenGL - Make two images blend together

I have 2 images that are .png and they mix together, The problem is that one overwrite the other. I know that the draw order matters, but In that case I should redraw the icons 2 times ( there is a ...
1
vote
0answers
47 views

Efficient Collision detection for polygons (fleet) in an RTS

I'm trying to make an RTS for android using libgdx. I would like to have collision detection to be able to detect ships inside the range of weapons and collision between my bullets and the ships. So ...
0
votes
0answers
29 views

Issue with texture mapping on a spehre using opgengl es 2.0

I have a problem to calculate the right UV coordinates. I'm calculating the sphere by subdivate a ocathdron. What did I do wrong? Calculate UV Points for the texture: private ...
0
votes
0answers
39 views

Sprite drag drop andengine

How to drag an andEngine sprite anywhere on the phone screen? I have written this code in onAreaTouched function of IOnAreaTouchListener interface which is implemented in my activity, but its not ...
-3
votes
1answer
49 views

Unity Licensing

I'm sorry if this gets asked a lot but google gives up answers from back in 2008 and all sorts so could somebody please clear up a couple of questions for me please. I want to make 2D games in ...
1
vote
1answer
39 views

Java - Trouble with recursion and rectangle placement

I am using Android API's and using the RectF class for rectangles. I have a list of blocks that are on the screen at one time. Each block is given a random position, and then I go through all of the ...
0
votes
1answer
72 views

Camera.unproject(Vector3) method is not working in libGdx

I know the touch postioning in libGdx uses OpenGL, making 0,0 the bottom left corner while the camera uses the top left corner as 0,0. I did some searching and found this SO question that specifies ...
-1
votes
1answer
19 views

Sound isnt playing in Game Maker Studio when interacting with object

Im making a small game in Game Maker Studio. I have a piece of code that moves the player to the next room when he touches obj_star: this works. I have another line that tries to play sound_collect ...
0
votes
0answers
62 views

How to draw my android Hexagons in a grid?

I am trying to create a hexagon grid using the Android ’Canvas’ package. I have a working ’Hexagon’ class that when used in a view will draw a single hexagon on screen. The problem is that I need many ...
0
votes
0answers
181 views

Using Cocos2dx with Android Studio

Has anyone got Android Studio to work with Android Studio? I can get the generated project to work with proj.android, and add the NDK path to local.properties but I can't get it to rebuild after I ...
-1
votes
1answer
56 views

What is the best way to send/receive data about user coordinates and other properties?

For example If I have 2 users, and each of them have an object, and that object has: x coordinates, y coordinates, angle, state, and other properties... I use java let'say the game changes at 30 ...
2
votes
1answer
53 views

[Libgdx]Screen not rendering after restarting game

I have a strange problem while using the libgdx library Game works fine on the initial launch on Android, but after that restarting game does not render the graphics on the screen properly. It is a ...
2
votes
0answers
65 views

LibGDX Android Textures reload other textures, and transparent images get black backgrounds [Pictures]

I have very strange problems with my LibGDX Game in Android - The problem is that sometimes the textures get black backgrounds when they should be transparent, and sometimes when I remove the texture, ...
0
votes
1answer
89 views

What screen resolution do I make an android game in? [duplicate]

Is it safe to assume that most mobile phones and tablets today have moved to 1280x720 resolution and above and make the games in that resolution, scale down for smaller screens or is a smaller ...
0
votes
0answers
68 views

Android client-server logic for a multi-player game

I'm creating an android "quiz" app. The game can be played by two user in real-time. I'm creating game on server with this design: //node js server //new game request api @game/request/new var ...
0
votes
1answer
48 views

Getting position of finger along a screen

I'm trying to get a list of Vector2 position by tracking my finger and then tracing them with a prefab (Basically just gestures). I have appended an onGUI function to help print out the list of ...
0
votes
0answers
40 views

Must have game engine? [duplicate]

So I been working with android studio to create apps, and thought that I would try out a game, am I reading this correctly that I can not create the game in android studio and I must use a 3rd party ...
0
votes
0answers
65 views

Problems with starting a new game in Tic-tac-toe

I have problems with a new-game method in the game Tic-tac-toe, because after I play a game against the computer, and want to replay the game, the buttons freeze and I can't press them. For playing ...
0
votes
0answers
14 views

Problems with computermove in tctactoe android java

I have problems with the computerMove in tictactoe. I am trying to do a method with matrix, but I do not know how to do it in a good way. I have done an array with button which the game board will be, ...
0
votes
1answer
168 views

UnityException: Unable to install APK! Installation failed. See the Console for details

I got this error message when trying to build and run on Android actual device. UnityException: Unable to install APK! Installation failed. See the Console for details. ...
2
votes
1answer
112 views

Unity - Main manifest has <uses-sdk android:minSdkVersion='9'> but library uses minSdkVersion='17'

I got this error message when trying to build and run for Android. Error: [Temp/StagingArea/AndroidManifest-main.xml:22, ...
0
votes
0answers
36 views

LibGDX strange status bar in background [BUG]

I released an app and I noticed that some devices has a strange "bug" which I don't know if it's caused by Android, me or LibGDX. That bug is related to status bar, normally app let you see the bar ...
0
votes
1answer
55 views

Is there such thing as a hybrid View that combines SurfaceView and GridView in Android?

I am trying to develop several Android games that work on a grid system. I will need to update the game surface frequently, so using a GridLayout does not seem to be a good option. The frequent ...
0
votes
1answer
69 views

Basic vertex shader, moving

I am new in shader concepts and I am trying to implement a sprite of 8x8 in OpenGL ES. I want to move the texture in the vertex shader but I cant figure out how to this, my code may be wrong, feel ...
1
vote
0answers
74 views

LibGDX music doesn't play anymore after x times

In my App I added two sounds, the first is played when the gamescreen start the second when the game is going to game Over screen. Everything works fine but after about 12-13 games the second sound ...
1
vote
1answer
79 views

Actor not taking touch libGDX

I am trying to handle the touch of one of the Actors in the stage. The following is the code I have written: public class MyGame extends ApplicationAdapter { private GameStage gameStage; //Game ...
0
votes
0answers
15 views

Flash Icons do not show up with Android Lollipop

I am working on a few games based in Adobe Flash, and the Air Runtime. In Android KitKat and below, when doing local tests on devices,everything was perfectly fine. However, upon upgrading a testing ...
0
votes
1answer
73 views

Moving texture OpenGL ES 2.0

I am trying to implement a sprite of 8 columns and 8 rows in OpenGL ES 2.0 I made appear the first imagen but I cant figure out how to translate the Texture matrix in OpenGL ES 2.0 , the equivalent of ...
0
votes
1answer
27 views

Android Density Independent Pixel Drawables Resource Folder

I'm trying to get to grips with DIP in Android (using Eclipse). I'm writing a little game with OpenGL ES 2.0. Could I get some guidance and tips on what I'm not understanding/doing right. From what I ...