InputType none text textCapCharacters textCapWords textCapSentences textAutoCorrect textAutoComplete textMultiLine textImeMultiLine textNoSuggestions textUri textEmailAddress textEmailSubject textShortMessage textLongMessage textPersonName textPostalAddress textPassword textVisiblePassword textWebEditText textFilter textPhonetic textWebEmailAddress textWebPassword number numberSigned numberDecimal numberPassword phone datetime date time Explicación: http://developer.android.com/reference/android/widget/TextView.html#attr_android:inputType
Entradas
- Obtener enlace
- X
- Correo electrónico
- Otras aplicaciones
CONSUMIR SERVICIO REST DESDE ORACLE CREATE STORE create or replace PROCEDURE CONSUMIR_REST_SMS(IN_NUMERO IN VARCHAR2, IN_MENSAJE IN VARCHAR2) IS request utl_http.req; response utl_http.resp; url VARCHAR2(4000) := ' http://10.10.10.8:8080/RSSMS/enviar.json '; name VARCHAR2(4000); buffer VARCHAR2(4000); content VARCHAR2(4000) := '{"numeroTelefonico":"' || IN_NUMERO || '", "mensaje":"' || IN_MENSAJE || '"}'; BEGIN request := utl_http.begin_request(url, 'POST',' HTTP/1.1'); utl_http.set_header(request, 'user-agent', 'mozilla/4.0'); utl_http.set_header(request, 'content-type', 'application/json'); utl_http.set_header(request, 'Content-Length', length(content)); utl_http.write_text(request, content); response := utl_http.get_response(request); -- process the response from the HTTP call BE...
- Obtener enlace
- X
- Correo electrónico
- Otras aplicaciones
OBTENER IMEI DE UN DISPOSITIVO ANDROID final TelephonyManager mngr = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); String imei = mngr.getDeviceId() != null ? mngr.getDeviceId() : "000000000000000"; OBTENER MAC ADDRESS DE UN DISPOSITIVO ANDROID WifiManager wifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE); WifiInfo wInfo = wifiManager.getConnectionInfo(); String macAddress = wInfo.getMacAddress() != null ? wInfo.getMacAddress().toUpperCase() : ""; OBTENER ID DEL DISPOSITIVO ANDROID final TelephonyManager mngr = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); imei = Secure.getString(getContentResolver(), Secure.ANDROID_ID);