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

vendredi 19 décembre 2014

Help>>which cable to read my hdd by usb in other laptop topic






Hi Guys
i already removed my HDD mk4009gal toshiba hard disk of my htc shift and i think its cable is lif
so anyone please help me about the best cable adapter working to connect my stc shif hdd by usb cable to my laptop and read data from it
and i wish supplu me link in amazon to buy it
thanks so much






jeudi 18 décembre 2014

Which OTG-Y cable to load the tablet? topic






NVidia is promoting this... let's call it "reverted" OTG-Y... feature. With this you can load the shield tablet while having some OTG device like a controller put in.

However, I have two questions:
1. Does this already work for 4.4.2 or does it require Lollipop?

2. Does anyone have a recommendation for a suitable cable/adapter?
I already have a "normal" OTG-Y cable to power the external device, but I have no idea what I should search for to get this "reverted" OTG-Y cable to power the tablet.






samedi 13 décembre 2014

OTG cable? topic






I have been trying unsuccessfully to make an otg cable for my nexus 6. I am not a complete rookie when it comes to electronics and soldering but i don't know why i can't get it to work, if i understand correctly it should be a simple splice job with the exception of the 4 & 5 pin on the male mini usb side being jumped. I have used every app i can find that is for the mounting and nothing recognizes it. Help!?






using chromecast as MHL cable topic






Is there option to use chromcast as MHL cable? I mean sth like this: phone > USB OTG cable > standard usb-microusb cable - chromecast > TV






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






mercredi 10 décembre 2014

 

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

Back To Top