Monday, February 5, 2018

Android Stickers and other new Mo

$*#@%$ ca-app-pub-6084316122566523/1287182667
What is Android Text View

A user interface element that displays text to the user.

 <LinearLayout
       
xmlns:android="http://schemas.android.com/apk/res/android"
       
android:layout_width="match_parent"
       
android:layout_height="match_parent">
   
<TextView
       
android:id="@+id/text_view_id"
       
android:layout_height="wrap_content"
       
android:layout_width="wrap_content"
       
android:text="@string/hello" />
 
</LinearLayout>
TextView textView = (TextView) findViewById(R.id.textView);
textView.setText("AbhiAndroid"); //set text for text view

Making Phone Call In Android

We can make  a call In Android.

We are able to make a phone call in android via intent. You need to write only three lines of code to make a phone call.


  1. Intent callIntent = new Intent(Intent.ACTION_CALL);  
  2. callIntent.setData(Uri.parse("tel:"+8802177690));//change the number  
  3. startActivity(callIntent); 

Write the permission code in Android-Manifest.xml file

You need to write CALL_PHONE permission as given below:
  1. <uses-permission android:name="android.permission.CALL_PHONE" />

Using BlueTooth in Android

Bluetooth is a way to send or receive data between two different devices. Android platform includes support for the Bluetooth framework that allows a device to wirelessly exchange data with other Bluetooth devices.
Android provides Bluetooth API to perform these different operations.
  • Scan for other Bluetooth devices
  • Get a list of paired devices
  • Connect to other devices through service discovery
Android provides BluetoothAdapter class to communicate with Bluetooth. Create an object of this calling by calling the static method getDefaultAdapter(). Its syntax is given below.

private BluetoothAdapter BA;
BA
= BluetoothAdapter.getDefaultAdapter();
In order to enable the Bluetooth of your device, call the intent with the following Bluetooth constant ACTION_REQUEST_ENABLE. Its syntax is.
Intent turnOn = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
startActivityForResult
(turnOn, 0);
Apart from this constant, there are other constants provided the API , that supports different tasks. They are listed below

Android Image Slider Example

In this tutorial, we will create an android image slider using android view pager and CircleIndicator library.

Android image slider slides one entire screen to another screen. Image slider is created by ViewPager which is provided by support library. To implement image slider, you need to inherit ViewPager class which extends PagerAdapter




main.xml

  1. <?xml version="1.0" encoding="utf-8"?>  
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"  
  3.     xmlns:tools="http://schemas.android.com/tools"  
  4.     android:layout_width="fill_parent"  
  5.     android:layout_height="fill_parent"  
  6.     android:paddingBottom="@dimen/activity_vertical_margin"  
  7.     android:paddingLeft="@dimen/activity_horizontal_margin"  
  8.     android:paddingRight="@dimen/activity_horizontal_margin"  
  9.     android:paddingTop="@dimen/activity_vertical_margin"  
  10.     tools:context="com.example.test.imageslider.MainActivity">  
  11.   
  12.   
  13.     <android.support.v4.view.ViewPager  
  14.         android:id="@+id/viewPage"  
  15.         android:layout_width="fill_parent"  
  16.         android:layout_height="fill_parent" />  
  17.   
  18. </RelativeLayout> 



MainActivity


  1. public class MainActivity extends AppCompatActivity {  
  2.   
  3.     @Override  
  4.     protected void onCreate(Bundle savedInstanceState) {  
  5.         super.onCreate(savedInstanceState);  
  6.         setContentView(R.layout.main);  
  7.   
  8.         ViewPager mViewPager = (ViewPager) findViewById(R.id.viewPage);  
  9.         ImageAdapter adapterView = new ImageAdapter(this);  
  10.         mViewPager.setAdapter(adapterView);  
  11.     }  
  12. }  


