Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Compile question
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
  13 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
 
gasolin  
View profile  
 More options Jun 10, 2:07 am
From: gasolin <gaso...@gmail.com>
Date: Tue, 9 Jun 2009 23:07:09 -0700 (PDT)
Local: Wed, Jun 10 2009 2:07 am
Subject: Compile question
Hello,

I'd like to compile ASE myself, and the compile article is very
limited. So I toss this discussion to make things clear. Maybe I could
contribute a better article while I conquer the compile process.

According to CompilingASE article
http://code.google.com/p/android-scripting/wiki/CompilingASE

I'd like to confirm the pre-requirement of CompilingASE first.

Does the description in article means:

1. get android source (and make sure you can compile it to make agcc
work)
2. get android SDK (1.5r1 or 1.5r2 ...downloading)
3. run tools/fix_android_sdk.py to patch those 2 folders

Then I have to use eclipse on linux to build the ASE environment.

Are the descriptions right 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.
gasolin  
View profile  
 More options Jun 10, 7:40 am
From: gasolin <gaso...@gmail.com>
Date: Wed, 10 Jun 2009 04:40:08 -0700 (PDT)
Local: Wed, Jun 10 2009 7:40 am
Subject: Re: Compile question

Hello,

I successfully compiled the ASE,
the above prerequisites are right (but you don't need to compile the
android source, since python and lua are precompiled),
the lost chain is specify the tts library path in eclipse.

regards


    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.
Damon  
View profile  
 More options Jun 10, 12:02 pm
From: Damon <damonkoh...@gmail.com>
Date: Wed, 10 Jun 2009 18:02:32 +0200
Local: Wed, Jun 10 2009 12:02 pm
Subject: Re: Compile question

The stub jar for TTS should be part of the SVN checkout. If you import the
project into Eclipse, it should also have the build path set for you.

I will update the docs to mention that it is not necessary to compile
Android unless you want to also compile Lua and Python yourself.

Thanks for the feedback,
Damon

--
http://www.damonkohler.com/

    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.
gasolin  
View profile  
 More options Jun 10, 8:49 pm
From: gasolin <gaso...@gmail.com>
Date: Wed, 10 Jun 2009 17:49:24 -0700 (PDT)
Local: Wed, Jun 10 2009 8:49 pm
Subject: Re: Compile question
Damon,

Here's a more organized doc for reference.

Compiling ASE requires modifying the Android SDK slightly. A script is
provided to make this easier, but you'll need to download the Android
source. Assuming you install the source to mydroid and the sdk to
android-sdk, execute the script as follows.

== Prerequisites ==

To compile ASE, you need

