Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,522
» Latest member: Rysfajweace
» Forum threads: 96
» Forum posts: 104

Full Statistics

Online Users
There are currently 26 online users.
» 2 Member(s) | 24 Guest(s)
LouBroat, pasximayholi

Latest Threads
Ravishankar Chavare
How to set up or install ...

Forum: Python
Last Post: Ravishankar Chavare
04-07-2018, 10:03 AM
» Replies: 0
» Views: 256
Ravishankar Chavare
Welcome to Python

Forum: Python
Last Post: Ravishankar Chavare
04-07-2018, 07:55 AM
» Replies: 0
» Views: 118
Ravishankar Chavare
Generate 4 digit otp

Forum: Php
Last Post: Ravishankar Chavare
03-11-2018, 09:53 AM
» Replies: 0
» Views: 352
Ravishankar Chavare
Paytm 200rs Cashback on 2...

Forum: Suggestions for sale
Last Post: Ravishankar Chavare
03-08-2018, 02:35 PM
» Replies: 0
» Views: 419
Ravishankar Chavare
Paytm - 50% cashback on m...

Forum: Daily offers
Last Post: Ravishankar Chavare
02-26-2018, 07:18 AM
» Replies: 0
» Views: 481
Ravishankar Chavare
SQLiteDatabse In Android

Forum: Android
Last Post: Ravishankar Chavare
02-21-2018, 04:37 PM
» Replies: 0
» Views: 480
Ravishankar Chavare
Add Stylish Toast In Your...

Forum: Android
Last Post: Ravishankar Chavare
02-03-2018, 06:26 AM
» Replies: 0
» Views: 563
Ravishankar Chavare
Github Integration In And...

Forum: Android
Last Post: Ravishankar Chavare
02-02-2018, 06:22 PM
» Replies: 0
» Views: 389
Ravishankar Chavare
Be off campus job opening...

Forum: Off campus
Last Post: Ravishankar Chavare
01-19-2018, 12:54 PM
» Replies: 0
» Views: 797
Ravishankar Chavare
HSBC Java J2EE/Software E...

Forum: Direct Walkins
Last Post: Ravishankar Chavare
01-10-2018, 04:32 PM
» Replies: 0
» Views: 1,128

 
  How to set up or install python in your local machine
Posted by: Ravishankar Chavare - 04-07-2018, 10:03 AM - Forum: Python - No Replies

For Windows machine Download appropriate python version from below link
-----------------------------------------------------
For Windows Machine

-----------------------------------------------------
Legacy version 2.x
python version 3.x present and future 
You will find out all version of python here



For Linux Flaveour


[/size][/size]

Code:
This is Example tested on  CentOS/RHEL 7
change wget link according to python version
# wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tar.xz
# tar xJf Python-3.6.3.tar.xz
# cd Python-3.6.3
# ./configure
# make
# make install



if you don't know the difference between legacy version and present version of python then read this tutorial here


There are following ways to use python

1.Python Shell- this is used to run command line by line.


2.IDLE GUI - lets you write more complex scripts, and run them in one go.

3.Text Editor - Here You can Use Any Text Editor like notepad,sublime,Brackets,Notepad++ or any other after writing the full code save that file as .py extension and run that python file into shell py using 

Code:
>>python filename.py

Print this item

  Welcome to Python
Posted by: Ravishankar Chavare - 04-07-2018, 07:55 AM - Forum: Python - No Replies

hi guys today we are learning python from scratch

What is Python?

[Image: python-logo.png]
Python is an interpreted high-level programming language for general-purpose programming. Created by Guido van Rossum and first released in 1991, Python has a design philosophy that emphasizes code readability, notably using significant whitespace. It provides constructs that enable clear programming on both small and large scales.

Should I use Python 2.x.x or Python 3.x.x for my development activity?

Python 2.x is legacy,
Python 3.x is the present and future of the language

Guido van Rossum (the original creator of the Python language) decided to clean up Python 2.x properly, with less regard for backwards compatibility than is the case for new releases in the 2.x range.

If you want to port your python code from one version to another version then its hard to conversion so before creating python project first decide the what version you should use. read following tutorial carefully to understand how both version working and what is the difference between them

