Back to project page cellar-communicator.
The source code is released under:
GNU General Public License
If you think the Android project cellar-communicator listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.vinit.orderplacer; // w w w .j a v a 2 s . c om import org.apache.http.HttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.widget.Button; import android.widget.LinearLayout; import android.widget.TextView; public class SalesApp extends Activity { DefaultHttpClient httpClient; HttpGet httpGet; HttpResponse httpResponse; LinearLayout parent; Button button; Intent i; @Override protected void onCreate(Bundle b) { super.onCreate(b); Intent intent = getIntent(); setContentView(R.layout.activity_sales_app); parent = (LinearLayout) findViewById(R.id.list_contain); Log.i("SALESAPP", intent.getStringExtra("salesman")); RetrieveJSON j = new RetrieveJSON(this, parent, intent.getStringExtra("category"), intent.getStringExtra("data"), intent.getStringExtra("salesman"), intent.getStringExtra("party")); j.execute(); } }