ektron 8.6 - override mobile device for a single session - ektron

A user can be routed to a mobile template of an existing desktop template based on what device they're on -- no problems there.
The difficulty I'm having is when I'd like to route a user from Template A (the mobile version) to Template B (the desktop version). A good example of this is a "view desktop version" link.
Is there a way to ask Ektron to ignore (for the length of the session) the device routing?
Thanks.

You can actually find the answer to this question on Ektron's customer portal. See this article:
How To: Viewing a "Desktop" Site on a Mobile Device

Related

How to Launch/Open any other external app from hybrid app? [duplicate]

I have a requirement to open the native version of the hybrid app (.ipa/.apk/.appx) when the hybrid app is requested in a device browser.
I am able to detect the environment using WL.Client.getEnvironment(); method, if it is found to be Android/iPad, I want to launch the respective .apk/.ipa file in the device. Any help is appreciated.
Re-reading this question and the comments several times... I still do not understand the actual scenario... it'd be best to rephrase it.
Scenario: How to open an app from the web browser:
If you have added the following environments to your Worklight application:
Mobile Web
Android
iPhone
And when visiting the Mobile Web version of your app, you want to display a message like "For the full experience, open the full application by clicking here".
Then:
It is implied that the user already has the application installed.
If it is not installed, you need to take care of that somehow
The way to handle this scenario is to use URI schemas:
For Android: How to implement my very own URI scheme on Android
This means that after adding the custom URI schema to AndroidManifest.xml, you could then detect the device OS the Mobile Web app is currently running on and display a custom link: myapp://<the URI schema you've defined>. Tapping it will open the app installed on the device.
For iOS, in a similar fashion: https://coderwall.com/p/mtjaeq
Also see: http://wiki.akosma.com/IPhone_URL_Schemes
Alternate solution: If you are not sure if the app will be installed or not, then instead of using URI schemas you can always point to either Google Play or Apple App Store, to the app page; the user will then have either a "Open" or "Install" link.
Scenario: How to open an app from my own app
If you have a Worklight Hybrid application (Mobile Web is not a Hybrid application), and you want to open another application from within it, you can:
Use the same approach of URI schemas, or
Use Cordova plug-ins
I have created this Worklight 6.1.0 project to demonstrate:
Android - How to open, for example, the Android Settings app from your Worklight Hybrid app
iOS - How to check if Waze is installed and open it, and if it is not installed then to open Apple Maps instead.
See instructions.txt in the apps\test folder.
Are you asking that if the user via their device browser hits the webapp version of your app on the internet, the website will ask the user to fire up the native app on their device? kind of like what ebay does?
if that is what you want check out these pages
android:Launch custom android application from android browser
IOS:
iPhone - Open Application from Web Page

Social Business Toolkit: Sametime chat only with local installed Sametime Client possible?

I'm using SBT SDK on a XPage.
After mastering a few traps at the beginning it works fine.
Livenames are properly displayed.
But now a got another problem.
If you click on a available person, a context menu is displayed, where you can choose 'CHAT' or 'VCARD'.
If I click on CHAT a URL like this ist called:
http://localhost:59449/stwebapi/loggedin?jsonp=stproxy.connect.callback.setAvailable&wait=true&time=1407834968761&fqdn=sametime.lotus.com
I found out that you have to install Sametime Connect Client locally at every computer, because it is providing a small webserver at port 59449.
That's impossible because I want to use Sametime on a public website.
I'm pretty sure that there is another way.
Somebody an idea?
thanks
Marcus
#user2776693 - There are two ways:
1 - using the Sametime Local Web API
The local web api uses a configurable port (the default is mentioned above), to communicate back and forth from a web site which embeds or calls the configurable port using jsonp, meaning the javascript of the site wraps the sametime calls.
2 - using the Sametime Web Chat/Web Proxy
It means that the Sametime Web Chat is embedded as JavaScript on the page, and loaded using the appropriate JS libraries, and can have some pretty advanced features. There is a demo site off of greenhouse.lotus.com, and you can sign up for an account on that site.
you can download the sdk, and find many examples of using the local web api and web chat.
http://www14.software.ibm.com/webapp/download/nochargesearch.jsp?q0=&k=ALL&S_TACT=104CBW71&status=Active&b=Lotus&sr=1&q=sametime+sdk&ibm-search=Search
Download Version 9.0 IFR1
Extract with Zip
Go to Examples and samples

Adding "Third-party" link in "Share Page" sheet on Windows Phone 8 IE10

