Starting a bridge in a new thread

Hari Shyam <hari.shyam@...>

Hi team,


Is it necessary to start a bridge on a separate thread?


new Thread() {

       public void run() {

              try {


              } catch (RuntimeException e) {






Or should we use this


Mama.startBackground(bridge, new MamaStartBackgroundCallback() {



                     public void onStartComplete(int paramInt) {


                 "mama started");






For the second option, the callback is never called.



This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

Please refer to for additional EU corporate and regulatory disclosures and to for information about privacy.

Join to automatically receive all group messages.