skip to Main Content

I'm learning flutter to develop a college project, but I'm having problems with two errors presented when compiling the code

import 'package:flutter/material.dart'; void main() { runApp(AppMenuAbas()); } class AppMenuAbas extends StatefulWidget { @override _AppMenuAbasState createState() => _AppMenuAbasState(); } class _AppMenuAbasState extends State<AppMenuAbas> with SingleTickerProviderStateMixin { TabController _tabController; bool _isCollapsed = true; @override void initState() { super.initState(); _tabController = TabController(vsync: this,…

VIEW QUESTION

Android Studio – Kotlin issue while sum 2 variables

val btnAdd = findViewById<Button>(R.id.btnAdd) val btnSub = findViewById<Button>(R.id.btnSub) btnAdd.setOnClickListener { val tx1 = findViewById<TextInputEditText>(R.id.tx1).toString().toInt() val tx2 = findViewById<TextInputEditText>(R.id.tx2).toString().toInt() var result = findViewById<TextView>(R.id.result) result.text = (tx1 + tx2).toString() } I want to sum tx1 and tx2 but i get this message…

VIEW QUESTION

Flutter: OpenFile.open("file_path") not working, giving Permission denied: android.permission.READ_EXTERNAL_STORAGE on android 13

Tried to open .pdf file like ElevatedButton( onPressed: () async { await OpenFile.open('/storage/emulated/0/Download/myqr.pdf') .then((value) { log(value.message.toString()); }); }, child: const Text("Open File"), ) But not working. It gives error: Permission denied: android.permission.READ_EXTERNAL_STORAGE Already added permisions in AndroidMenifest.xml <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />…

VIEW QUESTION

Android Studio – I want to integrate Vimeo Api in to my android application to show my users the private videos in my Vimeo Account

I want to integrate Vimeo Api in to my android application and the problem is after i add the dependency like implementation "com.github.vimeo.vimeo-networking-java:vimeo-networking:3.12.0" implementation "com.github.vimeo.vimeo-networking-java:models:3.12.0" But after syncing with my project when i try to run the project or build…

VIEW QUESTION
Back To Top
Search