cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot connect from Android Simulator to SUP

Former Member
0 Kudos

i installed the Sybase Workflow Application in Android Simulator, and in setting, i set up the host, user name & activation code, farm id

correspondingly in SCC -> Application -> i also set up application user in it

but i still got the error Cannot connect to Server

is there anything i missed?

thanks a lot

Accepted Solutions (0)

Answers (2)

Answers (2)

rohith_deraje
Advisor
Advisor
0 Kudos

Hi Lawrence,

Please check you have the below permission in Androidmanifest.xml. If not please add it and try again.

<uses-permission android:name="android.permission.INTERNET"></uses-permission>

<uses-permission android:name="android.permission.READ_PHONE_STATE"/>

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

Regards

Rohith.

Former Member
0 Kudos

Hi Marshal

already tried this

Hi Rohith Deraje

not sure which Androidmanifest.xml you mean, i found many and picked one to check, it's already maintained

any idea????

thanks a lot

rohith_deraje
Advisor
Advisor
0 Kudos

Hi Lawrence,

Each android project will have its own AndroidManifest.xml. Please check in your project which you are trying to run connect to SUP.

Change the View in eclipse to "package explorere".

Expand your project folder . You will find AndroidManifest.xml.

Regards

Rohith

Former Member
0 Kudos

hi Rohith Deraje

thank you very much for your reply

i cannot find it

i am not sure whether i missed something or not

i am trying to setup one workflow and want to connect to Android simulator to run it

i already completed the configuration of the workflow

rohith_deraje
Advisor
Advisor
0 Kudos

Hi Lawrence.

Every Android app must have AndroidManifest.xml. Please check http://developer.android.com/guide/topics/manifest/manifest-intro.html.

I assume you missed something when you created/imported android project.

Please check link http://stackoverflow.com/questions/4404553/missing-androidmanifest-xml-when-importing-an-old-android....

The above link talks about similar issue. Hope this helps you to solve your problem.

Regards

Rohith

rakshit_doshi
Active Contributor
0 Kudos

Hi all,

Does anyone have any idea of how to connect to a SUP server via a relay server and authenticating a user using the relayserver. Currently i am using the sybase hosted relay server.

Can anyone guide me through the coding steps required?

Marçal_Oliveras
Active Contributor
0 Kudos

From the simulator try the IP instead of the hostname. Just an idea