Which version should I use legacy or present?

Important difference between python 2.x and 3.x 

1.division operator
   when you are dividing 9 number with 2 then expected result should be 4.5

python 2.x:
9/2               --the answer is  4

python 3.x:
9/2               --the answer is  4.5

You can also same result in python 2.x but you need to modify the code as follows

Code:
To get desired output you need to try any one of the method from following
Python 2.7.14

>>> print 9/2
4
>>> print 9/2.0
4.5
>>> print 9.0/2
4.5
>>> print 9.0/2.0
4.5


2.Print Function
     The main difference of print 
           print from python 2.x replaced with print() function in python 3.x
Code:
print 'Hello, Python'      # Python 3.x doesn't support
print('Hello, Python')


3.local value Replaced to Global Variable

List comprehensions also "leak" their loop variable into the surrounding scope.
Code:
Python 2.x
>>> x = 'before'
>>> a = [x for x in (1, 2, 3)]
>>> x
3

This bug is fixed in Python3.x

Python 3.x
>>> x = 'before'
>>> a = [x for x in (1, 2, 3)]
>>> x
'before'

4.xrange

xrange() of Python 2.x doesn’t exist in Python 3.x. In Python 2.x, range returns a list i.e. range(3) returns [0, 1, 2] while xrange returns a xrange object i. e., xrange(3) returns iterator object which work similar to Java iterator and generates number when needed.
Code:
for x in xrange(1, 5):
   print(x),

Output in Python 2.x
1 2 3 4 1 2 3 4


for x in range(1, 5):
   print(x),

Output in Python 3.x
NameError: name 'xrange' is not defined

5.Error handling

  there is  a small change in both version of python . Python 3.x  uses 'as' keyword
Code:
Python 2.x
try:
   trying_to_check_error
except NameError, err:
   print err, 'Error Caused'  


Python 3.x
try:
    trying_to_check_error
except NameError as err: # 'as' is needed in Python 3.x
    print (err, 'Error Caused')


Note:
_future_module


_future_module help you for migration purposes.
We can use Python 3.x If we are planning Python 3.x support in our 2.x code,we can use _future_ imports it in our code
for example you want to add integer division module of python 3.x into python 2.x then you can use _future_module as following
Code:
from __future_import division

print 9/2 now this will generate output as 4.5


Today we Just learned What is python And information about two different version of python in next tutorial we will learn how to install python and how to set python environment in your local machine

Print this item

  Generate 4 digit otp
Posted by: Ravishankar Chavare - 03-11-2018, 09:53 AM - Forum: Php - No Replies

Code:
    function generateOTP($digits = 4){
   $i = 0; //counter
   $pin = ""; //our default pin is blank.
   while($i < $digits){
       //generate a random number between 0 and 9.
       $pin .= mt_rand(0, 9);
       $i++;
   }
   return $pin;
}


now call this generateOTP();

anywhere in php file you will get response in 4 digit if you need 6 digit otp just call 
PHP Code:
$otp=generateOTP(6); 

Print this item

  Paytm 200rs Cashback on 200rs Code FIRSTTIMELUCK
Posted by: Ravishankar Chavare - 03-08-2018, 02:35 PM - Forum: Suggestions for sale - No Replies

This offer is valid on paytm mall user
PRODUCT SUGGESTION 

1.

Print this item

  Paytm - 50% cashback on movie tickets of Sonu ke Titu ki Sweety
Posted by: Ravishankar Chavare - 02-26-2018, 07:18 AM - Forum: Daily offers - No Replies

Paytm - 50% cashback on movie tickets of Sonu ke Titu ki Sweety

Promo Code : SKTKS150

*Visit Paytm go to book movie section select two tickets
*Max cashback 150
*Working for all users currently

Print this item

  SQLiteDatabse In Android
Posted by: Ravishankar Chavare - 02-21-2018, 04:37 PM - Forum: Android - No Replies

Android Data Storage Options

1.sharedprefrences
2.Internal storage
3.External storage
4.SQLiteDatabase
5.Network Operations


