Android :: Can't Get SurfaceView Working - Trying To Make A Simple 2D-shooter
Nov 1, 2009
It is way to slow and in the first example it doesnt even move. How do I make a game? With SurfaceView or OpenGL? And should I draw in a separate thread?
CODE:....................
View 2 Replies
May 27, 2010
My husband had an Iphone long before I got my great HTC Desire. I've become addicted to a game from absolutist.com called Bubble Shooter. The game is available for virtually every system EXCEPT for android. It is however, available for e.g. java and linux. Does anybody know how to make this game work on my HTC Desire?
View 2 Replies
View Related
May 1, 2010
I'm using SurfaceView to draw some stuff using canvas. The problem is that I want to show everything horizontally by default and keep it that way regardless the position of the device. I'm not using any layout XML file to show the SurfaceView; instead I just have a class that extends SurfaceView and I do setContentView(new Panel(this)).
View 1 Replies
View Related
Aug 20, 2010
One using a Surfaceview, and the other using a custom view. According to the android SDK development guide, using a surface view is better because you can spawn a separate thread to handle graphics. Th SDK development guide claims that using a custom view with invalidate calls is only good for slower animations, less intense graphics.However, in my simple app, I can clearly see that using a custom view with calls to invalidate seems to render faster.What do you guys know/think about this?My touchEvent code is exactly the same, and my drawing code is exactly the same. The only difference is that one is all in the UI thread, and the other is using a tread to handle the drawing.
View 1 Replies
View Related
May 21, 2009
I want to make simple game on Android. But i don't know the approach to start. So any 1 can help me from where i should start and which particular API (package).
I don't know nothing. So start with first step.
View 5 Replies
View Related
Jul 30, 2010
I have a Sprint Hero and I'm trying to add a shortcut to call the person I call the most. I found AnyCut, but it's not working. I open the app, hit "Direct Call" and then it simply says "No Matches Found."
How do I select a contact? Am I doing something wrong?
Are there any other free apps that I can use to create a shortcut (that I can rename and create a custom icon)?
View 1 Replies
View Related
Aug 27, 2010
I'm betting im missing one small thing. I've looked on the developer site and i've read some tutorials and i'm just not seeing what i did wrong. I'm trying to use a ListPreference to decide which sound to play on a button click. I have this at the top:
public String greensound;
Here's my OnClick code:
case R.id.green:
SharedPreferences prefs=PreferenceManager.getDefaultSharedPreferences(this);
greensound = prefs.getString("greensound", "gsone");
if (greensound == "gsone") {
mSoundManager.playSound(1);
} else if (greensound == "gstwo") {...................
View 3 Replies
View Related
Apr 7, 2013
I'm playing a bit with eclipse, I want make a simple app which apply a script eg show free memory (free) after pressing a button.
View 1 Replies
View Related
Jul 19, 2012
when trying to test my build in the SDK AVD emulator. Before the version 20 update of the eclipse plugin it was working but now it isn't Plus I am having a few issues with the device itself. I am just trying to make a simple application that displays the numbers you push, then clear out after you hit clear. In the old SDK it worked but on my TF101 the numbers wouldn't display.
Package Code:
Code:
package commbox.hptt;
import android.app.Activity;
import android.graphics.Color;
[code]......
View 3 Replies
View Related
Feb 19, 2010
I have a basic calculator app I'm making. Two activities, the main one and ResultView.
I've made it where I click a button on activity A to go to activity B. The log says activity B is started and "displayed" successfully, the title for the new activity loads, but the body does NOT show. I added a simple Text view with static text.. see the result.xml at the bottom. I also tried inserting information programmatically, but that didn't do.
When I debug the program, I tried putting breakpoints as the activity is called with startActivity() as well as on the first line of the onCreate method within the ResultView class (my activity "B") but the program never hits the second breakpoint. In fact, it looks as if Looper.class is called in the end.
This bit of code is placed in the button handler on acitivity A:
CODE:........
The activity is in the manifest, within the "application" tag:
CODE:....................
If more info is needed, let me know...in short, "HELLO WORLD" does not display at all.
View 2 Replies
View Related
Apr 17, 2014
I am not able to insert entries in the database. For the record, this was working previously, but I went a few weeks without working with it and now it just doesn't work anymore.
Here is the code where I insert the new row:
Code:
//this is the code where I try to insert the data
dbAdapter.open();
dbAdapter.EnterCreateHistory(DatabaseAdapter.WALKER_HISTORY_TABLE, "fdfsf", "fdfsf1", "fdfsf", "fdfsf", "fdfsf");
[Code]....
The thing is, I am not getting any exceptions or anything. It's just that my number of inserted rows always comes out as 0.
View 5 Replies
View Related
Jul 9, 2010
just wondering if theres a simple guide to follow to get app2sd working? rooted but just wanna get that working lol any help is appreicated :>)
View 2 Replies
View Related
May 9, 2009
For anyone that is interested in following the development of my Android Game: AirAttack, i have started a blog where you can follow the development:
http://airattackandroid.wordpress.com
So if you are interested, check it out! You can also follow me on twitter:
http://www.twitter.com/tjerkw
View 3 Replies
View Related
Nov 7, 2010
I haven't posted here in a while and I thought I'd share some stuff on the new update.
If you aren't familiar with Agent, here are some screenshots:
Episode 1
Episode 2
New Bonus Level in Episode 2
Episode 3
Halloween Episode
QR Code for the Full Game
QR Code for the Demo Game
YouTube Video: http://www.youtube.com/watch?v=I42G2Tc2qOI
View 12 Replies
View Related
Sep 15, 2010
This game is pretty fun. It's also on sale for $0.99 through the 19th.
MiniSquadron!
MiniSquadron! - Android app on AppBrain
(There's also a lite version if you want to check it out)
Here's a video review (it's for the iPhone version but the same)
YouTube - Mini Squadron iPhone App Review - AppVee.com
View 49 Replies
View Related
Dec 20, 2009
I just bought an HTC hero and i wanted to ask if you guys can recommend any space shooters game (or similar) like similar to the R-type games of the PS1 and PS2?
...any side scrolling / platformer game similar to the Metal Slug series of the PS1/PS2?
...any platformer/adventure game similar to the Super Mario Bros. games?
...any good table football game i can download?
....any table tennis or lawn tennis games?
View 3 Replies
View Related
Jul 6, 2010
we just published our first game, XAP! PRO Zombie, and its version, XAP! noob Zombie. It's kind of a weird setting, but the opponents are interesting and fun. Shoot zombies and protect babies. Tilt to move, tap to shoot. That easy...
To check it out, just search the market for XAP! You can try the PRO version without worries, there's a 24 hour refund policy without any fees. If you like the game, please leave some nice comments in the market
View 5 Replies
View Related
Jul 31, 2010
My friend has an iphone 4 which nobody likes and was complaining to me after looking at my phone that there are no good games, could you tell me some good games, possibly like some shooter games or 3d games? maybe some multiplayer games?
View 2 Replies
View Related
Oct 20, 2010
I am hoping to get some honest feedback on a game I am working on called Galaxia. Currently its posted on Market as a free beta release. Screenshot The game was inspired by classic 80's space shooters. I know its rough around the edges but with everyones honest feedback I think it could be great.
View 5 Replies
View Related
Jul 21, 2010
Infectious Entertainment just released it's first Android game, Dead End.
Zombies have killed your family, eaten your neighbors and destroyed your city. Blinded by rage and seeking revenge, you go to the one place you know you'll be able to find the undead......the graveyard. Armed with only a pistol and several grenades, you quickly get yourself lost. Now you must fight your way out of the graveyard or risk meeting the same fate as everyone else.
Dead End is a top-down defense shooter. Defend your position against the oncoming hordes of undead.
The full game is $2.99 and features:
- 20 Different Levels
- 20+ Upgradable Weapons and Grenades
- 9 Zombie Types
- 90 Achievements and 20 Rewards
- Endless Mode
- No Ads
There's also a lite version with 3 levels to try out.
View 5 Replies
View Related
Feb 4, 2010
Anyone play this game? Is it any good?
ProjectINF - ChickenBrick Studios
View 1 Replies
View Related
May 18, 2010
Mindlessly exciting shooter game!
Download Link: market://details?id=com.com2us.HG
Game Play
View 20 Replies
View Related
Jun 22, 2012
I have now TN Shooter Rom on my evo 4g and i've noticed that when i record video on portrait the video playback is stretched out, seems to be fine when i record video holding the phone in landscape.
I've also tried flashing another Rom but the same thing happens.
View 2 Replies
View Related
Sep 27, 2009
I need a LinearLayout to contain 3 TableLayouts, and I can't get it to work. This is where the problem is I'm sure:
mTableLayout.addView(mLinearLayout, LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT); mLinearLayout.addView(nTableLayout, LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); mLinearLayout.addView(oTableLayout, LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); mLinearLayout.addView(pTableLayout, LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
How Do I make this work? I can get it to work just find when I only add a single child view, but when I have multiple children view objects my app crashes.
View 6 Replies
View Related
Aug 21, 2009
I noticed while playing xgalaga that the shooter kept stopping while moving it left and right with the trackball. It turns out that you have to press the trackball very slightly while rolling it for the movement to properly register. Is that normal?
View 5 Replies
View Related
May 11, 2014
I want to make am basic app of website . To be accessible offline.I have files:
database/database.txt
css/style.css
img/logo.jpg
index.php
how to put that files info apk file and make it all working (php) ?
View 1 Replies
View Related
Aug 7, 2011
The problem is that, the MMS is disabled during being in roaming and having data switched off. Is there a way to make MMS messages working while the Internet data is switched off ?
View 5 Replies
View Related
Feb 28, 2014
"Unfortunately, com.android.phone has stopped" this is the msg i am getting whenever i tried to make or receive call. Galaxy S3 is my phone. Android 4.3 official firmware. Rooted. GT-I9300
View 3 Replies
View Related
Mar 25, 2009
Im creating a simple game using a SurfaceView for drawing the Graphics. It works fine, but now I tried to add a title screen, which is (for now) only a LinearLayout and a Start-button, specified in XML. However, when I click this button and try to switch to my SurfaceView (By doing setContentView(R.layout.game), the screen turns black. But if I do setContentView(R.layout.game) immediatly in my Activity.onCreate it works. But not if I start with my Title-screen and then try to switch
View 3 Replies
View Related
Apr 30, 2009
I am finally testing my application on a G1 and even though it works fine on the emulator, it crashes on the G1
It crashes when it does:
CODE:.........
And the view is defined like this:
CODE:..............
View 3 Replies
View Related