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

Is there any case to mix Android UI with LibGDX?

my question is about creating "non-playable" screens in games with the help of native android tools. For example, I have an Android LibGDX game (singleplatform), what should I use to provide start ...
-2
votes
0answers
21 views

How can i play chapter 3 in Modern Combat 5 in iOS? [on hold]

I am having trouble with playing MC5 as in android people can play chapter 3 after finishing chapter 2 but in iOS how can i play? The game is asking me to cross level 10
0
votes
0answers
7 views

Libgdx - How to change GestureListener pan finger sensibility?

I implemented GestureListener in my Overlap2dStage to pan the camera when the player drags its finger over the screen. But I also have some actors that extend InputAdapter to detect when the user ...
1
vote
0answers
31 views

How can I get the pressure of a touch in Unity?

Does anyone know how to get the getPressure function from the Android API into Unity? Or is there another way I can access the pressure of a touch?
0
votes
0answers
11 views

problem with build android version from unity

I want to export my games in unity to android but i can't. each time I try I get this error: CommandInvokationFailure: Failed to re-package resources. See the Console for details. F:\Android SDK ...
1
vote
1answer
30 views

(Java) Trying to animate an arraylist of coins with a (working) animation class

I have a coin class which takes in an integer numOfCoinsand an enum LayoutType, which can be linear or curved. A linear layout displays the coins in a straight line one after the other - we'll work ...
0
votes
1answer
39 views

In Unity for Android, how do I create touchable buttons?

I'm making a test game for Android in Unity 5, and I want to add left-right control buttons like the circles below, to move an object left or right. How can I do this? Sorry if this question is ...
0
votes
0answers
13 views

Drag and drop in android

I am using drag and drop, I want to retain Status of Action Down through Action Move in android studio. I am coding for game like candy crush , I want to swap two objects. I am able to swap using ...
0
votes
0answers
15 views

Is their something built-in libgdx android for showcase guide? [on hold]

I'm looking to build showcase guide for my android game. (Something like this) Is there something built-in in libgdx to do so?
0
votes
0answers
9 views

In android libgdx is it possible to add scrollpane to ContentTable? [on hold]

How can I add scrollpane to a ContentTable (in Dialog) in android using libgdx?
1
vote
1answer
25 views

LibGDX font issues

I've started creating a small project for the store with LibGDX. So far I only tested on PC, and everything went well. I'm using the gdx-smart-font library for font rendering. The fonts are looking ...
0
votes
0answers
35 views

How to make touch events work in a match three type game

In "match three" types of games like Crazy Kitchen, when the user touches an image, he can drag his finger over multiple images and create a change in each image he touches in a single gesture. You ...
0
votes
1answer
39 views

Android Multiplayer Game Server [closed]

I want to do a multiplayer checkers game for android platform. Now, the problem is that I dont know about the server management, ie , which server to be used, how to connect with it. etc... Which is ...
0
votes
0answers
25 views

unity plugin for android (failed to receive dispatch signal error in logcat) [on hold]

i m trying to make a unity plugin for android. The plugin will show the native android dialog box when clicked on a button in unity. But when i click the button an error arises in the catlog and ...
0
votes
0answers
7 views

Running different methods within an object depending on the 'type' of object [migrated]

I'm trying to manage the power-ups in my game. Lets say I have 7 'platforms' in my game and I want to randomly spawn a power-up with a max of 1 per platform (this is a vertically scrolling 'infinite' ...
0
votes
1answer
34 views

Apk file installes two instances of a Unity game

I created an apk in Unity (4.6) and when I install that apk on the device it creates 2 instances of the game (2 icons are visible in the screen). Both icons start the same game, and when I uninstall ...
0
votes
0answers
23 views

How to use Android Sensor, only in x axis

I have seen some tutorials but they are very complicated and they are about the three axes (x,y,z). So I want a code that moves an object or more (for example) to the right or the left when the ...
0
votes
0answers
7 views

How to stop an ImageView being dragged before the user stops dragging

I am making a maze game using Android Studio. I have a GridLayout on the bottom layer of the layout, each cell contains a custom LinearLayout. Some of these LinearLayouts have a special boolean ...
0
votes
0answers
14 views

Problem of textureRegions display after display two screens

I have a texture display problem, knowing that they display correctly in the desktop project and before packer textures. but once I packed textures, they still appear in the first screens((enuScreen ...
1
vote
1answer
55 views

LibGDX Android Application only running once

I'm having trouble trying to figure out why my LibGDX game only runs successfully once on Android. Assuming the game has not been installed on the device, when I run the application from eclipse the ...
0
votes
1answer
114 views

One Android app, dynamic load several Unity games

I'm a newbie in this unity world, exciting about everything in it. Days ago I came up with this idea: One day someone finds this android app, naming "Blahblah Game Engine" or anything else. This ...
0
votes
0answers
132 views

Unity 5 bug with android splash screen

So I am using unity professional and I changed the splash screen. When my game starts there is a short stutter for 2-3 frames. I only captured 1 because I can't couldn't capture it. The image on the ...
1
vote
1answer
65 views

Help with Resolving Pixel Perfect Collision

Hi I'm having trouble resolving "Collision detection between axis-aligned bounding box and bitmap (pixel perfect) terrain on a Worms type game". (Read previous question to find more information about ...
-1
votes
1answer
105 views

exit application on double tap with message (Please click BACK again to exit ) …unity [on hold]

Can anyone please help me here? This is not quite related to programming. I want to exit my Android application on back button tap with conformation for exit @Override public void onBackPressed() { ...
1
vote
1answer
77 views

Relation between “Run in background” setting and OnApplicationPause method

I'm working on a game for mobile platforms (Android at the moment, in the future it should be available for iOS and WinPhone) and I want to trigger a certain method when the game is un-paused. For ...
-2
votes
0answers
13 views

How do I make a multiplayer android game with online servers? [duplicate]

I made a android game and I want to convert it to multiplayer game with online servers.So i got a domain name and hosting.But I have no experience on websites,domains etc.Do i need some html codes for ...
0
votes
2answers
66 views

Libgdx: different speed on different devices

I am running a simple Libgdx app that I have wrote, on my Android phone and Android tablet and I am getting the unexpected result of having different velocities when a body is moved. To move the body ...
0
votes
0answers
23 views

On mobile, where should I save game expansions' assets when purchased in-app?

Say you have a card game and you want to add more cards with an add-on available through in-app-purchase. Where would you save the new cards (e.g. image assets, code)? Of course you could just ...
0
votes
0answers
27 views

How can i get object from TMXTiledMap and store it in Dictionary variable ?

I've been following a tutorial to make tiled map in cocos2d x 3.0 , but i couldnt complete the rest of the tutorial because its for coco2d x 2.0 version, How can i get a value of property that is ...
0
votes
0answers
30 views

How to clip or mask entity in adnroid/andengine?

I want to implement masking with sprite in Andengine. I want same functionality as in ios class called SKCropNode which works like an masking node! Is there any workaround like this in ...
0
votes
0answers
30 views

Partitioning a Tiled map

In my 2d platformer with libGdx, my maps are quite large (eg. 200x200). The player character is only 2 tiles high. I use Box2d for collision, so in my tiled map I have layers for terrain, ...
2
votes
1answer
39 views

Collision detection between axis-aligned bounding box and bitmap (pixel perfect) terrain

Working on a Worms-type game, I have my objects in bounding boxes and they sit on the pixel terrain. Currently I am able to successfully do the collision detection for objects when they enter the ...
1
vote
0answers
24 views

Google Analytics collect and visualize custom data [closed]

I was wondering if Google Analytics (GA) can be used to collect custom metadata about app usage and performance. An example would be to measure and collect the average frame rate (fps) of the app on ...
0
votes
1answer
47 views

Touch pad controls not working in apk, working from Unity Remote

I've come across something unusual with my HTC One M8, I'm not sure if it's phone specific, a bug in unity, or just poor setup on my part. I've been using Unity Remote 4 to test in realtime, and it's ...
0
votes
0answers
27 views

Cocos2dx - Touch not recognized on Android

I'm having trouble with a touch listener not picking up touch events on android, but doing fine in windows (mouse input). I've got a Node listening for touches (not a Layer), but from what I've been ...
0
votes
0answers
50 views

How can i draw Arc in center of the screen on canvas in android

RectF rectf = new RectF(10, 100, 700, 800); c.drawArc(rectf, 0, 90, true, paint); the above code is draw the arc using drawArc() method of canvas but i try to draw arc in a center of the screen.
0
votes
1answer
30 views

How can I render a simple lattice in LibGDX?

I have searched all over, but I can't find what I think will be a simple answer. I am using Opengl ES 2.0, and LibGDX. I simply want to use GL_LINES primitives to create a lattice structure. I have ...
0
votes
0answers
35 views

Is there a way to capture back button twice in same activity libgdx game

Can anybody tell me if there is a possibility to capture back button twice in same activity in libgdx. What i want to achieve is that if the user press back button once the game pause. if in the ...
0
votes
1answer
46 views

Animation fails due to a NullPointerException which I'm certain shouldn't be thrown (LibGDX / Java)

What the title says basically. I've been stuck on this error for a few hours I got it to work earlier but I honestly can't see why its failing now (ctrl + z'd back to the working stage). Here's my ...
4
votes
1answer
80 views

Is there a way to check android version running the game using Unity3D?

I want to separate code to run only on android 4.4 or higher. If it's lower, I do not want to run this code. What should I do?
0
votes
1answer
36 views

Rotate heading relative to agent's local space

I'm having a little trouble translating a point in my game's world space to an object's local space. I have a cannon in my game with a normalized heading vector that's always supposed to point in the ...
3
votes
1answer
93 views

Texture loading: Everything at once OR un-/loading the needed assets? [duplicate]

Good evening. We've been developing quite a huge game for android on the basis of AndEngine. So we have a lot of assets to load, especially textures. At the moment everything (sound, textures etc) ...
0
votes
1answer
69 views

Can Java be used for developing games for Android in Unity3D [duplicate]

I only know Java Programming Language and no other. Can I develop games for Android in Unity3D using Java?
0
votes
0answers
58 views

drift/skid in topdown racer with libgdx/java [duplicate]

I'm trying to do a simple top-down racing game and is struggeling to get the steering right. At the moment I'm using a very simple steering and want to add some drifting to the car. I've read some ...
0
votes
0answers
11 views

How to create service for date change in android [duplicate]

My MainActivity Calendar calendar = Calendar.getInstance(); calendar.set(Calendar.MONTH, 1); calendar.set(Calendar.YEAR, 2015); calendar.set(Calendar.DAY_OF_MONTH, 13); ...
0
votes
0answers
15 views

Use Android 4x5 ColorMatrix in OpenGL ES 2 Shader

I am trying to use Android Color Matrix in OpenGL ES 2. I have been able to use a 4x4 Matrix using the following code in the Shader (this adds also an intensity parameter): varying vec2 ...
0
votes
1answer
105 views

Libgdx Hud with two stages

I have an app that's currently working with a single stage but i need to add a side display/section as a HUD, with scores/lives etc on it, so that the HUD is on the left, and the main hand screen on ...
0
votes
0answers
30 views

Can i use Soccer/football team names in my web, iphone and android apps? [duplicate]

If i don't use logos, player names, sponsors or any images can i use team names in a for profit app? The reason i mention these is that i have seen countless references to images and badges but not ...
0
votes
0answers
74 views

Unity C# Microphone input in Android different than on PC?

I'm working on a mobile app inside Unity, in which I need to input and repeat microphone input almost immediately.. I've worked it out and it works great when I play it from within the Unity Editor. ...
0
votes
0answers
26 views

Continous horizontal animation of objects

We have to continously animate objects from right to left in a panel. The player has to pop the first object. If the first object could not be destroyed by the player and it reaches the left ...