Hi,
      There is an dx tool which converts the class and jar files in
the android compatible but i am not getting any proper example
regarding dx so i can proceed .or thru Ant we have to change the
build.xml file with some dx commands
still not luck with that also .what exactly changes i have to make

the folloing is the code i have added in build.xml

<target name="dex" depends="compile">
        <exec executable="${dx}" failonerror="true">
            <arg value="-JXmx384M" />
            <arg value="--dex" />
            <arg value="--output=${basedir}/${intermediate-dex}" />
            <arg value="--locals=full" />
            <arg value="--positions=lines" />
            <arg path="${basedir}/${outdir-classes}" />
                <arg path=" C:/Users/chetan.gorde/Downloads/Android/android-sdk-
windows-1.5_r1/android-sdk-windows-1.5_r1/tools/TestProject/libs/jaxp-
api-1.3.jar"/>

        </exec>
    </target>


On May 11, 9:58 am, Sam <csgo...@gmail.com> wrote:
> Hi,
>        In eclipse i just did a right click on project then properties
> and then java build path and then Add external jar .
>    I am not sure about the bytecode issue just wanted to confirm ....
>   If i decide not to use any external jar is it still possible to
> validate the xml with schema because thru ANT i am getting the same
> issue
>  so i thougt not to use any external jar for this purpose ......is it
> possible in Android in build API's ....
>
>  ....may need the source code for your XML schema
> validator ..........   not understood the meaning of this
> sentence.....
>
> On May 11, 9:48 am, "Mark Murphy" <mmur...@commonsware.com> wrote:
>
>
>
> > > and there is an external jar named
> > > jaxp1.3 which doesnt allow me to compile the code is it because the
> > > bytecode of desktop and android are different?
>
> > How did you attempt to use this external JAR? How did you determine there
> > was a bytecode issue?
>
> > Assuming you are correct about the bytecode issue, you may need the source
> > code for your XML schema validator, so you can recompile it.
>
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com
> > _The Busy Coder's Guide to Android Development_ Version 2.0 Available!- 
> > Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to