• In addition to this, we have a lot of professionals in different subject areas that are available to help and assist you in your school and/or professional work. 

    We can help you develop your website on any platform you desire. Professional Courses are also available to companies and private individuals on advanced topics in JAVA, C#, PHP,  ASP.NET etc at affordable prices. 


  • Solution Train is a training provider that helps students and delegates gain new skills, become an expert in chosen field, and assist in exams and/or university projects.

    Our aim is to help, assist, and motivate while also creating innovative products that can help people in many ways possible.

  • Solution Train is here to promote and impact knowledge. Sign up and register to gain access to ask questions, write articles, and speak privately to like minds.


Android Cheat Sheet

Android Recipes and Snippets

I've put together a small collection of Android recipes. For each of these recipes, this is an instance of Context (more specifically, Activity or Service) unless otherwise noted.


What is Android?

Android - Code to check Location enabled and permission granted

The below code can be used to check that location is granted before calling the location manager.

Android - Get JSON Using HttpUrlConnection

Notice how Android deprecated the Httpclient and HttpGet classes, I have written the below code to retrieve JSON string from any site.

SQL For Beginners Course

Learn SQL for Beginner's course in our London office or your private home and work towards becoming a certified Database Administrator or gaining understanding into Database Concepts.


ASP.NET - Regular Expression code to check Email is Valid

To check if email is valid programmatically and on the server side, you can use the below regular expression code:


Share this page...

Twitter icon
Facebook icon
Google icon
StumbleUpon icon
Del.icio.us icon
Digg icon
LinkedIn icon
MySpace icon
Newsvine icon
Pinterest icon
Reddit icon
Technorati icon
Yahoo! icon
e-mail icon
Subscribe to Solution Train RSS