B4J Question Java line numbers in Logs

Open the generated .java files in a line-numbered text editor and navigate to the indicated line. The corresponding line of B4J code will appear as a comment right above or below it.
 
Upvote 0
Open the generated .java files in a line-numbered text editor and navigate to the indicated line. The corresponding line of B4J code will appear as a comment right above or below it.

Thanks Roycefer,
It took me a while but I finally found the correct Java file and started finding the errors.

Something wrong with:
Private BTSLocation as Position
Private BTSLat, BTSLng as Double
BTSLocation.Initialize2(BTSLat,BTSLng)

Tomorrows job...:(

Regards Roger
 
Upvote 0
Note that if you run your project in debug mode then you will see the B4J line number.

Hi Erel,

I am missing something, the numbers I see don't match B4J code. EG lines 90 and 114 are comment lines.:confused:

Regards Roger

SCRNSHT.jpg
 
Upvote 0
Thanks Roycefer,
It took me a while but I finally found the correct Java file and started finding the errors.

Something wrong with:
Private BTSLocation as Position
Private BTSLat, BTSLng as Double
BTSLocation.Initialize2(BTSLat,BTSLng)

Tomorrows job...:(

Regards Roger

I think it should be:
Code: Copy
Private BTSLocation as LatLng
Private BTSLat, BTSLng as Double
...
BTSLocation.Initialize(BTSLat,BTSLng)
 
Upvote 0
J"
Are you referencing B4A GPS library? Where does android.location come from?

Hi Erel
You must get frustrated with people doing stupid things.
Early on I loaded B4A libs in to B4J "to see what would happen " and then forgot that they weren't B4J.

:rolleyes:


Now I need to figure out Bearing =LatLng1 <> LatLng2 In B4J without GPS Library.:)


Regards Roger
 
Upvote 0
Back
Top