Affichage des articles dont le libellé est single. Afficher tous les articles
Affichage des articles dont le libellé est single. Afficher tous les articles

vendredi 19 décembre 2014

[Q] single tap zoom - clicking on links driving me nuts!!!! topic






can anybody help me figure out how to turn off the zoom when clicking on a link, its extremely annoying especially when clicking in the text field it hides my text that I try to type... Ive searched everywhere but cant find anything... :-/






vendredi 12 décembre 2014

[Q] How to Communicate with Virtual Comm Port using usb cable with Single end point topic






Hi,
This is Lakshmansundeep. I am developing an application that sends the data android device to micro controller as vice versa via VIRTUAL COMM PORT using usb cable. I did my usb connection establishment successfully,coming to the communication part i.e. Communication from Android Device to micro controller and the application was crashed because of having single end point to the virtual comm port.please help me how to communicate to virtual comm port having single end point...please it was a little bit urgent.

Here is my Android Activity java code after my method called:


public boolean Check_Devices_Available()
{

int i,j;
boolean Device_Found;
String as[];
UsbEndpoint tOut = null;
UsbEndpoint tIn = null;
UsbManager manager = (UsbManager) getSystemService(Context.USB_SERVICE);
HashMap<String, UsbDevice> deviceList = manager.getDeviceList();
i = deviceList.size();
if(i==0)
{
Toast.makeText(Loginpage.this,"No Devices Attached",Toast.LENGTH_LONG).show();
return false;
}
as = new String[i];
deviceList.keySet().toArray(as);
Device_Found=false;
for(j=0;j<i;j++)
{
device_details = (UsbDevice)deviceList.get(as[j]);
if((device_details.getVendorId()==targetVendorID) && (device_details.getProductId()==targetProductID))
{
Toast.makeText(Loginpage.this,"Device Connected",Toast.LENGTH_LONG).show();
Device_Found=true;
break;
}
}
if(Device_Found==false)
{
Toast.makeText(Loginpage.this,"No Devices Attached with Req Vendor ID",Toast.LENGTH_LONG).show();
return false;
}
if(manager.hasPermission(device_details)==true)
{
Toast.makeText(Loginpage.this, "Permission Granted", Toast.LENGTH_LONG).show();
// Device_Settings(Device_Detials,j);
}
else
{
//PendingIntent intent = null;
Toast.makeText(Loginpage.this, "No Permission", Toast.LENGTH_LONG).show();
manager.requestPermission(device_details, null);
}
UsbEndpoint Device_End_Point = null;
UsbInterface usbinterface = device_details.getInterface(j);
if (usbinterface == null)
{
Toast.makeText(Loginpage.this, "Device Found But UnKnown Exception-1", 50000).show();
return false;
}
Device_End_Point=usbinterface.getEndpoint(j);
Toast.makeText(Loginpage.this, ""+Device_End_Point, 50000).show();
tIn=tOut=Device_End_Point;
if(Device_End_Point==null)
{
Toast.makeText(Loginpage.this, "End Point Error ", 50000).show();
return false;
}
UsbDeviceConnection Device_Connection=null;
if(device_details!=null)
{
Device_Connection=manager.openDevice(device_detail s);
if (Device_Connection != null )
{

Toast.makeText(Loginpage.this, "Checking", Toast.LENGTH_LONG).show();
Device_Connection.controlTransfer(0x21, 34, 0, 0, null, 0, 0);
Device_Connection.controlTransfer(0x21, 32, 0, 0, new byte[] { (byte) 0x80, 0x25, 0x00, 0x00, 0x00, 0x00, 0x08 }, 7, 0);



byte []Communication_Byte=new byte[1];
Communication_Byte[0]='&';

selectedendpoint = listusbendpoint.getType();
Toast.makeText(Loginpage.this,""+selectedendpoint, Toast.LENGTH_LONG).show();


//usbDeviceConnection.bulkTransfer(tOut,Communicatio n_Byte, 1, 0);

}
if(Device_Connection==null)
{
Toast.makeText(Loginpage.this, "Unable to open device", 50000).show();
return false;
}
}
return true;
}

Thank you in advance






Xperia M (single sim) C1905 cant flashed on flashtool and root not working topic






Hi guys... I have a serious problem with My Xperia M.. I wanna ask something


1. This is about when i'm flashing XM firmware 15.A.9....... Yeah The new update.. Im using flashtool but it always stuck at flashing data and 0% :(( please help me what The problem is... Waiting 30minutes but nothing change. My battery is 99% and I had installed adb and driver for XM... Usb debugging have been ticked. I dunno whats wrong..


2. And also finally Im going To pc companion and update My phone and now succeded but... My root permission has gone. I wanna unroot but nothing change.. But The status of phone still on root. But I cant get The permission. Please help me Thanks.... :D






jeudi 11 décembre 2014

[Q] Differences between single and dual SIM ? topic






Hi everyone !

I'm planning to sell my good "old" One Max and buy a M8 dual SIM in Germany (m8_dugl ?) instead.
But before that I was wondering if the ROMs/kernels/bootloaders/etc. avaiable in the "Android dvlp" and "Original Android dvlp" forums will be compatible with it ?
I know that the procedure to root it may be slightly different but I haven't read anything about M8 dual sim (in)compatibilty yet.
Since there are differences between Vzw/Sprint/AT&T/T-Mobile/rest of the world versions, I wouldn't be surprised if it was the case.

Thanks !






 

© 2013 Mobile Probleme. All rights resevered. Designed by Templateism

Back To Top