Questions tagged [android-studio]
Android Studio is the official integrated development environment for the Android operating system.
80 questions
0
votes
1
answer
142
views
Comparison of 2 different quaternion axes
I am trying to compare the Z-axis and the X-axis of two different quaternions in a way that would give me the Euler angles about the X and Y axes to line up the two different axes. In my program, the ...
0
votes
0
answers
193
views
How to shade the whole Google Map except for radii?
I am implementing line-of-sight into a strategy game I am developing, and I would like to shade the map darker outside of the LoS of the player and their structures (fog of war). The trick is, this is ...
1
vote
2
answers
959
views
SurfaceView shows black screen
My code does not work correctly. SurfaceView shows a black screen instead of Bitmaps. I make a game loop that doesn't depend on CPU, like Fix Your Timestep!, but I can't get it to work.
...
0
votes
0
answers
98
views
SurfaceView gameloop
Could you suggest an implementation of a game loop with interpolation for SurfaceView and thread?
i have this, but it doesnt work.
...
0
votes
0
answers
89
views
In my Online multiplayer quiz game how can i make players to join and compete at a time?
I am creating a multiplayer Online quiz game in Android Studio using Java. I am having players registered using Firebase in my app. Ok so the main thing is , I'm having different set of quiz ...
0
votes
1
answer
200
views
How can I add a button that opens a pop-up?
I have developed a game with a libGDX game engine. I want to create a button on the game screen and add a popup to this button. How can I do this?
My current code:
...
1
vote
0
answers
30
views
Recognize L-Shape in a 4x4 Matrix
I'm trying to make a board game, there the player has to press four buttons to make the L. It can be mirrored or rotated, it just has to be an L.
But if the player press four buttons and make another ...
0
votes
0
answers
949
views
Listview With Custom Adapter, Checkbox Items And Select All option
I have an application that populate data from sqlite and put in a listview
1 of the holder in listview layout is a checkbox.
I also have 1 checkbox in the forupload activity which named select all, ...
0
votes
1
answer
2k
views
Error while trying to Build APK, fails when profile option is enabled
When I build normally my android app it execute without no problems, but when I go to File -> Buil and Run and I eneble Development Build and Autoconnect to profiler I got this error
...
0
votes
0
answers
19
views
Connecting android game with website to show user scores on logon
How do I make my android game users logon to my website to see their scores? I can create fb login in app and website, but I need to show the score of the particular user in the website.
An example: A ...
0
votes
1
answer
274
views
Button on click event crashes
I'm trying to create an android game using libgdx with a Titlescreen, you just press start and your game startes. However I'm having difficulty trying to get these buttons to work. The titlescreen ...
1
vote
0
answers
111
views
What happens to deleted or added assets in your app when updating to a new version in the Google Play Store and iOS App Store?
So let's say I used Unity and built an app and uploaded it to the android and iOS app store, it is 100 MB and lots of people downloaded it. So now I want to update it to the newer version, however ...
0
votes
0
answers
111
views
Graphics messed up when I try to reskin the game in Android Studio
I need a little help. I'm new in Android Studio, I have a game where I want to reskin the design. First of all when I install it on my phone with the original files the game run perfectly without ...
1
vote
1
answer
230
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
1
answer
497
views
How to use Glide
I want to implement glide in my game but I don't know how.
I know that the Glide format is:
Glide.with(context).load(R.drawable.image).into(imageView);
But I don'...