Category "android"

Close Navigation Drawer on Back Button Pressed in Flutter

I have a material designed Navigation Drawer in my very first flutter app. This work's fine but I did't find any way to close the Navigation Drawer on Back Butt

prefer const with constant constructor

I have an error that shows this message "prefer const with constant constructor" when i deleting const on below class splashscreen theres not showing any error

Add padding on view programmatically

I am developing Android v2.2 app. I have a Fragment. In the onCreateView(...) callback of my fragment class, I inflate an layout to the fragment like below: @Ov

Get emoji flag by country code

There is a list of countries codes, I need to attach emoji flag to each one. Is there a way to extract unicode from it or find emoji for country code? This np

How can I take screen shots from running video in Android

I have developed an application in android which contains videos. Now I want to take screen shots from that running video. Is anybody having any idea regarding

Flutter dropdown alignment not proper

I want the dropdown like this with flutter Expected: with flutter dropdownformfield I'm able to do something like As you can see, When I click the dropdown bu

Does youtube player support to show cast button?

I'm writing a Android app to play youtube video by using Youtube API, I have a question how to show the "cast " button in Youtube player, if the API is availabl

Flutter Cannot run Project.afterEvaluate(Closure) when the project is already evaluated

Workaround way: Looks like there is dependecy of onesignal plugin on flutter_tools. The solution is to place onesignal plugin after it in the sequence in the "a

Android avd emulator - how to save "Do you want to save the current state for the next quick boot?" in config.ini file

When creating an avd, starting it for the first time and then trying to close the emulator, the user will be prompted with a dialog reading: Do you want to sav

flutter pub get is stucking

When I run in terminal flutter pub get is stuck it's showing OS MacOS Catalina 10.15.3 Got TLS error trying to find package launch_review at https://pub.dartla

How to round an image with Glide library?

So, anybody know how to display an image with rounded corners with Glide? I am loading an image with Glide, but I don't know how to pass rounded params to this

Image Perspective Transform using Android OpenCV

I am making Android App which can make Perspective Transform Image. I want to do same thing like below code. I tried but I cant read C code. Please advise me!

Android layouts - Most efficent way to achieve what i'm after

I've been doing a bit of searching around for ways to achieve what i'm after but haven't been able to find much. Basically i'm going to use this as a "home" sc

Android studio layout editor. Waiting for build to finish

Android studio layout preview is stuck in waiting for build to finish even though there is no build happening. I have invalidate and restarted android studio. I

error in MethodChannel, IllegalArgumentException

Im a beginner to Flutter development, actually to the whole Software development domain, The Flutter application in question is Android only, which needs merely

Dart: How to return Future<void>

How can I return Future<void> ? Future<void> deleteAll(List stuff){ stuff.forEach( s => delete(s)); //How do I return Future<void

Chrome://inspect displaying device though not displaying any opened tabs

I am trying to utilize chrome for remote debugging of an android web application. I am unable to get any open tabs from the device to show under chrome://inspec

Android App Link not working on Nfc Background tapping, opening in Browser instead of App

I have integrated NFC manager in React Native. when I tap Nfc card, I want to open the url in the App installed. I have done everything required, added respect

How to access Google calendar in Android

I have followed the reversed engineering method ,but it just does not support new devices such as the android 4.x So, I tried to find an alternative. I found th

Send Email Intent

Intent intent = new Intent(Intent.ACTION_SEND); intent.setType("text/html"); intent.putExtra(Intent.EXTRA_EMAIL, "[email protected]"); intent.putExt