B4J Library jCoverFlow library v1.70

lonleystar

Well-Known Member
Licensed User
Longtime User
Hi All, JCoverFlow is updated v1.6.

Added Event --> OnMouseClicked below an example:

B4X:
Sub CoverFlow_OnMouseClicked(Position As Int, Value As Object)

    If MainForm.RootPane.NumberOfNodes > 2  Then
        MainForm.RootPane.RemoveNodeAt(2)
    End If

    Dim x As Int = (MainForm.WindowWidth /2)-250
    MainForm.RootPane.AddNode(img,x,0,500,300)
    img2.Initialize("",Value)
    img.SetImage(img2)
    Log("Position = " & Position)
    Log("Value = " & Value)
End Sub
 

inakigarm

Well-Known Member
Licensed User
Longtime User
Hi @Giuseppe:

Trying to test your library but no luck !!

I've tested the B4J program with B4J versions form 2.80 to 3.61 and the main screen appears with menus but I can't see nothing in the coverflow panel setting the path to my images folder; I've tried with the options and nothin works (nor CoverFlow.ShowFromDirectoryChooser nor CoverFlow.ShowFromFolder nor CoverFlow.ShowFromFolder2("C:\\","Imatges") when selecting Populate and Show from Menu

I can run the program without errors but can't upload or see any images (Log (CoverFlow.Length)=0)

Any idea ?? Thanks !

(Windows 8.1 with java 8.45)
 

Douglas Farias

Expert
Licensed User
Longtime User
cant run your examples, can you make a new example for the last version pls?

tryed
CoverFlow.ShowFromDirectoryChooser("Choose a directory with images")
and dont works
CoverFlow.ShowFromFolder("C:/Images",".png")
 

alienhunter

Active Member
Licensed User
Longtime User
Hi
thanks for the update , i have a problem with the iCoverFlow.ItemsSize , since this is "CoverFlow.ItemsSize = 700dip" it will be a rectangle where other pictures have a different width , say 800x600 and the images look distorted , can we please specify this or keep the pictures ratio ?
thanks
Vielen Dank
greetings/ gruss Alfred
 

aidymp

Well-Known Member
Licensed User
Longtime User
Has anyone got this to work? doesn't seem to like any images?
 

lonleystar

Well-Known Member
Licensed User
Longtime User


Hi, yesterday evening after I read the message I found out the problem why with jdk 1.8.0_66 it crash OnLoadStart and OnLoadComplete I really dont know why but to day I'm going to fix it.
https://www.b4x.com/android/forum/threads/jcoverflow-library-v1-6.36027/page-3#post-383066
With jdk 1.7.0.XX work fine.

have a look to the thumbnail.
 

Attachments

  • Immagine1.jpg
    350.7 KB · Views: 511

aidymp

Well-Known Member
Licensed User
Longtime User
Hi, yesterday evening after I read the message I found out the problem why with jdk 1.8.0_66 it crash OnLoadStart and OnLoadComplete I really dont know why but to day I'm going to fix it.
With jdk 1.7.0.XX work fine.

have a look to the thumbnail.

If you fix it, it would be awesome! Thanks!
 

lonleystar

Well-Known Member
Licensed User
Longtime User
Hi all, jCoverFlow is update to v1.70 what is new:

fixed the problem with jdk 1.8.0_66

added new event: _OnLoadFailed(Value As Object)

changed the event: _OnLoadComplete(Value As Object) to _OnLoadComplete(Value As Boolean, Length As Object). Returns the length of the items.

Any issue please report.
 

aidymp

Well-Known Member
Licensed User
Longtime User

I have literally been say waiting for the update on this! trying now! thanks
 

aidymp

Well-Known Member
Licensed User
Longtime User

So far working well!!

Thank you
 

Laurent95

Active Member
Licensed User
Longtime User

Hi Giuseppe,

In first thank you for the update with Java 8 and your work.
I try to find the complete path returned by CoverFlow.ShowFromDirectoryChooser, seems wei can't get it ?
Or in another way, can we have a variable to put the last complete path instead of c:\ within the function?
But that means to have the path returned by the function.
It's a bit cumbersome to retrieve the complete path all the time.
Thanks.

Best regards
Laurent.
 

EnriqueGonzalez

Expert
Licensed User
Longtime User
Hello!
This Library is awesome!

Would it be possible to have the Source Code?

Thanks!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…