The android_winusb.inf file is in a subfolder of the Android SDK directory, specifically: ..\android-sdk\extras\google\usb_driver\android_winusb.inf In older version of the sdk it was in ..\android-sdk\usb_driver\android_winusb.inf Depending on the installation and updates you might have both. The file in extras is the newest.
Tag: file
Xcode Commit Missing File Or Directory
Xcode aren’t keen when deleting files or directory without it being notifies and there refused to commit which is a pain. What worked to fix it was to recreate an empty folder with the same name. No need to recreate its contents. After you committed you can delete the folder and commit again. Xcode is missing
Android File To String
Here’s an example of turning a file into a string, by reading it line by line File file = new File(path); InputStream inputStream = new FileInputStream(file); BufferedReader r = new BufferedReader(new InputStreamReader(inputStream)); StringBuilder total = new StringBuilder(); String line; while ((line = r.readLine()) != null) { total.append(line); } Now “total” will contain the file in
Android Get File Last Modified Date
To get a files last modified date in Android use the .lastModified() function. You can do like this: File file = new File(filePath); Date lastModDate = new Date(file.lastModified()); Log.i(“TAG”, “File last modified “+ lastModDate.toString()); This will log the last modified date for your given file in the filePath.