In this video it shows steps to implement google Ads in your Android Apps. In this demo it shows how one can put banner Ads to be displayed on the top of the layout. The steps shown are referred from the google developers page on admob. Link for which is…
Tag: mobile
How to create your AdMob’s Ad unit to display google Ads on your Android Apps using your adsense and make money?
Steps: – Signup/ Login to your Google AdMob (using your gmail ID): https://apps.admob.com/ – Check all the details and then after accepting Terms and Condition, create the account: – Select the below options as per your preferences and click Continue: – In the Home page, click “Get Started” – Give…
How to add/ save a new contact in phone directly from your App? – Android Studio code
In this video it shows how to save the contacts directly from your Android App programmatically. It uses ContentProviderOperation to structure the input and then insert it in the phone’s content as a new contact. I hope you like this video. For any questions, suggestions or appreciation please contact us…
How to add a new contact in phone using intent from your Android App?
In this video it shows steps to add new contacts in your phone using the intent type ContactsContract.RawContacts.CONTENT_TYPE. In this video the major part of the code is taken from the below page of Android developers:https://developer.android.com/training/contacts-provider/modify-data#InsertContact However, in this video it shows the above code in action. I hope you…
How to get SSID of the Wifi using WifiManager.getConnectionInfo API in your Android App? – For SDK 29 (Android 10)
This video shows the code to get SSID of the wifi in your Android App using the WifiManager.getConnectionInfo API. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com Complete source code: package com.programmerworld.getssidofwifi;import androidx.appcompat.app.AppCompatActivity;import androidx.core.app.ActivityCompat;import android.Manifest;import android.content.pm.PackageManager;import android.net.wifi.SupplicantState;import…
How to get make, model, brand, etc. of the phone/ device in your Android App?
In this video it shows how to get the details of the phone such as Model, Manufacturer, Device name, etc. using the Build object in the code. The details of the phone from the Build is available to any app so it can easily be accessed to fetch the details…
How to get telecom carrier name of any sim slot in your Android App?
This video shows the steps to get the carrier name of the telephone service provider for any sims. It uses the SubscriptionManager to get the active subscriptions. From the SubscriptionManager object it extracts subscriptionInfos for the interested sim slot. It then uses the getCarrierName method to get the carrier name…
How to get the list of Apps installed on the phone from your Android App? – complete source code
This video shows a simple method to get the list of all the Apps installed on your phone. It uses the Package Manager to get the list of all the packages installed and then extracts the package name from it. It uses list view to display the package names (installed…
How to get the device last location (using GPS/ Network) without using Map Layout in your Android App?
This video shows how to implement the FusedLocationProviderClient from the Google’s play-services-location to get the last location of the device. In this approach it need not to use the google maps layout or use the Google Maps API key required to get the google map information. This approach uses the…
How to get IMEI (International Mobile Equipment Identity) number of your phone programmatically in your Android App?
In this video it shows how to get the unique IMEI (International Mobile Equipment Identity) number of your phone (Sim slot) in your Android App programmatically. It uses the TelephonyManager API to get the IMEI of the respective sim slot of the phone. I hope you liked this video, for…