Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Native C++ game S-Tris2 running on Android!
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
edgelib  
View profile  
(2 users)  More options Nov 16 2007, 12:10 pm
From: edgelib <wou...@elements.nl>
Date: Fri, 16 Nov 2007 09:10:44 -0800 (PST)
Local: Fri, Nov 16 2007 12:10 pm
Subject: Native C++ game S-Tris2 running on Android!
Hi fellow Android developers!

We managed to run a couple of our native C++ applications on the
Android emulator. We started porting our EDGELIB mobile engine (http://
www.edgelib.com) yesterday and this is the result so far.

Find a screenshot of the game running in the emulator here:
http://www.edgelib.com/download/android/S-Tris2.png
Download the binary here: http://www.edgelib.com/download/android/S-Tris2.zip
Find installation instructions below this post.

As you can see, our application still has some problems. The most
important is that the input and display isn't used exclusively. This
causes conflicts with the existing processes and makes the display
flicker.

We would like to create a java-based launcher that runs the
executable. We would like to know if it's possible to run an
executable, and if this will have exclusive access to the input and
display hardware until the application is quit. Also, we would like to
be notified of events when the application needs to be paused/
minimized (for example, when a phonecall comes in).

Is it possible to have access to the window server (or something
similar), so we know where we can draw and get notifications?

We also have our Animate3D demo running on Android:
Screenshot: http://www.edgelib.com/download/android/animate3d.png
Binary: http://www.edgelib.com/download/android/animate3d.zip

=======
Installation instructions

How to install and run the S-Tris2 sample in the Android emulator (on
a Windows machine):
- We assume the Android SDK is unpacked and ready to use
- Go to your android installation directory and open the tools
directory
- This directory should contain several executables, including
emulator.exe, the Android Emulator
- Unzip the files in S-Tris2.zip into the tools directory containing
the emulator. It contains an executable and a resource directory
containing a couple of resource files
- Open a command (DOS) prompt and change to the directory containing
the emulator
- Start the emulator with console support with this command: emulator -
console
- The emulator will start, please wait until it is ready for use
(leave the command prompt open)
- Open a new command prompt window and go to the emulator directory
again
- Upload the executable and resource files using these commands:
        adb push S-Tris2 /system/sbin/S-Tris2
        adb shell mkdir /system/sbin/res
        adb push res\bgm.epk /system/sbin/res/bgm.epk
        adb push res\sfx.epk /system/sbin/res/sfx.epk
        adb push res\games.epk /system/sbin/res/games.epk
        adb push res\gfx.epk /system/sbin/res/gfx.epk
- It will mention it has sent 0 bytes, you can ignore this
- Connect with the emulator by using the command: adb shell
- It will show a hash (#) sign, connection is successful
- Go to the installation path with the following command: cd /system/
sbin
- Set permission with the command: chmod 777 S-Tris2
- Start the application with: ./S-Tris2
- Look at the emulator and see the game load and title screen appear
(you may need to push a soft button to update the screen)

Known problems:
- The display isn't used exclusively, the display may flicker. Solve
this by pressing keys
- Input isn't used exclusively, other actions will happen when using
the emulator keys
- No sound support yet


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kokuryu  
View profile  
 More options Nov 16 2007, 1:22 pm
From: kokuryu <koku...@kokuryu.com>
Date: Fri, 16 Nov 2007 10:22:27 -0800 (PST)
Local: Fri, Nov 16 2007 1:22 pm
Subject: Re: Native C++ game S-Tris2 running on Android!
Very cool - I am extremely impressed with this so far.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Lecomte  
View profile  
 More options Nov 16 2007, 1:42 pm
From: David Lecomte <david.leco...@gmail.com>
Date: Fri, 16 Nov 2007 10:42:39 -0800 (PST)
Local: Fri, Nov 16 2007 1:42 pm
Subject: Re: Native C++ game S-Tris2 running on Android!
You said you ported your engine , I would be interested in how you
linked your game to OpenGL ES ? Or did you port a 2D/3D software
rendering engine ?

David Lecomte

On Nov 16, 9:10 am, edgelib <wou...@elements.nl> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ali Akbar  
View profile  
 More options Nov 16 2007, 1:42 pm
From: Ali Akbar <ali.ak...@gmail.com>
Date: Fri, 16 Nov 2007 10:42:54 -0800 (PST)
Local: Fri, Nov 16 2007 1:42 pm
Subject: Re: Native C++ game S-Tris2 running on Android!
gratz! ss looks great.  didnt try it tough

On Nov 16, 8:10 pm, edgelib <wou...@elements.nl> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
edgelib  
View profile  
 More options Nov 16 2007, 1:55 pm
From: edgelib <wou...@elements.nl>
Date: Fri, 16 Nov 2007 10:55:18 -0800 (PST)
Local: Fri, Nov 16 2007 1:55 pm
Subject: Re: Native C++ game S-Tris2 running on Android!
Hi David,

We ported our native 3D software renderer. OpenGL ES is one of the
next challenges!

On Nov 16, 7:42 pm, David Lecomte <david.leco...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Lecomte  
View profile  
 More options Nov 16 2007, 3:05 pm
From: David Lecomte <david.leco...@gmail.com>
Date: Fri, 16 Nov 2007 12:05:48 -0800 (PST)
Local: Fri, Nov 16 2007 3:05 pm
Subject: Re: Native C++ game S-Tris2 running on Android!
Ok, let me know if you get any progress on that side.

David

On Nov 16, 10:55 am, edgelib <wou...@elements.nl> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google