Current Behavior:
I have build a PhoneGap application that takes photos using Camera and the upload to a server. User can see all the photos that are uploaded as thumbnails.
What I am trying to do:
I want that the user should be able to tap on a photo thumbnail and the selected photo should open in the default image viewer for iOS/Android. Also, user should be able to swipe the photo in the default image viewer to see additional photos. This behavior is similar to what Facebook or any other app implements.
I am not sure how this feature is implemented and I am surprised that there is no one who faced this problem.
Thanks for all the help
Try this:
I haven't checked it, but it should work fine.
Related
I have an ionic v3 app using firebase database, showing some external link images and text in the app.
This app has been published for three years, until recently I update some contnet for this app then something went wrong.
Some of the users mobile can't detect the image from the firebase database and shown the default image instead.(I use the image-loader plugin which can set default image).
The text are displayed correctly, but the images are not shown.
My android and iphone is working fine, images and text shown correctly.
I don't know what's wrong? Somebody helps!!
Google play console wants me to add some 7-inch tablet screenshots in order to make the app easily accessible to tablets. But I don't have any tablet. Don't understand what's the problem. I have made screenshots in the final phase of development, testing the game in the Unity editor. I suppose these .png images are as good as if they were made from a phone. I don't even know how to make screenshots from a phone.
Is there a hidden feature to identify a screenshot as being made from the 7-inch tablet? Why don't they simply state the image resolution they want for the tablet "screenshot"??
Actually, it doesn't matter what resolution your image is. Just upload the images to that section, the purpose of that section is only to let your users have a first look of what your app looks like before they install it. If you don't intend to make your app for Tablet, just let that section empty, upload images only to Phone's section.
If you are using an Android phone such as Samsung, I would recommend you have a look at Settings/Advanced Features/ Smart Capture (turn it on). Then you can swipe your screen to take a screenshots (it has a tutorial there)
I have a NS 4.1.3 application using TS where I use the nativescript-camera plugin to allow the user to take photos which are saved to the device's photos library.
Everything works great, however, after each photo the camera closes and the user is back at the app and if they want to take another picture they have to go through the same process.
Is there a way to open the camera, take multiple pictures and only when done return back to the app? I could not find anything on the plugin's github page.
Thank you.
you can't take multiple photos in one session using native camera api due to platform limitation. what you can do is capture camera session using AVCaptureSession for ios and CameraCaptureSession camera2 api for android and then show it to user. after that on some button click capture photo.
here is some plugins which might help you:
https://github.com/NickIliev/NativeScript-cameraApp-poc
https://www.npmjs.com/package/nativescript-camera-preview
I ended up using navivescript-camera-plus
They have done a great job exposing the Camera and Library functionality via the plugin's api.
i have develop a Jquerymobile applicataion in MVC3(Razor) it is working fine in mobile devices and desctop.Now i want create image gallery in this app that is when i open the app in Iphone then i get the images from Iphone gallery for uploading..Please help me how can i get all images gallery in Iphone..
a google [ other search engines available ] search for html image gallery, jquery gallery etc should yeild quite good results for displaying a gallery. however if you want the photo from the phone itself then you need something like phonegap and create an application for a phone so that you can access the phone itself.
there is no way for a website to access iphones files, hence the reason why upload boxes are disabled when you visit websites.
the other options is to hook through facebook and allow users to pick a photo from the ONLINE content, that can then be passed over, however this is theory and you need to actually create something, anything and then maybe get guidance when you are stuck, or have problems.
i´m using the itunes file sharing feature to import customized data from the user.
I need to play videos when tapping on a customized UIButton. Therefore i want to know if its possible to set a thumbnail image from a video to each instance of MyButton.
I´ve played already with the MPMoviePlayerController and its "thumbnailImageAtTime:timeOption" function. It works great after selecting and playing that one video. But i need to generate thumbnails for all videos before.
When syncing videos on any iOS device via itunes, apple generates thumbnails for the camera roll instantly. So thats the way i´m looking for.. Any ideas how apple is doing it?
I´ve got it. Using the AVFoundationFramework with "AVAssetImageGenerator" ;)
Getting a thumbnail from a video url or data in iPhone SDK