S Sergio83 Active Member Licensed User Longtime User Oct 13, 2020 #1 Hello everybody, I'm facing a problem when using "bitmapcreator" class (for blurred dialog purpose) both with "xui views" library for another purpose. At compilation time, the result is that statement "Private mBuffer() As Byte" in 'BitmapCreator" class module seems to be ignored, what's give a compiler error: "... mBuffer unknown member...". The best way to show that problem is to compile Erel's "BitMap Creator" sample with "xui views" library activated. I probably make a mistake somewhere but where? After Googling a lot and walking a lot across the forum I did find a turnaround to this issue .. Thanks by advance to anyone able to help me. B4A is indeed a great help to devlop Android apps, thanks again for your work Erel!
Hello everybody, I'm facing a problem when using "bitmapcreator" class (for blurred dialog purpose) both with "xui views" library for another purpose. At compilation time, the result is that statement "Private mBuffer() As Byte" in 'BitmapCreator" class module seems to be ignored, what's give a compiler error: "... mBuffer unknown member...". The best way to show that problem is to compile Erel's "BitMap Creator" sample with "xui views" library activated. I probably make a mistake somewhere but where? After Googling a lot and walking a lot across the forum I did find a turnaround to this issue .. Thanks by advance to anyone able to help me. B4A is indeed a great help to devlop Android apps, thanks again for your work Erel!
agraham Expert Licensed User Longtime User Oct 13, 2020 #2 Sergio83 said: 'BitmapCreator" class module Click to expand... BitmapCreator version 4.73 is an internal library in the latest version of B4A! Are you using an out of date version of either BitmapCreator, B4A or both? Upvote 0
Sergio83 said: 'BitmapCreator" class module Click to expand... BitmapCreator version 4.73 is an internal library in the latest version of B4A! Are you using an out of date version of either BitmapCreator, B4A or both?
S Sergio83 Active Member Licensed User Longtime User Oct 13, 2020 #3 Ola Agraham First of all many thanks to take care of the issue I'm facing so quickly to help me ... May be I was not clear enough, I'm not using the internal library "BitmaCreator" but just the class module "BitmapCreator"as Erel did in his example. I did the same thing that Erel have done for another one of my apps and it is working well. I think it is really the use of this class module and the checking (not even its use) of the "xui views" library which is originating this issue (at least in my case ...). If you have time enough just try to compile Erel's example as is but with checking "xui views" library. The B4A version I'm using is 9.90 (a recent one) and the version of "xui views" library is 2.34 I hope this will help you Agraham. BTW thanks for your libraries I'm using ... Upvote 0
Ola Agraham First of all many thanks to take care of the issue I'm facing so quickly to help me ... May be I was not clear enough, I'm not using the internal library "BitmaCreator" but just the class module "BitmapCreator"as Erel did in his example. I did the same thing that Erel have done for another one of my apps and it is working well. I think it is really the use of this class module and the checking (not even its use) of the "xui views" library which is originating this issue (at least in my case ...). If you have time enough just try to compile Erel's example as is but with checking "xui views" library. The B4A version I'm using is 9.90 (a recent one) and the version of "xui views" library is 2.34 I hope this will help you Agraham. BTW thanks for your libraries I'm using ...
agraham Expert Licensed User Longtime User Oct 13, 2020 #4 You are using an out of date version of B4A and and an out of date version of BitmapCreator. There is no point in trying to trouble shoot that combintation.I suggest that you download the latest version of B4A and install the latest version of the SDK according to these instructions. B4A – The simple way to develop native Android apps B4A includes all the features needed to quickly develop any type of Android app. B4A is used by tens of thousands of developers from all over the world, including companies such as NASA, HP, IBM and others. www.b4x.com If you then have trouble we can help you. Upvote 0
You are using an out of date version of B4A and and an out of date version of BitmapCreator. There is no point in trying to trouble shoot that combintation.I suggest that you download the latest version of B4A and install the latest version of the SDK according to these instructions. B4A – The simple way to develop native Android apps B4A includes all the features needed to quickly develop any type of Android app. B4A is used by tens of thousands of developers from all over the world, including companies such as NASA, HP, IBM and others. www.b4x.com If you then have trouble we can help you.
Erel B4X founder Staff member Licensed User Longtime User Oct 14, 2020 #5 The above answer is correct. You should remove BitmapCreator class and update to latest version of B4A. This will solve all of these issues. I've also added a message in this thread: https://www.b4x.com/android/forum/threads/b4x-bitmapcreator-blurreddialog.92214/ Don't use this class. Similar feature is implemented in B4XDialog (XUI Views). Set Dialog.BlurBackground =True Upvote 0
The above answer is correct. You should remove BitmapCreator class and update to latest version of B4A. This will solve all of these issues. I've also added a message in this thread: https://www.b4x.com/android/forum/threads/b4x-bitmapcreator-blurreddialog.92214/ Don't use this class. Similar feature is implemented in B4XDialog (XUI Views). Set Dialog.BlurBackground =True
S Sergio83 Active Member Licensed User Longtime User Oct 14, 2020 #6 Oaow this is what can be called a wise response from a very high level expert ... Unfortunately I am in the most total impossibility to proceed with the version upgrades you are proposing for the simple and good reason that I does not use the library whose version level you are questioning: "BitmapCreator", I remember telling you when answering your first post. Actually Agraham, are you sure you have read my post carefully? As for renewing my request for help, to have an answer of the same emptiness, I prefer to implement a home brewed workaround. Nevertheless I thank you a lot to have spent a handful of seconds to try to take care of the issue I'm facing. Best regards PS: I'm shure Erel will appreciate to know you opion about B4A 9.90 ... I could be confusing for Erel, this post is my reply to Abgraham's one ... Last edited: Oct 14, 2020 Upvote 0
Oaow this is what can be called a wise response from a very high level expert ... Unfortunately I am in the most total impossibility to proceed with the version upgrades you are proposing for the simple and good reason that I does not use the library whose version level you are questioning: "BitmapCreator", I remember telling you when answering your first post. Actually Agraham, are you sure you have read my post carefully? As for renewing my request for help, to have an answer of the same emptiness, I prefer to implement a home brewed workaround. Nevertheless I thank you a lot to have spent a handful of seconds to try to take care of the issue I'm facing. Best regards PS: I'm shure Erel will appreciate to know you opion about B4A 9.90 ... I could be confusing for Erel, this post is my reply to Abgraham's one ...
S Sergio83 Active Member Licensed User Longtime User Oct 14, 2020 #7 Ola Erel, Thank you for this answer, at least it is detailed and will allow me to move forward. However, for environmental reasons I do not wish to upgrade to the latest version of B4A before my application is sufficiently stable, except if technical imperatives were to oblige me. So I will do a test following your recommendation with B4A 9.90 and keep you informed of the result. Upvote 0
Ola Erel, Thank you for this answer, at least it is detailed and will allow me to move forward. However, for environmental reasons I do not wish to upgrade to the latest version of B4A before my application is sufficiently stable, except if technical imperatives were to oblige me. So I will do a test following your recommendation with B4A 9.90 and keep you informed of the result.
agraham Expert Licensed User Longtime User Oct 14, 2020 #8 Sergio83 said: Actually Agraham, are you sure you have read my post carefully? Click to expand... Erel said: The above answer is correct. Click to expand... Upvote 0
Sergio83 said: Actually Agraham, are you sure you have read my post carefully? Click to expand... Erel said: The above answer is correct. Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Oct 14, 2020 #9 Sergio83 said: PS: I'm shure Erel will appreciate to know you opion about B4A 9.90 ... Click to expand... My opinion is: you are wasting your time with solving things that are easily solved by upgrading to the latest version. Upvote 0
Sergio83 said: PS: I'm shure Erel will appreciate to know you opion about B4A 9.90 ... Click to expand... My opinion is: you are wasting your time with solving things that are easily solved by upgrading to the latest version.
S Sergio83 Active Member Licensed User Longtime User Oct 14, 2020 #10 Ola Erel, I understand your point of view but, whenever I update to the latest versions the issue will stay alive, because its not a question of version level. The key point was just to use the mibtmapcreator class instead of the bitmapcreator library. But I've noticed you've updated your thread to notified that the bitmapcreator class should not be used any more but the library instead. I made a test a few minutes ago using the library instead of the class whithout changing any version and it is working well! So we can close this trhread, and ... B4A 9.90 is not so outdated! Upvote 0
Ola Erel, I understand your point of view but, whenever I update to the latest versions the issue will stay alive, because its not a question of version level. The key point was just to use the mibtmapcreator class instead of the bitmapcreator library. But I've noticed you've updated your thread to notified that the bitmapcreator class should not be used any more but the library instead. I made a test a few minutes ago using the library instead of the class whithout changing any version and it is working well! So we can close this trhread, and ... B4A 9.90 is not so outdated!
Erel B4X founder Staff member Licensed User Longtime User Oct 14, 2020 #11 Sergio83 said: B4A 9.90 is not so outdated! Click to expand... Alas, you cannot help someone who doesn't listen to your advice... Upvote 0
Sergio83 said: B4A 9.90 is not so outdated! Click to expand... Alas, you cannot help someone who doesn't listen to your advice...
S Sergio83 Active Member Licensed User Longtime User Oct 14, 2020 #12 On a general level I can only agree with you Erel but in this case I cannot agree with your assertion because I took into account and implemented your suggestion of no longer using the class but the library, with success elsewhere. While the proposal for a general upgrade of my environment would have been of no use, the error residing elsewhere (proof of this is that it worked in the state of the versions installed ...). So, whatever happens I think that these exchanges become sterile especially between supplier and customer then, for my part I definitively close this thread. Upvote 0
On a general level I can only agree with you Erel but in this case I cannot agree with your assertion because I took into account and implemented your suggestion of no longer using the class but the library, with success elsewhere. While the proposal for a general upgrade of my environment would have been of no use, the error residing elsewhere (proof of this is that it worked in the state of the versions installed ...). So, whatever happens I think that these exchanges become sterile especially between supplier and customer then, for my part I definitively close this thread.