
Showing posts with label by. Show all posts
Showing posts with label by. Show all posts
Monday, September 19, 2016
Free Download Instagram Latest APK v7 5 0 for Android By Khurram Shahzad

Tuesday, May 24, 2016
Mozilla Firefox Selint By Khurram Shahzad
Mozilla Firefox (known simply as Firefox) is a free and open-source[20] web browser developed for Windows, OS X, and Linux, with a mobile version for Android, by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. Firefox uses the Gecko layout engine to render web pages, which implements current and anticipated web standards.[21]As of February 2014, Firefox has between 12% and 22% of worldwide usage, making it, per different sources, the third most popular web browser.[22][23][24][25] According to Mozilla, Firefox counts over 450 million users around the world.[26] The browser has had particular success in Indonesia, Iran, Germany, and Poland, where it is the most popular browser with 55%,[27] 46%,[28] 43%,[29] and 41%[30] of the market share, respectively
.gif)
Monday, March 21, 2016
Divides downloads into multiple streams for faster downloading- Batch downloads
- Import/Export download jobs
- Auto/manual updating of download address
- Multiple queues
- Recent downloads list for easy access to directories
- Video downloading from streaming video sites.[2]
- Dynamic segmentation throughout the
.gif)
Tuesday, March 15, 2016
Free Dwonload YouCam Makeup 4 10 1 APK New 2015 For Android By soft4youpk

Try makeup in real-time with the new Makeup Cam. Get an instant makeover with hundreds of makeup & beauty looks that you can apply in real life! This instant makeover is just like a magic mirror.
pray for Khurram Shahzad

Monday, March 31, 2014
Search address by name with Geocoder
The getFromLocationName() method of android.location.Geocoder returns an array of Addresses that are known to describe the named location.
Example of searching address by name with Geocoder:
Download the files.
Read More..
Example of searching address by name with Geocoder:
package com.example.androidgeocoder;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import android.location.Address;
import android.location.Geocoder;
import android.os.Bundle;
import android.app.Activity;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ListView;
import android.widget.Toast;
public class MainActivity extends Activity {
EditText searchIn;
Button searchButton;
ListView searchOut;
private ArrayAdapter<String> adapter;
Geocoder geocoder;
final static int maxResults = 5;
List<Address> locationList;
List<String> locationNameList;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
searchIn = (EditText)findViewById(R.id.serchin);
searchButton = (Button)findViewById(R.id.serch);
searchOut = (ListView)findViewById(R.id.serchout);
searchButton.setOnClickListener(searchButtonOnClickListener);
geocoder = new Geocoder(this, Locale.ENGLISH);
locationNameList = new ArrayList<String>(); //empty in start
adapter = new ArrayAdapter<String>(this,
android.R.layout.simple_spinner_item, locationNameList);
searchOut.setAdapter(adapter);
}
OnClickListener searchButtonOnClickListener =
new OnClickListener(){
@Override
public void onClick(View arg0) {
String locationName = searchIn.getText().toString();
Toast.makeText(getApplicationContext(),
"Search for: " + locationName,
Toast.LENGTH_SHORT).show();
if(locationName == null){
Toast.makeText(getApplicationContext(),
"locationName == null",
Toast.LENGTH_LONG).show();
}else{
try {
locationList = geocoder.getFromLocationName(locationName, maxResults);
if(locationList == null){
Toast.makeText(getApplicationContext(),
"locationList == null",
Toast.LENGTH_LONG).show();
}else{
if(locationList.isEmpty()){
Toast.makeText(getApplicationContext(),
"locationList is empty",
Toast.LENGTH_LONG).show();
}else{
Toast.makeText(getApplicationContext(),
"number of result: " + locationList.size(),
Toast.LENGTH_LONG).show();
locationNameList.clear();
for(Address i : locationList){
if(i.getFeatureName() == null){
locationNameList.add("unknown");
}else{
locationNameList.add(i.getFeatureName());
}
}
adapter.notifyDataSetChanged();
}
}
} catch (IOException e) {
Toast.makeText(getApplicationContext(),
"network unavailable or any other I/O problem occurs" + locationName,
Toast.LENGTH_LONG).show();
e.printStackTrace();
}
}
}};
}
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:orientation="vertical"
tools:context=".MainActivity" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world" />
<EditText
android:id="@+id/serchin"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<Button
android:id="@+id/serch"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Search" />
<ListView
android:id="@+id/serchout"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
