Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Android is an operating system for mobile devices developed and maintained by Google, Inc. This tag should contain specific programming questions about Android.

0
votes
0answers
7 views

Unity working with Async and Await in Firebase

I'm implementing a little game with Unity which use firebase services. I had a little problem with Firebase RealtimeDataBase. I have a method "UpdateScoreAsync", this method publish the new player's ...
0
votes
0answers
6 views

Issue challenge using Google Play Game on Unity

I am trying to figure out how to use Google Play Game multi-player in order to allow players to challenge friends. This is no a turn-based game like chess etc. Each one plays their own game and the ...
0
votes
0answers
7 views

Problem with Unity APK Build : Default Activity (Android)

There was a project developed in Unity 4.5. I successfully updated it to Unity 2018.2.3f1 version without any error. Runs perfectly in Editor. When I create an APK (internal). I just get this screen ...
0
votes
0answers
11 views

Inacurate custom path finding algorithm

I'm developping a 2D grid based game (see it like the game Go, but very different), where two players play by placing stones by alternating turns in cells and try to enclose (make prisoners) their ...
0
votes
0answers
16 views

What's libraries/tools might be used for developing NYTimes Crossword puzzle on Android? [closed]

I'm starting games development on Android and want to implement something similar to the NYTimes crossword puzzle. What's a good choice of libraries/tools on Android for word games development? Is ...
2
votes
1answer
35 views

Huge level size after build APK in Unity

I made maps used bunch of small objects which are mostly scenary, like part of road, buildings, obstacles. They are all lightmap static, batching static, occludee static. However after build APK, "...
0
votes
1answer
20 views

How to debug fatal signal 11 code 2 in UnityMain?

i have searched for the fatal signal caused by Render or GxDriver, FlashMuller in unity forum says it's google play the error: More discussion
0
votes
0answers
13 views

How to force LibGDX to screen resolution on Android?

No matter what type of viewport I use, the Android version of my code renders to exact resolution on the bottom left of the screen. How do I make it occupy the whole screen realestate? I've tried ...
2
votes
1answer
26 views

Unity + Admob - EEA checking

The Admob plugin for Unity - Android does not supply an EEA permission request form like the standard Android plugin does. So, I have created my own and it works great. My only problem is how do I ...
0
votes
1answer
51 views

I've completed my mobile game - now what?

After months of development, I've finally finished my mobile app, but I have no idea what to do next. I want to publish my app to the Google Play Store and the App Store, yet I don't know how. I've ...
1
vote
1answer
9 views

Normal doesn't appeared on shadow/dark area in Mobile Shader

Let's look at this picture: You can see the red rectangles, those are shaded by normalmap. Here, is the same model with different light angle, there's no normal shading in dark area. It only ...
0
votes
0answers
21 views

Class initialization disrupts my OpenGL context and I am unable to render anything after

I have OpenGL context setup successfully, and I can draw textures on screen, but once I initialize CGEFrameRenderer (from gpu-image-library - just instantiation and calling init) I am unable to render ...
2
votes
1answer
250 views

How do I use Android's adaptive icons in Unity?

As of API 26, Android uses something called adaptive icons. When targeting API 25 and lower, my app's icon looks fine: But when targeting API 26+, it shows up in a white circle like so: How can I ...
0
votes
1answer
50 views

How to remove horizontal black bar at the bottom of the game screen in libgdx?

Here is the screenshot .Here is my Play constructor in Play class.
2
votes
0answers
41 views

Is the C or the Android code a problem?

Starting to write a game, it'll have a C server, and at the very least an Android client. However I have run into an issue where I can't seem to get them to connect. I have thrown debug logging into ...
0
votes
0answers
21 views

Why is the player is coming out of the Box in libgdx?

I'm having a very strange problem. When I start the game, and while using the debug camera, all of the outlines are offset to the tiles (player, diamonds, ground) about 32 pixels to the left. As I ...
0
votes
1answer
51 views

Open world game state saving Android

As a hobby project I'm building a 2D game with a custom game engine in Android. Currently I can render a json map, and let the user interact with objects on the map. The game should be an open world ...
3
votes
2answers
59 views

How to make the camera follow the player in Libgdx?

In Play class I have the viewport of game height=320 and game width=240unitswith camera cam. I have set the camera(cam) viewport width to 10 and viewport height to 7.I have another camera hud whose ...
1
vote
0answers
36 views

How to add AdMob to Libgdx in 2018?

I found this article here: https://github.com/libgdx/libgdx/wiki/Admob-in-libgdx But it's from September 2017, and since then Android and Android Studio have been updated. How can I add AdMob to my ...
0
votes
0answers
185 views

Play Protect Doesn't recognize this app's developer

I am a game developer. This message is displayed when installing my game. what is this? and how to solve this problem?
1
vote
1answer
24 views

How to insert animation into table?

I'm having trouble inserting animation into my libGDX table cell. I have a class which holds 2 tables, one on the left and one on the right. First table is for labels/buttons/other stuff. Second table ...
0
votes
1answer
44 views

Update android game with new levels without replacing database

So I've published a game for android users containing 400 levels and 2k users have completed or are playing it since. Now I'm going to update the game with 600 levels, but I don't want current users ...
0
votes
1answer
17 views

How do I scale room transition surfaces to fit mobile display?

I followed a tutorial on how to add a left swipe room transition, which works very well. My problem is that it won't scale to my Android display. I know that it's being drawn to the GUI layer and I've ...
0
votes
1answer
21 views

How to get error line when debugging APK from Logcat

I made android game by Unity and built APK. When I got error from this game, I can see the error message: ...
0
votes
0answers
27 views

how can i make a text selector on touch move (like word cookies game)

