I found finally in the OnCreate I had not removed the "Bitmap" declaration on the variables moved into the class... ignoring teh warnings about "local variables not used" finally gave it away... the FORCE QUIT mystery solved by this novice "Java" developer! :P By the way - this series and Travis - deserves a reward - awesome work and build up for a great learning experience!!!!
couple of problems I had was.... when i copy n pasted my .png file it made me force close...so instead of copying n pasting thru folder .. I imported it in my drawable from eclipse.....it solved my first problem....then other was while copying canvas if(x!=0 ...) statement.... I forgot to change following x n y to sX,sY,fX n fY...so double check your code again n again .....
@sweet2smart I checked it several times. Finally i copied from the website to see if its something general. But it wasnt. Now i am at Tut #113 :) SQLite was what i am waiting for the most (time :D ) .
I found finally in the OnCreate I had not removed the "Bitmap" declaration on the variables moved into the class... ignoring teh warnings about "local variables not used" finally gave it away... the FORCE QUIT mystery solved by this novice "Java" developer! :P By the way - this series and Travis - deserves a reward - awesome work and build up for a great learning experience!!!!
onthatweagree 3 weeks ago
Ugh, I hate that while(true) you have to do the join. Literally useless. Here is what it's going to do.
first iteration: Oh hey, I'm true, I'll execute my body. Join, catch if needed break; aka, cease running the loop.
second iteration: doesn't happen, loop already broke >.<
AlmightyWaffle32 4 weeks ago in playlist TheNewBoston - Android Application Development 3
Nice!
stri8ted 1 month ago
ok I kept getting force closes on this tutorial. I followed the tutorial to a t but it still wasn't working.
My fix was: (please tell if this is right or not?!)
I moved where I was setting up the bitmaps
from my "onCreate" method in the "GFXSurface" Class
to the "run" method in the "MyBringBackSurface" Class
Can anyone tell me why this works?
Thanks for tutorials Travis!
gearoidmocathain 1 month ago in playlist Learning Android Development
@gearoidmocathain
It still didn't work for me :|
Where exactly in the "run" method did you set up the bitmaps?
abhishek072 1 month ago
scaleX
saleX
sleX
seX
XD
supersushi269 2 months ago
angry birds
praveenchukka 4 months ago
mhh After this tutorial, the View is black and no touch-action is performed? What can be the problem?
klofisch 5 months ago
@klofisch
couple of problems I had was.... when i copy n pasted my .png file it made me force close...so instead of copying n pasting thru folder .. I imported it in my drawable from eclipse.....it solved my first problem....then other was while copying canvas if(x!=0 ...) statement.... I forgot to change following x n y to sX,sY,fX n fY...so double check your code again n again .....
sweet2smart 5 months ago
@sweet2smart I checked it several times. Finally i copied from the website to see if its something general. But it wasnt. Now i am at Tut #113 :) SQLite was what i am waiting for the most (time :D ) .
klofisch 5 months ago
Hey I'm only on video 8 right now. This is just a note I'm leaving here to see if I make it :) Great videos so far
komodo003 5 months ago 9
@komodo003
Did you make it? :D
phuongp76 5 months ago
@komodo003 Haha great idea ;-) and YES you should do this, this video tutorials are the best way to lern how to programm for an android interface.
debegr92 4 months ago
Really glad you did the motion actions, all clicking into place here, going over and adding the extra code :)
tk338 5 months ago