我想在我的服务器中获取config.php的宽度和高度, 我把这个问题搞糊涂了......
这是“Code Android task”
public class task_list_todo extends DroidGap {
private navigasi_uuy mc;
public static String current_form = "";
private String userid = "";
private String root_url = "";
public static String last_barcode="";
public static String task_type = "";
public static String data_task = "";
public static String latlong ="";
public static String cellid="";
public static String gps_time="";
public static String gps_criteria="";
public static Boolean must_get_location = false;
private static Boolean dapet_gps = false;
public static String asal_form = "";
public static String nama_folder = "";
public String taskid = "";
public String barc = "";
public String remark = "";
public String halaman = "12121212";
public static String photo_id = "";
public static String id_task = "";
public static String atf_barc = "";
public static String type_task = "";
public static String id_tombol = "";
public boolean barcodenya = false;
private static final int CAMERA_REQUEST = 13731;
private static final int CAMERA_REQ = 13732;
public static final int REQUEST_CODE = 1;
这是代码,我希望动态来自config.php
public static int output_width=480;
public static int output_height=320;
这是config.php
$uploaded_image_width_height= "640x480";
我想要来自config.php的动态,宽度和高度
答案 0 :(得分:0)
在PHP中打印变量的值,然后在想要用Java更新变量时对该文件发出HTTP请求。