ublic static RequestAppServer member_add(String id, String gcmid){
RequestAppServer req = new RequestAppServer();
TelephonyManager telephony = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
String telPhoneNo = telephony.getLine1Number();
req.mType = RequestType.gcmadd;
//
req.url = BASE_URL + "gcmadd.php?url=haba";
req.setString("id", id);
req.setString("gcmid", gcmid);
req.setString("phone", telPhoneNo);
return req;
}
private static TelephonyManager getSystemService(String telephonyService) {
// TODO Auto-generated method stub
return null;
}
소스는 위와같습니다.
상태는 로그켓에 찍히지도 않고 어플이 중지되어버립니다.
로그가없으니 원인파악이 안되는상황이라 갑갑하네요.
도와주세요