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

learn more… | top users | synonyms

0
votes
2answers
27 views

Mysql database reading and writing [on hold]

In my Libgdx application I would like to be able to connect to a mysql server securely and read and write data from it without other users injecting, or changing information. I've found this: ...
0
votes
0answers
9 views

Which software to use to create an interface for a character-based aplication? [on hold]

I am a newbie to interface design and would like to expand my knowledge on this. My queries are pretty basic (can be silly too). I am planning to create a Character based Android application that has ...
0
votes
0answers
20 views

Error when building game for Android in Unity

I just tried to export my app as apk for Android. I get this error: Error building Player: Win32Exception: ApplicationName='C:\Program Files (x86)\Java\jre1.6.0_24\bin\javac.exe', ...
1
vote
1answer
29 views

LibGDX Touch Delay

So I'm trying to make a game in which you have to tap things fast, but the thing is - after you touch something (the area I chose), it takes like 2 more seconds to register another touch. Now, I think ...
1
vote
1answer
28 views

Drop in quality of rendering of texture [on hold]

Platform: Android OpenGL ES 2.0 I'm drawing a texture on to a square using OpenGL ES2.0. The texture scrolls infinitely in vertical direction. The rendering quality drops very rapidly after a few ...
0
votes
0answers
12 views

Implement Camera (former: CCCamera) v2 in cocos2d-x v3.3

we want to port camera code from cocos2d-x version 2 to version 3.3 with the goal to imitate the behaviour of a CCCamera in cocos2d-x version 2 exactly. You can assume that values for "eye" and "up" ...
-4
votes
0answers
33 views

Find someone who is familiar with games [on hold]

I am a game developer. All the games are intended for western mobile gamers, now I have met many problems. I don't know how to do the promotion, could you give me some advices? Or somebody who is ...
0
votes
1answer
41 views

Is it possible to create sqlite database only for android in LIBGDX game? [on hold]

I want to know if I can just implement sqlite database for android in libgdx game? Also if this is not possible then may I know the simple way to integrate libgdx game to just store scores in sqlite ...
0
votes
1answer
21 views

Making dialog “clips” in libGDX or in general?

I'm new to libGDX (I just released my first game), and I've started thinking about things I'd like to do next time. One thing I really want to do is, have those story type movies, where you tap the ...
1
vote
0answers
51 views

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

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
31 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
24 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
34 views

How can I make a flapper game that scales to multiple aspect ratios?

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
30 views

Bitmap collision detection android? [closed]

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 [closed]

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 ...
2
votes
2answers
78 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
40 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
22 views

building .apk file [closed]

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
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
10 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
25 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
49 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
14 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
112 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
65 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
64 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
158 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
55 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
32 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
40 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
31 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
13 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
28 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
42 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
139 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
40 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
209 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
84 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
52 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
30 views

Tap responsiveness on mobile [on hold]

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
27 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
51 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
48 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
115 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
119 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 ...