Build instructions for androix?

52 views
Skip to first unread message

Rahul Siddharthan

unread,
Sep 13, 2011, 5:58:30 AM9/13/11
to androi...@googlegroups.com
I would very much like to see if I can build Androix, but it is not
clear, from downloading the source, what I am supposed to do with it.
I downloaded the androix-0.8-bw branch (which seems to be the most
recent) from github. I also cloned the tmzt androix repo (repo init
-u git://github.com/tmzt/androix && repo sync) but am none the wiser
in how to build the android apk. Suggestions, please?

I am comfortable with linux but

Alternatively (in fact, even better!), any links to a recent "good"
.apk? I found one from last year on dropbox, via an irc log. Display
works, but at the wrong resolution for my device. Keyboard input is
garbage. But it looked promising enough for me to investigate
further. The mailing list archives suggest that both these issues
should be fixed, or the display issue should be a one-line change and
recompile, if I knew how to compile it?

Rahul

Bibek

unread,
Sep 17, 2011, 4:23:17 AM9/17/11
to AndroiX Users
Look in the "<androix-xserver>/android" folder.

You'll notice several files there, including "build.sh", "build.xml",
and "AndroidManifest.xml".

Modify to suit your environment, and Go! :-)

More seriously, though: I am trying to build this, too. I may have
finally gotten my build environment running, but I'm stuck tracking
down and building prerequisite libraries.

Can you point me to this old .apk you found? If I can extract the
relevant prerequisite libraries from it (like libpixman, etc.), which
should be basically the same between that old .apk and this new code,
then I think I can build the new code and create a new .apk.

I can't promise anything, of course, as the extent of my Android
programming thus far has been getting the build environment running,
and starting "Test1Android" from the demos on the emulator (Woo
Hoo! :-). However, most of this X-server is C and C++ on Linux, and
that I know much better (even if cross-compilers do make me twitch).

Thanks.

- Bibek

Rahul Siddharthan

unread,
Sep 17, 2011, 5:13:28 AM9/17/11
to androi...@googlegroups.com
On Sat, Sep 17, 2011 at 1:53 PM, Bibek <tfl_...@yahoo.com> wrote:
> Look in the "<androix-xserver>/android" folder.
>
> You'll notice several files there, including "build.sh", "build.xml",
> and "AndroidManifest.xml".
>
> Modify to suit your environment, and Go! :-)

Yes, I already saw all that, but wasn't clear what needs already to be
built and in place :)

> Can you point me to this old .apk you found?  If I can extract the
> relevant prerequisite libraries from it (like libpixman, etc.), which
> should be basically the same between that old .apk and this new code,
> then I think I can build the new code and create a new .apk.

http://dl.dropbox.com/u/14816535/AndroiX-debug.apk

Do keep me posted if you have luck with this.

Thanks

Rahul

Brian Webb

unread,
Sep 17, 2011, 1:13:20 PM9/17/11
to androi...@googlegroups.com
It's not easy to build due to all of the dependencies, but last time I
built it I documented what I did fairly well. For lack of a better
place to put it, I'll post my build command log in a new thread. I
also create an update agcc script tat simplifies all the extra command
line options. I'll post that in another thread. Both of these will
likely require some updates to match your build environment, but it
should be a good start.

Brian

--
Brian Webb
web...@gmail.com

Rahul Siddharthan

unread,
Sep 17, 2011, 2:12:54 PM9/17/11
to androi...@googlegroups.com

Thanks!  Looking at those scripts, it would have taken me ages (if ever) to figure all that out for myself.  As you say, it should be a good start. 

Rahul

Bibek

unread,
Sep 17, 2011, 3:11:09 PM9/17/11
to AndroiX Users
Thanks, Brian.

Two questions:

(1) Since you seem more familiar with Android NDK building, do you
happen to know if there's any difference between the output of Android
NDK's "gcc" and a standard ARM "gcc"? Or where I could find more
information...?

(2) Since it sounds like you've already built this: if I provide you a
place to put the file(s), can I talk you into providing us the .apk
files, or at least the .so files, or whatever you have available? (If
you have a preferred place, that's fine, too; I'm just trying to make
it convenient for you.) I certainly understand if this isn't an
option; but it would really help a lot.

Still, the scripts you've already provided will /greatly/ simplify the
situation! Thank you very much!

- Bibek

Timothy Meade

unread,
Sep 19, 2011, 1:07:14 AM9/19/11
to androi...@googlegroups.com, Brian Webb, Gene Mosher

Hey guys, I'm setting up a wiki on github.com/tmzt/androix/wiki to
collect all this stuff, including working build instructions.
tmzt

Rahul Siddharthan

unread,
Sep 19, 2011, 8:35:30 AM9/19/11
to androi...@googlegroups.com, zt....@gmail.com, Brian Webb, Gene Mosher
On Mon, Sep 19, 2011 at 10:37 AM, Timothy Meade <zt....@gmail.com> wrote:
> Hey guys, I'm setting up a wiki on github.com/tmzt/androix/wiki to
> collect all this stuff, including working build instructions.
> tmzt

Thanks! I am yet to try it out, but have linked to Brian's mail in the
"build instructions" part.

Rahul

Gene Mosher

unread,
Sep 19, 2011, 10:07:04 AM9/19/11
to androi...@googlegroups.com
I am the odd man out in the androix group because I'm not a programmer but I want everyone to know that I very much appreciate the efforts which each person has made to X on Android.  I have restaurant owner clients who want tablets to add to the point of sale systems that they have purchased from me.  The software I have developed and used since 1995 is written directly to the Xlib primitives and works just great on X servers with X forwarding enabled.

I have recently decided to use the 8" Vizio Android tablet because it has a native resolution of 1024x768 and it plays nice with the larger Vizio LED TVs which restaurant owners can use as menu boards.  It's really important to have Androix on these tablets so I want everyone to know that there are some very practical benefits to the public at large to having Androix working well and being easy to set up.  I will offer one of these tablets to anyone who is interested in helping me with this tablet in particular.

I am glad to also pay anyone who can help me to make Androix tablets as easy as possible to set up for my clients.  If anyone wants access to the point of sale software to sell to the hospitality market I will be glad to offer that, too.  It's not difficult to become an expert selling into the hospitality market in one's area or region.  There is money to be made, even as you save your clients lots of money by helping them to avoid the overpriced Windows POS systems that everyone else offers in this market.  I can be reached at 541-485-9235, 541-515-5913 (cell) and on Skype: ViewTouch_POS.

--Gene Mosher

Reply all
Reply to author
Forward
0 new messages