Android Driver – Android Drivers – Drivers for Android Rotating Header Image

Android Driver

The USB driver for Windows is a downloadable element for the Android SDK. If you are creating on Home windows and would like to connect an Android-powered system to test your functions, then you will want to put in the USB driver. This document offers details about the most recent model of the USB driver and a information to installing the motive force in your growth computer.

 Installing the USB Driver for Windows

imagesCAV6AOR1 Android Driver
The USB driver for Windows gives assist for the next Android-powered gadgets:

¦ADP1 / T-Mobile G1*
¦ADP2 / Google Ion / T-Mobile myTouch 3G*
¦Verizon Droid*
¦Nexus One
¦Nexus S
* Or related hardware on other carriers

Any further gadgets will require Windows drivers provided by the hardware manufacturer.

The sections beneath present directions on learn how to download the USB Driver for Home windows and set up it in your improvement computer.

Downloading the USB Driver for Home windows
The USB Driver for Windows is out there for obtain as an elective SDK component. You want the motive force solely in case you are growing on Home windows and want to connect an Android-powered machine to your growth environment over USB.

To put in the motive force or improve your present driver to the most recent revision, you need to first obtain the driving force to your development computer.

To download the driver, use the Android SDK and AVD Supervisor instrument that’s included with the Android SDK. Should you haven’t but put in the Android SDK, as described in Installing the Android SDK, please do so before persevering with with the motive force installation.

When you’re able to obtain the motive force, comply with the directions given in Adding SDK Elements to launch the Android SDK and AVD Manager. From the Out there Packages panel, select “Usb Driver Bundle” and obtain it to your computer. The driving force recordsdata are downloaded into the <sdk>\google-usb_driver\ directory.

After the download, comply with the directions beneath to put in or improve the motive force, based in your wants and Home windows working system version. In case you are connecting an Android-powered machine to your pc for the first time, observe the beneath procedure to “Carry out a recent installation.” If you have put in one of the older USB drivers and would like to improve to the latest model, observe the process to “Improve an existing driver.” 

OrderDroid: A Maintainable Mobile Commerce App

• Creating an  android application with multiple screens

• Getting data out of your App Inventor  android application with e-mail

• Using ActivityStarter to start other Android  android  Android application

 One of the questions App Inventors ask most often is, “How do I get data out of my  android application?” in this chapter, you build an  android application that takes user data and e-mails it to a given address. This is a good method for gathering field data and storing it elsewhere. In a later project, you

see how to use the TinyWebDB component to get data in and out of your  android  Android application. The e-mail method you learn in this project could be used to send data to an e-mail scraping  android application or be archived in a document management system such as Microsoft’s SharePoint.

OrderDroid OrderDroid: A Maintainable Mobile Commerce App

Android driver

The other major limitation of the current App Inventor version is that it has only one Screen1 component and no easy way to create more. In this project, you learn how to create multiple screens for your App Inventor  android  Android application. This enables you to have settings screens, multiple output

screens, and so on. For the purposes of this book, I call these “imitation” screens VirtualScreens. You can use VirtualScreens whenever you want to create more than one user interface view for your  android  Android application.

The method you use to send e-mails in this project uses the ActivityStarter to call the built-in default e-mail handler. The ActivityStarter can be used to call other  android  Android application on the Android device. The ActivityStarter requires very specific properties to function correctly.

VirtualScreens are the name I give in this book to the method of “faking” multiple App Inventor screens. The term is used in other  android  Android application and other types of programming to mean vastly different things. Future versions of App Inventor will very likely contain a built-in method for creating multiple screens. For the time being, you’ll need to use the method I outline here.

 

Creating the OrderDroid  android application

The OrderDroid  android application will be used by a salesperson in the field to take a customer’s name, address, and purchase info and e-mail it to a predetermined processing address for fulfillment. An important design qualification is that it be maintainable because you anticipate rapidly expanding usability requirements.

 

Your design

The design goals for the OrderDroid  android application are simple statements that contain a great deal of complex algorithm to accomplish. Future versions should not have to be significantly redesigned to add functionality. The design sketch is shown in Figure 4-1.

The following design goals are your first milestone. When you can check these off, you have reached a performance and functionality point that you could release and use. You will have another set of design goals for the next milestone: • A form that accepts input of data such as customer name, address, items sold, and payment options

• The ability to e-mail the order to an address for processing

• Easy maintainability

Your primitives

These are the algorithms and logical pieces to accomplish your design goals. Each primitive is built to achieve a piece of an overall completion goal:

• A form to get the customer’s name and address

• A list of products to select for purchase

• A way to select, store, and display a single product selection

• A way to record payment options

• A way to send the complete order via e-mail to a fixed address, while maintaining the possibility of supporting variable addresses in the future

Your progression

This is the a logical way to move through your events, primitives, and design goals. However, remember to be flexible enough to quickly move to

a different primitive or goal if the flow is natural and logical.

1. Create the form with the customer name and address input, item selection, payment check boxes, and a button for submitting the order.

2. Create blocks to populate a list of product items.

3. Store selected purchase items in a variable.

4. Create a procedure to e-mail the entire form to a predetermined address.

New components

These are the important new components introduced in this project:

• ActivityStarter

• ListPicker

• CheckBox

• TextBox

• Notifier

New blocks

These are the important new blocks used in this project:

• ActivityStarter.DataUri

• Notifier1.ShowMessageDialog

• Make a List

• Listpicker.AfterPicking

• Make Text

Getting Started on OrderDroid 1.0

The OrderDroid  android application should be built with maintainability foremost in your mind.  android  Android application frequently go through usability changes after their first release and making changes should not require a complete redesign or major rethinking of your algorithms. Even more importantly, you will very likely want to add capabilities to your  android  Android application someday.

One way that developers keep maintainability in their  android  Android application is to compartmentalize the functionality. In the last project, you used a procedure to create code that you could reuse for multiple events in your  android application. In this project, you use procedures again, with a slightly different emphasis for maintainability. Not only will your procedures exist for reusability, but they will be used as expansion and scalability points. In other words, a procedure for e-mailing the form may be not only for reusability but also to isolate the e-mailing logic so it can be expanded on or changed in a later version.

How to install Google Android SDK on Win 7 Comp

AndroidDriver2 How to install Google Android SDK on Win 7 Comp

I followed this excellent information to install Android SDK on my pc, however the guide assumes a variety of issues and it didn’t go into the detail I needed. After 2 days of struggling I used to be finally in a position to get it working. Hopefully you’ll be able to learn from the pitfalls I went by way of and it gained’t be practically as challenging so that you can install.My instructions are going to be fundamental

and over simplified – type of like SDK for Dummies. The rationale I’m saying that is for putting in on a Home windows 7 computer is as a result of the display pictures and the data that follows might be from Windows 7.

The information that I followed and linked above had instructions based mostly on Home windows XP.

Earlier than you get began, you will want to download two pieces of software program; the Java SDK and the Android SDK.The Android software improvement equipment (SDK)

The Java SE software program improvement equipment (SDK)

The Android SDK helps Windows, Mac and Linux. On this case, I chose the Home windows download:

Once your downloads are full, you are ready for installation.

On your computer:

Extract the Google Android SDK to a folder on your desktop. I’d counsel making the folder within the root of your C: drive – C:\Android.

Install the the Java SE SDK by double-clicking “java_ee_sdk-5_08-jdk-6u20-windows.exe”. I would install all the pieces utilizing the defaults. Java shall be put in in a folder known as “C:\Solar”.

On the HTC EVO 4G:

Press the House icon, press Menu after which tap Settings

Faucet on Purposes

Tap on Development

Test the field for USB debugging

Now you are ready to get started. Use Windows Explorer and navigate to C:\Android, the douple-click on “SDK Setup.exe”. That can convey up the Android SDK and AVD Manager.

Click the tab on the left that says “Available Packages”, then click the + signal next to the repository link to see the following. Click on the checkbox indicated by the top arrow, then click on “Set up Selected”. That can set up the entire SDK.

Subsequent step:

Connect your HTC EVO 4G to your pc’s USB port. At this point don’t mount the drive. Just leave it set on Charge only. See first option below. Windows will detect New Hardware.

When Home windows starts updating the driver, a prompt will ask the way you wish to seek for the driving force software. Choose “Browse my laptop for driver software.”

Click on “Browse…” and Explore to C:\Android\usb_driver. Make sure “Embody subfolders” is checked.

Click “Next.” Home windows could immediate you to substantiate the privilege elevation required for driver installation. Affirm it.

When Home windows asks when you’d like to install the Google ADB Interface device, click on “Set up” to put in the driver.

This is likely one of the spots that didn’t work for me. I acquired the message “Driver not found”. That’s as a result of I have 64-bit Windows and not one of the drivers that came with SDK worked. I didn’t know what to do, but LatinP discovered some new signed, up to date drives that did work with the EVO 4G. When you have the same drawback, you may obtain the drivers here. After you download this file, unzip it’s contents to a brand new folder C:\Android\usb_driver\vista drivers.

