on 04-28-2014 2:51 PM
Hi
I am using SSM 3.0, Agentry client v6.0.38.1.
How can I lock Android device screen in strictly landscape mode for our customized Agentry app through Agentry editor?
If I lock device screen in landscape mode then it will affect other applications too.
So is there any way to just lock the screen for particular Agentry application?
Regards
Prit
Bill/Steve,
I branded the Android client successfully. Thanks for your help.
I found another method to lock the screen in landscape mode and used it.
I added
screen_orientation_phone=LANDSCAPE
screen_orientation_tablet=LANDSCAPE
in
AgentryAndroidClientSolution\assets\AgentryClient.properties
and did brandind process. It is locked in landscape mode now.
Thanks and regards
Prit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Prit,
There is no setting in the Agentry to force the application to only landscape or only portrait.
However, you can through the Android branding process force the orientation.
After you unzip the SMPAgentryClientFramework-Android-6.0.38.x.zip, in the AgentryAndroidClientSolution folder there is a file AndroidManifest.xml
You will need to edit this file to add the following directive to the activity tags (12) in the file where the android:name starts with ".ui."
android:screenOrientation="landscape"
Here is one example from my file.
<activity android:name=".ui.screensets.OverlayScreenSetActivity"
android:configChanges="orientation|keyboardHidden"
android:theme="@style/AgentryActivityDialog"
android:screenOrientation="landscape"/>
After editing and saving the file simply build the branded client and when you launch the new client on the device it should automatically go into landscape mode no matter what orientation the device is in.
--Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Easy is always relative.
In terms of the branding process, once you have the tools setup (one time process) the branding is simply a matter of executing the script with the right arguments and everything just builds.
This is actually the first time I have come across this request for Android and I guess depending on the device it might be beneficial.
--Bill
Prit,
Unfortuately it is not yet reached General Availability. The SAP Mobile Platform 3.0 (which includes Agentry 7 and the Open UI) is currently in Ramp Up which means select customers are using it to build production level applications and when the specific criteria are met the application will be generally released.
--Bill
Hi Bill,
I followed the steps mentioned by you earlier in this post.
Now I want to build the branded client.
How can I do it?
I have 'SMPAgentryClientFramework-Android-6.0.38.x.zip' and 'SMPAgentryClientFramework-Android-6.0.40.1.zip' file and Android client.
Please reply as soon as possible
Regards
Prit
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.