2014-12-22 110 views
-2

我想要得到的寬度和高度從config.php文件在我的服務器, 我困惑這個問題...如何獲取高分辨率圖像,在android系統從PHP

這是「代碼的Android任務」

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

打印變量在PHP的值,然後讓HTTP requst該文件,只要你想在Java中更新變量。

相關問題