Android Java Client

128 views
Skip to first unread message

Madhan

unread,
Nov 24, 2010, 9:22:28 AM11/24/10
to BigBlueButton-dev
Hello,

I'm looking to create an Android client for the BBB. Nothing fancy.
Just a simple client that will allow a user to join a meeting by
entering credentials, listen in and share his/her microphone. Not
looking to build any video capability.

Flash is not an option for the client as the target is Android 2.1
upwards.

For audio streaming I'm looking to use Flazr to communicate with BBB's
underlying Red5 server.
However my problem is logging in a user into a meeting before he/she
can start streaming his/her microphone.

I notice that BBB uses actionscript to perform the actions of joining
a user into a meeting.
Not sure how to implement this in Java. Any suggestions on this would
be terribly helpful!

PS - I went through all the Android posts in here. Especially the ones
related to GSoC. Wasnt really able to find what I need.

-Madhan

Denis Zgonjanin

unread,
Nov 24, 2010, 9:32:20 AM11/24/10
to bigblueb...@googlegroups.com
You'll need to be able to do remote procedure calls, the way they're done with the flash.net.NetConnection class. Not sure if flazr implements this. The important methods is NetConnection.call(...)


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.


markos calderon

unread,
Nov 24, 2010, 12:19:49 PM11/24/10
to bigblueb...@googlegroups.com
Hi Madhan,

From what I understand about Flazr, it is a java client for the rtmp protocol, so there must be a connection class... I think that first do some testing like a POC... Another thing, did you already port flazr to android? I mean, for somewhere I saw that flazr has a lot of dependecies and it was a little difficult to use in android (I'm just asking).... 

- Markos

On Wed, Nov 24, 2010 at 9:22 AM, Madhan <ncma...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.




--
- Markos

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It's not what you know, it's what you can learn...

Madhan

unread,
Nov 25, 2010, 9:05:57 AM11/25/10
to BigBlueButton-dev
Hey Thanks for the replies.

@Denis
I'm using a flash client to join a user and try understanding how
NetConnection is calling the remote function.
I'm not versed with ActionScript. So pardon any silly questions.

I see that in NetConnectionDelegate.as, NetConnection.connect(...) is
used to connect to the remote server using the uri of the Conference
room.
However once this is called, the entry point in the remote application
is in the participantJoined(...) function of ViewersSOService.as where
the user is joined into the conference. My question is where is the
mapping to the function participantJoined()? I'm probably missing
something obvious.


@Markos
I've not yet ported Flazr to Android. I've read mixed comments. I
contacted the developer of Flazr and he said its quite possible to
implement, as the dependencies have been reduced with the latest
version. So good luck to me :)
And, Flazr uses Netty Framework for making connections. Will have to
explore more on that once I figure out what parameters are needed by
the BBB server.
> > bigbluebutton-...@googlegroups.com<bigbluebutton-dev%2Bunsu...@googlegroups.com>
> > .

Denis Zgonjanin

unread,
Nov 25, 2010, 9:29:22 AM11/25/10
to bigblueb...@googlegroups.com
participantJoined() is called by the server. ViewersSOService registers a Shared Object with the server, and from there the server makes a remote procedure call to participantsJoined() whenever a new user joins.

To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.

Andrea Nigido

unread,
Nov 26, 2010, 5:00:16 AM11/26/10
to BigBlueButton-dev
I would like to help with this..Back in time I applied for Gsoc for
building the Android Client. I do have experience with AS and Android
Programming.
So keep the discussion updated as you have some progress.

Out of curiosity, why your target is 2.1? Developing a client for 2.2
onwards would be much easier, there is both Flash Player 10.1 and AIR!
> > > > bigbluebutton-...@googlegroups.com<bigbluebutton-dev%2Bunsubscr­i...@googlegroups.com>
> > <bigbluebutton-dev%2Bunsu...@googlegroups.com<bigbluebutton-dev%252Buns­ubsc...@googlegroups.com>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/bigbluebutton-dev?hl=en.
>
> > > --
> > > - Markos
>
> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > It's not what you know, it's what you can learn...
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "BigBlueButton-dev" group.
> > To post to this group, send email to bigblueb...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > bigbluebutton-...@googlegroups.com<bigbluebutton-dev%2Bunsubscr­i...@googlegroups.com>

