Posts

Why Kotlin for Android Development

Image
Why you should use Kotlin for Android development Java is the most widely used language for Android development, but that doesn’t mean it is always the best choice. Java is old, verbose, error-prone, and has been slow to modernize. Kotlin is a worthy alternative. OpenJDK developers are starting to bridge the gap with Java 8, but Android doesn’t use all the features of Java 8. Developers are still stuck in the old Java 7 and 6 worlds, and that's not going to improve much in the foreseeable future. That's where Kotlin comes in: This relatively new open source language, based on the Java Virtual Machine (JVM), is gaining traction with Android software engineers. There are other JVM languages you could try to use on Android, but Kotlin offers integrations with Android Studio, Google's primary IDE for Android, that no language, has, other than Java. Here's why now is the time to start using this modern, sophisticated, pragmatic langua...

Kotlin plug-ins in Diffrent Ide's

Netbeans -  Click On tools - > Go to PlugIns -> Go to Available Plugins -> select kotlin - install Eclipse - Help -> Eclipse Marketplace… menu and search for Kotlin plugin: - install Android Studio : click on file menu -> go to settings -> select plugins - select kotlin - install.  

AJAX REQUEST TO SERVER [Sending data to Servlet by AJAX call ]

1. create one web application : example - TestAjax. To create new Web Application in net beans Perform following Steps Open Netbeans  -> Select File -new - >Java Web Peoject - >Name To the project[ex. TestAjax]  - Finish. 2. create one jsp file example :index.jsp and write a code . download Jquery library and add it in your project.  <head> <script src="text/javascript"> </script> </head> <form id="myform"> name:<input type="text" name="name" id="name"> email :<input type="text" name="email" id="email"> <input type="submit" value="registration" id="button1"> </form> <script type="text/javascript">  $(document).ready(function(){  $('button1').click(function(e){  var name=$('#name').val(); var email=$('#email').val(); $.ajax({  type:"GET", u...

How To Integrate Your Facebook Login With Your Android Application

1 . Start a new Android studio project  and Specify your application name.(ex - LoginTest) Select empty activity click next and click finish. Ok now project is created. 2 . Open your browser and type developer.facebook.com and login with your facebook account.  select create new app option -> provide application name , your contact email and select category (ex - education) click on create App Id Button . - Now the app id is genrated for your application. - place generated app id in your android application(see later) - Now go to settings option - select Add platform - > select Android -> and provide details like your application package name , name of the class in which you are placed the login and key hashes. - Application package name - go to manifest file and copy package path and paste - class Name- MainActivity - for key hashes - > download open SSL first - > and go to java bin folder and open cmd   and  e...

SMS ALERT IN JAVA [Sending SMS Using Java Code]

Hello Friend , Please like and subscribe : youtube - govind mantri website- www.technohubind.com For sending SMS you need SMS get-way.  So First create account on https://www.vianett.com . Vianett provide you get-way  for  5 trail messages. Open Netbeans / Eclipse and create one class For example SmsSender paste below code in same class. you need some external jar to run this application. so download this jar and add it into your project. - Please download required jar from our website :    https://www.technohubind.com : Fill free to ask  any query : govindmantri4@gmail.com  

ViralMe App By Team TechnoHub...!!!

Image

ViralMe Application By Team TechnoHub...!!! Coming Soon

Image