I am trying to build a microsoft adaptive card with timer on top of the card and once timer expires automatically a action should invoked. Is this possible in adaptive card?
As of today this is not possible.
Cards are just "UI", you can not run any scripts, timers or any automatic functionality in a card without user interaction. This might change in the future but the current version can't do this.
Sorry not to have any better news.
Related
I'm trying to develop an adaptive card layout which can be integrated in web application.
I have developed the entire layout but the action event for opening URL(Action.OpenUrl) is not working.
Other actions such as Action.ToggleVisibility is working fine.
Here is a code pen for the same.
What I have noticed is, an alert is being triggered on the adaptive cards website/adaptive card designer for these tutorials but redirection is not working even on that website.
please let me know if I'm have to do something else to make the url open in new window.
I want to create fancy lock screen on my web portal. For javascript and timer I used https://github.com/maxfierke/jquery-sessionTimeout-bootstrap plugin. I got idea from many bootstrap admin templates like: http://webapplayers.com/inspinia_admin-v1.2/lockscreen.html.
If I use only javascript, page will be displayed (redirected), but, I can easy back on previous page. Maybe I need expand my DB table with new column for detecting lock screen or enough create a cookie with some parameters.
Any idea, what is the best way to solve it?
Now I'm developing windows phone 8.1 app with WinRT
I'm trying to support swipe-right-to-go-back gesture in my app.
I try to capture the manipulation events on my page. My page's root is a grid and have a ListView inside. I used the UIElement.AddHandler method with "handledEventsToo=true" to add the event handlers. But when I touch the screen, only the ManipulationStarting event is fired, other events seems to be eat by listview.
Could anyone tell me about the manipulation event behavior or other methods to implement this feature? Thanks!!
You won't normally capture events on LisView, beacause it has a ScrollViewer which intercepts them.
There is a way to do it - you will have to disable ScrollViewer and then perfrom some actions when the events are fired and perform scrolling manually. This answer will guide you.
In case someone encounters this page, I spent the better part of a week figuring out why manipulation events were only firing half the time on my UWP charts using the winRT xaml toolkit.
You may need to check that the background is not null on whatever element has the event handler attached. Templated controls are not necessarily hit test visible unless they have one. Otherwise, the input can go right through to the element behind it.
https://msdn.microsoft.com/en-us/windows/uwp/xaml-platform/events-and-routed-events-overview
I have developed wp8 app and looking for a control to slide. I am showing single verse in the page and I want the user to slide (forward and backward) to show next verse, verses may reach 286. I have seen this feature in many application in windows phone store, but I don't what wp8 control they are using.
appreciate your feedback!
Panorama is that you have one image in the background you move a little everytime you go to one side, it is what is used in the image app.
But since you need 286, you should not use the panorama control. Then you should rely on the pivot but beware of microsoft not wanting the users to be confused and caught inside 286 pages, so you need to give the user and overview and use a button that can return a person to the start page.
This is more of a best practices question rater than something technical.
I'm working on a mobile app using the Flex 4.5 SDK and I'm trying to figure out the best way to handle notification windows. In most cases these windows will be alerting the user to when something goes wrong. Ex: bad login, no data, cannot resolve server.
I'm using a singleton design pattern, I have a Requests class that handles server calls. Most popups will be originating from this class (IOErrorEvents from my loader being used to access the API). Since this class is a singleton and is used from all Views inside the app it is not aware of applications current view. I'm also not sure having this class keep track of the current view and having it push popups on top of it would be best practice.
I'm hoping that I can use PopUpManager to keep track of where to add popups and what popups are currently on the stage. Though all examples I've seen online about this show static Components being used in a views Declarations tag.
I'm really just looking for any examples or input on how you would solve this problem. Any help would be greatly appreciated!
I had the same problem, and sorted it by making an Alert popup component that you can call from anywhere in the code base, and it will pop up in the currently active window. It also has an always visible scrollbar text area which is handy
http://bbishop.org/blog/?p=502
It works for a view navigator application, but if your using a tabbed navigator application, you can add a call for that, or simply change the code to
mainTabbedNavigator = FlexGlobals.topLevelApplication.tabbedNavigator;
currentTab = mainTabbedNavigator.selectedNavigator as ViewNavigator;