cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect Blackberry Simulator to SUP

Former Member
0 Kudos

Hi,

I have developed a mobile workflow package. And now I need to do some testing from the blackberry simulator. I have installed the Blackberry 9930 Simulator and also the Email and MDS service. But I am having these problems because of which I am stuck. Any help will be highly appreciated.

1. I believe I need to connect the Blackberry Simulator with the SUP. How is this done. Is it done from the Sybase Control Center?

2. How to install the mobile workflow container in the client; in my case it is the Blackberry simulator.

Regards

Tapas

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

First of all you need to install the blackberry plug-in in the following path : C:\Sybase\UnwiredPlatform\Eclipse\plugins.

Make sure that all the Sybase services have started.

Then login to the Sybase Control Center, and create a new device with the following properties:

Activation User Name: <Name>
Server Name: <server id>
Port: 5001
Farm ID: 0
Activation code: <any code>

Start the MDS server by clicking on the run.bat file from C:\Sybase\UnwiredPlatform\Eclipse\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components\MDS. Then run the simulator from C:\Sybase\UnwiredPlatform\Eclipse\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components\simulator.

Once the simulator get loaded completely, load the following files from C:\Sybase\UnwiredPlatform\ClientAPI\MBS\BB\MoMessaging to the simulator.

MocaClient.cod
CommonClient.cod
MessagingClientApp.cod
MessagingClientSettings.cod
WorkflowResources.cod.

Then choose Menu -> Options -> Third Party Applications -> Sybase Settings. Gave the connection parameters as per the Sybase Control Center Device. And Save the entries. Check the log whether there is any error or not.

After this your simulator got registered in the Sybase Control Center.

Now you can deploy your application to this simulator.

Thanks and regards,

Rinzy Deena Mathews.

Former Member
0 Kudos

Hello Rincy,

Thank you so much for the detailed information. Really appreciate the efforts... It was very helpful.

I am now able to connect to the BB Simulator and I see it online in SCC. Even I am able to connect to the internet since the MDS is running fine. I was getting a problem while starting the MDS previously but after I installed the MDS in a folder outside "C:\Program Files" and modified the Read Only access I was able to start the MDS. That way the problem of connecting SUP and BB Simulator is solved.

But I am now facing another hurdle. Now after I see the simulator online I am trying to send the workflow from the Unwired workspace by right clicking on the window of the workflow and clicking "Send a notification". But I dont see the workflow in the simulator inside messages->workflow.

Would really be helpful if you can help me out in this.

Regards

Tapas

Edited by: tapasdixit on Nov 12, 2011 3:24 PM

Former Member
0 Kudos

Hi Tapas,

To send notification to device your workflow application should be Server Initiated, so that notification can be sent from Server to Device.

Hope this helps you in your query.

Regards

Saket

Former Member
0 Kudos

Hi, please take a look at this section in the Developer Guide:

http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01218.0210/doc/html/vhu1299865563514...

Thanks,

Andrew.

Former Member
0 Kudos

Hi Andrew,

Thank you very much for finding out some time help me out. I followed the link which you passed and after adding the COD files I am now able to see the "Sybase Settings" inside the "Third Party Applications" in the blackberry Simulator.

I believe this is the first step in configuring the BB simulator with the SUP.

I believe the next step would be to enter the Registration information on the SCC end and also the simulator end.

For this I have entered the following information on the SCC end in the Device Users-> Devices -> Register screen:

Activation User Name: bb7

Server Name - inl-171859-1

Port 5001

FARMID 0

Activation code 123

The same information I have entered in the simulator side inside Options->Third Party Applications -> Sybase Settings

But the problem as of now is in the SCC side I dont see the status of the device getting moved to Registered. It is still in the Pending state.

Thank you so much for the help once again

Regards

Tapas

Former Member
0 Kudos

Hi Tapas,

Are you able to browse the internet with the built in Browser application on the simulator? e.g. go to www.google.com?

Is the MDS simulator running? This is required for the BlackBerry simulator to simulate network connectivity.

Thanks,

Andrw.

Former Member
0 Kudos

Hello Andrew,

Yes... I am able to start the MDS properly and I am able to connect to the internet from the simulator correctly.

Also I am now able to see the simulator online in the SCC.

But now there is another obstacle...

Now after I see the simulator online I am trying to send the workflow from the Unwired workspace by right clicking on the window of the workflow and clicking "Send a notification". But I dont see the workflow in the simulator inside messages->workflow.

Would really be helpful if you can help me out in this.

Regards

Tapas

Former Member
0 Kudos

Hi Andrew,

I am SAP Portal consultant ,shifting towards SUP as on project can you please help in gettign the information from beggining of sup developements and introductions.

I appreciate the help in advance if you provide me more details about SUP blacberry ( videos or tutorials).

Thanks In Advance!

AswinChandraGirmaji

Former Member
0 Kudos

Hi,

Few things which you should do when developing Blackberry Mobile Apps from SUP.

1. First install the SUP in your system. Also install Blackberry JDE 6.0.0

2. Try developng workflows which are generic. You can for an example use the Weather WS HWC Sample present in the code exchange of this forum to start with. Very easy

3. Then use the sybase control center to connect the Blackberry Device with the Platform. This you can do by following the sybase control center how to add a device. (You should have the MDS and BB simulator running).After connecting both the simulator and the platform you can generate the workflow which will directly go and sit in the simulator and then you can start using it.

TUTORIALS

==========

Sales Order Mobile Workflow tutorial

http://www.youtube.com/watch?v=g8zF_QXJTVo&feature=related

http://www.youtube.com/watch?v=NMCbnAhcB10&feature=related

Weather Forecast Tutorial

http://www.youtube.com/watch?v=9e5kRxY3WrY

http://www.youtube.com/watch?v=HF6n8DnajqE&feature=related

Documents for practise

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8028374d-6490-2e10-5391-b3cb0310a...

https://cw.sdn.sap.com/cw/groups/sup-apps?view=documents

http://ws.cdyne.com/WeatherWS/Weather.asmx?wsdl

Hope this helps

Edited by: tapasdixit on Nov 25, 2011 10:30 AM