LISTVIEW CHECHBOX ONE button

ublic class MainActivity extends Activity { ListView lv; Button bt; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); lv=(ListView)findViewById(R.id.listView1); bt=(Button)findViewById(R.id.button1); ArrayList<String> list=new ArrayList<String>(); list.add(“a”); list.add(“b”); list.add(“c”); list.add(“d”);… Read more “LISTVIEW CHECHBOX ONE button”

JSON PARSING WEB SERVICE GET COMPLEX VALUES

{ “message”: “Success!”, “detail”: [ { “app_name”: “PayFare”, “site_country”: “1”, “site_currency”: “$”, “facebook_key”: “760583277342956”, “facebook_secretkey”: “08e01d95c73592f6d3ce3a3539f2923a”, “twitter_key”: “”, “twitter_secretkey”: “”, “facebook_share”: “https://www.facebook.com/payfare&#8221;, “twitter_share”: “https://twitter.com/Payfare&#8221;, “notification_settings”: “30”, “site_logo”:… Read more “JSON PARSING WEB SERVICE GET COMPLEX VALUES”

WebServer in Android

public class MainActivity extends Activity { private Button bt; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); bt=(Button)findViewById(R.id.button1); bt.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) {… Read more “WebServer in Android”

ListView High Lighting

package com.example.listview_colors; import android.app.Activity; import android.graphics.Color; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; import android.widget.ArrayAdapter; import android.widget.ListView; public class MainActivity extends Activity { ListView lv; @Override… Read more “ListView High Lighting”