i want to simulate "touch to select" in android studio (like the following picture) if Anyone has an idea please help me. i have a Constraint Layout that contains 25 Buttons So I place the button ...
1
vote
0answers
21 views

How can I check if someone bought a non-consumable product on iOS/Android? [duplicate]

In my application are 10 free levels, everyone can play them without doing in-app purchases. But if you want more levels, then you need to buy once a non-consumable product in the application. After ...
0
votes
0answers
16 views

Particles Artifacting on Unity games running OpenGL 3.0

Before I begin: I am using a Samsung Galaxy Note Fan Edition (Note7) on Android 8.0.0 and Experience UI v9.0, with the Exynos 8890 SoC, which included the Mali T-880 MP12. I have been encountering ...
0
votes
0answers
55 views

Use ARCore to detect marker and show information

I'm new to AR, and am trying to use Google's ARCore to build a simple AR prototype. Basically if a logo is detected, I like to place some real-time charts or text information on the screen. Similar to ...
0
votes
0answers
19 views

Algorithm for tile loading order

I'm working on an Android app (you could call it a "game") that loads meshes (= kind of tiles) depending on your line of sight. Basically I'm generating the ground in a void world in which you are a ...
0
votes
0answers
21 views

Is it possible to offset the Vsync timing of Android on hardware level?

To clarify, I would like to offset the actual timing of when the next screen refresh happens. I am creating a multiplayer game where the server sends packets to clients at 60Hz and I would like these ...
0
votes
0answers
21 views

Smooth out animation that has a decimal as a speed modifier

My program is a simple arcade style game that uses a d-pad to move the player around the screen. At first the speed modifier was an int which didn't make the animation jittery across the screen, ...
0
votes
1answer
27 views

How do I access device camera in GameMaker Studio 1.4?

I've looked everywhere in the documentation for GameMaker and I didn't find anything about how to access the camera.
0
votes
1answer
21 views

How to implement a Play As Guest feature on a mobile device using PhoneGap?

I have a Facebook Web Game that I converted to Android and iOS using PhoneGap. I can use Facebook for authentication on my mobile apps, but I would also like to allow the user to play as a guest. I've ...
1
vote
1answer
55 views

Is there a way to run an Android Unity game in Windows? [closed]

I was wondering, given a generic Unity game built for Android (with no desktop version), if I could somehow run it on windows (not in an android emulator) by using the windows version of mono. The ...
0
votes
1answer
18 views

Can't scale properly to android device in Game Maker Studio 1.4

My phone is using a resolution of 360 x 640 with a 9:16 aspect ratio. I set my room in game maker to ...
0
votes
0answers
48 views

Unity IAP crash on Android

I have just launched a game on the Playstore with Unity IAP 1.19.0 . Everything worked fine during the internal tests though last week I got a crash report from Crashlytics that I have difficulty ...
0
votes
1answer
15 views

How to know if mouse coordinates is delta or absolute on Window and Android in Unity?

I wrote sample application, that allows to "rotate" object by mouse. Rotation occured by rotating of camera object around central object and the code is following: ...
4
votes
1answer
147 views

Weird shader behavior on different devices

I'm trying to combine an ordinary shader with a Single Distance Field shader (for fonts and scalable icons) into one shader program. The idea is simple - if uv.x is less than 1.0, it is drawn as ...
1
vote
2answers
75 views

C# class works in Unity, but not in Android build

I am using Unity to program a simple Android game in C#. Right now, all the game does is to randomly load one of 196 flags upon startup (view: https://hastebin.com/suxonayoce.cs or code below). This ...
1
vote
0answers
29 views

Removing the contains ads label from the google play store

So previously in my Unity android game we had ads. Now I'm creating a demo version of the game from that project. I have succesfully removed all other permisions but the 'contains ads' still shows up ...
-1
votes
1answer
48 views

Create a method and call it from another class

Hi guys I'm having a problem of creating a custom method here's my code ...
0
votes
0answers
23 views

Kivy - Why are .kv files preferred to drawing in python?

I'm trying to get a game I'm working on in python running on Android, so I'm learning about Kivy, which is very simple to build. It's currently all in pygame, drawing and blitting to surfaces and ...
0
votes
1answer
34 views

Increment position every different value (C# UNITY)

How can I increment the position of the X and Y depending on its value Here's my code : ...
0
votes
1answer
47 views

Loop through multidimensional array in C#(Unity)

I have this data As you can see there's a 2nd board there. Now what i want is something like this PSEUDO CODE ...
1
vote
1answer
41 views

Native crashes on UE4 android game only in distribution build

As I build my game for development mode and install it directly from apk file to my device, it runs without errors and doesn't crash, there are in-game ads and it is able to get variables from game-...
1
vote
0answers
34 views

Properly handle negative indices in Unity C# [closed]

I've been stuck. I am doing currently a scoreboard . I have a problem on my code that's a little bit irritating ...
0
votes
2answers
88 views

How to hide Game Progress Files saved in Application.persistentDataPath in Unity Android

I am developing a game that saves its state in a text file. I am writing that file in Application.persistentDataPath but my issue is that the game progress file is ...
0
votes
0answers
24 views

Platform Specific Bundles

I have been reading up on the asset bundle system of unity. And from what I have understood, the Asset Bundle Manager is not available anymore and the Addressable Assets/Resource Manager is not yet ...
0
votes
0answers
49 views

How can I move the camera with touch, without ignoring rotation?

I am making a game like this with LibGDX for android. My first step was to create the camera, which can be moved with touch events. I have some problem with that. The camera is on position 100, 200,...
0
votes
0answers
14 views

Networking not working on android when upgrade project from 5.6 to 2017 or 2018

I currently have a unity project that plays a networked 360 video using unity 5.6 on android phones. (The phone plays the 360 video in cardboard view, while the video playback is controlled by a ...