Should you didn’t get a superb set up on the USB driver, you’ll have to enter the “System Manager” on your PC to remove the system, then refresh the record to strive putting in the driving force again.
If you happen to get a very good install, you will note “My HTC” as indicated by the arrow. When you didn’t get a very good install, below “Different gadgets” you will see “ADB” with the yellow “!” subsequent to it, like I have here for PCI Easy CC circled in red. If this is your case, follow these steps:

Be sure your EVO 4G continues to be connected to your computer’s USB port.

Proper-click on “Pc” out of your desktop or Windows Explorer, and choose “Manage.”

Choose “Gadget Supervisor” in the left pane of the Computer Management window.

Locate and broaden “ADB Interface” in the proper pane.

Proper-click on on “ADB” and choose “Replace Driver Software program…”

When Home windows starts updating the driver, a immediate will ask how you want to search for the motive force software. Choose “Browse my computer for driver software.”

Click “Browse…” and explore to C:\Android\usb_driver. Be sure that “Embrace subfolders” is checked.

Click “Next.” Home windows might prompt you to confirm the privilege elevation required for driver installation. Affirm it.

When Home windows asks should you’d like to install the Google ADB Interface system, click on “Set up” to install the driver.

When you get the USB driver installed correctly, you must set the proper PATH within the Windows Environment. That is another area the place I had issues, but it surely’s easy once you catch on. In case you fail to observe this step the SDK will not work. Right here’s the steps:

Click your Home windows “Start Button”, right-click on “Laptop”, then left-click on “Properties”.

Within the left panel, click “Advanced system settings”.

Near the underside of the Advance dialog field that seems, left-click “Setting Variables…”

Click PATH as shown in the illustration

Click on the Edit button and thoroughly edit the paths and separate them with semi-colons. This is one other area that was throwing me, as a result of the trail that the Java installation inserted was C:\Sun\SDK and that didn’t work. It needs to be changed to “C:\Solar\SDK\jdk\bin;”

Before you close the PATH editor, insert C:\Android\tools. Notice in the graphic there are no spaces within the path and each one is separated with a “;”.

Click on OK to close the editor, and close the Advanced dialog

This completes the installation of the SDK. The following step is to unplug your telephone and reboot your computer.

Now is an efficient time to say that you just most likely shouldn’t ever reboot your PC whereas your phone is plugged in. Some newer PC’s can boot from a USB system, and will attempt to load Android to your PC if you happen to do.

As attention-grabbing as that sounds, it won’t work, and will lead to problems.

To use SDK for display screen capture:

Be certain that your EVO 4G is linked to your computer’s USB port on Charge only.

Now, Explorer to C:\Android\instruments and drag DDMS.BAT to your desktop to create a shortcut to the Dalvik Debug Monitor.

Double-click on the DDMS.BAT in your desktop.

The application will launch with a DOS command window and ultimately a Windows based mostly application.

Before you are able to do a screen seize, you should click the little phone icon highlighted in gentle blue that says HT05AHL013.

Click Gadget/Display seize… or use the CTRL-S key combo

The seize now appears on your display, but there’s one closing undocumented step

It is suggested that you simply click on on the Copy button and paste the screenshot into your picture editor of choice (Microsoft Paint, Adobe Photoshop, and many others) – the reason for that is that there is a known bug that does not carry over the colors of the actual screenshot contained in the capture utility.

Voila! You now have a surprising screenshot from the show on your HTC EVO 4G. Repeat steps 2-4 to generate more screenshots, or change screens on the phone and press the “Refresh” button when the display capture is active.

Installing SDK is a step towards rooting your telephone, but in the event you only need to do display captures, you can save a lot of steps and plenty of trouble by utilizing an Android app called “ShootMe”. It takes about 2 minutes to install it and study it. I didn’t find out about it until after I struggled installing the Android SDK, however at the least that’s installed now too. As far as the quality of the screen photographs, the ones from ShootMe are just as good as the ones using the SDK. The best way ShootMe works, you click on the ShootMe app to begin it, then go to the display the place you wish to make a display screen capture. All it’s a must to do is shake the telephone and it snaps the image and saves it in your SD card in the ShootMe folder in the playing cards root. That makes it easy to share or e-mail photographs of your home display or whatever.

Drivers For Android – How to Install Usb Driver on Your Computer

images Drivers For Android   How to Install Usb Driver on Your Computer

Putting in the android usb driver is the 1 priority in the event you ever want to access your telephone by way of a pc, be it to switch files or executing commands. This could lead to a variety of confusion and complications if you fail to do this process.
Word: Newer versions of home windows(vista and win7) will routinely set up them as basic mass storage devices. You do not want this!!!

Firstly obtain the file above and unzip to your computer. Go enable debugging on your phone. (Settings->Purposes->Improvement->USB debugging).

