![]() |
Re: Android Driver Station
Quote:
|
Re: Android Driver Station
Quote:
I don't get this error, could you try re-installing the app. Sorry, I don't know what else to do since I can't work on a problem I don't have. On second thought, what type of device do you have? If it is a problem with the UI that it could be specific to the screen-size. I will launch the app on an emulator of a smaller screen and see what I can find out. |
Re: Android Driver Station
Quote:
Maybe it is a version error, try uninstalling the app, and re-downloading it maybe? If you do this I would suggest redownloading the second app (Android-FRC-Driverstation). |
Quote:
Edit: I think it may be because of the network I'm connected to. The IP I was assigned had 3 characters in the 3rd portion of the IP. I changed my network settings and it was able to start normal. |
Re: Android Driver Station
Quote:
|
Quote:
Also, I was messing around and added some simple code that may be able to display video but I can't test it yet because I don't have a robot or IP camera. I'll test it probably tomorrow at BattleCry. |
Re: Android Driver Station
Quote:
|
Quote:
Edit: wow okay whoops. I dun goofed. Just tried opening it with the code I added and it crashed immediately. I'll keep working on it. |
Re: Android Driver Station
Quote:
Code:
video = (VideoView)findViewById(R.id.video); |
Quote:
|
Re: Android Driver Station
What is the full uri (path) of the image file? I thought of using the image before. I knew the axis had one I just didn't know where it was.
|
Re: Android Driver Station
I'm pretty sure it's just http://10.xx.xx.11/image.jpg
I may be wrong, but I do have a code that theoretically will work. I just can't test it yet. I uploaded the code to a forked repo at https://github.com/crazyman10123/And...-Driverstation I didn't upload a new binary, just the code. |
Re: Android Driver Station
Quote:
I do have a question though, does it work to put your code in the start() method of a thread? I have only ever put code in the run() method. |
I probably should change it to the run() method because the way it is right now, start() would never end. I wasn't even paying attention to that haha thanks.
Edit: I fixed the start/run methods, and uploaded the changes to the repo. I'll also be trying it tomorrow at BattleCry when I have access to our bot. |
Re: Android Driver Station
I have a Galaxy S4 and I don't have the option to set my subnet mask and it is asking me for a lot more information. Like Default Gateway, DNS, etc when I try to set up a static IP as instructed.
|
| All times are GMT -5. The time now is 07:18. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi