Still Active? Can this be used by android studio?

105 views
Skip to first unread message

Raphael Pilz

unread,
Jul 17, 2015, 10:58:28 AM7/17/15
to alternate-java-bridg...@googlegroups.com
Would be interested...

Steve Marcus

unread,
Jul 18, 2015, 6:20:10 PM7/18/15
to alternate-java-bridg...@googlegroups.com
Hi there, yes you can use it with Android studio, however no one is actively supporting it anymore, so you may run into issues with newer versions of Android.

Imp Inc

unread,
Sep 12, 2015, 2:33:14 PM9/12/15
to Java Bridge Discussion
Yes, what Steve said is true. I no longer use it myself, and stopped supporting it a while ago. The Eclipse plugin obviously won't work, but you can always just add the jar file, and use it in Android Studio.

I've moved on to work on a new library. I now have a career in Android development, in part due to App Inventor, and the Altbridge, it was time to move on. While it's easier to get into Android development if you've used App Inventor, it makes other things more difficult.

My new library, AAL (Another Android Library), is meant to be more flexible, and less rigid than the Altbridge. However, it will be harder to get into for the person just jumping into Android/Java programming. You can read more about it here: https://bitbucket.org/RyanBis/aal-android-studio

- Ryan

Slobodan Vujnovic

unread,
Nov 7, 2015, 2:03:27 PM11/7/15
to Java Bridge Discussion
Hi Ryan,

How does AAL compare to Java Bridge, feature wise? Is there more stuff? Less stuff? Is it stable enough?

I don't mind if it's harder to master - anything but pure Java is OK with me! I want to transition my App Inventor projects, but can't as yet grasp some of Java's concepts, verbosity, etc., so I'm moving slowly...

Has anybody switched to AAL? Any tips and the overall experience?

Since you have a real job now, how dedicated will you be to keeping AAL alive? Do you plan to create a Google group for AAL?

Thanks in advance,
Slo

Slobodan Vujnovic

unread,
Nov 7, 2015, 3:07:45 PM11/7/15
to Java Bridge Discussion
Hi Steve,

Any tips on how to actually use AAL? I've read the wiki, but could not figure it out. I downloaded RyanBis-aal-android-studio-69113fd221af.zip, expanded it, and opened in Android Studio as an existing project. Should it be a library project? If yes, I could not find that option on the Android Studio startup screen.

Sorry, just showing my ignorance. I wish some of the old Java Bridge users would chime in with their opinions, plans, etc., regarding AAL.
Slo

Imp Inc

unread,
Nov 8, 2015, 3:53:39 PM11/8/15
to Java Bridge Discussion
Hello Slobodan,

 Well, AAL is not too much like Java Bridge, though there is some code shared from it.

 Altbridge, or Java Bridge are designed for people just coming into Java, whereas AAL isn't. Not that you can't use it when learning Java, but it will be harder to learn comparatively.

 One thing I would suggest, is to take the Intro to Java course on udacity.com . You can take their courses for free, though you can pay them (I forget what the difference is, I believe when you pay, you get instructor led classes, as opposed to taking scripted lessons). This will be necessary for you to really be able to write apps for Android. (not necessarily at udacity, I just chose them because my girlfriend took it, and it helped her a lot).

 As far as support for AAL, I use it in my own projects, so it's not going anywhere anytime soon. I had been thinking about creating a group for it, just hadn't gotten around to it yet :). But now I've finally created a group for it, it's here: https://groups.google.com/forum/#!forum/aal-support

 BTW, you don't have to download anything from bitbucket to use it. You just have to add a line to your project's build.gradle file. There are usually 2 of these in a project, you want the one in the folder named "app" (it should have an android section in it).

I have a samples project that I had been working on, I'll try to get that project into a more presentable shape in the next week or two.

If you have any other questions on it, please post them on the new aal support group (thanks for giving me the push to get it created :P ).

Ryan

Slobodan Vujnovic

unread,
Nov 8, 2015, 6:17:16 PM11/8/15
to Java Bridge Discussion
Ryan,

Thanks for taking the time to reply in such detail! I'm looking forward to your example projects to get going. In fact, I've been learning Java for years, but never felt comfortable with it. I mean, verbose stuff like "Button button = new (Button) getViewById(R.id.button)" drives me nuts... I have about three decades of computing experience, but never embraced OOP fully.

I'm aware of udemy and YouTube tutorials and have spent lots of hours getting familiar with Eclipse and, now, Android Studio. However, it's in App Inventor that I find Android development a joy, despite serious limitations.

I'm also looking into Go as a future alternative to Java on Android. It's not coming anytime soon, but should be interesting, given that it is a compiled language, among other things.

Slo

Steve Marcus

unread,
Nov 22, 2015, 3:26:55 AM11/22/15
to Java Bridge Discussion
For any future visitors, it would appear Android 6.0 Marshmallow is the death knell for this wonderful alternate Java Bridge.

All my old apps using this great library are generating java.lang.LinkageErrors on 6.0. They still work fine on Android 5.x


Steve

Imp Inc

unread,
Nov 22, 2015, 9:32:28 PM11/22/15
to Java Bridge Discussion
Steve,

 Can you zip up a simple project that reproduces the error? I'll see what I can do to fix that. I don't want all your apps crashing like that :).

Ryan

Steve Marcus

unread,
Nov 24, 2015, 5:12:46 AM11/24/15
to Java Bridge Discussion
Hi Ryan,

It's quite ok.. my altbridge apps have had their day and I'm programming java apps now.

However if you have the desire, here is an example "Hello World" app that reproduces the error on 6.0. (Eclipse project)


It possibly doesn't like the $define (). I have commented out just about everything else and it still crashes just with this.


Steve

Steve Marcus

unread,
Feb 24, 2016, 12:50:35 AM2/24/16
to Java Bridge Discussion
Hi Ryan,

Just curious... did you work out what was stopping the bridge from working on marshmallow?


Steve
Reply all
Reply to author
Forward
0 new messages