05-13-2013 01:26 PM
I am trying to use a Share Card in my webworks app and have encountered two issues.
First, when the application is in landscape mode, I cannot select the last item in the list as it is hidden under the scroll. The scroll effect (drag upward) allows me to see it, but there is no way to select it as letting go of the scroll hides it off screen again.
Second, I cannot determine a way to order the list without writing my own share card screen. After a device restart, I found that the list order changed. I'd like to alphabetize the list order by title.
I mainly want to use the built in Share invocation to allow the user to share text across any application they may be using that supports it. In writing my own share card, I'd be limiting them to whichever application card invocations I write.
Solved! Go to Solution.
05-15-2013 01:49 PM
After the 10.1 software update on my Z10, the list is now fully usable and no items get hidden in scrolling.
Issue with list order still exists, though I wonder if it is because I am in debug mode.
05-17-2013 10:53 AM
The share chard retreives a list of valid targets and the order is based on what the system decides to offer. Unfortunately there is no parameter to determine a sort order.
The invokeTargetPicker card simply leverages the query function:
And then provides a UI for the results. You could implement this yourself though the trickiest part would likely be recreating the UI for selection.