Questions tagged [android]

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

Android is an operating system for mobile devices developed and maintained by Google and the Open Handset Alliance. It is currently the largest mobile operating system in the world with 82% market share.

Development for Android is usually done in Java, and the tag is often used in conjunction with this tag. Programming can also be done in other languages (like ) using third-party SDKs.

For non-developer questions, see the Android Enthusiasts StackExchange.

2259 questions
24
votes
3 answers

Any open source game engines for Android?

Is there any open source android gaming engine ?
user3120
  • 73
  • 1
  • 2
  • 4
11
votes
3 answers

Keeping Android Screen bright during Game

I have a game that uses the accelerometer to move a guy back and forth on the screen. After a few seconds the screen goes dim. Is there any way to keep it alive and bright during the game activity?
Adam Coburn
10
votes
1 answer

Use of Collections in Android Game Development is not encouraged?

While working on a game project for Android i was digging for some information on performance optimization for game code. And i came to know that use of Java Collections like List,Arraylist etc are not encouraged in game codes,though collection is…
GamDroid
  • 892
  • 1
  • 10
  • 25
8
votes
1 answer

Collision Detection Slows Screen Drawing

I have recently been pursuing game development as a hobby, and decided that in order to learn the in's and out's of game development, that I should create a game and render everything myself (without the use of a game engine). This has proven…
Squagem
  • 345
  • 2
  • 9
7
votes
3 answers

How to sell Android game if selling through Market is not available in your country

Android Market doesn’t allow developers from my country to sell app. From what I understand the only chance to make some profit is to place ads in my application. Does ads make a decent profit or is there some other way to earn money are there any…
michael
  • 203
  • 2
  • 4
7
votes
1 answer

Is Flash development for Android below 2.2 feasible?

Apparently you need to install AIR in your mobile to use Flash apps, and AIR requires Android 2.2 while my Milestone is a feeble 2.1.update1. There is seriously no Flash lite or other alternative?
zaratustra
  • 1,506
  • 1
  • 8
  • 12
6
votes
1 answer

How do I blend a bitmap with a color?

I have a png which is mostly transparent, except for a shape I've drawn in white. I want to be able to blend this bitmap with a color when drawing it with Canvas. I'd like something like [Sa, (Dc * (1 - Sa)) + (Sc * C * Sa)], where C would be the…
Jeremiah Nunn
  • 163
  • 1
  • 1
  • 4
6
votes
2 answers

How to handle loading and keeping many bitmaps in an Android 2D game

In an Android 2D game which is using SurfaceView where its onDraw is driven by a loop from a Thread, I use many bitmap sprites (sprite sheets) and two background size bitmaps, which are all loaded into memory at the start. It all works fine,…
Lumis
  • 964
  • 1
  • 9
  • 21
6
votes
3 answers

I finished "Beginning Android Games", should I use its framework?

I've worked through Mario Zechner's "Beginning Android Games" and have made my own pong and asteroids game using the framework used in the book. I have also downloaded the source code for Replica Island and am able to run that. I like Replica…
orod
  • 73
  • 1
  • 5
5
votes
2 answers

How much memory can i safely use on android?

To make my game more fluid, I try to prevent memory allocations during the game I am writing. To that end, I allocate a whopping 16MB of buffers on startup and then use those as I go along. When I check in Eclipse my game now uses 24MB in total,…
xastor
  • 161
  • 5
4
votes
1 answer

Marketing games for the android - what are the best sites to contact for reviews/advertising?

WE are in final dev stages of our latest game and want to release it for the android market. What are the best sites to contact for reviews/advertising that specifically target the android users???
user5650
4
votes
2 answers

Most useful free third party Android Game libraries?

Since I have started finding a good third party libraries for game development on android platform, Im getting confused. So want to know from the people who are already using some of the game libraries themselves (no googled resources please). So…
GamDroid
  • 892
  • 1
  • 10
  • 25
3
votes
1 answer

Empty Synchronized method in game loop

I am studying the gameloop used in Replica Island to understand a bit about Android game development. The main loop has the below logic... GameThread.java (note the variable names in sample code dont match exact source code) while (!finished) { …
Shijima
  • 377
  • 3
  • 14
3
votes
1 answer

Accelerometer based games smoothness

Take Doodle Jump and other games that rely on the accelerometer. The movement of the character is very smooth and I have no idea how they implemented it. I've seen a number of SO/GameDev/forum questions, but the discussion ends abruptly when someone…
async
  • 745
  • 1
  • 7
  • 23
3
votes
1 answer

Amazon GameCircle Integration

I'm trying to integrate Amazon GameCircle and I have been able to successfully initialize GameCircle in my app, but the problem is when I click on the button that displays achievements, the GameCircle achievement list comes up but it says "You have…
user1095509
  • 131
  • 1
1
2 3 4 5 6