Page 1 of 1 |
|
|
Back to top |
|
 |
|
Posted: Mon, 20th Jun 2011 15:06 Post subject: |
|
 |
I would need to look at the stuff I've done before but actually for this simple tasks you wouldn't really need to think much about the design. Android has some nice controls in-built and designing them is actually fairly easy When I've got my phone I'll get back to this topic and maybe provide something useful, but I'm sure that some of our fellow humpers will already come up with good answers in the mean time 
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Mon, 20th Jun 2011 15:22 Post subject: |
|
 |
Yeah the UI design is pretty easy to do, just make sure to base everything on pixel density and not cold hard pixels. That way it'll scale with screen resolution (160dp always is 1 inch).
Java itself is iffy, but the Android framework is pretty solid. Got any experience writing a client for a webservice? At least, I'm assuming that's where your data will come from.
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Mon, 20th Jun 2011 19:01 Post subject: |
|
 |
Well you'll still have to fetch the schedules at least once I guess, and then cache em for a period of time.
You're just going to crawl the website though? If I were you, I'd set up a script on a "normal" web server to do that, which can cache the info and then have the Android app connect to your script and get a JSON response instead of having to parse the full website in the app.
Either way, it takes a bit more work than you thought it would 
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Mon, 20th Jun 2011 19:33 Post subject: |
|
 |
No I don't, sorry
Just look at the documentation for any website's API though, it's the same idea - for the script <> app connection that is.
As for the script crawling the website: I'm sure there's plenty of sample scripts for PHP, Ruby, C# (ASP.NET) or whatever the fuck else you want to use 
|
|
Back to top |
|
 |
|
Posted: Mon, 20th Jun 2011 21:27 Post subject: |
|
 |
Werelds: Can't I just permanently store all of the data in the app? But that would mean that I'd have to update it each time they add/remove something and include in the app right?
Gonna look into crawling and see what I can come up with.
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Mon, 20th Jun 2011 22:57 Post subject: |
|
 |
Yeah, you could do that but like you say, you'd have to update the app every year/semester/trimester depending on how often the schedule changes 
|
|
Back to top |
|
 |
Page 1 of 1 |
All times are GMT + 1 Hour |