React Native Project i use deep link with pickup and drop data but pickup address is selected but drop address not selected - uber-api

in react native project i open deep link in WebView component
when open deep link pickup location is selected but drop location not selected
my deep link like that
https://m.uber.com/?action=setPickup&pickup[latitude]=22.5830002&pickup[longitude]=88.3372909&pickup[formatted_address]=Howrah%20Railway%20Station%2C%20Howrah%2C%20West%20Bengal%2C%20India&dropoff[latitude]=22.5690575&dropoff[longitude]=88.3720316&dropoff[formatted_address]=H99C%2BJRF%2C%20Sealdah%2C%20Raja%20Bazar%2C%20Kolkata%2C%20West%20Bengal%20700014%2C%20India

Related

Detect browser drag and drop compatibility by Blueimp jQuery-File-Upload API

Is it possible to detect browser drag and drop compatibility by using Blueimp File Upload API or its function/variable? Or this plugin just waiting for actual drag event from browser and does not analyze its capabilities?
This would be useful to hide drop zone instuctions (like "drug files here") from the old browser user.
There are independent methods proposed in this answers:
https://stackoverflow.com/a/18890590/1056384 , https://stackoverflow.com/a/8743796
For the file drag it is also good to cheсk window.FileReader:
return 'draggable' in document.createElement('span') && typeof(window.FileReader) != 'undefined';

Not able to see content in content finder in CQ5

I have imported images and videos inside CQ5 repository. I am able to see all of them inside DAM(digital asset management) but when i am creating a page using already defined templates and components , I am not able to see them(images and videos) in the content finder menu.
Which version are you running? I've seen this issue with CQ5.4 with the MSM feature pack. A similar issue affects some browsers in CQ5.5 with update 1.
Otherwise, I'd check the error logs as mentioned in the comments. Look for DAM workflow failures or similar such errors.
When you open page with content finder see which call is loading images.
For example here in mentioned link assets are loaded from /content/dam/assets path.
http://localhost:4502/bin/wcm/contentfinder/asset/view.json/content/dam/assets?_dc=1466163645234&query=&mimeType=image&charset=utf-8
How to get this url
Open page in chrome
Enable "Network" view
Click on refresh icon in content finder

How to provide one-touch access to a PDF file in the cloud with rich features like annotation?

I need to be able to download a PDF file from a location on the Internet and then open it (just the file, not to a specific page) in an app like Goodreader or even iBooks.
What I originally thought was that I would put an icon on my users' home page that launches a PDF file in an app, similar to how in Safari you can "Add To Home Page" and add a link onto the Home Page. The idea would be to have that functionality but with an, e.g., ibooks:// link rather than an http:// and it would open the pdf being linked to there within iBooks.
I am able to launch Safari to view a PDF using the Add To Home Page function to put an icon on the Home Page pointing to a PDF at a certain URL, so I am wondering if using, e.g. a Scheme definition I can pull it off.
So my solutions so for are:
1) Create a link to the PDF to open in Safari using "Add To Home Page" (offers zero functionality, including the hard requirement of being able to annotate the PDF)
2) Employ a specific App's Custom URL Scheme Definiton with the iPhone Configuration Utility's "Web Clips" create something to the effect of ibooks://www.pdf.com/document.pdf (i dont think this works)
3) Write a custom app and figure out how to do the annotating part myself (Did this using FastPDFKit but it does not include anything for annotating which is really key)
I believe if you put a g infront of the URL when adding to home screen, it will open with GoodReader when launched.

open ms doc,docx or image file in browser in c#

I have developed the asp.net mvc application. my one form have the file upload control. so in details view i want to implement the facility to view the uploaded document in browser itself. it should not ask for download and should not open MS office instance to open document. its a user req. It should opens in view mode in browser itself. what code i have to do ? I am using C# as language.
It is not straight forward. For images you can use <img>tag and link to the location in server where you saved the uploaded image. That should work.
However ASFAIK showing the doc/docx things in web page itself is not possible. You will have to employ some third party control to achieve that. Search google to find such controls. May come at a cost.

Where to change data for a "list" datasource in dashcode?

I created a new project in dashcode and it automatically generated a mobile web app for me with a list and sample datasources. I see two datasources, one is labeled as "datasource" and the other is "list". However I can see that the actual data in datasources is in a js file, everything is good but where is the actual data stored for "list"?
The sample application came with a bunch of data for "list" and I am unable to change it. Any ideas?
When you click on "DataSource" under Data Sources, you'll notice that the top line displayed is URL. It is assumed that the DataSource you'll be using is on the web somewhere (there's a way to maintain the datasource locally on the iphone but I'll get to that in a minute). So, "publish" you xml|rss|atom|etc. data on a web site somewhere and enter the appropriate URL. When you press return or hit the refresh arrow, if the URL is correct, DashCode will parse your data file and the DataSource and List items will reflect your xml structure).
Then using DashCode create the bindings between your data and your DashCode template.... I whiz right by this because there is an excellent tutorial at the apple developer website at: http://developer.apple.com/safari/library/documentation/AppleApplications/Conceptual/Dashcode_UserGuide/Contents/Resources/en.lproj/Introduction/Introduction.html#//apple_ref/doc/uid/TP40004692-CH1-SW1
If the above link fails, go to "developer.apple.com" and from that home page search for "DashCode". The intro document should be the first link returned.
This intro walks you through writing DashCode applications including working with DataSources and binding to your templates.