I am wondering if there is a possibility to add third-party app link in "Share Page" sheet in IE10 on Windows Phone 8.
For instance, when you like to share a url that you are browsing in your IE10 on Windows Phone 8, and would like to share that site or url, you tap on "..." and then from there you pick "share page" option and then you tap either "Tap+Send", "Hotmail" or "Gmail" and then "Social Network". However I would like to add a third-party link here just like when you try to share photos and there you see the third-party apps links.
So my question is does IE10 on Windows Phone 8 allows you to add "sharing extension" specifically or it is only blessed by Native Apps that are developed by Nokia, HTC or Microsoft?
See the "Share Page Sheet" (with options of sharing) here:
https://twitter.com/MMudassir/status/278584991091392512/photo/1
That isn't a supported extensiblity point for WP7/WP8.
If you want to see that supported in the future open up a new uservoice suggestion with your usecase on when consumers would need this functionality.

Windows Phone 8 - Device Management

I am a newbie in Windows Phone development. Could someone please help me with the below questions with respect to Windows Phone 8.
Company Hub: I assume that this will be a custom application that works as a store/catalog for other company applications (plus additional company information). This has to be developed either by the company itself, or by a vendor for the company. Please correct me if I am wrong.
Company Hub is invoked by going to Settings ->Company Apps. Again, please correct me.
In some videos, I have seen people logging into "Company Apps" by clicking on an "Add Account" button (Settings ->Company Apps). What is this account? It just asks for an email address and password.
How is MDM (Mobile Device Management) implemented in WP8 devices? Is it using the WNS (Windows Notification Services), just like Apple's APNS? Is there a documentation available for implementing MDM in WP8?
If this is handled using WNS, then what actions can be performed on a remote Windows Phone 8 device? Is there available a list of commands?
Saw few examples using Exchange ActiveSync. Some product companies have their own Administration Portal to setup ActiveSync configurations. How can this be done?
You are correct
You are correct
AFAIK the company account is autodetected, based on the email address that user provides. Companies must get certificate from Symantec in order to use Company Apps. Check out also Applications Enrollment Token from MSDN
Documentation for MDM API is currently (09.Nov 2012) not yet publicly available.
You can check out press releases from MobileIron or AirWatch - see what they promise - that covers the API possibilities
Update: Google 2WP8_Enterprise_Device_Management_Protocol.pdf".
The Settings->Company Apps is where you add your company's hub but once you add it it will show up as an app in the app list and can be pinned to the start screen.
It's basically an app that can be used to show information and install other apps
Users in your company will need to authenticate themselves to get your company app. I'm not sure about the details there

How to customize SharePoint 2010 mobile view

I am stuck on developing a mobile view for my SP2010 publishing portal. It is Internet-facing with custom pages / web parts (e.g. http://server/Pages/customPage.aspx with custom webparts on it). The site has a custom master page.
I am having the following issues with the built-in mobile functionality:
The welcome page. Navigating to
http://server/?Mobile=1 redirects me
to
http://server/_layouts/mobile/mbllists.aspx, which just shows a table of lists / document libraries available. For
my portal, I want to show a
dashboard, just like I currently do for the "normal" non-mobile view.
Navigating to one of my custom
pages (e.g.
http://server/Pages/customPage.aspx?Mobile=1)
also redirects to
http://server/_layouts/mobile/mbllists.aspx.
So in effect there is really no helpful built-in mobile support at all; just the ability to view lists with a mobile device.
So I have a number of issues and I'm hoping for some high-level help. My thought is that I should do the following tasks:
Create a separate master page for mobile
Figure out how to choose this master page based on "is client a mobile device?"
Figure out how to prevent the redirection to /_layouts/mobile/mbllists.aspx
Then I think the mobile site will operate similarly to the normal site.
Am I on the right track?
[Edit]
With what I have seen from links from #moontear and other research I've done, it sounds like my best option is to just disable built-in SharePoint mobile support, and just do my own conditional rendering based off of Request.Browser.IsMobileDevice.
Check out the extensive MSDN documentation about how to customize Mobile Views:
How to: Customize Mobile List View and Form Pages
when you check out that page you can see that you can already change the layouts of the list forms and maybe that is enough for you - but as you said you want a custom "Dashboard", you probably want to look into how the mobile redirection works:
Overview of Mobile Pages and the Redirection System
You can set which device is treated as mobile device by editing the compat.browse file as explained in this post: SP2010 Branding Tip #6 – Mobile Browsers, this way the device you set is shown your regular Sharepoint page (answering your questions 2/3).
Copy the "_layouts/mobile" folder to e.g. "_layouts/MyCompany/mobile", in webconfig add following appSetting key:
<add key="mobile_applicationrootdirectory" value="_layouts/MyCompany/mobile/"/>
After that you can add branding, css, etc. to your own mobile folder.
SharePoint is using this by calling SPMobileUtility.GetAppRootDirName()
http://msdn.microsoft.com/en-us/library/ee553908(v=office.14).aspx
using powershell
Disable-SPFeature -Identity MBrowserRedirect -Url http://url