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

learn more… | top users | synonyms

0
votes
0answers
14 views

Google Analytics in game - do I need an opt-out or privacy policy? [on hold]

My Android game uses Google Analytics but doesn't collect AdvertisingId. Do I have to implement an opt-out checkbox in the game or add a privacy policy to the Store Listing?
-1
votes
0answers
6 views

Conversion Tracking and Remarketing for Android [on hold]

Hye, how can I integrate Conversion Tracking into my game in unity?
-3
votes
0answers
46 views

Anyone who can make an Android game and sell it to me? [on hold]

I am just wondering if I can find an experienced Android developer who can make a 2d or 3d game for me? The person will just sell the game to me and I will take care of publishing and advertising it. ...
-2
votes
0answers
19 views

Recommended BaaS for single player game

I have been searching through various BaaS providers and looking for an excellent BaaS provider. My lists so far includes: GameSparks PlayFab Parse BaaSBox BrainCloud The game I'm working on needs ...
0
votes
1answer
99 views

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

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
34 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
votes
1answer
33 views

Drag and drop game for android

I'm trying to make some alert for my drag and drop game which I want to insert the sound when user drag the right answer in the space provided. How can I code my Java in Eclipse? Someone please help ...
1
vote
0answers
31 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
26 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
10 views

Game development inside Android Studio? [closed]

This is a question for common knowledge and not for code. The question is: Can you build a game inside Android Studio and, if not, what are some recommendations for a IDE where you can?
0
votes
0answers
16 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
38 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
votes
0answers
7 views

non ovelapping dynamic views in 4 relative layouts [closed]

i am adding views to relative layout dynamically. What should i do let them not overlap. There are 4 relative layouts on a single activity. i can move imageviews any where. any one?
0
votes
1answer
33 views

Is it possible to have google leaderboard working without having the play-services app on the phone? [closed]

I have an andengine game project where I am using Google leaderboard. Previously I was using Eclipse and older version Google-play-services. Now I have migrated to Android studio and using the latest ...
1
vote
1answer
27 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
35 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
0answers
9 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 ...
-3
votes
0answers
21 views

How to use the gaming sdk's(which sdk provides some games)in my application [on hold]

I have requirement like if user accessing something it takes 5 min for processing in mean while i want to engage the user with games.so is there any free sdk which provides games(i dont want to ...
-2
votes
0answers
14 views

how to normalize speed(frame rate) of thread in different phones [duplicate]

I have been doing some work on surfaceview class in android. there i have used "thread.sleep(50)" in my run method.But the game runs faster on some phones and slower on others.What can i do to ...
0
votes
0answers
21 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
46 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
50 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 ...
1
vote
1answer
25 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
30 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
60 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
39 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
43 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
35 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
63 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
11 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
76 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
64 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
29 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
35 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
49 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
37 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
42 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
8 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
45 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
20 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 ...
0
votes
1answer
57 views

Touch Input with Event Trigger. How to handle with it properly

Hello Community, Since this is my first post I wanted to say hello. As every beginner developer I have a lot of problems. Below one of them: I wrote simple script to control my 'Player' object: ...
0
votes
0answers
70 views

2.5D platform Android Game

I am a beginner to game development, so far I just made a top/down scroll shooter with canvas in Android, and I now wanto to make a 2.5D platform game like good old SNES, I am thinking of making it ...
1
vote
2answers
59 views

How to set black borders in rubik cube using opengl GLSurfaceView android java

I am new in android game development.I have a problems to set the cube face color with black border. public void setupSides() { int i, j, k; // Paint back blue i=0; for(j=0; j<dim; j+=1) { ...
0
votes
0answers
70 views

Why does physics interpolation give me periodic jumps/flickers?

I have seen this question but it didn't solve the problem. I have followed the same steps as in this article. What I notice in my Android game is that my interpolation alpha (or fraction or ...
0
votes
1answer
34 views

OpenGL ES 2.0 basic camera issues

I am having issues with the camera, I cant find how to invert the AXIS Now A point is 0,0,0 B point is 1,0,0 C point is 0,0,1 What I want is A point 0,0,0 B point 0,0,1 C point 1,0,0 ...
1
vote
1answer
131 views

What would cause my script generated buttons and text to show in Unity and not on my phone?

I am using Unity 5 and the built in GUI tools. My static GUI shows up just fine which makes me think it's not a text/font issue or some such. Again, it all looks good in the Unity editor when I hit ...
0
votes
0answers
49 views

Transparency in GLSurfaceView

I am new in game development .I have a class which extends GLSurfaceview and we add this class in xml file and that xml file pass in main activity i want to make transparent that class. we already use ...
-1
votes
1answer
34 views

cocos2d-android collision map

How collision map? I have call: // Get TMX Map and associated layers/groups _map = CCTMXTiledMap.tiledMap("mapdemo.tmx"); _background = _map.layerNamed("Background"); _objects = ...
0
votes
0answers
27 views

How to zoom and scroll in libGdx?

I am trying to both A.) Pinch zoom my game scene and B.) Move (scroll) my game scene but I have not found many examples. I learn more by examples than by reading API documentation (although I am ...
0
votes
0answers
32 views

In OpenGL on Android, how do I give quads a border color?

I am new to game development and I'm working on a Rubiks cube game in Android using OpenGL. I want to create a cube with black borders, but I can only manage to set the fill color: GLColor[] colors ...