Denis Zgonjanin

unread,
Nov 26, 2010, 10:39:07 AM11/26/10
to bigblueb...@googlegroups.com
I agree, if you do change your mind and want to develop for 2.2 and up, we have started work on a mobile client for Android written in ActionScript. The idea is to compile it to AIR and run as a native app.

You can find it here:

The project is still very early on, so if anyone wants to join it and make major contributions now would be a good time.

- Denis

To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.

Madhan

unread,
Nov 26, 2010, 12:47:23 PM11/26/10
to BigBlueButton-dev

@Denis, Andrea
Ah well I'm not an independent developer in this and the powers that
be need support for 2.1. So Java it is.
That said, will definitely check out the AIR app.

@Andrea
I'm currently looking at using an AMF library for making remote calls
from the java client to flash. Found BlazeDS, but apparently does not
work well with Android. Open AMF seems to be very poorly documented.
Any other library you are aware of that is known to work with Android?



On Nov 26, 8:39 pm, Denis Zgonjanin <deniszgonja...@gmail.com> wrote:
> I agree, if you do change your mind and want to develop for 2.2 and up, we
> have started work on a mobile client for Android written in ActionScript.
> The idea is to compile it to AIR and run as a native app.
>
> You can find it here:https://github.com/deniszgonjanin/bigbluebutton-mobile
>
> The project is still very early on, so if anyone wants to join it and make
> major contributions now would be a good time.
>
> - Denis
>
> > > > > > bigbluebutton-...@googlegroups.com<bigbluebutton-dev%2Bunsu...@googlegroups.com>
> > <bigbluebutton-dev%2Bunsubscr­i...@googlegroups.com>
> > > > <bigbluebutton-dev%2Bunsu...@googlegroups.com<bigbluebutton-dev%252Buns...@googlegroups.com>
> > <bigbluebutton-dev%252Buns­ubsc...@googlegroups.com>
>
> > > > > > .
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/bigbluebutton-dev?hl=en.
>
> > > > > --
> > > > > - Markos
>
> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > > > It's not what you know, it's what you can learn...
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "BigBlueButton-dev" group.
> > > > To post to this group, send email to
> > bigblueb...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > bigbluebutton-...@googlegroups.com<bigbluebutton-dev%2Bunsu...@googlegroups.com>
> > <bigbluebutton-dev%2Bunsubscr­i...@googlegroups.com>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/bigbluebutton-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "BigBlueButton-dev" group.
> > To post to this group, send email to bigblueb...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > bigbluebutton-...@googlegroups.com<bigbluebutton-dev%2Bunsu...@googlegroups.com>

Daronco

unread,
Dec 8, 2010, 6:24:03 PM12/8/10
to BigBlueButton-dev
Hi all,

This is my first message here, so a brief introduction:
I'm part of a research/development group form a brazilian university
-- http://www.inf.ufrgs.br/prav (pt-br only, sorry). We are in the
early stages of a project that basically consists in creating a web
conferencing system (open source). So we are thinking about using bbb
(and developing over it).

One of the features we need in our system is a mobile client (Android
at first). So we are very interested in the bbb-mobile project, and
willing to help the development.

We are just starting to use and check how bbb works, so we will need
some time to ramp up. For now we are 2 guys working on this (among
other things)...

@Denis
What should we do to start the development? Should we contact you
directly? Or we keep posting to this group?
We have a group where you can contact us if you want to:
mc...@googlegroups.com

Thanks, regards
Leonardo Crauss Daronco

