Monday, February 5, 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.

Best Romantic Wallpapers Which

$*#@%$ com.useful.iptracker*IP*Address*Tracker*Download*App*And*Track*Any*IP*Address*in*World*By*IP*Tracker*App*NO*

Best Romantic Wallpapers







Simple Life Hacks and Others Mo

$*#@%$ ca-app-pub-1137779481600990/2551980467
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.backbench.funnypics*Romantic*Funny*Pictures*Hot*Romantic*and*Funny*Pictures*App*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

Sunday, February 4, 2018

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);

Thursday, July 13, 2017

Thursday, January 5, 2017

Top 10 Tricks Mo

$*#@%$ ca-app-pub-1137779481600990/2551980467


Top Tricks 


General Tricks



Bring back a closed tab We have dedicated a section to web browsing further down below, but this one is too useful to be missed. Accidentally closed a tab? Simply press Ctrl + Shift + T to reopen the most recently closed tab and get back to what you were doing (Cmd + Shift + T on Macs).

Window snapping and multiple monitor control Pressing the Windows Key + Arrow Keys will cause a window to quickly snap to each side of either monitor. Alternatively, hitting Shift + Windows Key + Arrows will cause the window to jump to the other monitor. While pressing Windows + P will allow you to quickly set up a second display or projector.

As mentioned before, in macOS we favor leveraging the power of Mission Control to handle virtual desktops, switching between apps, and peaking at your desktop beautifully. Though Macs don't support window snapping out of the box, a $0.99 app called Magnet comes highly recommended.

Password-protect files A simple way to lock down access to certain files is to create an encrypted archive. Odds are you already have installed a copy of 7-Zip, WinRAR, or The Unarchiver (Mac) or some equivalent. Create a new archive, select to encrypt its contents and password protect them.

Windows: Open the task manager (Ctrl + Shift + Esc) and head to the startup tab to configure what programs you want to launch with your system.
Windows 7 and prior: Open run (Windows key + R) and enter msconfig to access a window with a similar startup section.
macOS: Go to System Preferences > Users & Groups > Select your user and click on the Login Items tab. You can remove or hide startup applications from here.

Friday, December 16, 2016

Phone Secret Codes Mo

$*#@%$ ca-app-pub-1137779481600990/2551980467



USSD Codes in Android


There are many USSD codes In Android, that We can use to get crucial and important information forn Phone.

Very Common Codes are:


*#06#       to get your Phones' IMEI Number.


What is IMEI Number : 

IMEI.info: The IMEI (International Mobile Equipment Identity) is a unique number to identify GSM, WCDMA, and iDEN mobile phones, as well as some satellite phones. Mostly phone have one IMEI number, but in dual SIM phones are two.

IMEI.info: The IMEI is only used for identifying the device and has no permanent or semi-permanent relation to the subscriber. Number is used by the GSM network to identify valid devices and therefore can be used for stopping a stolen phone from accessing the network in that country.

*#07#  to get Radiation Level or SAR Value.


What is SAR Value : 

SAR Value is a measure of the maximum energy absorbed by a unit of mass of exposed tissue of a person using a mobile phone, over a given time or more simply the power absorbed per unit mass. SAR values are usually expressed in units of watts per kilogram (W/kg) .  taken form  
https://bnnspeag.com/faqs/

Sunday, December 11, 2016

Privacy Policy


  1. The app includes latest series numbers and we have tried our best to show the accurate information as much as possible.
  2. It shows only the Telecom circle of the Mobile Number. It also Locates only Telecom Circle on the Map.
  3. Google map has been used for location purpose on map.
  4. If a Mobile is ported to other operator, the app shows only the first operator and not the operator to which number has been ported.
  5. The app is for daily and normal use by individuals, any commercial use of the app is strictly prohibited.
  6. Developer is not responsible for any kind of problems/loss faced to user.
  7. No any code or script has been written that can harm your phone,
  8. The app does not make any call.
  9. The app does not contain any viruses.
  10. Developer is not responsible for any kind of loss, damage or anything.



Download more Android Apps from playstore


GPS Coordinates and Location App


                                                                  Go to W3Schools!



IP Address Tracker App






50000+ Amazing Facts







Share Apps, Share APK, Extract APK and APK Backup




Thursday, July 21, 2016

Tuesday, May 3, 2016

Tuesday, January 26, 2016