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

learn more… | top users | synonyms

1
vote
0answers
36 views

I'm 14 y/o and I'd like to publish my app on the Play Store! [on hold]

I'm 14 and I made a game for Android and I would like to publish it. My question is that how could I publish my app on the Play Store. As a minor is it legal for me to publish it? I wouldn't like to ...
1
vote
1answer
12 views

how to remove game objects after on overlap in LIBGDX game

I have gold stars in my game that give score to game hero if the hero overlap with the star. What I want is to remove star once it overlap with hero object. I give score by checking overlap with this ...
1
vote
1answer
17 views

Drawing shapes and images in libgdx dialog

I am currently working on a dialog window for my android game using libgdx. This dialog window contains a collection of labels and buttons, but should also contain an image. The image represents the ...
0
votes
0answers
7 views

How to prevent Rooted Android Phones from Installing my app? [migrated]

The purpose in this context is to prevent false high scores(my app is a game) from being reported in LeaderBoard. This occurred for Flappy Birds - see this link - ...
0
votes
1answer
18 views

Device display size scaling

So I've never made a game before besides a basic 4:3 aspect ratio flapper, so bare with me. Recently I had this wild idea that I wanted to make this complected (for a 2d) game in cca. Unfortunately ...
-1
votes
0answers
29 views

Bitmap collision detection android? [on hold]

Edit: Sorry, I thought I pasted the entire code but somehow I guess it didn't show up. I am working with two bitmaps, moving them on the screen. However, I have been unable to detect when they overlap ...
0
votes
1answer
23 views

How to display a model in Android via openGL ES [on hold]

I have gone through this tutorial and would like to move on to models as opposed to geometric shapes (yes, I know that they are still made out of triangles..) I have found some interesting models ...
-1
votes
0answers
35 views

LibGDX - Is it worth making a World class for my game? [closed]

Right now I pretty much have a World class across 3 classes (Player, Game, Renderer) if that makes sense? Game is where game objects are initialised, and Renderer just draws the objects onto the ...
2
votes
1answer
59 views

box2d rendering performance degrading extremely even with sleeping bodies?

I'm working on my first smartphone game, a simple 2D platformer built with libgdx. Game maps use the Tiled level format, so a map is just a bunch of blocks. I recently started using box2d to implement ...
1
vote
0answers
31 views

Libgdx implement 2d drop shadow for transparent sprites

I am a libgdx learner. For an learning application that I am developing using libgdx on android, I need to show drop shadow or glow effect when a sprite is touched. The sprites are created from a ...
0
votes
0answers
21 views

building .apk file [on hold]

I have made a unity Vuforia demo project But I cannot run this Simple AR Application in Android ,I have a Pro version of Unity , when i took build of it. file -> build setting ->Android The project ...
0
votes
0answers
15 views

select a audio file from sdcard or playlist [closed]

I just want to select a audio file from my sdcard or playlist by clicking on that audio file or by adding check box facility,i don't want to play that audio file.please help me how to implement this ...
0
votes
0answers
21 views

Anything like AutoLayout for Processing?

So I'm making a game for Android using Processing but I'm having trouble with my buttons not being in the same position when I change the size of the screen, and I'm aware that you can use AutoLayout ...
0
votes
0answers
30 views

How to create Game levels in LIBGDX android game [closed]

Can anybody Guide me. I need to Create Game levels in LIBGDX android game that I have created using kilobolt zombie bird tutorial that is here ...
0
votes
0answers
8 views

how to swipe native android scrollview in andengine?

I'm developing an app using andEngine. In a scene I'm using a scrollView contains text and images. I need to swipe it right and left with my finger touch position and direction. Is there someway to do ...
0
votes
1answer
24 views

Game info file? LibGDX android

In my app I need a file that I can keep settings like: TutorialSkip: True or AppDev: False and other info. How can I make this file and prevent users editing it? This has to work in the Core folder ...
0
votes
1answer
41 views

Android : How to get screen size in exact pixels ? (OpenGL render surface size etc)

On every single android device {emulators} from ldpi to xxhdpi, both DisplayMetrics and native JNI EGL return width:320 and height:526. Even on actual HTC ONE mobile it returns something like 320x526. ...
0
votes
0answers
13 views

Unity StartApp Ad Sdk dims the screen down when showed

I'm making an android game Which Never Sleeps and it don't. But When Using Startapp ad sdk It seems that it pauses the game and the mobile sleeps when the ad is shown. As if the sdk handles it from ...
0
votes
0answers
19 views

TouchCollection positon not matching button position

I am using a TouchCollection of touchlocations to determine if a button has been pressed, However the touchlocation position does not correspond with the button location as I would expect, the touch ...
1
vote
1answer
108 views

2D graphic over 3D perspective projection

To draw a 2D HUD (just a simple trianlge, for now) over 3D graphics in OpenGL I : draw all 3D objects, then call glDisable(GL_DEPTH_TEST) before drawing 2D HUD draw 2D triangle call ...
1
vote
1answer
60 views

libgdx, how to check collision of randomly generated actors?

I have two groups of randomly generated actors, one is bullets second is enemies. And as of now I have no idea how to check collision of randomly genrated actors and remove the overlaped actors. I'm ...
2
votes
1answer
60 views

Unity Android Orientation Bug in Auto Rotate

I am currently looking for a workaround, or fix, for a Unity bug. I want to be able to auto-rotate my game, while respecting the Android system settings. Currently, if you set your Unity Orientation ...
2
votes
2answers
157 views

How can I load a level using a sound file? [JAVA] [closed]

I'm trying to load a level from a music file (mp3, midi, etc, I'm not picky) for a rhythm-based game. I must be searching in all the wrong places because I can't seem to find any help on this topic. ...
0
votes
0answers
53 views

How can I share high scores on Facebook from a desktop libgdx game? [closed]

