Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Using PhoneGap for Competitive Analysis (http://www.chiefdelphi.com/forums/showthread.php?t=131667)

Dale 22-12-2014 13:49

Using PhoneGap for Competitive Analysis
 
We're considering PhoneGap for building our competitive analysis application on Android tablets this year. That would let students program in Javascript/HTML/CSS rather than having to learn the details of Android development. Last year we used hard wired Android tablets connected to a locally hosted web server running on a Raspberry Pi. We had enough issues with running ethernet cables all over the stands and dropped matches that we'd like to switch to Bluetooth and a system where the tablets store up all their data and transfer it when they have a connection to a server.

I'd love to hear the experiences of teams who have already used PhoneGap for this application. Would you do it again? How do you transfer data (flash drive, Bluetooth, cables?) Did you use the Adobe or the open source version?

Conor Ryan 22-12-2014 14:16

Re: Using PhoneGap for Competitive Analysis
 
Phonegap is a cool suggestion, I've actually never heard of it before today, but I love some of the Apps that run on it, given the right resources, I would totally try to use it.

Anyway, per your data transfer question. Its not perfect, but the easiest way to do scouting data transfer in my experience is just using cellular data transfers and dealing with the intermittent coverage issues the best you can. People tend to blow them out of proportion anyway. Every venue is unique, and wireless access simplifies so many other issues since Wifi is a no-go. Personally I'd rather have intermittent/crappy wireless cellular access, then being limited to physical access on a wired network.

You can live without real time updates, there are work arounds, and at the end of the day it just ends up being the easiest to go with cellular coverage. Just make sure you have an easy way to view time stamps and resubmit data as necessary. And have a back up plan to do it the paper way if you have to.

hardcopi 22-12-2014 14:21

Re: Using PhoneGap for Competitive Analysis
 
2959 has used phonegap for 2 years now and it works great. We don't rely on live data, rather we compile it at the end of the day for analysis. We just keep notes during matches the analyze the raw data at night.

We use a program called Telerik App Builder to build our apps. It is an awesome product And free for 2 projects. Takes care of a LOT of the hassle and gives you a nice IDE that is web based.

Andrew Schreiber 22-12-2014 15:35

Re: Using PhoneGap for Competitive Analysis
 
I've used PhoneGap for projects before. It's not terrible. I wouldn't try to build a consumer facing app with it but for internal apps I'd say it's good enough.

I used the open source version.

I can't comment on the data connectivity, most of the apps I've done with it were just packaged webapps so they relied on network connectivity in some fashion.

Dale 22-12-2014 16:13

Re: Using PhoneGap for Competitive Analysis
 
Quote:

Anyway, per your data transfer question. Its not perfect, but the easiest way to do scouting data transfer in my experience is just using cellular data transfers and dealing with the intermittent coverage issues the best you can. People tend to blow them out of proportion anyway. Every venue is unique, and wireless access simplifies so many other issues since Wifi is a no-go. Personally I'd rather have intermittent/crappy wireless cellular access, then being limited to physical access on a wired network.
We've had okay luck using AT&T or Verizon for data transfer at regional events as long as our applications had the smarts to store and retry. At St. Louis, though, those networks seem to fall apart under the crazy heavy load.

hardcopi 22-12-2014 16:23

Re: Using PhoneGap for Competitive Analysis
 
The kendoui javascript framework just added offline support to their javascript database functions. It will automatically sync up when there is a signal (or when you tell it to).

Conor Ryan 22-12-2014 17:15

Re: Using PhoneGap for Competitive Analysis
 
Quote:

Originally Posted by Dale (Post 1415925)
We've had okay luck using AT&T or Verizon for data transfer at regional events as long as our applications had the smarts to store and retry. At St. Louis, though, those networks seem to fall apart under the crazy heavy load.

Would it be possible to use the FireChat/OpenGarden api on top of PhoneGap or another App Builder? Mesh Networking would be the obvious solution for most FRC applications.

compsuppjk 22-12-2014 17:22

Re: Using PhoneGap for Competitive Analysis
 
A fair warning about Bluetooth, I'd like to direct your attention to the 2014 Q&A question #Q508[1]

Quote:

Originally Posted by 2014 FRC Q&A, p52

Q508
Q.I would like to make a scouting app for my team that would sync data across tablets, but there is a
rule against 802.11a/b/g/n/ac networks. I was planning on using bluetooth, which is 802.15, but would
that be considered a violation of the rule?
A.There are no rules explicitly prohibiting this. If the Bluetooth network traffic is found to be interfering
with game play, the team will be asked to disable the system. However, please remember that rules for
2014 do not apply to future seasons.

Emphasis mine.

Dale 22-12-2014 19:49

Re: Using PhoneGap for Competitive Analysis
 
Good to keep in mind that Bluetooth is allowed until it's not. Since it runs down in the 2.4Ghz band and is low power it seems unlikely to bother the field. Besides the stands are full of Bluetooth devices like headphones so FIRST would have a hard time controlling them.

Dale 22-12-2014 19:52

Re: Using PhoneGap for Competitive Analysis
 
Quote:

We use a program called Telerik App Builder to build our apps. It is an awesome product And free for 2 projects. Takes care of a LOT of the hassle and gives you a nice IDE that is web based.
Telerik does look like a cool product. Unless they start doing a special educational/FIRST deal it's outside of our price range. It appears they've changed their trial to just be 30 days.

compsuppjk 23-12-2014 03:55

Re: Using PhoneGap for Competitive Analysis
 
Quote:

Originally Posted by Dale (Post 1415987)
Good to keep in mind that Bluetooth is allowed until it's not. Since it runs down in the 2.4Ghz band and is low power it seems unlikely to bother the field. Besides the stands are full of Bluetooth devices like headphones so FIRST would have a hard time controlling them.

This is true, except for at the Championship and at other events where FTC are running using 2.4Ghz Samantha modules. In the past, volunteers have worked very hard to get any 2.4Ghz sources shut down at such events.

hardcopi 23-12-2014 04:26

Re: Using PhoneGap for Competitive Analysis
 
Telerik actually switches you to their starter edition art the end of your trial. Limits you to two projects and a 100mb database.


All times are GMT -5. The time now is 05:50.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi