1. Alexander Kolesnikov
  2. lip-android-lab

Commits

Kyrill Luchikhin  committed 9bc6b70

Real Final

  • Participants
  • Parent commits 7c30d3f
  • Branches default

Comments (0)

Files changed (8)

File docs/Руководство оператора.doc

Binary file added.

File mobile/ClientAndroid/bin/ClientAndroidActivity.apk

Binary file modified.

File mobile/ClientAndroid/bin/classes.dex

Binary file modified.

File mobile/ClientAndroid/bin/com/iphoenix/clientandroid/ClientAndroidActivity.class

Binary file modified.

File mobile/ClientAndroid/bin/resources.ap_

Binary file modified.

File mobile/ClientAndroid/src/com/iphoenix/clientandroid/ClientActivity.java

View file
 			builder.setPositiveButton(R.string.sendOrder, new DialogInterface.OnClickListener() {
 				@Override
 				public void onClick(DialogInterface dialog, int which) {
-					WebConnecter webConnecter = new WebConnecter(1, "http://192.168.0.102:9000");
+					WebConnecter webConnecter = new WebConnecter(1, GoodList.getInstance().getAddress());
 					String response = webConnecter.makeDeal(ClientActivity.this.myClient, Cart.getInstance().getMyCart());
 					if(response != "fail") {
 						Cart.getInstance().clearCart();

File mobile/ClientAndroid/src/com/iphoenix/clientandroid/ClientAndroidActivity.java

View file
     		}
     		myGoodAdapter.notifyDataSetChanged();
         }
-        webConnecter = new WebConnecter(1, "http://192.168.0.102:9000");
+        webConnecter = new WebConnecter(1, GoodList.getInstance().getAddress());
         viewGoods = new Runnable(){
         	
         	@Override

File mobile/ClientAndroid/src/com/iphoenix/clientandroid/GoodList.java

View file
 	public static GoodList instance = null;
 	private List<GoodWithPhoto> myGoodList;
 	private List<InternalGoodPhoto> myPhotoList;
+	private  final String address = "http://dev.grantorino.ru:3033";
 	
 	private GoodList(){}
 	
 		if(myGoodList != null) return myGoodList;
 		return null;
 	}
+	
+	public String getAddress(){
+		return address;
+	}
 }