Android Tutorial [B4X] B4A, B4i, B4J and B4r API documentation - B4X Object Browser

Status
Not open for further replies.

warwound

Expert
Licensed User
Longtime User
Hi Vader.

Have i found a bug in your Object Browser...?
Looks like it's failing to properly parse a DependsOn annotation.

In a library i'm working on i have a class that depends on 2 external .jar library files:

B4X:
@DependsOn(values={
     "android-support-v4",
     "osmapandroid-1.0.6"
})

Look at the attached screengrab and you'll see that instead of listing osmapandroid-1.0.6 it has instead just listed 6.
I'd guess it's the 2 dots in the filename causing the problem?

(Another class in the library depends on GPS.jar so that entry is correct).

I'm using the latest version 3.2.5.6 by the way.

Thanks.

Martin.
 

Attachments

  • dependson-bug.png
    10.8 KB · Views: 329

Vader

Well-Known Member
Licensed User
Longtime User
Thanks Martin. I will take a look at it tomorrow night (it's about 10:30 PM here ATM).
 

Vader

Well-Known Member
Licensed User
Longtime User
Version 3.2.5.8 has been released to counter this display bug (if you selected 'View full typename' in options the issue would have disappeared).
 

Rudi_

Member
Licensed User
Longtime User
I think i spotted an error, and i don't know if anyone has noticed this before. I searched for the File Object in the Core Library but i could not find it until i typed it into the searchbox ...
 

Attachments

  • file_object.png
    33 KB · Views: 325
  • file_object1.png
    29.8 KB · Views: 296
Last edited:

Vader

Well-Known Member
Licensed User
Longtime User
File is actually "anywheresoftware.b4a.objects.streams.File", which is there.

There is a display bug with respect to displaying Name vs ShortName which I have to correct.
 

Duke

New Member
Licensed User
Longtime User
Exception from HRESULT: 0x8007007A
Show error window when click any item.

OS: windows7 32bit
 

Attachments

  • A1.png
    74.5 KB · Views: 357
  • A2.png
    10.8 KB · Views: 327
  • A1.png
    74.5 KB · Views: 341
  • A2.png
    10.8 KB · Views: 352

dexMilano

Active Member
Licensed User
Longtime User
I've just installed object browser on my winxp but I continue to receive an error on starting point.
I cannot see the error.
I can see only the MS agent asking me to send the error to the server.
I cannot be more precise.
:-(

dex

PS .NET framework installed without any issue
 

Vader

Well-Known Member
Licensed User
Longtime User
It needs .NET Framework 3.5 SP1. If you install that, then you should be ok.
 

Vader

Well-Known Member
Licensed User
Longtime User
I haven't tested it on XP. No idea how it would go. Who uses XP anymore? (XP -> Vista -> Win 7 -> Win 8 -> Win 8.1)
 

Vader

Well-Known Member
Licensed User
Longtime User
The problem with this kind or error is that Windows has determined it to be an issue during the application startup, so there is no logging or fault finding that can be done.
 

Toley

Active Member
Licensed User
Longtime User
Just to mention, and give credit to Vader, B4A Object Browser can also be used with B4J libraries
 

Vader

Well-Known Member
Licensed User
Longtime User
Just to mention, and give credit to Vader, B4A Object Browser can also be used with B4J libraries
Thanks Toley. I would love to say that it happened by design, but I didn't even know B4J existed.
 

dexMilano

Active Member
Licensed User
Longtime User
I've installed the .NET Framework 3.5 not SP1,
is it required?
Maybe this is the point?
 

agraham

Expert
Licensed User
Longtime User
I think there is a slight bug
If you do a search for something, then press "Reload Libraries" on the toolbar it reloads and shows all the libraries but doesn't show the fields and methods of the classes in each library, even those containing the search term.
 

Vader

Well-Known Member
Licensed User
Longtime User
I should be able to look at it tonight. I have to do some other things today. Thanks for the report.
 

Vader

Well-Known Member
Licensed User
Longtime User
Fixed.
 

Vader

Well-Known Member
Licensed User
Longtime User
I have added a new option: Stay on top. This was requested in the Italian sub forum.
 

agraham

Expert
Licensed User
Longtime User
Does Object Browser hold the xml files open after reading them? If have it open while I try to regenerate a library jar and its xml I get a "process cannot access the file because it is being used by another process" error and have to close Object Browser and reopen it after generating the xml file. This is a bit inconvenient while I am trying to tidy up the comments in a library. Ideally I would like to be able to keep it open and just refresh it like I do in the IDE Libs tab.

EDIT:- Sorry, forget this. For some reason it's working OK today. I'm baffled why it didn't yesterday

EDIT AGAIN :- The problem has just come back After being able to edit and regenerate the jar and xml with Object Browser open and then just refresh it it has now given the error and I had to close Object Browser to allow the compiler to regenerate the xml. Very strange!
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…