This site requires JavaScript, please enable it in your browser!
Greenfoot back
DonaldDuck
DonaldDuck wrote ...

2012/1/5

Greenfoot Mobile App?

4
5
6
7
8
9
10
groengeel groengeel

2012/11/15

#
Then what do you send to your device? A build of the specific package i created or a build of the full tree?
groengeel groengeel

2012/11/15

#
And, of course: Thanks for your reply!!!!
Upupzealot Upupzealot

2012/11/15

#
I didn't get your point. When you "run" your project, Eclipse or AIDE would generate an APK file. It would Install it. I'm not sure if classes of other demos would included in the APK. But it's OK. You can delete other things you don't want. Greenfoot classes are in the folder src/greenfoot Keep this and your own folder is enough. Existing ones are used to show how to convert. BTW, have you tried AIDE?
groengeel groengeel

2012/11/15

#
Upupzealot wrote...
I didn't get your point. When you "run" your project, Eclipse or AIDE would generate an APK file. It would Install it. I'm not sure if classes of other demos would included in the APK. But it's OK. You can delete other things you don't want. Greenfoot classes are in the folder src/greenfoot Keep this and your own folder is enough. Existing ones are used to show how to convert. BTW, have you tried AIDE?
I am trying it now ;-) Ok, I know what you mean. Now it's time to put it to practice.
Upupzealot Upupzealot

2012/11/15

#
It's very late here, I have to go to bed now. Reply if you get anything wrong. PS: check your email.
-nic- -nic-

2012/11/15

#
This is really good ill get AIDE and have a go
groengeel groengeel

2012/11/15

#
I am only having good stuff at the moment… Got it working with AIDE. Had to change minSdkVersion to 8 though (rather old tablet here). Will try, if it doesn't work. Well, too bad.
-nic- -nic-

2012/11/15

#
i got a very simple app working using eclpse using upupzealot's greenfoot librery i wish i could like upupzealot again
Upupzealot Upupzealot

2012/11/15

#
Thank you for testing :-) @groengeel Do you changed minSdkVersion to 8? I think my project may need 9 or higher(for e.g. 11) It means the APK you got could be installed to Android2.2 or any Android OS which is later than that.( for e.g. Android4.0.3) So I think make minSdkVersion smaller as possible is better.
groengeel groengeel

2012/11/16

#
Well, for now it all seems to work just fine. Currently porting my LandThePlane scenario (it needs some different coding to allow the game to be played with the touchscreen). http://www.greenfoot.org/scenarios/6592
Upupzealot Upupzealot

2012/11/16

#
Glad to hear that
-nic- -nic-

2012/11/16

#
I'm going to try and port my reactions scenario and see how it goes
Upupzealot Upupzealot

2012/11/16

#
@-nic- 1.The class GifImage dose not work any longer, so you may use a group of pngs , and do the switch your self; 2.Try this method: ClassImageManager.setClassImage(Class, Greenfoot); ClassImageManager is a class in the package greenfoot also. This method equals you right click in Greenfoot's Classes dialog and then click "Set image..." This would let all the class objects share one GreenfootImage. But notice if any of them changed the ClassImage would cause some problem
groengeel groengeel

2012/11/16

#
Upupzealot wrote...
@-nic- 1.The class GifImage dose not work any longer, so you may use a group of pngs , and do the switch your self; 2.Try this method: ClassImageManager.setClassImage(Class, Greenfoot); ClassImageManager is a class in the package greenfoot also. This method equals you right click in Greenfoot's Classes dialog and then click "Set image..." This would let all the class objects share one GreenfootImage. But notice if any of them changed the ClassImage would cause some problem
I just used setImage in every constructor..
-nic- -nic-

2012/11/16

#
cool thanks
There are more replies on the next page.
4
5
6
7
8
9
10