Android Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsMobile ProgrammingAndroid Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 5th, 2012, 10:45 AM
nAndroid93 nAndroid93 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2012
Posts: 1 nAndroid93 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 51 sec
Reputation Power: 0
Talking Some few doubts - Android Game

Hey everyone!

I got several doubts with me and it would be nice that if someone knew how to help in one of them or them all (:P) to do so
I'm making an Android Game as my last project before i enter university. Everything I've made was learnt in books and in tutorials.
So, the problems are:

1 - Imagine 4 activities. A, B, C and D. By the activity B, C or D, clicking on the "Exit Game" button, to close all the activities. I used already super.finish() method, super.onDestroy, system.exit(0). None of them worked. Only deleted that activity but went to the back one. EX: Going through activity C to B.
I've heard intent.setFlags(intent.FLAG_ACTIVITY_CLEAR_TOP) method but I don't know where to put it.

2 - Now imagine a car in a track. That track is a .jpg with something like 1900x2000 resolution. I'd like to create some kind of walls around that track that won't let my car escape. When the car passes the image, it just disapears... I heard about the "DisplayMetric class" but I don't know how to use it either. Do you know a better one? I can t even find examples of this class!

3 - I think this is the most simple one. I'd like to call audio. Any .mp3 that i call, that plays when i press Back or Next button.

Ok, that's it! If someone knows one of these problems please, say something, it's urgent!

Thanks

Reply With Quote
Reply

Viewing: Dev Shed ForumsMobile ProgrammingAndroid Development > Some few doubts - Android Game

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap