[Q] Google Nexus 7 Arduino Mega ADK - Nexus 7 Q&A, Help & Troubleshooting

. I am using arduino mega adk and google nexus 7 to create android apps. I am a newbie but very keen to learn. I have been trying very hard to connect mega adk with nexus 7. I cannot get it to work and it has been now 3 weeks. I have tested many libraries. I have used the 1.0 version of usb host library. I was getting "Error: OSCOKIRQ failed to assert". i fixed it by changing the Max3421.cpp file as said in
http://stackoverflow.com/questions/11213536/error-oscokirq-failed-to-assert/11239701#11239701
Then i started getting the error, " “could not read device protocol version". I even applied the 9V to the arduino but of no use. Then i tried following
http://stackoverflow.com/questions/11563427/adk-1-0-devices-fail-to-work-with-jelly-bean-why
i updated the library and now i cannot compile the code when i use the demokit_20 example from the library. I also tried using version 2 of the library as mention in
http://forum.xda-developers.com/showthread.php?t=1812880
but it did not work as well as i get the error, 'USB' does not name a type". I would really appreciate your help if you can help me set this up. I am very frustrated at the moment. Thank you. Best Regards, Arslan 

Related

Did anyone get Appinventor by Google running on HD2?

Hey guys,
I was granted access to the beta of Android App Inventor and wanted to start playing around with that software and my HD2 running android. However, I cannot manage to get a connection to the phone via USB. (Selection: Connect to Phone in Block Editor does not work for me).
So, is there anyone working with App Inventor paired with HD2?
Thank you for your help and advice in advance,
jokeR
Download the Android SDK (if you haven't already), and install the package, "Usb Driver Package, revision 3".
Then plug in your HD2, if it doesn't auto-install do the following:
Right click my computer - manage - device manager,
find your HD2 in Other Devices/leo
Right click it, Update Driver Software
Browse my computer for driver software
In the text box: C:\android-sdk-windows\usb_driver (adjust accordingly)
Click next and it should install.
also only some builds have usb connection working i am using darkstones build and usb works fine
Currently I use this build: "shubCRAFT CM6RC2/Froyo" .
I still did not manage to complete a connection. The Block editor quits with an error "We made a mistake! Please help by reporting this bug:
Problem getting project defitions for phone: ...longurl..."
I will retry installing SDK and Extras and driver.
So, after reinstalling everything it still does not work:
"Leo" is listed in Devices as: "Android Composite ADB Interface" - is that the right driver?
I also tried to use a virtual Android device utilizing the SDK, but sadly that did not work as well. I have the Desktop of the virtual Android on my Screen, but clicking connect in Block editor does not connect to the virtual device (the Leo is unplugged in that scenario).
:/
make sure USB debugging is enabled in the application settings
Yes I have App Inventor. It's working OK for my on Darkstones build, but like you, I have issues with Shub's build.
For some reason or another - and I'm not sure how - I got it running just fine with no phone connected at all. I was able to complete the project and save it just fine. Maybe it was a bug...
I tried Darkstone's built, had USB debugging enabled, but it still did not work for me Don't know what to do next.
Anyone working with virtual devices or other builds that could work?
Thanks in advance for your help.

Cannot mount phone to computer or connect using Eclipse

I'm trying to use my new Epic to test an application I made a while ago but I can't seem to get Eclipse or the Android Eclipse plugin to recognize my phone.
The android documentation says that I need to install the USB driver package from the list of available packages in the SDK and AVD manager, but there is no USB driver package. In addition, I am unable to even mount my EPic to my computer to do simple file transfers, regardless of whether I use the drivers that Windows downloads from Windows Update or if I use the official driver package from Samsung.com. Although I will get a drive to show up when I plug my phone in, it will be a light grey and attempting to access it leads to it timing out after a few minutes.
I've attempted this on 32-bit and 64-bit editions of Windows 7, and I do have USB debugging enabled. I'm probably missing something since this is my first Android phone, but I sure can't figure it out and I consider myself pretty proficient with this type of stuff
Try one of the USB ports on the back of the CPU that are directly connected to the MB. Stupid? I thought so too until it worked for me.
Also make sure you are using the compatible version of Eclipse IDE and that you went through the steps in there to install the SDK plugin properly.
The plugin doesn't work with the newest versions of Eclipse properly. That said if you cant' mount your SD then your computer isn't recognizing it. The EPIC specific drivers were posted yesterday if you aren't using them do so and try the different USB port.
Aridon said:
Try one of the USB ports on the back of the CPU that are directly connected to the MB. Stupid? I thought so too until it worked for me.
Also make sure you are using the compatible version of Eclipse IDE and that you went through the steps in there to install the SDK plugin properly.
The plugin doesn't work with the newest versions of Eclipse properly. That said if you cant' mount your SD then your computer isn't recognizing it. The EPIC specific drivers were posted yesterday if you aren't using them do so and try the different USB port.
Click to expand...
Click to collapse
I originally tried the front USB ports, and then tried the rear ports and got the same results. I am confident that Eclipse and the SDK plugin are playing nice together because I used them extensively in developing the application a couple of months ago, including using a virtual android device for testing.
The Drivers that I downloaded from Samsung were specific to the Epic and were last revised today, so they are the most recent.
Roisen said:
I originally tried the front USB ports, and then tried the rear ports and got the same results. I am confident that Eclipse and the SDK plugin are playing nice together because I used them extensively in developing the application a couple of months ago, including using a virtual android device for testing.
The Drivers that I downloaded from Samsung were specific to the Epic and were last revised today, so they are the most recent.
Click to expand...
Click to collapse
I downloaded the drivers from Samsung website but am still unsuccessful in mounting my sd card to my Windows 7 64bit pc. Anybody has found a solution??
i had to edit 70-android.rules to include the samsung drivers code 04e8
I fiddled for a couple of hours and it just started working. No idea what I did, so sorry I can't be of more help to other people with this problem.
i'm not sure what this eclipse thing is, but i was having problems connecting my phone to my computer.
but after doing a battery pull, it all started working again. sounds noobish, but hey, it worked!

ADVICE/SUPPORT : UVC Camera on Samsung Galaxy Tab 10.1- No device Node??

HI,
I am trying to interface the UVC Camera to the Samsung Galaxy Tab 10.1(GT-7510) , but I am not able to see the device node getting created in the shell( I have installed the Linux terminal Shell Application) and rooted the device using this Video .Can somebody plz tell/advice how I can achieve it and access the device Node or at-least get it created.
Following is the log on dmesg :
usb 1-1 new high speed USB device using tegra-ehci and address 97
hub 1-0:1.0 unable to enumerate USB device on port 1 ,
usb 1-1:device v0ac8 p3420 is not supported
On My Laptop I get this output on Dmesg :
[12307.364237] uvcvideo: Found UVC 1.00 device Venus USB2.0 Camera (0ac8:3420)
[12307.366108] input: Venus USB2.0 Camera as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/input/input14
[12308.537059] usbcore: registered new interface driver snd-usb-audio
also i can see the camera getting blinked on connection which proves that it is getting the power-supply and getting connected with the system.
I think there is a support for UVC USB devices in the kernel (not sure) otherwise I am ready with the Kernel For Samsung Tab 10.1 (GT-7500 (Higher Version: GT-7510)) from here .(GT-P7500_MEA_Opensource.zip (requires Login).
Plz assist.
Rgds,
Softy
You seem to know a bit about what you're doing. I'm not really familiar with this device. I did a search and did not find anyone who has don't this yet. The first priority is to get a Linux device in /dev/ folder. This is generally handled by a device driver and a udev rule. Try the newer kernel if you can. The android 4.0 ics has a Linux 3.x kernel. See if switching to ics helps. Try compiling a custom kernel with all modules. Once you have a device, try using SSH or sftp from your desktop under Linux to stream from that device with vlc or another media player.
Do you have any examples of this device in use on mobile Linux? It may require writing an entire kernel driver.
HI,
Yes that is the same line of thinking for us as well.We are trying to compile the kernel and load it .- Ongoing
I believe only the zImage is the one which is to be flashed.But I am little scared to do this.Couldn't find the instructions to loading the Zimage even though I can compile one.
Rgds,
Saurabh
softy007 said:
HI,
Yes that is the same line of thinking for us as well.We are trying to compile the kernel and load it .- Ongoing
I believe only the zImage is the one which is to be flashed.But I am little scared to do this.Couldn't find the instructions to loading the Zimage even though I can compile one.
Rgds,
Saurabh
Click to expand...
Click to collapse
Flash it with Heimdall, even if it won't work you will be still able to get into download mode of bootloader (which you aren't supposed to flash) and reflash the kernel with stock one.

Android device not detected by eclipse

I have google nexs 4, kitkat 4.4 updated to
I have debugger mode enabled
I try to reset abd from my eclipse i get
[2013-12-24 23:18:49 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2013-12-24 23:18:50 - DeviceMonitor] Connection attempts: 1
my device is detected by my computer..but when i try running application, my eclipse doesnt detect it?
please help
my project build target android 4.4
jdk compliance 1.6
minmiunm required sdk android 2.2 froyo chosen
target sdk: api 18
compile with: api 19 android 4.4 kitkat
so anyone?
my winbdows is windows 8
problem is not from device, because it works on windows 7...and another pc.
I also done this http://developer.android.com/sdk/win-usb.html#top
Hi
Are you sure you have ADB set up properly? You may want to get to know ADB here. At least run the devices command to see where the problem is. What you should try is restarting both Windows and your phone (we all know windows...). If that doesn't work you'll want to try a different USB cable and socket but as you are saying the device is detected by windows so the hardware shouldn't be a problem. A complete reinstall of eclipse may be needed as well.
There is an edit button so no need to post 5! times.
i fixed it by updating driver software in device managers..and selecting the google usb driver location i donwloaded via the sdk manager
thanks
krikor1 said:
i fixed it by updating driver software in device managers..and selecting the google usb driver location i donwloaded via the sdk manager
thanks
Click to expand...
Click to collapse
Great! Have fun developing!

Missing Wlanapi.dll in XP x64.

I have a user who just received a new Samsung Galaxy Note 3. When he tries to plug it into his computer - using a USB3 or USB2 cable - it errors with, "This application has failed to start because Wlanapi.dll was not found. Re-installing the application may fix this problem." The user is running Windows XP x64 sp2 on his desktop.
I've searched around the web finding kb918977, which had the download "WindowsXP-KB918977-v6-x86-ENU.exe". Unfortunately that gives me the old hardware platform error. I've also found some sketchy looking driver download sites, but I'm not much for taking that risk. Is there an XP x64 version of this file somewhere or is my user SOL with his Galaxy Note on that machine?
albion01 said:
I have a user who just received a new Samsung Galaxy Note 3. When he tries to plug it into his computer - using a USB3 or USB2 cable - it errors with, "This application has failed to start because Wlanapi.dll was not found. Re-installing the application may fix this problem." The user is running Windows XP x64 sp2 on his desktop.
I've searched around the web finding kb918977, which had the download "WindowsXP-KB918977-v6-x86-ENU.exe". Unfortunately that gives me the old hardware platform error. I've also found some sketchy looking driver download sites, but I'm not much for taking that risk. Is there an XP x64 version of this file somewhere or is my user SOL with his Galaxy Note on that machine?
Click to expand...
Click to collapse
I'm not sure anyone else will ever have this problem given the age of the OS, but just in case... I was able to get an older version of the Samsung Kies to install. Although Kies 2.5 was not compatible with the Note 3, it did install the driver I needed. Now my user can at least transfer files from his device in Windows Explorer. I downloaded the older version from this site http://www.oldapps.com/samsung_kies.php?system=Windows_XP_x64
-Craig
And by user... what your reallyyyy trying to say is...
Jokes aside thanks it might help someone else with the same error.
Sent from my SM-N900V using Tapatalk

Categories

Resources