Log in

No account? Create an account

TADS 3 System Development

HTML TADS on Android Devices

TADS 3 System Development

HTML TADS on Android Devices

Previous Entry Share Next Entry
Today I was experimenting with the Android NDK and the recently started android-lighthouse project. I never did mobile development before, mostly because I don't even own a "smart" phone; I guess I don't need my phone to be smart, I just need it to make phone calls :-P But it turns out that developing for mobile targets ain't that alien.

So after about 6-7 hours of figuring out how stuff works, I got TADS 2 to run on Android. Graphics, hyperlinks and colors work OK. The only thing missing is sound/music support. But it should be doable since the SDL library, which QTads uses for sound, has been ported to Android. Screenshot:

Screenshot of TADS 2 running in Android emulator

TADS 3 crashes for some reason and I've no idea yet how to debug on Android.

The port is extremely crude at this moment and not something that can be released. Also, android-lighthouse is in a state of flux and it's not clear yet how to deploy applications. The only sure thing is that it won't require people to root or jailbreak their devices.

Hopefully I'll be able to provide a package for this soon. Don't cross your fingers about it happening this month though.
  • you compiled QTADS with Android Lighthouse...

    but it doesn't quite work? And took 6 hours of fiddling to get to almost work? So Lighthouse needs work!

    Could you upload your TADS 2 apk somewhere? Like if-archive?

    Or post clear instructions on how you got TADS working?
    • Re: you compiled QTADS with Android Lighthouse...

      Android Lighthouse is still kind of experimental. There are still problems with the virtual keyboard. As you can guess, it's impossible to play a text adventure without being able to input text properly. (Devices that offer a real keyboard are not affected, of course.)

      The project file for building the Android version of QTads 2.1.1:


      (I didn't test this with more recent Andoid Lighthouse versions though.)
  • (no subject) -
    • The development tools for this are still in an unstable state. I'm waiting for the first beta (which will provide a stable API.) No idea when that will happen. It certainly takes longer than I expected.
  • Nice!

    Wow, hope to this someday. It'd be super neat to have this on a phone while commuting and the like. Android has yet to find itself a decent app for Interactive Fiction like Frotz for the iPhone.
    • Re: Nice!

      I agree. I would love to be able to play TADS games on my Android tablet (Samsung Galaxy Tab 10.1). Not sure if this is still under development but I wish this gets released soon!

      Been a long-time TADS fan (even developed a TADS game in college), and it is good to see it still alive and kicking after all these years! Keep up the good work.
Powered by LiveJournal.com