Android Question Gallery Error

hasexxl1988

Active Member
Licensed User
Longtime User
Hello there,
my app crashes right after the start.

Have the whole reduced to the link below. The Lib is involved. App does not start as before. Is there to make an entry in the Main Festival Editor?

B4X:
#Region  Project Attributes
 
#ApplicationLabel: B4A Example
 
#VersionCode: 1
 
#VersionName:
 
#SupportedOrientations: unspecified
 
#CanInstallToExternalStorage: False
 
#End Region
 
#Region  Activity Attributes
 
#FullScreen: False
 
#IncludeTitle: True
 
#End Region
 
Sub Process_Globals
 
End Sub
 
Sub Globals
 
Dim Gallery As PhotoGallery
 
End Sub
 
Sub Activity_Create(FirstTime As Boolean)
 
Activity.LoadLayout("Layout1")
 
Gallery.Initialize ("Gallery")
 
End Sub

Edit: Code
 
Last edited:

eurojam

Well-Known Member
Licensed User
Longtime User
use File->Export as Zip from B4A. then also your Layout etc. is included. If posting Code use the Code Tags....

upload_2015-9-14_14-39-13.png
 
Upvote 0

eurojam

Well-Known Member
Licensed User
Longtime User
I've tried the example you provided, the apps stopped after initializing with the error : java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack available (on Nexus 5)

seems to be a bug in the library - sorry that is all I can say. I would choose something esle then this lib. even the examples provided don't work....:confused:

may be something like: https://www.b4x.com/android/forum/threads/flickr-viewer.6646/
 
Upvote 0
Top