1. Get Android source (read http://source.android.com/download) and
name the folder as 'mydroid'(or else you prefer)
2. Get Android SDK (download from http://developer.android.com/) and
extract it as "android-sdk"(or else you prefer)
3. Get ASE source (http://code.google.com/p/android-scripting/source/
checkout) as 'android-scripting'(or else you prefer)
4. Enter android-scripting/tools folder and execute fix_android_sdk.py
to patch android-sdk

$ cd android-scripting/tools
$ python fix_android_sdk.py mydroid android-sdk

In addition to modifying the SDK by adding android.os.Exec, the script
will also copy the source files into the SDK so that they can be
browsed in Eclipse.

== Import Project into Eclipse ==

After executing the script, follow the instructions for developing in
Eclipse in the Android developer guide to setup a workable Android
development environment.
http://developer.android.com/guide/developing/eclipse-adt.html

Change the project build path and specify the TTS lib path to (project
path)/lib/(TTSxxxx.jar)

Compile it, done!

PS:
Python and Lua are precompiled and already put in res/raw folder. You
don't need to setup the cross compile environment unless you want to
also compile Lua and Python yourself.

--

I'd like to compile python myself, hope I can conquer it, too.


    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.
Damon  
View profile  
 More options Jun 11, 8:26 am
From: Damon <damonkoh...@gmail.com>
Date: Thu, 11 Jun 2009 14:26:31 +0200
Local: Thurs, Jun 11 2009 8:26 am
Subject: Re: Compile question

Thanks, that's very helpful.

--
http://www.damonkohler.com/

    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.
Protocol-X  
View profile  
 More options Jun 19, 2:15 pm
From: Protocol-X <shawn.bur...@gmail.com>
Date: Fri, 19 Jun 2009 11:15:46 -0700 (PDT)
Local: Fri, Jun 19 2009 2:15 pm
Subject: Re: Compile question
If you compile this code would you be able to sue the android.os.exec
Lib?

On Jun 11, 8:26 am, Damon <damonkoh...@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.
Damon  
View profile  
 More options Jun 20, 11:26 am
From: Damon <damonkoh...@gmail.com>
Date: Sat, 20 Jun 2009 17:26:58 +0200
Local: Sat, Jun 20 2009 11:26 am
Subject: Re: Compile question

ASE makes use of android.os.Exec. The fix_android_sdk.py script that adds
the lib to the SDK will make it available to any other apps you're writing
that use the SDK as well.

--
http://www.damonkohler.com/

    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.
Shawn  
View profile  
 More options Jun 20, 11:26 am
From: "Shawn" <shawn.bur...@gmail.com>
Date: Sat, 20 Jun 2009 15:26:34 +0000
Local: Sat, Jun 20 2009 11:26 am
Subject: Re: Compile question

Need linux though huh? Can use windows I'd assume.  I actually made the exec file myself but when I went to install it didn't appear. Thanks though ill look into that


    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.
Shawn Burkit  
View profile  
 More options Jun 20, 11:39 am
From: Shawn Burkit <shawn.bur...@gmail.com>
Date: Sat, 20 Jun 2009 11:39:09 -0400
Local: Sat, Jun 20 2009 11:39 am
Subject: Re: Compile question

Is it possible to manually add it to the sdk? Anyone know

On Jun 20, 2009 11:27 AM, "Damon" <damonkoh...@gmail.com> wrote:

ASE makes use of android.os.Exec. The fix_android_sdk.py script that adds
the lib to the SDK will make it available to any other apps you're writing
that use the SDK as well.

On Fri, Jun 19, 2009 at 8:15 PM, Protocol-X <shawn.bur...@gmail.com> wrote:
> > > If you compile t...

http://www.damonkohler.com/

--~--~---------~--~----~------------~-------~--~----~ You received this
message because you are su...


    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.
Damon  
View profile  
 More options Jun 20, 12:05 pm
From: Damon <damonkoh...@gmail.com>
Date: Sat, 20 Jun 2009 18:05:10 +0200
Local: Sat, Jun 20 2009 12:05 pm
Subject: Re: Compile question

I'm not exactly sure what you mean. Are you referring to the android.os.Exec
class? To compile against it, you need to add it to the SDK, which the
fix_android_sdk.py script does. The class is already availble on the device
so any code compiled against will work as it should.

On Sat, Jun 20, 2009 at 5:39 PM, Shawn Burkit <shawn.bur...@gmail.com>wrote:

> Is it possible to manually add it to the sdk? Anyone know

> On Jun 20, 2009 11:27 AM, "Damon" <damonkoh...@gmail.com> wrote:

> ASE makes use of android.os.Exec. The fix_android_sdk.py script that adds
> the lib to the SDK will make it available to any other apps you're writing
> that use the SDK as well.

>  On Fri, Jun 19, 2009 at 8:15 PM, Protocol-X <shawn.bur...@gmail.com>
> wrote: > > > If you compile t...
> http://www.damonkohler.com/

--
http://www.damonkohler.com/

    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.
Shawn  
View profile  
 More options Jun 20, 12:04 pm
From: "Shawn" <shawn.bur...@gmail.com>
Date: Sat, 20 Jun 2009 16:04:51 +0000
Local: Sat, Jun 20 2009 12:04 pm
Subject: Re: Compile question

What I mean is I use windows not lunix so is there a way to get the already compiled version for windows since you cannot compile it yourself using windows


    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.
Damon  
View profile  
 More options Jun 20, 12:07 pm
From: Damon <damonkoh...@gmail.com>
Date: Sat, 20 Jun 2009 18:07:59 +0200
Local: Sat, Jun 20 2009 12:07 pm
Subject: Re: Compile question

It's a Java class. You can compile it using Windows. All you need is javac.

--
http://www.damonkohler.com/

    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.
Shawn  
View profile  
 More options Jun 20, 12:08 pm
From: "Shawn" <shawn.bur...@gmail.com>
Date: Sat, 20 Jun 2009 16:08:47 +0000
Local: Sat, Jun 20 2009 12:08 pm
Subject: Re: Compile question

Ah ok I misubderstood I thought you had to recompile the whole source from what the link was saying.  Thank you for the help


    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