Recent

Author Topic: My Backgammon Engine runs in Android!!!  (Read 4364 times)

Kostas

  • New Member
  • *
  • Posts: 30
My Backgammon Engine runs in Android!!!
« on: June 30, 2012, 01:19:41 pm »
My backgammon engine is running now in Android.
Animations etc. seem to work right.

It is of course still a lot of work to do, but i thought i provide you with a picture of the program running in Android.
http://img528.imageshack.us/img528/5281/sc20120630122151.png

The color of the Bitmaps are still not right and i have to convert them.

Can i get rid of the 'LCL Test' bar on the top of the program? How to do this?
And how to change the application name?

The engine is based on neural networs and is one of the strongest that can be found :)

If you want to know more about my backgammon program you can go to www.leon.tournavitis.de

Best regards
Kostas
« Last Edit: June 30, 2012, 01:30:46 pm by Kostas »

meanderix

  • Jr. Member
  • **
  • Posts: 50
Re: My Backgammon Engine runs in Android!!!
« Reply #1 on: June 30, 2012, 02:50:46 pm »
Can i get rid of the 'LCL Test' bar on the top of the program? How to do this?
And how to change the application name?
Yes, change the theme line in AndroidManifest.xml to:

android:theme="@android:style/Theme.NoTitleBar.Fullscreen"

(.Fullscreen can be removed and then you'll still have the status bar.)

Application name can be changed by editing the file res/values/strings.xml

Package name can be changed as well, by editing the manifest file, but then you need to remember to set CDWidgetSet.ActivityClassName accordingly when starting your app.
« Last Edit: June 30, 2012, 04:52:19 pm by meanderix »

Kostas

  • New Member
  • *
  • Posts: 30
Re: My Backgammon Engine runs in Android!!!
« Reply #2 on: June 30, 2012, 06:05:47 pm »

Yes, change the theme line in AndroidManifest.xml to:
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"

(.Fullscreen can be removed and then you'll still have the status bar.)

Application name can be changed by editing the file res/values/strings.xml
Thank you!!!!
Exactly what i needed and works perfect!!

 

TinyPortal © 2005-2018