The Android version of my game can share scores on Facebook. How can I do this on the desktop version? Is Gdx.net.openURI (“http://graph.facebook.com/me/feed”); sufficient?
0
votes
0answers
49 views

Leaderboard Testing on Google Play Services

I have a shared Google Play Developer account so that he allowed me to publish a game app. Next, I want to know if in order to test the online highscore is to upload the APK and publish it first ...
0
votes
0answers
31 views

Drawing to canvas on a low end Android device

Recently I have noticed some of the low end Android devices have issues running my game. I've managed to get a screenshot of this bug: Once game is running, only the top left corner image will ...
0
votes
1answer
33 views

Streamline Facebook and Google Play Game Services integration in Android Game

This has been confusing me a lot . I am creating a simple 2D platformer which I wish to make social. So I thought of letting users do the following: Share their in game objective completion/ their ...
0
votes
1answer
87 views

How to move 2D camera in OpenGL

I am new in OpenGL, I am making a game in 2D and I want the camera to follow the character. I started with gluLookAt() but I read that I could just move the matrix with glTranslatef() and It should ...
1
vote
1answer
27 views

Andengine onAreaTouched TouchEvent not working - ACTION_OUTSIDE & ACTION_CANCEL

I have a simple problem. I have a button on the screen. I want isActionDown to push the button down, and isActionUp to push the button back up again and make my character jump. But the problem is if I ...
0
votes
0answers
9 views

GdxRuntimeException uiskin.atlas

I have problem when trying to use the uiskin.atlas from github/libgdx. I've downloaded(cloned) it from libgdx.git but it just doesnt work. I get the following error: ...
1
vote
0answers
27 views

HaxeFlixel, Font gets fuzzy android upscale

I made a simple game for android with a small native resolution (320x480). When text gets upscaled it loses its sharpness. Tried having anti aliasing on and off and both results were fuzzy. The size ...
1
vote
0answers
40 views

Generate ETC2 compressed texture from Android Bitmap in OpenGL ES 2

My app currently uses a lot of textures most of which probably could be compressed quite a lot by using ETC2 (my app runs on 4.4 so i have a lot of devices supporting GLES30), i cannot use ETC1 since ...
0
votes
2answers
134 views

How can I optimize the size of my .apk?

I noticed that the Flappy Bird .apk is only around 900 KB. I'd like to know how I can achieve a similar optimization in .apk file size for my own games, which use Unity. A small single-scene game ...
0
votes
0answers
39 views

OpenGL ES respecting alpha for background but not for objects

I have a problem with the alpha of my game, maybe it is solved in another post but as I am new in OpenGl and Game developemnt I dont understand most of the vocabulary and cant find a solution. The ...
1
vote
2answers
183 views

How do I choose an optimal texture size for a mobile Unity game?

I am developing a 2D game with Unity2D for Android, iOS, WebPlayer and maybe for desktop computers. I think the working resolution of my game is 1280*800. How do I choose the optimal size of ...
0
votes
2answers
83 views

Touch sides of tablet, moves that direction

I am making a game where the player flies a balloon through a cavelike structure. I am having trouble making him fly correctly when I try it out on my android tablet, seeing as it requires ...
1
vote
1answer
51 views

Libgdx - gesture dection

I have made a card game, and have two methods that sort the players hand. sortHandBySuit(); sortHandByValue(); I would like one method to be called when the user slides their finger from left to ...
-1
votes
1answer
72 views

How do I throw a ball on particular angle?

I want to create a game like "Angry Bird". I want to throw a ball from a destination to a target on a parabolic curve. I have the angle-selection part implemented but now I need to throw a ball from ...
0
votes
0answers
29 views

Tap responsiveness on mobile

My question is quite simple but I hope someone can help me here. My problem is the delay when the screen is tapped. In my game there are fast moving images that need to be tapped. I have the touch ...
0
votes
0answers
26 views

Additive blend over camera preview

I am using SurfaceTexture to draw camera preview through opengl after applying blending but new camera preview frames overwrite my previous frames although i am not clearing my color buffer. I want my ...
0
votes
1answer
47 views

Android OpenGL and non premultiplied textures

As I understand it; by default all bitmaps will will get the alpha channel premultiplied in Android if loaded using BitmapFactory. My setup: I have a 32bit bitmap(.bmp) where the alpha channel has a ...
0
votes
0answers
46 views

OpenGL ES 2.0 - Applying rotation to only specific quads within a batch

This problem seems fairly simple on the face of it: How, when drawing a batch of quads using a triangle strip, can I apply a rotation to only one or some of the quads. I've been looking at this ...
0
votes
2answers
113 views

Dealing with multiple scenes /levels

Overview I have a scene manager in my game and in each 'Scene' I have a render() and a update() method for drawing and updating my game's logic. Basically, when I want to switch to another scene, ...
0
votes
1answer
106 views

Android Canvas 2D Game: Supporting multiple screen sizes/resolutions [duplicate]

I'm planning to develop a 2D game for android devices by using simple Canvas Surfaces (I know that OpenGL might be more efficient - but Canvas should definitely be enough for my type of game). I'm ...
0
votes
2answers
76 views

Android appstore developer account, to not charge then change

The idea of charging for my early releases doesn't sit well with me, but at some stage, I will want to devote more time to games dev activities, when I will need it to be rewarding. On the Play Store ...
1
vote
1answer
75 views

Can we use credit card/prepaid voucher payment systems in Android and iOS?

We already have a credit card gateway with a local bank. We also have a prepaid card voucher in the market. In our game, a user will create an account within our portal. The user will "recharge" his ...
0
votes
0answers
137 views

Camera Rolling when Implementing Pitch and Yaw

I am implementing a camera in opengl for an android game and am having problems getting the pitch/yaw/roll of the camera correct. I have read many tutorials on quaternions and have implemented a basic ...
2
votes
1answer
176 views

Avoiding memory allocation in Android game development

For obvious reasons, allocating memory on the fly in Android game development is not recommended. For example: http://developer.android.com/training/articles/perf-tips.html: There are two basic ...
1
vote
0answers
124 views

Best view for 2D Android game in Xamarin [closed]

I am trying to create a 2D multiplayer turn-based cooperative game for Android in Xamarin with possible future implementations for Windows Phone and iOS. The main inspiration for my game is Pandemic. ...
0
votes
1answer
107 views

OBJ Model not being rendered properly in OpenGL ES 2 android app

I have an Android OpenGL ES 2 app that loads an .OBJ model using Assimp and renders the same. The vertices data is stored in a object declared like this : class CGameObject { public: struct _Mesh { ...