tvOS XC UI Test swipe remote gestures - xcode7

Does anyone know how to handle swipe gestures for a UI XCTest on tvOS? I have a hidden nav bar at the top of my page which will appear when swiping down on the remote. I can't seem to replicate this using XCUIRemote.shared.press(.down) in the UI Test. Is there another way?

Looking at the API (https://developer.apple.com/reference/xctest/xcuiremote) it seems currently not possible.

Related

Chrome Dev Tools Mobile two finger swipe

I am currently developing a store finder and in my research I came across this site:
https://www.esprit.com/mobile/storefinder
I was wondering if there is a way to simulate a two finger swipe behavior in dev tools for moving around the map?
What I tried already:
double click and drag
shift and click+drag
I was looking for a way to pan the (Google) map when simulating a touch device in the dev tools on the app I'm working on, since since click + drag brings up the "Use two fingers to move the map" message. It seems the arrow keys will pan the map in this case - I checked and it doesn't seem to work with the app you linked above, but hopefully this will help someone else.

What is this menu called in windows phone?

Recently Tapatalk updated their app and a new menu appeared, which I haven't seen before.
Does anyone know what this menu is called?
There is an image in the top left corner which is 3 orange horizontal lines, when you press on it a menu pops out from the left.
I am trying to write my own app and wanted to use this.
I have seen it in a few apps now.
I would upload an image but I am unable to at the moment
From what I can see in the app screenshots, this is a quite typical menu which slides in from the left in many Windows Phone apps these days. It can also be seen in Facebook, for example.
There is a good blog post explaining how to implement that written by Dan Ardelean:
Add side menus to an Windows Phone application (similar to the Facebook app)
It comes down to using gestures (or button click) to bring a part of the app into view.
You could also make a Flipview with 3 pages (FlipViewItems), it would be almost the same as the Facebook app

Pull out tab on android app navigation drawer

My Samsung Galaxy Duos phone has a small pull out tab on the left edge which basically pulls out a panel for quick access to Gmail, FB etc (as seen in the picture attached). I would like to do the same for my android app's navigation drawer. I tried to look it up on google and do some reading. However, I didn't get much success. Is it even possible to customize this in Android. Any help is much appreciated.
Use this. Just on each item in ListView put action to start new Activity via Intent. Other things are pure cosmetic.

Using the android backbutton with Dojomobile and phonegap in worklight

Im creating an app (rather big one) with Worklight. When im testing the app in an android phone and press the backbutton it closes the app.. now i want it to go back one page. Right now the page navigation is with dojox mobile implemented system. this way:
<button data-dojo-type="dojox.mobile.ToolBarButton" data-dojo-props="transition:'fade',dir:'1',moveTo:'Contact'" class="buttonHem" style="color:black; font-size:1em;">Kontakta Oss</button>
is there a way to use the android backbutton without having to redo everything?
we have deadline in 2 weeks so there is really no time to redo the app with jquery mobile..
Answers will be appreciated.
If you're talking about a hardware Android back button you have a WL API to override it's behaviour.
WL.App.overrideBackButton(function() { doSomething });
and WL.App.resetBackButton();
The back button functionality should work in Dojo Mobile. Looking at the documentation for ToolBarButton I think what you need to do is use a # in front of your next view for the moveTo attribute. In your example it would be moveTo:'#Contact' Take a look at the moveTo attribute in the doc below for more info.
http://dojotoolkit.org/reference-guide/1.8/dojox/mobile/ToolBarButton.html

Need help with touch gestures on an html website

I am currently working on a web application. I have a menu bar that moves when someone clicks on arrow. With every click a new menu option is activated.
Now, I would like to give the user the option to slide over the menu bar/screen to navigate on a touch interface.
Any idea how I would do that ?
Thanks
Well I don't think you'll be able to do it using just HTML, but if you're comfortable with jQuery take a look at this:
http://plugins.jquery.com/project/swipe
This plugin enables you to bind events to gestures, but I believe it only works on iPhone and iPad.