Flutter Music Player App

Feature image

Creating the flutter music player app using Method Channel. What is Method Channel MethodChannel is a functionality which lets you write custom platform specific code in the native language whether its java/kotlin for Android or swift/objective c for IOS and allows you to call platform specific API. For More Information : https://flutter.dev/docs/development/platform-integration/platform-channels?tab=android-channel-java-tab Create a new … Read more

Android offline dictionary tutorial

1. Creating the UI Add the material dependency in build.gradle 1.1 MainActivity.xml MainActivity.java 1.2. Home fragment.xml HomeFrag.java 1.3 Favfrag.xml FavFrag.java FavModel.java. Class fav_list_layout.xml layout 2. DbHelper.java 3. AnswerActivity 3.1. activity_answer.xml; 3.2 AnswerAct.java

Get Location from withIn the Android app

Google geo location icon

How to get location from android app using the simple codes ? Create a new java class in project names LocationHelper.java 2. Add the dependency in gradles file implementation ‘com.google.android.gms:play-services-location:17.0.0’ implementation ‘com.google.android.gms:play-services-location:9.4.0’ 3. Now in the MainActivity <Button android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:layout_centerInParent=”true” android:onClick=”GetLoc” android:text=”get Loc”/> On buttonclick call the below method to ask for the permission … Read more

Android Transparent Wallpaper

screenshot of mobile wallpaper

1. Create new theme in style.xml 2. Set the theme in manifest file 3. Add background of parent tag in main layout android:background=”#00000000″ First two digits represent the alpha value the greater the value the less transparency. 4. Add a viewpager in layout xml file 5. In java file 6. Create a new class ViewPagerAdapter … Read more

Flutter Php Mysql Database Tutorial : CRUD Operations

FLUTTER => PHP => MYSQL PHP code for db_Config.php file Php code for Insert Data flutter_register.php Flutter Code for Insert Data PHP code for FetchData Flutter code for data Fetching Future getData() async{ var url = “https://learningeek.com/flutter_getData.php”; http.Response res = await http.get(url); var data = jsonDecode(res.body); dataModel = new List(); for(var word in data[‘result’]){ String … Read more