I am using jQuery UI drag and drop on my website. I gather mobile devices generally do not support this functionality, so what is the simplest way to detect whether this feature will work or not, to provide an alternative in case it does not.
Note: I prefer feature detection over browser detection.
You can use Modernizr library as posted here Using Modernizr to detect drag and drop
Related
Sony has released a rather comprehensive API for wifi control of their selection of cameras here: https://developer.sony.com/downloads/camera-file/sony-camera-remote-api-beta-sdk/
I have been searching for what methods to use so I can manually control focus. I have been able to set the focus mode into "manual focus", but I don't see any methods for setting the focus point. There are several methods for controlling zoom, which I would expect the same to exist for focus -- Yet, this feature is seemingly implemented in the sony playmemories android application, so it must be possible, I think... but as it's a black box it's hard to tell what focus mode it's calling.
Could someone share what the methods are for manually focusing the camera? I am on a sony a7r with the lovely 90mm macro.
The beta SDK from March 15, 2016 provides no information on how to do this. This is a key feature which is directly blocking my ability to do effective deep focus stacking.
Deep focus stacking sounds great! But unfortunately, manually focus controlling is not provided by the APIs.
Once you set "Manual Focus" option, you can move focus by using focus ring on lens. (Don't ask me why Sony added such option to the API for Wi-Fi devices!)
Anyone know why Modernizr sets the class draganddrop on iOS devices? It's kinda hard to drag and drop a file in mobile Safari.
Is it a bug or feature?
Modernizr issue #637 covers this
Basically, the browser is technically capable of drag and drop, but the operating system does not present any ux in a way that would allow for you to actually do it.
I see that I can create the the UI controls like buttons, labels and textboxes by writing code in the class, and drawing them through the "pushScreen" method.
My question is: can we draw UI design by drag & drop from a toolbox?
I have been working in iPhone development, and expecting that Eclipse would have a similar approach for UI design.
As much as what I know there is no alternate approach for UI design in blackberry except coding. The only approach for UI design in blackberry is through coding.
While creating a website for iPad Mobile Safari, I have a few questions;
Does the orientation happen automatically or do we have to write code for that ?
What is the best approach in terms of CSS/JS..I mean create separate copy of the web CSS for iPad and just update for iPad specific. Also what about JS?
What is the best way to detect for iPad (CSS/JS) and how?
Any online references which specifically covers iPad Mobile Safari development will also be great.
Thank you.
The orientation happens automatically, but you can write code to intercept the event and do things.
I highly recommend using an existing JS library such as Sencha Touch to handle the UI for you; they automatically detect the client and will display the appropriate scale of the app.
I just added a few meta tags to my current project, based on this page - http://www.nczonline.net/blog/2010/04/06/ipad-web-development-tips/
It made a huge difference. The orientation media queries work great. I madea simple example by setting the body background colour different based on orientation.
I would like to use sortable HTML tables driven by a Javascript API (e.g., BBC Glow) with the iPAD - however, I cannot drag an otherwise draggable item using the iPAD as the entire page scrolls instead of the element I would like to drag.
Is there a way around this?
was just about to ask this same question... but in a different way. no, iPad does not support the idea of "double clicking" or "drag/drop"... so my question was going to be "what are best-practices for modifying an existing UI so that it works for iPad/iPhone?"
ran across this project while researching:
http://www.gotproject.com/blog/post2.html
I would start by looking over how this guy's code works, and try something like that...
Firstly, use jquery UI http://jqueryui.com/demos/ for drag and drop functionality
and then add this script https://github.com/furf/jquery-ui-touch-punch for playing it in Ipad or Iphone.
Hope it helps.