cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry Android Client Branding - Hardcode Application URL

Former Member
0 Kudos

Hi Agentry Experts,

I have a query on Agentry Android Client Branding.

Is it possible to hardcode the Application URL for the Android Agentry client?

So that user will have to just provide the login username and password, even during the Initial Sync.

They need not have to provide the Application URL.

Is it possible?

Thanks for your help!

regards

Ela

Accepted Solutions (0)

Answers (1)

Answers (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert

Ela,

Yes this can be done by creating a branded Android client.   As part of the branding project you can set this in the AgentryClient.properties file that is located in the AgentryAndroidClientSolution project under the assets folder.  You will specify the URL in the server_name property.

--Bill

Former Member
0 Kudos

Hi Bill,

Thanks for your quick reply.

I tried setting that property with the Application URL and installed the updated APK.

But still, the client is prompting for "Select Server" screen with no values, after giving the credentials.

Any thoughts, if I am missing something else?

regards

Ela

Former Member
0 Kudos

My AgentryClient.properties file looks like below.

# Enter your PRODUCT ID that you got from http://developer.android.com/guide/google/gcm/gs.html:

gcm_product_id=

server_name=https://myserver.mydomain.com:8081/SAPWM

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

What version of the Framework are you using?

--Bill

Former Member
0 Kudos

The version of Agentry Android client is v70.6.0.7.

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

I just tried it with the latest framework and when the Select Server screen appeared it contained my URL pre-populated.  I could change it if needed but the value defaulted to my entry from the AgentryClient.properties file.

--Bill