On Fri, Jul 23, 2010 at 1:38 AM, Anurag Singh <[email protected]> wrote:

> This thread is started with comparison of available tools for multiple
> channels. Definitely, These are the next
> generation framework, easy to learn and time saving for developers. I have
> read comparison of different tools,
> but not able to understand  the meaning of *native code access*.
>
> If I am using AML for iPhone OS then is there any possiblity to use
> Objective-C?


Yes, that will definitely be possible. Although there is no iPhone version
yet, you may be able to get an idea of how it will work by looking at the
Android implementation code in the SVN repository. Aside from including the
library in your project properties, there are only two AML-specific parts to
the real application code. One of them is in the main app source code file,
AMLTest.java:

http://code.google.com/p/amlcode/source/browse/trunk/AMLTest/src/com/amlcode/amltest/AMLTest.java

And the other one is simply the local AML script file that it uses,
application.aml:

http://code.google.com/p/amlcode/source/browse/trunk/AMLTest/res/raw/application.aml

For an application written *entirely* in AML, that implementation code in
the main .java file (for Android anyway) will be all that is required. When
the AML library is ported to the iPhone, it will have a very similar
implementation--written in Objective-C, but very, very simple. However, you
can certainly write as much of your app in the native language (Java,
Objective-C) as you want, and then simply fill in the rest with AML if that
is what you would prefer.

    Jeff

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en.

Reply via email to