[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] AspectJ in Android

I'm afraid I know very little about the android dalvik VM.  If I were
guessing I'd assume it is vaguely like a J2ME platform with similar
kinds of restriction (threads, reflection, etc).  We have had long
standing issues with AspectJ and J2ME.  If you use some parts of the
language it works ok, but using other parts produces code that won't
run on J2ME.  Perhaps the story will be the same for Android.
Basically we would need to produce an alternative version of
aspectjrt.jar that is more suited to these kinds of environment.  (And
we'd remove a lot of stuff that is in the current aspectjrt.jar that
makes no sense on those platforms).

If you try it and have issues, feel free to raise bugs for them.

Andy

On 18 October 2010 17:12, Luis Miguel Serrano
<luis.miguel.santos.serrano@xxxxxxxxx> wrote:
> Hello. I would like to know if there is any possible way to use AspectJ with
> the Android mobile platform which uses Dalvik Virtual Machine.
>
>
>
> In case such a thing is not possible, I would like to know why and also if
> there are any odds of that changing in the near future.
>
> Given the deep relation between Android's increasing usage and the Java
> Programming Language, along with the increase in applications being
> developed, i believe it would be extremely useful to a massive amount of
> people.
>
>
>
> Thanks in advance!
>
> Cheers,
>
> Luís Miguel Serrano
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>