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

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
2answers
73 views

Is it secure to use UDP socket for a game server?

I'm working on a multiplayer android game with Unity. For server side I use python. There is no login system or username. Basically, there is a matchmaking system and rooms. I send json object which ...
0
votes
0answers
25 views

Solve SlowRendering issue with OpenGL

We have been seeing reports of slow rendering of frames in google play vitals. When trying to debug better, it was recommended to use adb shell dumpsys gfxinfo to get more information. Our game uses ...
-1
votes
0answers
36 views

Game Artist / Designer looking for iOS/Unity developer for indie game development [closed]

I'm David. I'm a game artist and game designer who's worked with Disney, Adult Swim, and on some indie projects. I'm looking to collaborate with a developer to work on some mobile casual games, ...
0
votes
1answer
41 views

How to create an even gamescore?

Currently I'm doing an android game. My problem is the score. The game speeds up in every round and currently I'm counting the score like this: ...
0
votes
1answer
31 views

How to make a horizontal scrolling menu in Game Maker Studio 1.4?

I know how to place the items you see in the picture, my problem is how do I move them? How do I know if the player is swiping right or left? I made the items with a ...
0
votes
1answer
256 views

How to add high score?

I wanted to add a high score to my game but I don't know how I already tried to find some videos for it but I just can't find the right one. I already have a scoreUI on my game I just wanted to add a ...
0
votes
1answer
34 views

How do I set something when 2 or more touches are pressed?

I currently have a working controller with left and right but I want to set the velocity of the character to 0/Stop when 2 or more touches are detected. This is my current working code but I want to ...
1
vote
0answers
14 views

Android Game Save and Load doesn't work

I tried a few different codes but none of them work on my android device...I retrieve the data with this command " GameManager.Instance.gemsToSave" The code: ...
0
votes
0answers
10 views

android native app is crashing

I am trying to setup android native framework so that I can receive events and touch inputs. I have created a cpp file which has android_main and configured CMake... ...
0
votes
0answers
15 views

Removing ads for user in admob integrated into Unity3d game [duplicate]

There are plenty of articles on integrating admob into Unity3d and it's pretty straightforward. I don't have a problem getting that done. My issue is since the logic for showing my Interstitial ad is ...
0
votes
0answers
11 views

ue4 android crash

The strange things happen, on android 7.0 (samsung s8+) and 7.1 (samsung Note 8) works everything just fine. But i got a big amount of crashes on google play. Most of them was on android which is less ...
0
votes
0answers
83 views

Asset quality reduction on mobile debug

I've an image with a nice resolution (588 x 316), which is imported into the project using Drag & Drop into the assets box. The inspector says it's compressed using ETC2 8b. Problem Using this ...
0
votes
0answers
46 views

How can I use the NDK to make games?

I want to use NDK to use my existing C++ code for a game. I know there are two ways to use NDK: I can use Java to create GLSurface and opengl context; I can use NativeActivity class to entirely write ...
0
votes
0answers
44 views

Aspect Ratios in Unity's Android builds

I am building a demo app in Unity for Android. The problem I'm encountering is this big black bar of black space left on the screen, that too on one side. Here are some screenshots. I can't figure ...
0
votes
1answer
33 views

Implementing online connectivity and multiplayer/PVP for a newbie

Background I'm a noob programmer looking to create a simple turn based mobile game as a side project. I've pretty much got the game logic down and am left with implementing the online multiplayer/PVP ...
0
votes
1answer
23 views

How can I speed up the shapes drawing on high-density devices?

I have a game that should draw many shapes on the canvas and in every frame these shapes position will change, the game is running smooth but after adding more shapes some jerk arise and it drops some ...
0
votes
1answer
49 views

What is the easiest way to make an online high scores table?

I made an 2d Android game with using Libgdx library. This game like Flappy Bird. And every user have a highscore. I want to store this highscores respectively to an online database and return the rank ...
0
votes
1answer
18 views

libGDX game crashes on Android without any mention of crash in logs

No mention of any issue in process logs, an application just turns off during loading assets (~3% of all assets loaded). It works fine on desktop. Only thing that seems related in global logs is this:...
0
votes
0answers
30 views

Bright lights produce strange artifacts on Android

I'm testing lighting on Android and I'm getting strange artifacts when the light is increased. I'm not sure if this is normal with Unity or a setting somewhere is unchecked. The only light in my ...
0
votes
0answers
8 views

FeedShare from Unity-Android and back

I want to perform a FeedShare from my Android app in Unity. I have my own app and have the FB Unity SDK. When I issue the command as given in the example: ...
0
votes
1answer
24 views

simple data source on hard disk for android game

i have a big library on my game. its word library. there is no need of it to be on ram.any moment some part of it can be searched so there is no need to make a list or dictionary for it. is there any ...
1
vote
0answers
27 views

Does my companion app infringe copyrights? [closed]

I'm making an android app that is supposed to be just a companion app for a board game. Twilight Imperium 4 is the game, and it has a boatload of techs/actions cards/strategy cards with tons of text ...
-1
votes
1answer
30 views

Java 2d array to generate grid - java.lang.ArrayIndexOutOfBoundsException: length=4; index=-1

I am creating a Hashi Puzzle game (Islands and Bridges) I am generating a 2d grid with Islands that can be connected using bridges, I am also running a DFS algorithm to check if the map is solvable I ...
1
vote
2answers
120 views

How can I store in-game money so that nobody can manipulate the amount?

People get coins for completed tasks(for example completing a level) in my game. In addition, they can purchase coins(they need to pay for that with real money) in the app store. With these coins, ...
0
votes
0answers
12 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 ...
1
vote
1answer
62 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 ...
2
votes
1answer
74 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
52 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: ...
0
votes
0answers
19 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
47 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
60 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
10 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
23 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 ...
4
votes
1answer
2k 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
87 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
43 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
1answer
56 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
84 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
81 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
572 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
35 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
51 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
18 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
63 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
31 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
30 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
166 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
28 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 ...