Android Open Source - cellar-communicator Sales App






From Project

Back to project page cellar-communicator.

License

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.

Java Source Code

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

  }
}




Java Source Code List

com.vinit.orderplacer.CategoryList.java
com.vinit.orderplacer.CheckPin.java
com.vinit.orderplacer.CommentBox.java
com.vinit.orderplacer.CounterOnClickListener.java
com.vinit.orderplacer.DumpJSON.java
com.vinit.orderplacer.IPGetter.java
com.vinit.orderplacer.RetrieveJSON.java
com.vinit.orderplacer.RetrieveSalesmen.java
com.vinit.orderplacer.SalesApp.java
com.vinit.orderplacer.SalesHistory.java
com.vinit.orderplacer.Salesman.java
com.vinit.orderplacer.SecurityPIN.java
com.vinit.orderplacer.SummaryActivity.java