SQLiteDatabse
SQLite is lighter version of SQL

Today we are learning 
-create SQLiteDatabase
-insert records into Databse
-delete record from Databse
-show all records
-update records


First We need to create database helper class and extends it with SQLiteOpenHelper



Code:
package com.protutr.sqlitedemo;

import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.text.Editable;
import android.util.Log;

/**
* Created by ravi on 2/18/2018.
*/

public class DatabaseHelper extends SQLiteOpenHelper {
   private static  final String database_name="contacts.db";
   private  static final int database_version=1;
   private static final String table_name="contact";


   //this is constructor create a SQLiteDatabase instance
   public DatabaseHelper(Context context) {
       super(context, database_name, null, database_version);
       SQLiteDatabase db=this.getWritableDatabase();

   }

   //when DatabaseHelper class Called then first this method will run
   @Override
   public void onCreate(SQLiteDatabase sqLiteDatabase) {
       sqLiteDatabase.execSQL("CREATE TABLE "+table_name+" (ID INTEGER PRIMARY KEY AUTOINCREMENT,NAME TEXT,MOBILE_NUMBER INTEGER,EMAIL TEXT)");
       Log.e("mystring","table created");


   }

   //After second call this method will be called all database update related code will be here
   @Override
   public void onUpgrade(SQLiteDatabase sqLiteDatabase, int i, int i1) {
   sqLiteDatabase.execSQL("DROP TABLE IF EXISTS "+table_name);
   onCreate(sqLiteDatabase);
   }


   //this method used to insert data into tabele using content value
   public boolean insertData(String name, String mobilenumber, String email) {
       SQLiteDatabase db=this.getWritableDatabase();
       ContentValues contentValues=new ContentValues();
       contentValues.put("NAME",name);
       contentValues.put("MOBILE_NUMBER",mobilenumber);
       contentValues.put("EMAIL",email);
       Log.e("mystring","data inserted");

       long result=db.insert(table_name,null,contentValues);

       if (result==-1)
           return false;


       else
           return true;

   }


   //this method search the data in the datbase
   public Cursor searchData(String mobilenumber){
       SQLiteDatabase db=this.getWritableDatabase();
       String query="SELECT * FROM "+table_name+" WHERE MOBILE_NUMBER= '"+mobilenumber+"' ";
       Cursor cursor=db.rawQuery(query,null);
       return cursor;

   }


   //for delete mobile number
   public void delteData(String mobilenumber){
       SQLiteDatabase db=this.getWritableDatabase();
       db.delete(table_name,"MOBILE_NUMBER= '"+mobilenumber+"'",null);
   }

   //for update data
   public void updateData(String mobilenumber,String name,String email){
       SQLiteDatabase db=this.getWritableDatabase();
       ContentValues contentValues=new ContentValues();
       contentValues.put("EMAIL",email);
       contentValues.put("NAME",name);


       db.update(table_name,contentValues,"MOBILE_NUMBER= '"+mobilenumber+"'",null);
       db.close();
   }


   //to read all data from SQLiteDatabse
   public Cursor AllContacts(){
       SQLiteDatabase db=this.getWritableDatabase();
       Cursor cursor= db.rawQuery("SELECT * FROM "+table_name,null);
       return cursor;

   }
}


In Main Activity Create DatabaseHelper Object Instance

Code:
DatabaseHelper databaseHelper=new DatabaseHelper(this);


when we create above objects it will call to onCreate() method from DatabaseHelper And Create A Table


MainActivity

Code:
package com.protutr.sqlitedemo;

import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;

public class MainActivity extends AppCompatActivity {
   Button create_db,insertinto_db,search,delete,update,showall,playstore;

   @Override
   protected void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.activity_main);
       create_db=(Button)findViewById(R.id.createdatabase);
       insertinto_db=(Button)findViewById(R.id.insertintodatbase);
       search=(Button)findViewById(R.id.search);
       delete=(Button)findViewById(R.id.delete);
       update=(Button)findViewById(R.id.update);
       showall=(Button)findViewById(R.id.showall);
       playstore=(Button)findViewById(R.id.playstore);

       playstore.setOnClickListener(new View.OnClickListener() {
           @Override
           public void onClick(View view) {
               Intent intent=new Intent(Intent.ACTION_VIEW);
               intent.setData(Uri.parse("market://details?id=com.protutr.protutr"));
               startActivity(intent);
           }
       });

       //call activity to show all saved contacts
       showall.setOnClickListener(new View.OnClickListener() {
           @Override
           public void onClick(View view) {
               Intent intent=new Intent(MainActivity.this,AllContacts.class);
               startActivity(intent);

           }
       });

       //call updatecontact activity to update the contacts
       update.setOnClickListener(new View.OnClickListener() {
           @Override
           public void onClick(View view) {
               Intent intent=new Intent(MainActivity.this,UpdateContacts.class);
               startActivity(intent);
           }
       });

       //call DeleteContacts activity for deleting contacts
       delete.setOnClickListener(new View.OnClickListener() {
           @Override
           public void onClick(View view) {
               Intent intent=new Intent(MainActivity.this,DeleteContacts.class);
               startActivity(intent);

           }
       });




   //call to searchindatabase activity to search contacts
       search.setOnClickListener(new View.OnClickListener() {
           @Override
           public void onClick(View view) {
               Intent intent=new Intent(MainActivity.this,Searchindatabse.class);
               startActivity(intent);

           }
       });

       //this is create databasehelper class instance
       create_db.setOnClickListener(new View.OnClickListener() {
           @Override
           public void onClick(View view) {
               Toast.makeText(MainActivity.this, "Table created Successfully", Toast.LENGTH_SHORT).show();
               DatabaseHelper databaseHelper=new DatabaseHelper(MainActivity.this);

           }
       });

       //call to insertintodatbase activity
       insertinto_db.setOnClickListener(new View.OnClickListener() {
           @Override
           public void onClick(View view) {
               Intent intent=new Intent(MainActivity.this,InsertIntoDatabase.class);
               startActivity(intent);
           }
       });
   }
}


InserIntoDatabase.xml

Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
   xmlns:app="http://schemas.android.com/apk/res-auto"
   xmlns:tools="http://schemas.android.com/tools"
   android:layout_width="match_parent"
   android:layout_height="match_parent"
   tools:context="com.protutr.sqlitedemo.InsertIntoDatabase">

   <LinearLayout
       android:layout_width="match_parent"
       android:orientation="vertical"
       android:layout_height="match_parent">

       <EditText
           android:id="@+id/name"
           android:layout_width="match_parent"
           android:layout_height="wrap_content"
           android:hint="name"/>
       <EditText
           android:id="@+id/mobilenumber"
           android:layout_width="match_parent"
           android:layout_height="wrap_content"
           android:hint="Mobile number"/>

       <EditText
           android:id="@+id/email"
           android:layout_width="match_parent"
           android:layout_height="wrap_content"
           android:hint="Email"/>

       <Button
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:layout_gravity="center"
           android:text="Add contacts"
           android:id="@+id/submit"
           />

   </LinearLayout>

</RelativeLayout>

InsertIntoDataBase.java

Code:
package com.protutr.sqlitedemo;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;

public class InsertIntoDatabase extends AppCompatActivity {
   Button submit;
   EditText name,mobilenumber,email;
   DatabaseHelper databaseHelper;

   @Override
   protected void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.activity_insert_into_database);
       submit=(Button)findViewById(R.id.submit);
       name=(EditText)findViewById(R.id.name);
       mobilenumber=(EditText)findViewById(R.id.mobilenumber);
       email=(EditText)findViewById(R.id.email);
       databaseHelper=new DatabaseHelper(this);
       submit.setOnClickListener(new View.OnClickListener() {
           @Override
           public void onClick(View view) {
               boolean result=databaseHelper.insertData(name.getText().toString(),mobilenumber.getText().toString(),email.getText().toString());
               if (result)
                   Toast.makeText(InsertIntoDatabase.this, "Contact Added Successfully", Toast.LENGTH_SHORT).show();
               else
                   Toast.makeText(InsertIntoDatabase.this, "Something went wrong", Toast.LENGTH_SHORT).show();
           }
       });
   }
}

DeleteContacts.xml

Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
   xmlns:app="http://schemas.android.com/apk/res-auto"
   xmlns:tools="http://schemas.android.com/tools"
   android:layout_width="match_parent"
   android:layout_height="match_parent"
   tools:context="com.protutr.sqlitedemo.DeleteContacts">
   <LinearLayout
       android:layout_width="match_parent"
       android:orientation="vertical"
       android:layout_height="wrap_content">
       <EditText
           android:id="@+id/mobilenumber"
           android:layout_width="match_parent"
           android:layout_height="wrap_content"
           android:hint="Enter Number"/>
       <Button
           android:id="@+id/delete"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:layout_gravity="center"
           android:text="Delete"/>
   </LinearLayout>
   <TextView
       android:id="@+id/result"
       android:layout_centerInParent="true"
       android:layout_width="match_parent"
       android:layout_height="wrap_content" />

</RelativeLayout>

DeleteContacts:

Code:
package com.protutr.sqlitedemo;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;

public class DeleteContacts extends AppCompatActivity {
   EditText mobilenumber;
   Button delete;
   DatabaseHelper databaseHelper;

   @Override
   protected void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.activity_delete_contacts);
       mobilenumber=(EditText)findViewById(R.id.mobilenumber);
       delete=(Button)findViewById(R.id.delete);
       databaseHelper=new DatabaseHelper(this);

       delete.setOnClickListener(new View.OnClickListener() {
           @Override
           public void onClick(View view) {
               if(mobilenumber.getText().toString().equals("")){
                   Toast.makeText(DeleteContacts.this, "Enter number", Toast.LENGTH_SHORT).show();
               }
               else {
                   databaseHelper.delteData(mobilenumber.getText().toString());
               }
           }
       });
   }
}

AllContacts.xml

Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
   xmlns:app="http://schemas.android.com/apk/res-auto"
   xmlns:tools="http://schemas.android.com/tools"
   android:layout_width="match_parent"
   android:layout_height="match_parent"
   tools:context="com.protutr.sqlitedemo.AllContacts">
   <ScrollView
       android:layout_width="match_parent"
       android:layout_height="match_parent">
       <LinearLayout
           android:layout_width="match_parent"
           android:layout_height="match_parent">
   <TextView
       android:layout_width="match_parent"
       android:layout_height="match_parent"
       android:id="@+id/result"
       />
       </LinearLayout>
   </ScrollView>

</RelativeLayout>

AllContacts

Code:
package com.protutr.sqlitedemo;

import android.database.Cursor;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
import android.widget.Toast;

public class AllContacts extends AppCompatActivity {
   DatabaseHelper databaseHelper;
   TextView result;

   @Override
   protected void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.activity_all_contacts);
       databaseHelper=new DatabaseHelper(this);
       result=(TextView)findViewById(R.id.result);

       Cursor cursor =databaseHelper.AllContacts();
       if (cursor.getCount()==0){
           Toast.makeText(this, "NO contact found", Toast.LENGTH_SHORT).show();
       }
       else {
           StringBuffer buffer=new StringBuffer();
           while (cursor.moveToNext()){
               Toast.makeText(this, cursor.getString(1), Toast.LENGTH_SHORT).show();
               buffer.append("Id:"+cursor.getString(0)+"\n");
               buffer.append("Name:"+cursor.getString(1)+"\n");
               buffer.append("Mobile:"+cursor.getString(2)+"\n");

               buffer.append("Email:"+cursor.getString(3)+"\n \n");
           }
           result.setText(buffer.toString());


       }


   }
}

SearchInDatabase.xml

Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
   xmlns:app="http://schemas.android.com/apk/res-auto"
   xmlns:tools="http://schemas.android.com/tools"
   android:layout_width="match_parent"
   android:layout_height="match_parent"
   tools:context="com.protutr.sqlitedemo.Searchindatabse">
   <LinearLayout
       android:layout_width="match_parent"
       android:orientation="vertical"
       android:layout_height="wrap_content">
   <EditText
       android:id="@+id/mobilenumber"
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
       android:hint="Enter Number"/>
   <Button
       android:id="@+id/search"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:layout_gravity="center"
       android:text="search"/>
   </LinearLayout>
   <TextView
       android:id="@+id/result"
       android:layout_centerInParent="true"
       android:layout_width="match_parent"
       android:layout_height="wrap_content" />

</RelativeLayout>


SearchInDatabase

Code:
package com.protutr.sqlitedemo;

import android.database.Cursor;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

public class Searchindatabse extends AppCompatActivity {
   EditText mobilenumber;
   Button search;
   TextView result;
   DatabaseHelper databaseHelper;

   @Override
   protected void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.activity_searchindatabse);
       mobilenumber=(EditText)findViewById(R.id.mobilenumber);
       search=(Button)findViewById(R.id.search);
       result=(TextView) findViewById(R.id.result);
       databaseHelper=new DatabaseHelper(this);
       search.setOnClickListener(new View.OnClickListener() {
           @Override
           public void onClick(View view) {
               Cursor cursor=databaseHelper.searchData(mobilenumber.getText().toString());
               while (cursor.moveToNext()){
                   result.setText(cursor.getString(1));

               }


           }
       });
   }
}



GITHUB PROJECT LINK HERE

Print this item

  Add Stylish Toast In Your App Using simple Library
Posted by: Ravishankar Chavare - 02-03-2018, 06:26 AM - Forum: Android - No Replies

Demo:




step 1:create your project with name StylishToasts

Step 2: Now go to build.gradle(project level) and add following code

Code:
allprojects {
    repositories {
        maven { url "https://jitpack.io" }
    }
}


Step 3:open build.gradle(App level) and compile following third party library
Code:
    compile 'com.github.GrenderG:Toasty:1.2.8'

now click on Sync now wait some time to sync this library into your project

Step 4:Now You can use Toasty in the Folowing Way

To display an error Toast:

Code:
Toasty.error(yourContext, "This is an error toast.", Toast.LENGTH_SHORT, true).show();

To display a success Toast:

Code:
Toasty.success(yourContext, "Success!", Toast.LENGTH_SHORT, true).show();

To display an info Toast:

Code:
Toasty.info(yourContext, "Here is some info for you.", Toast.LENGTH_SHORT, true).show();

To display a warning Toast:

Code:
Toasty.warning(yourContext, "Caution:Dont misspell.", Toast.LENGTH_SHORT, true).show();

To display the usual Toast:

Code:
Toasty.normal(yourContext, "Normal toast w/o icon").show();

To display the usual Toast with icon:

Code:
Toasty.normal(yourContext, "Normal toast w/ icon", yourIconDrawable).show();

You can also create your custom Toasts with the custom() method:

Code:
Toasty.custom(yourContext, "I'm a custom Toast", yourIconDrawable, tintColor, duration, withIcon, 
shouldTint).show();

//yourIconDrawable-R.drawable.iconpath
//tintColor-getResources().getColor(R.color.colorPrimary)
//withIcon-true or false
//shouldTint-true or false

Github Project Link Here

Print this item

  Github Integration In Android Studio
Posted by: Ravishankar Chavare - 02-02-2018, 06:22 PM - Forum: Android - No Replies

Hello Friends today i am here sharing you how to integrate GitHub in android studio for version controlling

Lesson 1
 Setup (NEW) GitHub in Android Studio








Lesson 2 
Import & Push (NEW)
In this Video

-create new project in android studio and how to push it to GitHub.com
-learn how to import an Android Studio Project to GitHub and push code changes to GitHub








2.1
Lesson 2.1 Pull & Clone (NEW)
-we will learn how to pull down a project from GitHub to Android Studio and how to pull down changes from another developer.







Lesson 3.0 

Create, Delete, and Switch Branches
-learn how create, delete, and switch branches in Android Studio.







Lesson 3.1 
Simple Merging

-how merge two branches in Android Studio.








Lesson 3.2
Complex Merging

- learn how merge three branches in Android Studio, and deal with a merge conflict.








Lesson 4.0 
Pull Request
-learn how create a pull request.








Lesson 4.1 
Pull Requests | Approve and Request Changes

-how to approve and request changes on a pull request.










Lesson 4.2 
Good Code Review Practices

-We look at code review practices.







5.0 – 
GitHub & Project Administration | Projects
-use the 'Projects' tab on GitHub.





If you like these videos comment here and subscribe Will Willis youtube channel here

Print this item

  Be off campus job opening in the for 2017 passout
Posted by: Ravishankar Chavare - 01-19-2018, 12:54 PM - Forum: Off campus - No Replies

Year of Graduation
2017

Eligible Courses and Disciplines

BE / B.Tech / ME / M.Tech in any of the following disciplines:
Applied Electronics
Applied Mathematics
Applied Statistics & Informatics
Artificial Intelligence
Automobile Engineering
Bio Medical
Bioinformatics
Biotechnology
Communication Engineering
Computer Science
Digital Engineering
Electrical & Electronics Engineering
Electronics & Communication
Electronics and Telecommunication
Electronics Engineering
Industrial Management
Information Science
Information Technology
Instrumentation Engineering
Materials Engineering
Mechanical Engineering
Mechatronics
Multimedia Technology
Network Engineering
Operations & Systems
Production Engineering
Remote Sensing
Robotics
Software Engineering
Wireless Technologies

MCA with BSc / BCA / BCom / BA (with Math / Statistics Background)

M.SC in Information technology / Computer Science / Software Engineering

Minimum aggregate marks of 60% or above in the first attempt in each of Class Xth, Class XIIth, Diploma (if applicable), Graduation and Post-Graduation examination within the stipulated duration of course as specified by the respective board/university (any arrears/backlogs cleared post stipulated course duration is considered as extended education and would not be eligible). Please note that all subjects mentioned in the mark sheets should be taken into consideration (including languages, optional subjects etc.) while calculating the aggregate marks. For example, best of 5 out of 6 subjects for calculating the aggregate is not acceptable as per the TCSL Eligibility Criteria. In cases where a candidate has completed both, XIIth and Equivalent Diploma, the cut off percentage of 60% and above is applicable to both the courses.

APPLY HERE

Print this item

  HSBC Java J2EE/Software Engineer
Posted by: Ravishankar Chavare - 01-10-2018, 04:32 PM - Forum: Direct Walkins - No Replies

HSBC Java J2EE/Software Engineer/RBWM Technology (RBWM + ADM)/ 

[Image: logo.png]

Description
Candidate profile
-Be an approachable and supportive team member with a collaborative attitude within a demanding, maturing Agile environment
-Influence and champion new ideas and methods
-Great communication - convey your thoughts, ideas and opinions clearly and concisely face-to-face or virtually to all levels up and down stream
And equally important - you listen and reflect back what others communicate to you
-Regularly demonstrate these qualities - drive, motivation, determination, dedication, resiliency, honesty and enthusiasm
-Be culturally aware and sensitive
-Be flexible under pressure
-Strong analytical and problem solving skills
 
Qualifications
 
Technical Skills:
 
-Working on Java 8, J2EE, Spring Framework. Web 2.0
-Familiarity with Agile and DevOps
-Understanding Spring Framework including request response processing, MVC and Spring integrations.
-Hands on experience with Core Java, J2EE (JSP and servlets).
-Knowledge of AngularJS 2.0 and DOJO is added advantage.
-Analyse / Review the requirement, prepare the design document as per requirements and delivered within schedule by -adhering to the engineering and quality standards.
-Conduct peer reviews to ensure standards are followed. Prepare all documents as per quality procedures.
-Ability to resolve critical issues in timely manner is a key
-Be clear communicator, document your work, share your ideas
-Be prepared to challenge the status quo and always be pushing for smarter ways of working
 
Job Field : Information Technology

Primary Location : Asia Pacific-India-Maharashtra-Pune

Schedule : Full-time Shift : Day Job

Type of Vacancy : Country vacancy

Job Posting : 09-Jan-2018, 14:20:55

Unposting Date : 23-Jan-2018, 23:59:00

Apply Here Now

Download android app here to get more jobs

Print this item