ionic ngx-dropzone Option to hide the Take a picture IOS - android

In Ionic I am using ngx-dropzone to upload the file. Its working fine in Web and mobile(IOS and Android) applications. But problem here, In IOS while clicking that file upload area showing three dropdown option. In that option Take a Picture need to remove. If any have idea or facing same issue please give me suggestion. Thanks in advance

You need to set a parameter capture="false" in ngx-dropzone html element.
https://docs.dropzone.dev/configuration/basics/configuration-options

Related

Random launch-image for iOS and Android

I am currently working on a react native project. One of the requirement is to show random launch images on startup on both Android and iOS.
Do you guys know how can this be achieved ? I saw the solution ( Random Image for Launch Screen ) , however, I am not that good in iOS/Android.
Can you please guide me into achieving this ? Is there a better solution in react-native itself ?
Thanks and Kind Regards,
Avinash
I am going to use a temporary screen to show the splashscreen on react-native side.
On native side, I will be using a image icon.
so that when the app launches, you will see the icon followed by the temp screen followed by your Home screen.

It's possible to use scrollabeView like this in Appcelerator?

I want to have a scrollabeView (pagingControl) exactly like this image, where I can show 2 pages at the same time or more and swipe between them on Ios And Android.
In iOS you can have a look at the property clipViews. For Android it is currently not possible without adjusting the SDK. Have a look at this ticket: https://jira.appcelerator.org/browse/TIMOB-25635. It is a feature request to have this kind of layout. Also it features some links that explain how to add it to the sdk.
I fixed this problem by creating this widget com.developatic.pagingControl. I hope that will be useful.

Get Android keyboard height when opening it, in Nativescript

I have found several links that show how to get the height of the SoftKeyboard in Android, but my issue is that I don't know how access to it in Nativescript. This link shows how to do it natively using Java but I would like to do that in Nativescript.
Any ideas?
Thank you
Following the link you provided in your question, it seems to me you want to get when the keyboard is showing not really the height. If i am correct their is a plugin for that in nativescript; https://www.npmjs.com/package/nativescript-keyboardshowing.
It helps you to know if the keyboard is showing or hiding. Hope this helps.

Cordova APP - Is it possible to show camera feed in a container?

I am using ionicFramework with Cordova to build an App. My requirement is to show (front) camera feed inside my app (say at top right corner of the app).
Unfortunately "cordovaCapture" is not working for me. "navigator.camera" just opens camera view, but my requirement is to show its feed in a container so its also not fitting in requirement.
I tried backgroundvideo plugin also.
Please help me in understanding, Is it possible to access camera feed without going native app approach ? Please share any leads.
Thanks in Advance.
I'll just point you to the right direction:
https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview
https://github.com/donaldp24/CanvasCameraPlugin
Try these plugins (in order) and lemme know if either of them worked out for you.

How can I capture the whole web page in an Android phone while using its browser?

When I visit a web page using Android browser I can capture the visible part of the web page making a screenshot of the whole screen, but I need capture the whole web page, including the part of the web page that is outside the screen, I mean, not just the visible part of the page.
What I want is something like the option "Capture Entire Page" of Awesome Screenshot plugin. Pls, exclude all the programming method for do this, I want a already made tool easy to use for a newbie Android. The idea is allow common users reports layout bugs easily. So, what tool can I use to accomplish that?
A VALID REPLY IS SUCH TOOL NOT EXIST, but pls, put some reference.
You can use the Dolphin browser and Screen Cut add-on to capture full webpages on an Android phone. You do not need root access.
You cannot use any standard android method to get screenshot of entire screen (including non visible portion). But if you have root access, you can read the framebuffer to get the entire contents using this method
https://play.google.com/store/apps/details?id=com.leavjenn.longshot
This does exactly what you want. I have tested it.

Categories

Resources