On Nov 26, 3:47 pm, Madhan <ncmad...@gmail.com> wrote:
> @Denis, Andrea
> Ah well I'm not an independent developer in this and the powers that
> be need support for 2.1. So Java it is.
> That said, will definitely check out the AIR app.
>
> @Andrea
> I'm currently looking at using an AMF library for making remote calls
> from the java client to flash. Found BlazeDS, but apparently does not
> work well withAndroid. Open AMF seems to be very poorly documented.
> Any other library you are aware of that is known to work withAndroid?
>
> On Nov 26, 8:39 pm, Denis Zgonjanin <deniszgonja...@gmail.com> wrote:
>
>
>
>
>
>
>
> > I agree, if you do change your mind and want to develop for 2.2 and up, we
> > have started work on a mobile client forAndroidwritten in ActionScript.
> > The idea is to compile it to AIR and run as a native app.
>
> > You can find it here:https://github.com/deniszgonjanin/bigbluebutton-mobile
>
> > The project is still very early on, so if anyone wants to join it and make
> > major contributions now would be a good time.
>
> > - Denis
>
> > On Fri, Nov 26, 2010 at 5:00 AM, Andrea Nigido <andrea.nig...@gmail.com>wrote:
>
> > > I would like to help with this..Back in time I applied for Gsoc for
> > > building theAndroidClient. I do have experience with AS andAndroid
> > > Programming.
> > > So keep the discussion updated as you have some progress.
>
> > > Out of curiosity, why your target is 2.1? Developing a client for 2.2
> > > onwards would be much easier, there is both Flash Player 10.1 and AIR!
>
> > > On Nov 25, 2:29 pm, Denis Zgonjanin <deniszgonja...@gmail.com> wrote:
> > > > participantJoined() is called by the server. ViewersSOService registers a
> > > > Shared Object with the server, and from there the server makes a remote
> > > > procedure call to participantsJoined() whenever a new user joins.
>
> > > > On Thu, Nov 25, 2010 at 9:05 AM, Madhan <ncmad...@gmail.com> wrote:
> > > > > Hey Thanks for the replies.
>
> > > > > @Denis
> > > > > I'm using a flash client to join a user and try understanding how
> > > > > NetConnection is calling the remote function.
> > > > > I'm not versed with ActionScript. So pardon any silly questions.
>
> > > > > I see that in NetConnectionDelegate.as,  NetConnection.connect(...) is
> > > > > used to connect to the remote server using the uri of the Conference
> > > > > room.
> > > > > However once this is called, the entry point in the remote application
> > > > > is in the participantJoined(...) function of ViewersSOService.as where
> > > > > the user is joined into the conference. My question is where is the
> > > > > mapping to the function participantJoined()? I'm probably missing
> > > > > something obvious.
>
> > > > > @Markos
> > > > > I've not yet ported Flazr toAndroid. I've read mixed comments. I
> > > > > contacted the developer of Flazr and he said its quite possible to
> > > > > implement, as the dependencies have been reduced with the latest
> > > > > version. So good luck to me :)
> > > > > And, Flazr uses Netty Framework for making connections. Will have to
> > > > > explore more on that once I figure out what parameters are needed by
> > > > > the BBB server.
>
> > > > > On Nov 24, 10:19 pm, markos calderon <mcmarko...@gmail.com> wrote:
> > > > > > Hi Madhan,
>
> > > > > > From what I understand about Flazr, it is a java client for the rtmp
> > > > > > protocol, so there must be a connection class... I think that first
> > > do
> > > > > some
> > > > > > testing like a POC... Another thing, did you already port flazr to
> > > > >android?
> > > > > > I mean, for somewhere I saw that flazr has a lot of dependecies and
> > > it
> > > > > was a
> > > > > > little difficult to use inandroid(I'm just asking)....
>
> > > > > > - Markos
>
> > > > > > On Wed, Nov 24, 2010 at 9:22 AM, Madhan <ncmad...@gmail.com> wrote:
> > > > > > > Hello,
>
> > > > > > > I'm looking to create anAndroidclient for the BBB. Nothing fancy.
> > > > > > > Just a simple client that will allow a user to join a meeting by
> > > > > > > entering credentials, listen in and share his/her microphone. Not
> > > > > > > looking to build any video capability.
>
> > > > > > > Flash is not an option for the client as the target isAndroid2.1
> > > > > > > upwards.
>
> > > > > > > For audio streaming I'm looking to use Flazr to communicate with
> > > BBB's
> > > > > > > underlying Red5 server.
> > > > > > > However my problem is logging in a user into a meeting before
> > > he/she
> > > > > > > can start streaming his/her microphone.
>
> > > > > > > I notice that BBB uses actionscript to perform the actions of
> > > joining
> > > > > > > a user into a meeting.
> > > > > > > Not sure how to implement this in Java. Any suggestions on this
> > > would
> > > > > > > be terribly helpful!
>
> > > > > > > PS - I went through all theAndroidposts in here. Especially the
> > > ones
> > > > > > > related to GSoC. Wasnt really able to find what I need.
>
> > > > > > > -Madhan
>
> > > > > > > --
> > > > > > > You received this message because you are subscribed to the Google
> > > > > Groups
> > > > > > > "BigBlueButton-dev" group.
> > > > > > > To post to this group, send email to
> > > > > bigblueb...@googlegroups.com.
> > > > > > > To unsubscribe from this group, send email to
> > > > > > > bigbluebutton-...@googlegroups.com<bigbluebutton-dev%2Bunsubscr i...@googlegroups.com>
> > > <bigbluebutton-dev%2Bunsubscr­i...@googlegroups.com>
> > > > > <bigbluebutton-dev%2Bunsu...@googlegroups.com<bigbluebutton-dev%252Buns ubsc...@googlegroups.com>
> > > <bigbluebutton-dev%252Buns­ubsc...@googlegroups.com>
>
> > > > > > > .
> > > > > > > For more options, visit this group at
> > > > > > >http://groups.google.com/group/bigbluebutton-dev?hl=en.
>
> > > > > > --
> > > > > > - Markos
>
> > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > > > > It's not what you know, it's what you can learn...
>
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > > Groups
> > > > > "BigBlueButton-dev" group.
> > > > > To post to this group, send email to
> > > bigblueb...@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > bigbluebutton-...@googlegroups.com<bigbluebutton-dev%2Bunsubscr i...@googlegroups.com>
> > > <bigbluebutton-dev%2Bunsubscr­i...@googlegroups.com>
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/bigbluebutton-dev?hl=en.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "BigBlueButton-dev" group.
> > > To post to this group, send email to bigblueb...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > bigbluebutton-...@googlegroups.com<bigbluebutton-dev%2Bunsubscr i...@googlegroups.com>

Fred Dixon

unread,
Dec 8, 2010, 8:51:26 PM12/8/10
to bigblueb...@googlegroups.com
Welcome Daronco to the BigBlueButton-dev mailing list! You'll find
everyone here, including the core development team, very open to
having others pick up projects that contribute to BigBlueButton.

We recommend you keep posting to this group as there are other android
developers that could help out. If they see you as investing your
time and expertise to build a good android client, you'll stand an
excellent chance of attracting them to help out and accelerate the
project.

Don't worry about the ramp-up time, we've found that persistence pays
off with building BigBlueButton (some of us have been working on it
for over three years now).

Hope you are successful in getting your project going. It's
inevitable that your going to see Android and iOS clients for
BigBlueButton, it's just a matter of who is persistent enough to build
them.

Regards,... Fred

> To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.

Madhan

unread,
Dec 23, 2010, 6:21:19 AM12/23/10
to BigBlueButton-dev
Just an update for anybody who might find it helpful. It was possible
to port bbb to Android using Java. I used a paid library called Smaxe
to mimic the flash NetConnection, NetStream calls. Very lightweight
and pretty well documented.
Thanks for the tips along the way.


On Dec 9, 6:51 am, Fred Dixon <ffdi...@gmail.com> wrote:
> Welcome Daronco to the BigBlueButton-dev mailing list!  You'll find
> everyone here, including the core development team, very open to
> having others pick up projects that contribute to BigBlueButton.
>
> We recommend you keep posting to this group as there are otherandroid
> developers that could help out.  If they see you as investing your
> time and expertise to build a goodandroidclient, you'll stand an
> excellent chance of attracting them to help out and accelerate the
> project.
>
> Don't worry about the ramp-up time, we've found that persistence pays
> off with building BigBlueButton (some of us have been working on it
> for over three years now).
>
> Hope you are successful in getting your project going.  It's
> inevitable that your going to seeAndroidand iOS clients for
> BigBlueButton, it's just a matter of who is persistent enough to build
> them.
>
> Regards,... Fred
>
> On Wed, Dec 8, 2010 at 6:24 PM, Daronco <leonardodaro...@gmail.com> wrote:
> > Hi all,
>
> > This is my first message here, so a brief introduction:
> > I'm part of a research/development group form a brazilian university
> > --http://www.inf.ufrgs.br/prav(pt-br only, sorry). We are in the

Jeremy Thomerson

unread,
Dec 30, 2010, 5:44:23 PM12/30/10
to bigblueb...@googlegroups.com
On Thu, Dec 23, 2010 at 5:21 AM, Madhan <ncma...@gmail.com> wrote:
Just an update for anybody who might find it helpful. It was possible
to port bbb to Android using Java.  I used a paid library called Smaxe
to mimic the flash NetConnection, NetStream calls. Very lightweight
and pretty well documented.
Thanks for the tips along the way.

Do you mean that you have this working?

Jeremy Thomerson

Madhan

unread,
Jan 9, 2011, 8:16:18 PM1/9/11
to BigBlueButton-dev
Yes. A simple android client without flash that logs you in to a
conference and streams audio, no video.

On Dec 31 2010, 3:44 am, Jeremy Thomerson <jer...@thomersonfamily.com>
wrote:

Synergy Marketing Agency

unread,
Jan 10, 2011, 1:08:01 AM1/10/11
to bigblueb...@googlegroups.com
I am raising my hand to test this and help with bug reports & any artwork you may need.

Landy DeField




Madhan

unread,
Jan 11, 2011, 8:25:23 PM1/11/11
to BigBlueButton-dev
Unfortunately, this was a closed source project that I worked on for a
client.

On Jan 10, 11:08 am, Synergy Marketing Agency
> > bigbluebutton-...@googlegroups.com<bigbluebutton-dev%2Bunsubscr i...@googlegroups.com>
> > .

Richard Alam

unread,
Jan 11, 2011, 8:36:09 PM1/11/11
to bigblueb...@googlegroups.com
Hi Madhan,

We're glad you were able to make it work.

We are very interested (if possible and doesn't violate your contract)
if you could share your experiences on developing the client.

What's possible and What's not in Android?

What worked? What did not? What changes in BBB could have made your
work easier? What in BBB made your work simpler? etc.

Thanks.

Richard

> To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.


> For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.
>
>

--
---
BigBlueButton
http://www.bigbluebutton.org
http://code.google.com/p/bigbluebutton

Synergy Marketing Agency

unread,
Jan 11, 2011, 9:33:01 PM1/11/11
to bigblueb...@googlegroups.com
I am looking at the thread about the android 2.2+ app now so no worries. ;)

Talk soon,
Landy DeField
360-848-1972
http://SynergyMarketingAgency.com



To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.

Madhan

unread,
Jan 16, 2011, 8:28:53 PM1/16/11
to BigBlueButton-dev
@Richard
Well, my requirement was to make the app for 2.1. So I didnt have
flash to work with.
Most of my time was spent trying to find a java library to mimic the
flash remote procedure calls.
So an app for 2.2 and above should be easier.
That said, a little more documentation on what the exact remote
procedure calls for logging in, begin streaming etc would have been
helpful. Right now its required to dig in the code to figure that out.

Madhan

On Jan 12, 6:36 am, Richard Alam <ritza...@gmail.com> wrote:
> Hi Madhan,
>
> We're glad you were able to make it work.
>
> We are very interested (if possible and doesn't violate your contract)
> if you could share your experiences on developing theclient.
>
> What's possible and What's not inAndroid?
>
> What worked? What did not? What changes in BBB could have made your
> work easier? What in BBB made your work simpler? etc.
>
> Thanks.
>
> Richard
>
>
>
>
>
>
>
>
>
> On Tue, Jan 11, 2011 at 8:25 PM, Madhan <ncmad...@gmail.com> wrote:
> > Unfortunately, this was a closed source project that I worked on for a
> >client.
>
> > On Jan 10, 11:08 am, Synergy Marketing Agency
> > <contac...@synergymarketingagency.com> wrote:
> >> I am raising my hand to test this and help with bug reports & any artwork
> >> you may need.
>
> >> Landy DeField
>
> >> On Sun, Jan 9, 2011 at 5:16 PM, Madhan <ncmad...@gmail.com> wrote:
> >> > Yes. A simpleandroidclientwithout flash that logs you in to a
> >> > conference and streams audio, no video.
>
> >> > On Dec 31 2010, 3:44 am, Jeremy Thomerson <jer...@thomersonfamily.com>
> >> > wrote:
> >> > > On Thu, Dec 23, 2010 at 5:21 AM, Madhan <ncmad...@gmail.com> wrote:
> >> > > > Just an update for anybody who might find it helpful. It was possible
> >> > > > to port bbb toAndroidusingJava.  I used a paid library called Smaxe
Reply all
Reply to author
Forward
0 new messages