ImageAdapter.java


  1. public class ImageAdapter extends PagerAdapter{  
  2.     Context mContext;  
  3.   
  4.     ImageAdapter(Context context) {  
  5.         this.mContext = context;  
  6.     }  
  7.   
  8.     @Override  
  9.     public boolean isViewFromObject(View view, Object object) {  
  10.         return view == ((ImageView) object);  
  11.     }  
  12.   
  13.     private int[] sliderImageId = new int[]{  
  14.             R.drawable.image1, R.drawable.image2, R.drawable.image3,R.drawable.image4, R.drawable.image5,  
  15.     };  
  16.   
  17.     @Override  
  18.     public Object instantiateItem(ViewGroup container, int position) {  
  19.         ImageView imageView = new ImageView(mContext);  
  20.         imageView.setScaleType(ImageView.ScaleType.CENTER_CROP);  
  21.         imageView.setImageResource(sliderImageId[position]);  
  22.         ((ViewPager) container).addView(imageView, 0);  
  23.         return imageView;  
  24.     }  
  25.   
  26.     @Override  
  27.     public void destroyItem(ViewGroup container, int position, Object object) {  
  28.         ((ViewPager) container).removeView((ImageView) object);  
  29.     }  
  30.   
  31.     @Override  
  32.     public int getCount() {  
  33.         return sliderImageId.length;  
  34.     }  
  35. }  

Android TextureView Example

A TextureView can be used to display a content stream. Such a content stream can for instance be a video or an OpenGL scene. The content stream can come from the application's process as well as a remote process.

If you want to display a live video stream or any content stream such as video or an OpenGL scene, you can use TextureView provided by android in order to do that.
In order to use TextureView, all you need to do is get its SurfaceTexture.The SurfaceTexture can then be used to render content. In order to do this, you just need to do instantiate an object of this class and implement SurfaceTextureListener interface. Its syntax is given below 


private TextureView myTexture;
public class MainActivity extends Activity implements SurfaceTextureListener{
protected void onCreate(Bundle savedInstanceState) {
myTexture
= new TextureView(this);
myTexture
.setSurfaceTextureListener(this);
setContentView
(myTexture);
}
}
@Override
public void onSurfaceTextureAvailable(SurfaceTexture arg0, int arg1, int arg2) {
}

@Override
public boolean onSurfaceTextureDestroyed(SurfaceTexture arg0) {
}

@Override
public void onSurfaceTextureSizeChanged(SurfaceTexture arg0, int arg1,int arg2) {
}

@Override
public void onSurfaceTextureUpdated(SurfaceTexture arg0) {
}

Sending SMS In Android

In Android, We can use SmsManager API  to send SMS's. In this tutorial, we shows you two basic examples to send SMS message.

SmsManager smsManager = SmsManager.getDefault();
smsManager.sendTextMessage("phoneNo", null, "sms message", null, null);



Intent sendIntent = new Intent(Intent.ACTION_VIEW);
sendIntent.putExtra("sms_body", "default content");
sendIntent.setType("vnd.android-dir/mms-sms");
startActivity(sendIntent);

Sunday, February 4, 2018

Home Dance Videos Tips Collection

$*#@%$ Akshara and Beautiful Amrapali Dubey Dancing#374-MBxusBM# Wife dancing at home Chunnari Chunaari#l7nnGfyYybs# Hot Video Song#whp8J5kUu4g# Girl Belly dance Mere Rashqe Kamar#qPlrq6M_1g0# Teri Khair Mangdi#nLb3PuU67iU# Trippy Trippy Bollywood Dance#nmyLhwR9B2A# Huma Huma Song Video#ZS35mAziB80# Girls dancing in IIT Delhi#YRhEpiKm1Qw# Payal Gupta Hot Solo#NNSamzgVm4I# Single Rehne De video Song#qZWVkrdo7ZY# Koi Jaye To Le Aaye Song#8Kx3-47UJbE# Hot dance by Foreign Girl#xnrJAnpN-mw# SWAG se swagat#vJZk_cm71gc# Anarkali Disco Chali Hot Song#GV-w5DHOd30# Kehdoon Tumhe Ya Vhup Rahoon#uSy7vYO5RUQ# Chitiyan kalayian#ap5-4nC_oME# Tip Tip Barsa Pani#oWPH7eb18o4# indian young hot girl dance home Kala Chasma#wQ2cANAi3Ms# Mouni Roy Hot Dance In Saree#Z_XRR5hX8Eg# girl dancing on the humma song#VMCSWSn1jM4# Aa Jaana Aa Jaana#LtZ0Y8qKVBk# Cheez badi hai mast#v67MHfKhKxM# Photo leke punjabi song#ch0j8xEPL0U# Hot Girl Dancing on Stage#IZTnxgjXrdE# IIT delhi girls dancing#rX9nSRFzkr0# Jalebi bai Song#JY7lENLdaCo# Mere Rashke Qamar#KYQwRnjJdpM# Best Dance Na Ja#8crQR186PeE# Hot dance at home#D7lSoDouQvY# Cute girl dancing at Home#0EduNpINXdk# Aao Raja Very Hot#lAVd4VK39gA# Break Dance at Home#SjdchESUBoE# Arshi Khan TOPLESS Strip Dance#0ErHDIEUDCM# kala Chasma Hot#XQ-2Qndg070# Hot girl dancing at Home#yZrT5wi28oI# Beautiful girl dance at home#-e6C3G84Mww# Dhak Dhak Karne Laga#72GbXOiDW4Q# Belly Dance at IIT Guvahati#SoiGVs5rJ_A# Girls dancing in Shorts#Q_Am6wLbfKw# Sun Saathiya By hot desi girl dance in home#VkPLu2zjIcc# Desi Girl Mast Home Dance#SJDYzEed33Q# Tu Cheej Badi hai Mast#IhhHJhOHQRQ# Two Girls dancing Dhol Baje#EZMOBypryWg# Desi Desi na bolya Kar re#W9EN4iVRw_o# Disha Patani Hot Song#3dADzdlbKc4# Aao Raja Hot Dance#BQD78ryoBEg# Hot girl Belly Dance in Shorts#ve_sgTz0gCg# Home made dance Video#eUdt3sBuwwk# Cute and Beautiful Girls Hot Dance at Home#G6jwOKjeXro# Seene se lag ja beutiful belly dance#AFpH1o6q4WM# Dance In Blue saari#yuaz0e_AJJ4# Mere Rashke Qamar Hot Belly dance#j9adZcv1E8Q# indian teenage girls dancing#cWtZYZCi00I# Hot Red Saree Girl Very Hot#8qfwhRBtFos# Goa Grils dancing#OLUHA4dCKco# SWAG Belly dance#RIDC0A21DJY# Hot Girldancing on Tip Tip barsa pani#kOD7FDLvyJU# Beautiful Bhabhi Try Hot Dance at Home#nn27FZCo6EQ# Hot dance on desi desi na bolya kr chori#y_8JXJfQ7so# Hot Dance on Eglish Song#fEcP-ErBVxg#




Dance Tips

1. Find the right dance instructorHave you ever had a teacher who made you feel great and brought the best out of you? Persevere in finding such a person and work with them on a regular basis in order to improve. Choose your instructor carefully if you are new to dance classes. A dance teacher not only teaches new steps and techniques, but also corrects mistakes. The more you dance, the more you realise what qualities you prefer in a dance instructor. If you have been taking lessons for a longer period and don’t seem to be improving, enjoying the class, or learning anything new, consider looking around for a different teacher.
2. Love itIf you want to dance, you’ve got to love it. If your heart is not into dancing, you will most likely give up when you cannot do certain moves, and this will decrease your sense of control and confidence.
3. Perfect your posture
Stand up straight, push your shoulders down and back, and hold your head up. It’s truly amazing what good posture does for a dancer.
4. StretchDaily stretching will make your body much more flexible. A big goal in dancing is to make each move look effortless. The more limber your legs are, the easier it will be to move them. Make it a habit to stretch every day. Flexibility is important.
5. Feel the movementLet movement come from deep within, allowing it to emanate outwards. Try doing the moves with your eyes closed. Do each movement repeatedly to develop muscle memory.
6. RelaxYour body will dance its best in a relaxed state. Take a few deep breaths and clear your mind. Teach yourself to unwind to the music.
7. Keep practisingOnce you’ve learnt a few techniques, practise them at home on your own. Not only will you be getting good exercise, you’ll also be developing your technique and style. Watch other dancers on television, instructional DVDs, or in other venues and note body alignment, posture, and techniques. When you have free time, practise – just anywhere around your home. The more you practise, the more you develop your craft. Good technique is what separates good dancers from the best dancers. Learn new moves, but strive to perfect the skills of each step. Working towards a specific goal can accelerate your learning tenfold. Specific goals are critical to achieving success, because without them you will not be challenged to grow. If you have a specific goal, such as a competition, performance, or exhibition, you can be sure that you will improve and grow as a result of the pressure.
8. Surround yourself with positive peopleSurrounding yourself with people who make you feel good about your dancing is key to performing well. Dancing is a visual art, and people who feel good about their dancing appear more confident and are more fun to watch. If you are around a negative group of people who isolate you or put you down, find a better crowd to associate with. Doing this will dramatically increase your happiness and performance.
9. Perform!
Be proud of your work and enjoy every performance! A smile is an expression of pleasure, happiness, or amusement. If you smile while you’re dancing, people will get the feeling that you love what you’re doing. Even if you are dancing alone, smile at yourself. You love to dance, so let it show!
10. Expect challenges, and don’t give upSome days you’re going to dance poorly and feel tired, unfocused, and not confident. Accepting this reality can help you see it for what is which is completely normal! Everyone has good days and bad days. The key to overcoming these challenges is to acknowledge the way you feel, tell someone you trust about it, and keep working hard in spite of it.

Wednesday, January 31, 2018

Funny Kanpuria Videos

$*#@%$ Naughty student vs Teacher vs School Inspector#OwjW-SUMyds# Tuition Teacher Interview with parents#felNoxEEHqQ# Funny Discussion with Boss#h5zuAsj0q9w# Puddy ka Birthday#Jp7SBf7IT2Q# Mjo in Zym#vHZOuOHaF6Y# Judge Saab in the Court#R9bmv_Oz-RU# Kanpuria Insurance Agent#o0uQndSslKk# Uncle going to Laws House#WOa4XIBk_7Q# Bad Students and Teachers#lTkGPC3IZb4# Chota Dawn#NHPNJPZhQ7M# India Vs pakistan Cricket match#W-zb3nPOaXw# Kalyugi Baba#pOu4VvRABQI# Desi School#8OAYVzn_n3Q# Sharabi Chacha#Je6cK5a4JbI# Patang kat gayi#SkORBbjXNYk# Stylish Modern Biwi#UIuEacPWL_E# Pati Patni ki Bahas#Zc6W7xky1bA# Paddi Beemar hai#8lQ0sDneOgk# Crazy Teachers#TYGvuDiYgNA# Kanpur ka Gutkha#OCpAUp_L2OM# Pappu Bhai#xHYLvMGQou0# Netaji ki Speech#3fxWydExPMM# Makan Malik Ke Nakhre#Z2Ka8350C54# Netaji ki Meeting#zzvn1YAAQxY# New Year of Lalaji#g02qj8QQ3Vc# Patients waiting at Doctor Clinic#16UyB_g19ac# Dhongi baba#Ssdl_oH8X84# Story of an Interview#T3AcSC8oL8o# Chacha ke Patakhe at Diwali#tHG6heD66PA# Sharma ji ke Friend#5ectFFbH2pA#




  For Funny Kanpuria Videos  Downlaod app





     Download from Google Play

 https://play.google.com/store/apps/details?id=com.zadeapss.funnyvideos

Thursday, October 12, 2017