Is it possible to take a photo with an iPad from a web page? - ios

I'm building a web intranet app that will track inventory and I would like to be able to take a photo of each item using the built in camera from an iPad. Is this possible?
I've done a similar thing with barcodes using an app, but I haven't found anything that will do the same with a photo yet.

This stack overflow question may help:
HTML5 Camera Access Through Browser in iOS
#user295691 writes:
In IOS6 apple supports this via the < input type=file > tag. I
couldn't find a useful link in Apple's developer documentation, but
there's an example here
http://www.aaronlumsden.com/articles/ios6-the-benefits-for-html5-web-app-development/

You can use PhoneGap framework to achieve this. JavaScript is used as bridge between Web app and Native functionality.

Related

Tracking app installation and campaign details without Third-party APIs

For my iOS App, I am using Campaign Links from App Store Connect for advertisement purposes, and sometimes use Branch links.
Is it possible to get Campaign details inside app after installation is done natively without using any third party SDKs?
I would like to know from which campaign the installation came from with apple provided technology.
Is it possible to get the details inside the app programatically?
I have heard that In Android, they can achieve the functionality using InstallReferrerClient of the library com.android.installreferrer:installreferrer
Do we have any similar option for iOS?
Please guide, Thank you.

Integrating Live Photos in my app

I have some live photos that I am trying to use in my app. I am kind of confused on how to integrate them so I can use it in the app. I currently have an image view, but how do I add the live photo to it?
There is really no simple out-of-the-box API from Apple to integrate Live Photo in iOS apps.
That being said, there's an interesting article that has been going around lately which will explain what Live Photo is under the hood and how you can use it.
PHLivePhoto & PHLivePhotoView are available in iOS 9.1+
https://developer.apple.com/library/ios/documentation/Photos/Reference/PHLivePhoto_Class/index.html#//apple_ref/occ/cl/PHLivePhoto
https://developer.apple.com/library/ios/documentation/PhotosUI/Reference/PHLivePhotoView_Class/
These should be all you need to support Apple's Live Photos in your app.

an overlay for describing application features on first time install

I'm building an app, i just thinking like adding a feature so, that the user can be given guideline about how to use the app and various control in it.
The feature that came to my mind is , when unboxing android mobile you will see an overlay describing the menu, app .
so, is there any similar feature that iOS or any third party library provides. if so, will app store testing team will approve it.
see this image "http://developer.android.com/design/media/help_cling.png", for further reference.
I've been using these:
myblurintroductionview
wscoachmarksview
rchgestureguide

Making an App with PhoneGap that operates without internet

I want to create a small App that just shows WebPage with link, video Playing and PDF Documents. The problem is that I expect the app to open Video, PDFs etc without accessing internet.
So, when I click on video, it should play even without internet.
Is it possible to do this in PhoneGap?
As long as they are in a format that the device can handle in the browser directly, you should be fine. A good way to think of PhoneGap is like an enhanced web browser.
You should be able to put the files into the resources, and PhoneGap should be able to access them completely fine. It essentially works by using the file:/// scheme, so you can probably try making something like you'd want to put on the iPad, and try it on your computer. If it doesn't work on there, it likely won't work on the iPad either.
In terms of video files, you'd probably want to use an .mp4, as these should be natively supported by the iOS WebView.
Now that being said, if you're trying to get your app in to the AppStore, you may want to look into the Apple User Interface guidelines. For example section 12.3 of the App Store Review Guidelines states that apps that are ... a collection of links, may be rejected.
You may also find the iOS Human Interface Guidelines helpful.

Apple App rejection due to non native buttons and features

While developing a phonegap smartphone application which runs on ios/android and bb v6+, im using a web service call to google maps and using tags for navigating through the application. I received an answer from apple with the following rejection message:
We found the following issues with the user interface of your app:
- Did not include iOS features. For example, it would be appropriate to use native iOS buttons and iOS features.
Additional user interactive features are needed.
My app has 2 buttons, one for searching and one to view the search results, both of which are non-native, html < button > tags.
Is it possible to use the native iOS buttons with a phonegap project, i.e using the search button (magnifying glass with word 'search' underneath), with a plugin?
Is it possible that my app was rejected for using a Google Maps web service call? if that were the case, i imagine the rejection message would be similar to the rejection message seen in this previous post
Any ideas/suggestions/guidelines would be great,
thanks
You could implement the NativeControls plugin. Judging by your screenshots a the iOS tab bar should work well with your app.
Not using native controls isn't a problem in itself. However, your app is too close to the appearance of a standard iOS settings page, which means that anything which doesn't exactly match that will feel broken.

Resources