For WinXP
A window should pop up everytime you plug your cellphone into your laptop, asking for you to install the device. Choose “browse my pc to put in driver software” option. Observe the steps to replace the motive force and include the android_usb_windows in your search when given the check box.

For WinVista/Win7
These OS will set up Android as a mass storage device. You could uninstall the driving force and replace to the android driver model.

 Instructions:
1) Unplug all removable units(thumb drive, sdcards, and so forth) beside the Android phone.
2) Locate “Device Supervisor”, normally below “management panel”
3) Select “Universal Serial Bus Controllers”
four) Select USB Mass Storage Device.
Observe: to examine you probably have the correct gadget, click on the details tab and select “compatible ids” underneath properties. There needs to be three objects listed beneath value.
5) Choose uninstall driver
6) Close the window. Now in system manager a new “Android Cellphone USB gadget” with a yellow! will appear… If not, Unplug your android system or choose Motion -> Scan.
Notice: view elective steps under in the event you nonetheless have drawback with the your home windows robotically putting in drivers.
7) Click on on the “Android Cellphone USB device”
eight) Choose “browse my computer to driver software program”
9) Below “search this location for driver”, Browse for the situation that you’ve unzip the android_usb_windows and select the corresponding folder to your system(AMD64 for 64bit methods or x86 for 32bit systems. Right click on -> properties on “My Computer” to test which system you could have)

The motive force is now installed and is ready to user

***Optional.
1. Go to System underneath Management Pandel.
2. Click on on Hardware Tab and Underneath “System Set up” choose “By no means search home windows replace for drivers”, then OK.
3. Go to Enable debugging on your phone. (Settings->Purposes->Improvement->USB debugging).
4. Run USBDeview and take away all situations of Android Phone
5. Unplug your phone, and plug it in again.
7. Continue on step 7) above.

How to install Android SDK v1.0

Getting ADB running on your Windows machine

About: Android Debug Bridge (adb) is a versatile tool that lets you manage the state of a device or emulator.
Some of ways you can use adb include:
Run shell commands on a device
Manage port forwarding on an emulator or device
Copy files to/from an emulator or device

from google at http://code.google.com/android/reference/adb.html

Installation is very simple if you are running a machine on windows using a 32 bit operating system
(if you are on a 64 bit operatiing system, we’ll address that also.)

The first you need to do is download two files.
1. the android sdk (or android software development kit) if you already have this unzipped you can skip this step.
it can be found here
http://code.google.com/android/download_list.html
this will be downloaded in zip format. You will need to unzip this.
I recommend you unzip this in a location that is easy to find through a command line; i.e.
C:Users\public\android_sdk_windows (I even renamed the sdk folder to just sdk to make it easier)

2. Android USB Drivers. if you have a 64bit os, go to the bottom of this page on getting the 64 bit version.
which can be found here
http://code.google.com/android/intro…devicehardware
you should see a link for android_usb_windows.zip
You will need to unzip these files also, just remember where.

Plug your phone into your computer, go ahead and mount your phone
if you get a device hardware manager click install drivers later, if you don’t see the device hardware manager
continue on.
You will need to go into the control panel, in the start menu, and find device manager. Open the device manager
and you should see a listing of devices. Under portable devices you should see your phone. right click on the
phone and click update drivers or install drivers. choose the option to install manually and point it towards
the location where you unzipped the file android usb windows. click finish/install.

If that installed correctly, you will need to open a terminal window. do this by typing

cmd

into the start seach bar in the start menu. this should open a terminal.
now you will have to change the directory to the tools folder in your android sdk folder
this is done by typing

cd <the path to where you stored the sdk>

for example mine is
cd C:\Users\family\sdk\tools

if it changes successfully
C:\Users\family\sdk\tools> or the path you have your folder at
you can type

adb devices

if it shoes something like
list of devices attached
HT84******* device

you have successfully installed ADB

IF YOU ARE ON A 64 BIT WINDOWS SYSTEM THIS IS THE WORKAROUND

You still need to download and unzip the android sdk as mentioned above
however you need to get a modified usb driver for windows, get it here

http://forum.xda-developers.com/show…=64+usb+driver

the adb driver will only run in test signing mode (you can turn this off when you don’t need it. however turning it
on does require a reboot)
you will need to open an admin terminal, which can be done by typing cmd in the command prompt but instead of hitting
enter, Press Ctrl+Shift+Enter. there you will need to type

bcdedit /set testsigning on

(also typing

bcdedit /set testsigning off

in an admin terminal would be how to turn this off)
after typing bcdedit /set testsigning on
reboot the computer and check to see if it says test mode in the corners. if it does you can install
the usb drivers as done above in the second step.