on 09-23-2011 10:08 PM
Hi,
I am trying to follow the tutorial to create a workflow application in SUP version 2.0.1.
I created the workflow and have generated the mobile workflow package and then in the SCC i have added a device and in the Android Emulator (version 2.3.3) i have put the settings as described but i don't see any messages or workflows in the Sybase workflows app in the emulator.
Also what URL prefix is used in the settings of the workflow app in the emulator.
Thanks.
It is client initiated. The client initiated workflow will appear uner workflows - not messages. I also tried to send a test notification from the flow design and I did not yet see the message in the emulator. I will check the log.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it client-initiated, server-initiated or both? If it is only server-initiated, you won't see anything until you send a notification.
Have you checked device-side log via Show Log to see what messages are in there?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try using as the server name 'localhost@localhost' . Suppy the user/password established for the user in the SCC. Let the rest of the parameters default in the sybase connection settings of the emulator.
It's working for me now after having the same problem that you were having.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Excuse me, Maurice; the server name localhost@localhost doesn't work. Workflow configuration on an android emulator requires an IP address (why?I don't know). For this reason I set first my ip obtained from 'ipconfig' command (yeeaaah, it works fine!! but...not very efficient, because I have to change this value everytime); So, I thought: mmm...I set '127.0.0.1' in field server... but it doesn't work. Finally, I found the answer: a typical mistake on android emulator is thinking that the localhost address of our SUP server (on local installations) is the typical loopback address. It is wrong: the loopback points to the own emulator! So, if you want to do right, you have to use the '10.0.2.2' address, which is the real loopback ip of the MACHINE in which you are running the emulator.
When you are registering the user in the SCC give private IP instead of hostname/public IP. In the device also same details and connect. It would work.
One way to help trace down connection problems is to open the device's browser and attempt to connect to the SUP server.
http://ip_addresss_of_sup_server:5001
I believe you will either see a white screen or a login screen if the connection succeeds. If it does not, perhaps there is a firewall or something blocking access between the device and the SUP server.
If it does work, try resetting the Hybrid Web Container under Android > Settings > Apps > Hybrid Web Container > Clear Data. Also delete the connection in SCC (Applications > Application Connections). Then re-enter the settings in SCC and in the settings screen of the Hybrid Web Container.
For security reasons, the settings of the Hybrid Web Container cannot be changed once they are initially entered.
Hi Jitendra,
In log i am getting "Bad User name or Code" error.
I register in scc as follows,
in security-> application
1.register for application
user:android-2
templet:default
Application id:HWC
security confuguration:admin
activation code:123
and in my android emulator
server name: sybase ip address
port:5001
user name:android-2
activation code:123
and save, then we are getting the log as "Bad User name or Code".
Did anything wrong i did.
Note: we are not using relay server.
Thanks in advance.....
Thanks
Suresh
Hi Midhun, Jitendra
Thanks a lot... It helped me. ...Now emulator is connected.
I have 1 more question.
1. We are controlling the data to be displayed from SAP, based on user name.
i developed one application and at the time of deployment to SUP in the step "Server connection mapping" i gave my connection settings ( my user name and password "sureshb")
Now in SUP i created 2 user ( one is my sureshb, other is askhara ). We both can able to search in two different emulators, but both are getting "sureshb" authorized data as output.
How to control this.
My requirment is ashkhar has to see his authorized data only.
Thanks in advance.
Sureshb
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.