Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » Initial Android port committed to subversion

This thread is locked; no one can reply to it. rss feed Print
Initial Android port committed to subversion
Thomas Fjellstrom
Member #476
June 2000
avatar

Well, if it didn't burn itself up, I would have a 2.1 device you could test with in April.

It died eh? That sucks. If I end up getting a room-mate soon (I hope so, I just spent $1500 (out of $900 I had to spend on it) on renovating my bathroom and spare room to make it more liveable in order to GET a room-mate) I will buy that device from my neigbour. IIRC its an Android 1.6 Archos device of some kind. Hopefully it'll work with allegro. I think that'd be neat.

--
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

I don't have much time to invest now, but I do have a 1.6 device... I plan to tinker with it when I'm bored with other work.

Thomas Fjellstrom
Member #476
June 2000
avatar

I mainly just want to see how setting up the development environment would work with an older device, and test out a lot of the compatibility code (Which will be getting a rework sooner or later. probably rip out most of the current lookup code that checks for methods and fields, and just pass in a bitmap of supported features that the C then uses to check what to do).

--
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

BAF
Member #2,981
December 2002
avatar

IMO, I wouldn't waste any time or money on 1.6 devices. Anything that can't be upgraded from 1.6 is probably pretty crappy in the hardware department, not to mention how sharply the target audience for old versions of Android drops off.

Trent Gamblin
Member #261
April 2000
avatar

Says the guy with a > 1.6 device.

BAF
Member #2,981
December 2002
avatar

http://developer.android.com/resources/dashboard/platform-versions.html

Most people are on 2.0+. My point was that if major work is required to support 1.6, it may not be worth it (especially if you have to buy a 1.6 device for the development), given the declining market share and relative weakness of the hardware 1.6 is typically installed on.

Trent Gamblin
Member #261
April 2000
avatar

And I don't like that attitude. It's the same attitude Apple fanboy developers have about iOS. Nobody's using previous generation, who cares, just upgrade.

It's not much extra work to support 1.6, in fact it already almost works so why remove support? I have a 1.6 device so I can fix it when I don't have a lot of stuff to catch up on.

Mark Oates
Member #1,146
March 2001
avatar

Nice chart, BAF.

I got mine less than a year ago and it's 2.3.4.

--
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

Trent Gamblin
Member #261
April 2000
avatar

The chart only reflects the exact syndrome I was talking about. Nobody wants to support older hardware, so there are few apps, especially new apps, available to older devices so they aren't accessing the market store (what that chart is based on.)

Matthew Leverton
Supreme Loser
January 1999
avatar

With phones, I think there is very little reason to put a lot of effort into supporting older systems. You have to also consider the impact of future development too.

BAF
Member #2,981
December 2002
avatar

It's not much extra work to support 1.6, in fact it already almost works so why remove support? I have a 1.6 device so I can fix it when I don't have a lot of stuff to catch up on.

I said "major work" - if it's not much extra work, then do it.

I personally wouldn't spend a lot of time on it, and if it were me, I sure as hell wouldn't buy any 1.6 hardware to do the work. There is also question as to if the hardware is powerful enough to run the ported Allegro games.

Steve Terry
Member #1,989
March 2002
avatar

I got the A5.1 branch but see no android specifics, am I doing something wrong?

___________________________________
[ Facebook ]
Microsoft is not the Borg collective. The Borg collective has got proper networking. - planetspace.de
Bill Gates is in fact Shawn Hargreaves' ßî+çh. - Gideon Weems

Trent Gamblin
Member #261
April 2000
avatar

Android 1.6 is only a couple years old. There's no reason not to support it. And there's no reason for it to hold back development in the future. Libraries go through changes. Allegro 4 to 5 dropped support for a lot of stuff. If supporting 1.6 would hold us back from some features on newer devices, then 5.4 or whatever could easily be the last version to support 1.6.

Thomas Fjellstrom
Member #476
June 2000
avatar

I was only considering buying an older Archos internet tablet. One that has 1.6 installed, and that might also support a newer version of Android. Not sure it does or not, haven't looked at it closely. Also it would probably only cost me $40-50. So I don't really see the problem, at least once I have the money.

BAF said:

here is also question as to if the hardware is powerful enough to run the ported Allegro games.

You know what would be a good way to find out? ;)

I got the A5.1 branch but see no android specifics, am I doing something wrong?

You should see a README_Android.txt file in the root dir. src/android/* files, android headers, and a android-project folder in the root.

--
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

Steve Terry
Member #1,989
March 2002
avatar

I tried from the SVN snapshots but seems outdated. I'm only on my galaxy tab right now, only wanted to peek at the source. I'll see if I can't find it.

___________________________________
[ Facebook ]
Microsoft is not the Borg collective. The Borg collective has got proper networking. - planetspace.de
Bill Gates is in fact Shawn Hargreaves' ßî+çh. - Gideon Weems

Thomas Fjellstrom
Member #476
June 2000
avatar

Ah sorry, the snapshots may still be broken. I fixed the updating last night, so at least the svn mirror is up to date, but the snapshots may still be borked. I'll check.

Snapshots are fixed.

--
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

Steve Terry
Member #1,989
March 2002
avatar

I found it the harder way :-) looks good so far, I looked over the source some things were pretty rough but seems good progress. I'll see if I can't pry away from my wife and daughter sometime to test it out, I haven't even played with A5 yet so messing with android may be a bit too much so soon.

___________________________________
[ Facebook ]
Microsoft is not the Borg collective. The Borg collective has got proper networking. - planetspace.de
Bill Gates is in fact Shawn Hargreaves' ßî+çh. - Gideon Weems

Thomas Fjellstrom
Member #476
June 2000
avatar

I looked over the source some things were pretty rough but seems good progress.

I normally like to clean things up a bit before showing code, but committing was loooooong overdue.

--
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

Steve Terry
Member #1,989
March 2002
avatar

Progress is progress

___________________________________
[ Facebook ]
Microsoft is not the Borg collective. The Borg collective has got proper networking. - planetspace.de
Bill Gates is in fact Shawn Hargreaves' ßî+çh. - Gideon Weems

weapon_S
Member #7,859
October 2006
avatar

Ooooh! I totally missed this thread. Hope I'll get to trying this out soon.

camera access,

? Allegro doesn't support camera input, does it? Why would the Android port do?

Steve Terry
Member #1,989
March 2002
avatar

Maybe its time to add it?

___________________________________
[ Facebook ]
Microsoft is not the Borg collective. The Borg collective has got proper networking. - planetspace.de
Bill Gates is in fact Shawn Hargreaves' ßî+çh. - Gideon Weems

William Labbett
Member #4,486
March 2004
avatar

Wouldn't it make sense to add CD-ROM access first to catch up with SDL ?

Thomas Fjellstrom
Member #476
June 2000
avatar

I think camera access on android is far more useful than cdrom access ;)

--
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

William Labbett
Member #4,486
March 2004
avatar

:)

Trezker
Member #1,739
December 2001
avatar

What do you mean with CD-ROM access ???
What could you possibly want to do with the CD-ROM drive?

Googles...

Ah, for playing music tracks?
Do any new games still do that?



Go to: