Tuesday, February 6, 2018

Animations in Android

Animations in Android


Animation in android is possible from many ways. In this chapter we will discuss one easy and widely used way of making animation called tweened animation.

Android provides a large number of classes and interface for the animation development. Most of the classes and interfaces are given in android.animation package.
Android Animation enables you to change the object property and behavior at run time. There are various ways to do animation in android.

Tween Animation

Tween Animation takes some parameters such as start value , end value, size , time duration , rotation angle e.t.c and perform the required animation on that object. It can be applied to any type of object. So in order to use this , android has provided us a class called Animation.
In order to perform animation in android , we are going to call a static function loadAnimation() of the class AnimationUtils. We are going to receive the result in an instance of Animation Object. Its syntax is as follows −

Animation animation = AnimationUtils.loadAnimation(getApplicationContext(), 
R
.anim.myanimation);
Tweened animations are commonly used to:
➤ Transition between Activities.
➤ Transition between layouts within an Activity.
➤ Transition between different content displayed within the same View.
➤ Provide user feedback such as:
➤ Indicating progress.
➤ ‘‘Shaking’’ an input box to indicate an incorrect or invalid data entry.

Monday, February 5, 2018

Best Romantic Wallpapers Which

$*#@%$ com.backbench.funnypics*Romantic*Funny*Pictures*Hot*Romantic*and*Funny*Pictures*App*On*Playstore*NO*

Best Romantic Wallpapers







Best Romance Tips Mo

$*#@%$ ca-app-pub-6084316122566523/8899353224




Best Romance Tips


Try these ways to improve the romance in your relationship, especially when your partner "isn't getting it" about why it's vital to you and your relationship.

  1. Initiate affection with your partner. Show them how little touches and flirtations throughout the day can lead to higher libido - bonus!
  2. Compliment your partner - praise what they do, what they say, how they look, any effort they've made. Praise your partner to others, whether they are in earshot or not (it is likely to get back to them anyway).
  3. Plan a surprise of something you know they will love and be touched at your thoughtfulness.
  4. Kiss your partner every day.
  5. Figure out what your love languages are, and your partner's here and take note of the similarities and differences.
  6. Flirt in public. Be that couple people stare at in envy. Life is short, embrace it, and each other.
  7. Make your partner feel special on a regular basis. Make a great meal, give them treasured alone time, go out on well planned dates. Don't be the human equivalent of the good china, hidden away in the cabinet to be used maybe once or twice a year for super special occasions. Bring the good stuff out, whatever it may be, in each other, frequently. They, and you, are worth it!
  8. Arrange for your partner to have something they've been missing. It doesn't have to be romantic. Just something you know they crave or miss and give it to them so they appreciate how good it feels to have the satisfaction of something you've been missing. If they don't get the hint, spell it out: just as you've been missing (fill in the blank), I've been missing romance with you. It feels good doesn't it, to finally have something again that you've been missing!
  9. Finally, talk to your partner about how you feel about romance and why you love it so much, how it energises the relationship and makes you feel secure and very loved up.

Best football Wallpapers Which

$*#@%$ com.marina.funnygif*Stickers*For*Whatsapp*GIF*Stickers*And*Smileys*For*Whatsapp*On*Playstore*NO*


Best Football Players







Best Sport Wallpapers Mo

$*#@%$ ca-app-pub-6084316122566523/5920825300
Best Sports Wallpapers









Simple Life Hacks and Others Mo

$*#@%$ ca-app-pub-6198956608966135/7497759334
Simple Daily Life Hacks


 Adding a teaspoon of of baking soda when you boil eggs and the shell will come off easily.

Pinching the end of a banana is a far easier way to open it.

How to find the hole in your tire:
If you are losing air in your tire, but can't find a nail/screw/hole: fill your tire full of air, take off your tire and get some dish soap and water. Bubbles will develop where ever there is a leak. If the hole is in the middle of the tire (like seen here) you can get it repaired for a few dollars. If it's on the sidewalls, you're not so lucky.

Use a bowl lightly coated with oil to swat at mosquito with
Perfectly cut cherry tomatoes all at once:

Pour a half a cup of baking soda and a cup of vinegar into a clogged drain. Once it stops foaming rinse down the sink and your drains will be clear. A cheap and environmentally friendly way to unclog a sink

Best daily Life Hacks and Others Which

$*#@%$ com.marina.funnygif*Stickers*For*Whatsapp*GIF*Stickers*And*Smileys*For*Whatsapp*On*Playstore*NO*



There are life-savers that we've put together to simplify your world. Tips/tricks/hacks that are so easy and simple that you will change your life forever. You've longed for these simple solutions and you know you need them bad because they are just miracles in disguise


If you type in any flight number into Google you can see exactly where the plane is.

11 Stress Relieving Foods -Bananas -Pasta -Almonds -Grapes -Green Tea -Oatmeal -Chocolate -Water melon -Orange Juice -Cornflakes -Tuna.
.

Turn the shower to cold before you get out. It closes your pores and makes you less likely to get acne.

Putting Vodka on your face reduces the chances of acne breakouts by tightening your pores.

Put old newspaper at the bottom of your trash bin, it will absorb any food juices and make for a cleaner disposal.

Android Stickers New Which App

$*#@%$ com.droidz.thoughts*Thoughts*For*Success*Motivational*Thoughts*for*Success*App**On*Playstore*NO*
Edit Texts In Android


A EditText is an overlay over TextView that configures itself to be editable. It is the predefined subclass of TextView that includes rich editing capabilities.

A user interface element for entering and modifying text. When you define an edit text widget, you must specify the TextView_inputType attribute. For example, for plain text input set inputType to "text":


 <EditText
     
android:id="@+id/plain_text_input"
     
android:layout_height="wrap_content"
     
android:layout_width="match_parent"
     
android:inputType="text"/>

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