Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actually use GlobalLocationProvider #256

Open
nighelles opened this issue May 18, 2015 · 17 comments
Open

Actually use GlobalLocationProvider #256

nighelles opened this issue May 18, 2015 · 17 comments

Comments

@nighelles
Copy link
Collaborator

This is actually done, mostly. I implemented the interface, and pass in my location class. However, new code also seems to be breaking my code for getting arrivals, so that's still in progress.

@remulasce
Copy link
Owner

We should probably lock java_core until releaae
On May 18, 2015 12:13 PM, "Nighelles David" notifications@github.com
wrote:

This is actually done, mostly. I implemented the interface, and pass in my
location class. However, new code also seems to be breaking my code for
getting arrivals, so that's still in progress.


Reply to this email directly or view it on GitHub
#256.

@nighelles
Copy link
Collaborator Author

Looks like issue is with tempSRDA not returning anything, breaking a log statement that looks at the first element.

@nighelles
Copy link
Collaborator Author

Did the internal format change? multiArrivalTrips is saying it has like 14 elements, but none of them have arrivals.

@remulasce
Copy link
Owner

Format of the what?
On May 18, 2015 12:19 PM, "Nighelles David" notifications@github.com
wrote:

Did the internal format change? multiArrivalTrips is saying it has like 14
elements, but none of them have arrivals.


Reply to this email directly or view it on GitHub
#256 (comment).

@nighelles
Copy link
Collaborator Author

The way trips are stored

@remulasce
Copy link
Owner

No?
On May 18, 2015 12:21 PM, "Nighelles David" notifications@github.com
wrote:

The way trips are stored


Reply to this email directly or view it on GitHub
#256 (comment).

@nighelles
Copy link
Collaborator Author

Seems odd that they'd just stop returning arrivals. That code didn't change at all.

@nighelles
Copy link
Collaborator Author

looks like SRDA is lying about how many multiarrivaltrips it has?

@nighelles
Copy link
Collaborator Author

WTF? I'm getting a tempSRDA that's just a string that says @"...".

What's the deal with that

@nighelles
Copy link
Collaborator Author

Ok, so this is odd. Looks like I'm getting a multiarrivaltrip that's actually just a trip. So it doesn't have a proper parentArrival, just a text parameter defaulting to "..."

Since I'm actually using Objective-C and not Java, it thinks it's a proper parentArrival, and dutifully returns the object at the correct memory location, which is the String that says "..."

@nighelles
Copy link
Collaborator Author

But I feel like trip should still declare parentArrival, because MultiArrivalTrip assumes it exists. So what's the deal with that, huh?

@nighelles
Copy link
Collaborator Author

No, ok it's declared in MultiArrivalTrip. But somehow I'm getting a normal Trip, rather than a multiArrivalTrip.

@nighelles
Copy link
Collaborator Author

maybe the statustrip thing is trying to get displayed? I thought I fixed that.

@nighelles
Copy link
Collaborator Author

Ah, I did fix it, on the iosdev branch. Which for some reason didn't get merged properly.

@nighelles
Copy link
Collaborator Author

Ugh, merged in that code, but now shit is whack because I don't understand why it's giving me empty multiarrivaltrips.

@nighelles
Copy link
Collaborator Author

I'm getting just "54855" as a description back from a multiarrival trip. That's odd.

@remulasce
Copy link
Owner

Fix your logging/println implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants