Android

Moved by Java

PC: @mimaraslan

Happy Birthday Java | PC: @mimaraslan

As #Java is turning 25 years tomorrow, here is my story with Java. I Love Java, I am #MovedByJava

2004 – Learned Java
2005 – Taught Java to some of my college friends and juniors
2006 – Started Institute to teach Java and related technologies
2007 – Joined a company as Java Developer, developed various projects
2008 – Joined Java User Group Nagpur (India) – known as #JUGNAGPUR2004 – Learned Java
2005 – Taught Java to some of my college friends and juniors
2006 – Started Institute to teach Java and related technologies
2007 – Joined a company as Java Developer, developed various projects
2008 – Joined Java User Group Nagpur (India) – known as #JUGNAGPUR
2009 – Developed numerous project on Java
2010 – Started side hustle by taking small Java and Web projects with 5 clients
2010 – Community Contributor at #NetBeans (#NetCAT)
2010 – Started writing blogs on Java and NetBeans
2010 – NetBeans Platform Training and Certification
2011 – Received the title of “Outstanding Programmer”
2011 – Published first Java Video Tutorial on YouTube
2011 – Cracked Oracle Certifications in a month – OCJP & OCWCD
2011 – Conducted Corporate Training for India’s biggest Training Company – #CDAC
2011 – Joined an MNC as Senior Corporate Trainer for Java, conducted several induction programs and corporate batches. The biggest batch size was 1250
2011 – Community Contributor at NetBeans (NetCAT)
2011 – Delivered Seminar on Java at 5 Colleges & Universities
2012 – Completed a big project on Java for a first overseas client
2012 – attended my first #JavaOne Conference in India
2012 – Conducted Workshops and delivered Seminar on Java and #Android at 20 Colleges and Universities
2013 – Published my first book on Java and NetBeans (Step by Step guide to developing different Java applications using NetBeans IDE)
2013 – Speaker at JavaOne India, conducted a Hands-On-Lab on #JavaEE and #HTML5 using NetBeans IDE
2013 – Conducted Workshops and delivered Seminar on Java and Android at 20 Colleges and Universities
2013 – Conducted Induction Training on Java for 5 corporate companies
2013 – Started my company with few clients and developed 10+ Java Projects
2013 – Community Contributor at NetBeans (NetCAT)
2014 – Conducted Workshops and delivered Seminar on Java and Android at 30 Colleges and Universities
2014 – Conducted Induction Training on Java for 10 corporate companies
2014 – Community Contributor at NetBeans (NetCAT)
2014 – Developed 15+ Java and Android Projects
2015 – Got Selected as “NetBeans Dream Team” Member
2015 – First International Training in Gulf on Java and Android (30 days)
2015 – Awarded as “Best Entrepreneur for Corporate Training in India”
2015 – Awarded as “Individual Professional”
2015 – Developed a self-paced video course on Java and Android for a multinational company headquartered in the UK
2015 – Conducted Workshops and delivered Seminar on Java and Android at 30 Colleges and Universities
2015 – Conducted Induction Training on Java, JavaEE, #Hibernate, and #Struts for 10+ corporate companies
2015 – Developed 10+ Java and Android Projects
2016 – Conducted Workshops and delivered Seminar on Java and Android at 40 Colleges and Universities
2016 – Conducted Induction Training on Java, JavaEE, #Hibernate, #Struts, and #Spring for 15+ corporate companies
2016 – Community Contributor at NetBeans (NetCAT)
2016 – Developed 10+ Java, Android, and Web Projects
2017 – Conducted Workshops and delivered Seminar on Java and Android at 30+ Colleges and Universities
2017 – Conducted Induction Training on Java, JavaEE, #Hibernate, #Struts, and #Spring for 5+ corporate companies
2017 – Developed 15+ Java, Android, and Web Projects
2018 – Conducted Workshops and delivered Seminar on Java and Android at 20 Colleges and Universities
2018 – Conducted Induction Training on Java, JavaEE, #Hibernate, #Struts, and #Spring for 10+ corporate companies
2018 – Developed 5+ Java, Android, and Web Projects
2018 – Lead for Java User Group, Pune
2019 – Conducted Workshops and delivered Seminar on Java and Android at 30 Colleges and Universities
2019 – Conducted Induction Training on Java, JavaEE, #Hibernate, #Struts, and #Spring for 10+ corporate companies
2019 – Conducted Java Induction Training in Gulf
2019 – Developed 10+ Java, Android, and Web Projects
2019 – Lead for Java User Group Nagpur
2020 – Conducted Workshops and delivered Seminar on Java and Android at 5+ Colleges and Universities
2020 – Developed 2 Java and Android Projects
2020 – Conducting Online Training on Java
2020 – Writing another Book on Java
2020 – Recording video courses on Java

PC: @mimaraslan

Love you Java and Wish you a very happy birthday

Thank you, Java

Aatul Palandurkar

Good news for Android developers

Good news for Android developers —

Freshly rejuvenated TheASF (The Apache Software Foundation) @NetBeans plugin for Android is now available and actively maintained.

Give it a try and provide feedback via issues and pull requests, via these brand new instructions: https://github.com/NBANDROIDTEAM/NBANDROID-V2/wiki

Now you can code your Android Applications on NetBeans IDE. That’s why I always love NetBeans, gives me everything I want, the best IDE ever.

Love You NetBeans!

Passing data between activities in Android

Objective :

  • Passing data between activities in Android
  • Passing multiple data between activities in Android
  • Passing array between activities in Android
  • Passing ArrayList between activities in Android
  • Passing ArrayList to another activity in Android
  • Sending data via Intent in Android
  • Sending multiple data via Intent in Android
  • Sending array between activities in Android
  • Sending ArrayList between activities in Android
  • Sending ArrayList to another activity in Android
  • Sending data via Intent and Bundle in Android
  • Sending multiple data via Intent and Bundle in Android
  • Passing array between activities in Android using Intent and Bundle
  • How to pass array to another activity in Android?
  • How to pass array between activities in Android?
  • How to pass data to another activity in Android?
  • How to pass data to activity in Android?
  • How to pass data to between activities in Android?
  • How to pass ArrayList to another activity in Android?
  • How to pass ArrayList between activities in Android?

 

Code for passing data between activities in Android :

ActivityOne.java

[sourcecode lang=”java”]

String value = "Hello!";
Intent in = new Intent(this,ActivityTwo.class);
in.putExtra("Key", value);
startActivity(in);

[/sourcecode]

ActivityTwo.java

[sourcecode lang=”java”]

Bundle bundle = getIntent().getExtras();
String valueReceived = bundle .getString("Key");

[/sourcecode]

 

Code for passing multiple data or values between activities in Android :

Method 1 : Using Intent to pass data and Bundle to extract data between activities in Android

ActivityOne.java

[sourcecode lang=”java”]

String value1 = "Hello!";
String value2 = "Hi!";
Intent in = new Intent(this,ActivityTwo.class);
in.putExtra("Key1", value1);
in.putExtra("Key2", value2);
startActivity(in);
[/sourcecode]

ActivityTwo.java

[sourcecode lang=”java”]
Bundle bundle = getIntent().getExtras();
String valueReceived1 = bundle .getString("Key1");
String valueReceived2 = bundle .getString("Key2");
[/sourcecode]

 

Method 2 : Using Bundle to pass and to extract data between activities in Android

ActivityOne.java

[sourcecode lang=”java”]

String value1 = "Hello!";
String value2 = "Hi!";
Intent in = new Intent(this,ActivityTwo.class);
Bundle bundle = new Bundle();
bundle.putString("Key1", value1);
bundle.putString("Key2", value2);
in.putExtras(bundle);
startActivity(in);
[/sourcecode]

ActivityTwo.java

[sourcecode lang=”java”]
Bundle bundle = getIntent().getExtras();
String valueReceived1 = bundle .getString("Key1");
String valueReceived2 = bundle .getString("Key2");
[/sourcecode]

 

Code for passing array between activities in Android :

ActivityOne.java

[sourcecode lang=”java”]
String[] array = new String[]{"Item1", "Item2", "item3", "Item4", "item5"};
Intent in = new Intent(this,ActivityTwo.class);
Bundle bundle = new Bundle();
bundle.putStringArray("MyArray", array);
in.putExtras(bundle);
startActivity(in);
[/sourcecode]

ActivityTwo.java

[sourcecode lang=”java”]
Bundle bundle = getIntent().getExtras();
String arrayReceived[] = bundle.getStringArray("MyArray");
[/sourcecode]

 

Code for passing ArrayList between activities in Android :

ActivityOne.java

[sourcecode lang=”java”]
ArrayList<String> array = new ArrayList<String>();
array.add("Hello");
array.add("Hi");
array.add("Bye");
Intent intent = new Intent(this, ActivityTwo.class);
intent.putExtra("array_list", array);
startActivity(intent);
[/sourcecode]

ActivityTwo.java

[sourcecode lang=”java”]
Bundle bundle = getIntent().getExtras();
ArrayList<String> array = (ArrayList<String>) bundle.getStringArrayList("array_list");
[/sourcecode]


Have fun with Intent.

How to publish Android app to Google Play Store?

Objectives :

  • How to publish Android app to Google Play Store?
  • How to publish Android app to Google Play Store using Eclipse?
  • How to create keystore in Android?
  • How to zip align an Android app?
  • How to export signed Android package?
  • How to export signed Android APK?
  • How to export signed Android app?
  • How to create signature for Android app?
  • How to compress Android app for publishing?
  • How to make an Android app ready for publishing?

This video will guide you to publish your own Android apps on Google Play through some simple steps and that too with few clicks. This small video will answer all the questions above.

The video was recorded during a Online Android Training and uploading unedited video here. The training was conducted from Doha, Qatar. If you need online training on Android or need any support, please feel free to write me at aatul@ancyber.com

Please feel free to share the video if you like it and do comment below. And subscribe to my YouTube channel for more video tutorials.

[youtube=https://www.youtube.com/watch?v=1PsByMlw_zE]

5 Day Android Training and Internship Program

IMG-20141224-WA0011

Conducted 5 Days Training on Android, HTML5 and WordPress at Tulsiramji Gaikwad Patil College of Engineering & Technology, Nagpur from 22nd Dec. 2014 to 26th Dec. 2014

It was Training cum Internship program for students and there were more than 250 students who attended this program. We have conducted 3 parallel sessions and it was again a good experience with the students of TGPCET, Nagpur.

Android Online Training Session 1

Android is the most popular mobile operating system and booming day by day. Everyday huge number of Android mobile devices are getting activated and people are looking for different application to ease their life and to do some day to day task on the go. Many important things can also be done with mobile device like paying bills, money transfer and so on.

Many people who do not have time to go and attend classes due to college, work or some other reason can attend Online Android Training seating at their own place and as per their convenience.

Recording of actual Online Android Training :

[youtube=https://www.youtube.com/watch?v=mneHOSwAtRY]

The video is recorded during the actual Online Android Training Session 1. If you are looking for Online Android Training, please go through it and let us know if you are interested in the same and feel free to contact me at aatul@ancyber.com

Android 5.0 Lollipop

Android 5.0 Lollipop

Finally Google has announced Android 5.0 and the curtains have raised from the suspense of Android L, the Android 5.0 is Lollipop.

Android 5.0 Lollipop has come up with great features and with full fledged support for Android wearable and Android TV. Let’s take a look at the features here.

Android 5.0 Lollipop features :

  • Material Design
    • A bold, colorful, and responsive UI design for consistent, intuitive experiences across all your devices
    • Responsive, natural motion, realistic lighting and shadows, and familiar visual elements make it easier to navigate your device
    • Vivid new colors, typography, and edge-to-edge imagery help to focus your attention
  • Notifications
    • New ways to control when and how you receive messages – only get interrupted when you want to be
    • View and respond to messages directly from your lock screen. Includes the ability to hide sensitive content for these notifications
    • For fewer disruptions, turn on Priority mode via your device’s volume button so only certain people and notifications get through. Or schedule recurring downtime like 10pm to 8am when only Priority notifications can get through
    • With Lollipop, incoming phone calls won’t interrupt what you’re watching or playing. You can choose to answer the call or just keep doing what you’re doing
    • Control the notifications triggered by your apps; hide sensitive content and prioritize or turn off the app’s notifications entirely
    • More intelligent ranking of notifications based on who they’re from and the type of communication. See all your notifications in one place by tapping the top of the screen
  • Battery
    • Power for the long haul
    • A battery saver feature which extends device use by up to 90 mins
    • Estimated time left to fully charge is displayed when your device is plugged in
    • Estimated time left on your device before you need to charge again can now be found in battery settings
  • Security
    • Keep your stuff safe and sound
    • New devices come with encryption automatically turned on to help protect data on lost or stolen devices
    • SELinux enforcing for all applications means even better protection against vulnerabilities and malware
    • Use Android Smart Lock to secure your phone or tablet by pairing it with a trusted device like your wearable or even your car
  • Device Sharing
    • More flexible sharing with family and friends
    • Multiple users for phones. If you forget your phone, you still can call any of your friends (or access any of your messages, photos etc.) by simply logging into another Android phone running Lollipop. Also perfect for families who want to share a phone, but not their stuff
    • Guest user for phones and tablets means you can lend your device and not your stuff
    • Screen pinning: pin your screen so another user can access just that content without messing with your other stuff
  • New Quick Settings
    • Get to the most frequently used settings with just two swipes down from the top of the screen
    • New handy controls like flashlight, hotspot, screen rotation and cast screen controls
    • Easier on/off toggles for Wi-Fi, Bluetooth, and location
    • Manually adjust your brightness for certain conditions. Then, adaptive brightness will kick in based on ambient lighting
  • Connectivity
    • A better internet connection everywhere and more powerful Bluetooth low energy capabilities
    • Improved network handoffs resulting in limited interruption in connectivity. For example, continue your video chat or VoIP calls without interruption as you leave the house and switch from your home Wi-Fi back to cellular
    • Improved network selection logic so that your device connects only if there is a verified internet connection on Wi-Fi
    • Power-efficient scanning for nearby Bluetooth low energy (“BLE”) devices like wearables or beacons
    • New BLE peripheral mode
  • Runtime and Performance
    • A faster, smoother and more powerful computing experience
    • ART, an entirely new Android runtime, improves application performance and responsiveness
      • Up to 4x performance improvements
      • Smoother UI for complex, visually rich applications
      • Compacting backgrounded apps and services so you can do more at once
    • Support for 64 bit devices, like the Nexus 9, brings desktop class CPUs to Android
      • Support for 64-bit SoCs using ARM, x86, and MIPS-based cores
      • Shipping 64-bit native apps like Chrome, Gmail, Calendar, Google Play Music, and more
      • Pure Java language apps run as 64-bit apps automatically
  • Media
    • Bolder graphics and improved audio, video, and camera capabilities
    • Lower latency audio input ensuring that music and communication applications that have strict delay requirements provide an amazing realtime experience
    • Multi-channel audio stream mixing means professional audio applications can now mix up to eight channels including 5.1 and 7.1 channels
    • USB Audio support means you can plug USB microphones, speakers, and a myriad of other USB audio devices like amplifiers and mixers into your Android device
    • OpenGL ES 3.1 and Android extension pack brings Android to the forefront of mobile graphics putting it on par with desktop and console class performance
    • A range of new professional photography features for Android Lollipop that let you
      • Capture full resolution frames around 30 fps
      • Support raw formats like YUV and Bayer RAW
      • Control capture settings for the sensor, lens, and flash per individual frame
      • Capture metadata like noise models and optical information
    • State of the art video technology with support for HEVC to allow for UHD 4K video playback, tunneled video for high quality video playback on Android TV and improved HLS support for streaming
  • OK Google
    • Easy access to information and performing tasks
    • Even if your screen is off, you can say “OK Google” on devices with digital signal processing support such as Nexus 6 and Nexus 9
    • Talk to Google on the go to get quick answers, send a text, get directions and more
  • Android TV
    • Support for living room devices
    • User interface adapted for the living room
    • Less browsing, more watching with personalized recommendations for content like movies and TV shows
    • Voice search for Google Play, YouTube and supported apps so you can just say what you want to see
    • Console-style Android gaming on your TV with a gamepad
    • Cast your favorite entertainment apps to your big screen with Google Cast support for Android TV devices
  • Accessibility
    • Enhanced low vision and color blind capabilities
    • Boost text contrast or invert colors to improve legibility
    • Adjust display to improve color differentiation
  • Now in 68+ languages
    • 15 new additions
    • Basque, Bengali, Burmese, Chinese (Hong Kong), Galician, Icelandic, Kannada, Kyrgyz, Macedonian, Malayalam, Marathi, Nepali, Sinhala, Tamil, Telugu
    • That means now I support for my mother tounge Marathi
  • Device set up
    • Get up and running in no-time
    • Tap & go: instant set up of your new Android phone or tablet by simply tapping it to your old one (requires NFC)
    • Whenever you get a new Android phone or tablet, you can bring over your apps from Google Play automatically from any of your old Android devices
  • And a whole lot more
    • Tap & pay: easily manage multiple payment apps by quickly switching between them
    • Print preview and page range support
    • Revamped display for battery, Bluetooth, data usage, and Wi-Fi settings and new search functionality in settings
    • New device level feedback for Nexus devices in Settings > about phone > send feedback
    • Easier sharing with
      • Improved ranking of your options within the share menu
      • Android Beam: lets you share a file with someone nearby by gently tapping the two devices together
    • Where supported by the hardware, your device will wake up as soon as you pick it up or tap the screen twice
    • Improved hardware keyboard accessory support including support for multilingual, emoji input, search key, and improved app and system key chords

Source : Google Android Lollipop

Seminar on Android & HTML5

[youtube=https://www.youtube.com/watch?v=Vz0hIBRr754]

Conducted Seminar on Android and HTML5 at Ttulsiramji Gaikwad College of Engineering and Technology, Mohgaon, Nagpur on 28th Aug. 2014 for the students of second year, third year and final year Information Technology.