Ultimate

Ultimate

Spread the love

anuj dwivedi

https://www.srpulses.com/indian-pulses-supplier/

Anuj dwivedi

Ultimate Programming Android Developer

package com.example.learning;

import android.os.Bundle;
import android.app.Activity;
import android.view.View;
import android.widget.AdapterView;
import android.widget.GridView;
import android.widget.ListView;
import android.widget.Toast;

public class Home extends Activity {
ListView lv;
String[] web = {
“Home”,
“Books”,
“Videos”,
“Quiz_Text”,
“Contactmenu”,
“User”,
“Share”,
“Policy”,
“Phone”,
“Right_arrw”,
“Youtube”,
“Stumbleupon”,
“SoundCloud”,
“Reddit”,
“Blogger”

} ;
int[] imageId = {
R.drawable.image,
R.drawable.contactimage,
R.drawable.contactmenu,
R.drawable.edit,
R.drawable.icon_a,
R.drawable.mail,
R.drawable.user,
R.drawable.star_btn,
R.drawable.share,
R.drawable.policy,
R.drawable.phone,
R.drawable.md,
R.drawable.right_arrw,
R.drawable.user,
R.drawable.star_btn

};

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

CustomList adapter = new CustomList(Home.this, web, imageId);
lv=(ListView)findViewById(R.id.grid);
lv.setAdapter(adapter);
lv.setOnItemClickListener(new AdapterView.OnItemClickListener() {

@Override
public void onItemClick(AdapterView<?> parent, View view,
int position, long id) {
Toast.makeText(Home.this, “You Clicked at ” +web[+ position], Toast.LENGTH_SHORT).show();

}
});

}

}

Visit This Link-http://www.pixelprints.net/

Previous New Year Celebration 2018 In India
Next Medical Store In Indore|near|best

About author

You might also like

Latest News 0 Comments

Smart Launcher Pro 5 v5 build 061 Pro| top android apps

Spread the love

Spread the loveSmart Launcher Pro 5 v5 build 061 Pro Smart Launcher Pro 5 v5 build 061 Pro This application recover the default WPS PIN. You can connect with remote

Uncategorized 0 Comments

Google Goggles App

Spread the love

Spread the loveGoogle Goggles app Google can take photos of any image from Google Goggles app and view its information on Google. This proficient app is the fastest app Goggles

Latest News 0 Comments

Exchanging Calls: Buy Ajanta Pharma, Axis Bank, Tata Motors DVR

Spread the love

Spread the loveIndian value markets are probably going to open lower on Friday following geopolitical pressures. Clever prospects exchanging on Singapore Exchange was down 0.51 for every penny or 51.5

Leave a Reply