Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » Allegro on Android

This thread is locked; no one can reply to it. rss feed Print
Allegro on Android
kazzmir
Member #1,786
December 2001
avatar

You can probably look at what the SDL guys did to get SDL working on android.

http://www.anddev.org/sdl_port_for_android_sdk-ndk_16-t9218.html

Thomas Fjellstrom
Member #476
June 2000
avatar

Porting Allegro 5 to Android would be rather easy. Theres two possible ways to get Allegro working, the new NDK in the last two Android releases, or using a lot of stub JNI code to get some java code to get Android and Allegro talking to each other.

It would be much easier to use the newer NDK, but that would mean the port wouldn't support anything older than Gingerbread.

Again, I am totally willing to do the port, but I would need a decent phone to do the development with. And currently I'm rather broke. Saving up for a new furnace has taken priority over saving up for a new phone.

imaxcs said:

IMHO they are just too different to make portability worthwhile

You'd still have to make some changes to get the game to work properly on a mobile platform, but you wouldn't have to rewrite your game in java to do it :P hows that for making porting easier ;)

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

AMCerasoli
Member #11,955
May 2010
avatar

Tell us I little more about it.

- How would be writing a game for Android using A5?
- Could be uploaded to the marketplace?
- I'm going to need to touch Java?

I have being reading some documentation about programming for Android and to me it looks like you were doing just a class to then be used for the O.S. I mean you reuse a lot of things, but I have just reach page 10 or 11 so I have no idea...

If it's going to be a port like the iPhone definitely I will invest.

Thomas Fjellstrom
Member #476
June 2000
avatar

- How would be writing a game for Android using A5?

If you were writing a game for Android, you'd probably use the Java stuff, or use a web based toolkit. However if you want to port an existing A5 game to Android with as few steps as possible, you'd want to use A5. It shouldn't be that hard, just a tweaking of the resolution and input handling.

Quote:

- Could be uploaded to the marketplace?

Don't see why not.

Quote:

- I'm going to need to touch Java?

Not likely no. Unless you want to.

It'd be like the iOS port. You don't have to touch any ObjC at all.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

AMCerasoli
Member #11,955
May 2010
avatar

It'd be like the iOS port. You don't have to touch any ObjC at all.

:o
How much cost the phone?

Thomas Fjellstrom
Member #476
June 2000
avatar

How much cost the phone?

Depends on the phone. A decent Android is like 400-600 without a contract.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

AMCerasoli
Member #11,955
May 2010
avatar

So we should reach 600 US$.

I'm very interested in this but right now I can contribute with 100 US$. There was a guy that said he could do it too so there is just 400 US$ left, or if you can find a phone for 500, would be 300.

That is a lot of work, I think 500-600 US$ worth it.

Again, I am totally willing to do the port,

Where else did you mention it?

Thomas Fjellstrom
Member #476
June 2000
avatar

Where else did you mention it?

Other threads.

I can probably justify putting up 100-200 myself. Depends on how much I can make from my side pc repair business.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Elias
Member #358
May 2000

Allegro can also contribute all of its donations, which should be about 50$. And I'd be willing to contribute 50$ as well.

[edit:] The Allegro donations only if everyone agrees of course, but I guess that's the best use for them we could possibly come up with.

--
"Either help out or stop whining" - Evert

ks
Member #1,086
March 2001

Then I'll just wait for the donation link.

Thomas Fjellstrom
Member #476
June 2000
avatar

I have a donation link on the wiki, or you can donate to the Allegro project using the link on http://liballeg.org

Up to you.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Mark Oates
Member #1,146
March 2001
avatar

Or you can donate directly to my paypal account. ;)

It's up to you. :P

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

Thomas Fjellstrom
Member #476
June 2000
avatar

Or you can donate directly to my paypal account.

Whats your paypal address?!!11

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Trent Gamblin
Member #261
April 2000
avatar

Anyone serious about donating should hit the link on http://liballeg.org. No better use for the funds than an android port. If people start donating and I'm able to, I'd pitch in some too.

side note edit: there should be >= $100 in the donation account already. I know I donated 50 twice.

LennyLen
Member #5,313
December 2004
avatar

I can't afford to donate anything right now (just moved to a new country and don't have a job yet), but I'd definitely help test an Android port. My phone is about as low spec as you can get, so would be useful for testing worst-case scenarios on.

relpatseht
Member #5,034
September 2004
avatar

In four weeks I'm done with school for the year, so I should be able to help out with the port then. I have an android phone which should work.

Or, now that Allegro 5 is out, I could go back to the NDS port. It should be much easier than an A4 port from what I've heard.

MiquelFire
Member #3,110
January 2003
avatar

LennyLen said:

I can't afford to donate anything right now (just moved to a new country and don't have a job yet), but I'd definitely help test an Android port. My phone is about as low spec as you can get, so would be useful for testing worst-case scenarios on.

I wonder if it would be more worst-case than mine?

---
Febreze (and other air fresheners actually) is just below perfumes/colognes, and that's just below dead skunks in terms of smells that offend my nose.
MiquelFire.red
If anyone is of the opinion that there is no systemic racism in America, they're either blind, stupid, or racist too. ~Edgar Reynaldo

Thomas Fjellstrom
Member #476
June 2000
avatar

Or, now that Allegro 5 is out, I could go back to the NDS port. It should be much easier than an A4 port from what I've heard.

It might actually be harder. A5 really depends on hw acceleration. It also really likes threads.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

AMCerasoli
Member #11,955
May 2010
avatar

I can't find the Donation button at liballeg.org, I have found http://sourceforge.net/donate/index.php?group_id=5665. But it's the same right? I can do it using the wiki and that's it.

I would prefer to do the port using the last technology, doesn't matter if isn't compatible with some old devices... Since each day something new is release... and everything get old very quick.

Elias
Member #358
May 2000

I can't find the Donation button at liballeg.org, I have found http://sourceforge.net/donate/index.php?group_id=5665. But it's the same right? I can do it using the wiki and that's it.

That's it, yes. Here's a list of all donations ever received: https://sourceforge.net/project/project_donations.php?group_id=5665

--
"Either help out or stop whining" - Evert

AMCerasoli
Member #11,955
May 2010
avatar

Well, It's ready... You could change the cgamesplay@gmail.com though, for something more "Allegro"...

Elias
Member #358
May 2000

Only CGamesPlay can change that (he's the treasurer of the Allegro project, basically). We also should list the amounts and current balance somewhere... I'll see if I can catch him in IRC in the next days.

--
"Either help out or stop whining" - Evert

Thomas Fjellstrom
Member #476
June 2000
avatar

Elias said:

Only CGamesPlay can change that (he's the treasurer of the Allegro project, basically). We also should list the amounts and current balance somewhere... I'll see if I can catch him in IRC in the next days.

You're better off emailing him directly. He's hard to catch online in IRC. He may be there, but he almost never reads it.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

ks
Member #1,086
March 2001

I dropped my donation at the wiki because of unfamiliarity with the recipient at the other location.

AMCerasoli
Member #11,955
May 2010
avatar

I think in this case it's the same.

What can we do to follow the project? a page on the Wiki?. How much money left? I would really like this happening!.

I'm about finish my game and would love to be able to port it to iPhone and when is ready to Android.



Go to: