Jignesh Lathiya

Share a Knowldge about Wrodpress , Playstore, Admob , Adsens, Facebook Marketing, Intagram Marketing, SEO and Technology News

Options Menu Fragment – Android Studio – Kotlin

Add setHasOptionsMenu(true) in the onCreate() method to invoke the menu items in your Fragment class. You don’t need to override onCreateOptionsMenu in your Fragment class again.  Menu items can be changed (Add/remove) by overriding onPrepareOptionsMenu method available in Fragment. This will cover the followings: Use Options Menu / Actionbar menu Use Options Menu in fragments Add items with icons in options menu Show […]

Options Menu Fragment – Android Studio – Kotlin Read More »

Causes and Fixes for “smtp error: could not authenticate” error in phpmailer

I’m using PHPMailer in a Simple Script For Send Email’s Through Gmail, and I’m getting an “Unknown Error” (At least for me!): SMTP Error: Could not authenticate. Error: SMTP Error: Could not authenticate. Solution to this problem 1) Google blocks insecure access Gmail enforces strict security restrictions. If an app doesn’t meet these security standards, it

Causes and Fixes for “smtp error: could not authenticate” error in phpmailer Read More »

Android SQLite CRUD and ListView – Android Studio Tutorial

Enter data(Text, Image) in SQLite Read data(Text, Image) from SQLite in Custom ListView Custom dialog to update record Update data(Text, Image) by onLongClicking the row of ListView Delete data(Text, Image) by onLongClicking the row of ListView Select Image from gallery using Library, crop/rotate image. Link of image library used: https://github.com/ArthurHub/Android-Image-Cropper Step 1: Create a new project OR Open

Android SQLite CRUD and ListView – Android Studio Tutorial Read More »

Custom ListView with SearchView on ActionBar/Toolbar & onItemClick listener – Android Studio

This Tutorial will cover: ListView(Image, Title, Description) Filterable ListView SearchView on ActionBar/Toolbar to search ListView items Intent to go to NewActivity onItemClick BackButton in ActionBar of NewActivity Step 1: Create a new project OR Open your project Step 2: Create New Activity File>New>Activity>EmptyActivity Step 3: Create menu.xml under res>menu folder, to search item. Step 4: Create model.xml in res>layout folder,to design row Step 5: Place some images in res>drawable folder Step

Custom ListView with SearchView on ActionBar/Toolbar & onItemClick listener – Android Studio Read More »