![]() |
Re: Android Driver Station
Quote:
Just load the html file into a string and replace {jquery} with the contents of a jquery library file and also replace {te} and {am} with teamNum / 100, teamNum % 100, and also replace width and height with the web views width and height and wallah! Code:
<html> |
Tried the app out tonight, I am able to connect and enable, but since we are set up for cheesy drive, and not tank, I can only go forward and backward. And after about a minute the connection turns off and I loose connection.
|
Re: Android Driver Station
After connecting to the Robot wifi and launching the app, does the app handle everything necessary with IP addresses (in other words, should it just work out of the box like that?)
|
Re: Android Driver Station
Quote:
|
Re: Android Driver Station
Sorry for all the problems, some of them may have been caused by bandwidth taken by the video, which I haven't tested. I only have a kindle fire to test with and it worked perfect before I added the video code. I'm not in the U.S right now and don't have access to any robots. I will try to buy another device by the beginning of the school year, so I'll be able to debug for another device.
Reminder: This is an open source project, a pretty easy project, and my first android app. So anyone interested in trying their hand at android development this would be a good place to start. |
This might be a stupid question... but is there a trick to installing it? I have an Asus MemoPad and could get it to install but the app wouldn't open.
|
Quote:
|
Re: Android Driver Station
Quote:
If you can try running it and get LogCat information that would be awesome. It will report the exception if there is one and five us the exact processes leading up to and after the exception as well as the Stack Trace. |
Re: Android Driver Station
It may have something to do with his Android version. That sounds like an old device that prooooobably isn't supported very well.
Now that Android Wear watches are out, someone should make this app for it :D |
Quote:
If they were able to install it though I don't think it's the android version. |
1 Attachment(s)
Its not the device, its less than 6 months old and running Jelly Bean- could that be the problem? And this is what I get when I try to open it Attachment 17136.
|
Quote:
This may solve the crash but you'll lose Internet connectivity until you put the network back into DHCP mode. To use it on a robot you'd change the 1234 in the IP to your team number, ie 10.35.25.6 for my team. |
Ohhh that was it! Got it open and it looks great! Can't wait to try it with one of our bots!
|
Re: Android Driver Station
Quote:
Just making this clear since this means the App will (and there is nothing in the code to prevent it from doing so, Eclipse would let you know that) run on any Jelly Bean device. |
Re: Android Driver Station
Just so that everybody knows, there is code in the app so support joysticks, it should work with any joystick that you manage to connect to your device including OTG and bluetooth. This feature is untested, so I would appreciate feedback if you try any kind of joystick.
|
Re: Android Driver Station
Quote:
|
Re: Android Driver Station
Quote:
|
Re: Android Driver Station
Quote:
|
Re: Android Driver Station
Quote:
It wouldn't hurt to have a logging utility built in to the app though no? As an easily retrievable log file? A simple endeavor using Log4j. I have also been looking into the best way to retrieve a video feed, automatically changing and reverting the IP and keeping track of the Team Number between application instances. Just to make it more convenient without having to have people dig through the Network Settings to run it on their phone, it would simply be more convenient to have the app do it for you with sufficient permissions. |
Re: Android Driver Station
Quote:
|
Re: Android Driver Station
Published the app on google play to make it easier to download.
https://play.google.com/store/apps/d...erstation_lite |
| All times are GMT -5. The time now is 10:08. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi