protect yourself face to the tiny virus...not in your computer !!
Here is a problem of degradation of the pictures during their rotations in an imageView.
The code I use is the following one:
dir=File.DirRootExternal & "/imgBooks"
filename ="id" &...
in a little app, i try to put a web page by this way, using a webview object in the designer which name is wv1.
with an editor, I build a page I save as 'index.html'.
This page has text and pictures.
When I import in the index.html in b4a, the pictures are in a folder 'images'...
End-users of some apps may need to choose small icons to save it into app's database.
But there was no tool to choose a needed icon in 2-3 taps, but the Internet is always under finger.
It seems, now it's possible.
No fully free services with API for image searching, with good big database...
Hi All, i need to show the image taken using CameraEx class in the gallery, I found the code below which i am implementing in the Camera1_PictureTaken function right after taking the picture, i remember this working just fine before, but for some reason it is no longer working, i thought maybe i...
This is a class (clsCameraIntent) inspired by this thread.
It adds Video support.
One line of code in your activity to call the camera intent
One Callback sub in your activity to get the dirame and filename of the picture/video taken/recorded
Demo Project with class in zip attached
I am still struggling with printing. PDF printing creates random errors, so I am exploring bitmap printing.
But to get to 300 dpi requires a picture 2550x3300 for a letter size printing. As a result, the resulting default bitmap format chokes the printer.
Would it be possible to use a less...
I haven't managed to replicate the error myself, however a user of mine has experienced it.
He's tried to load the camera, and then it crashed with: "java.lang.NullPointerException: Attempt to get length of null array" which was caused by the bottom line.
Sub Camera1_Ready (Success As Boolean)...
I'm using the following code to save an image to the gallery.
Dim Out AsOutputStream
Dim Out As OutputStream
Out = File.OpenOutput(File.DirInternal, "PI.jpg", False)
bmp.WriteToStream(Out, 100, "JPEG")
i have an Handler, i call in this handler a sub, in this sub i have parameters, one of the parameter is the input stream, i put the input stream from the handler in it and save the picture.
After saving it, i can not open the picture, because it is broken.
I have test a while and if i...