image

  1. practicalsoft

    B4X FEED Set BitmapDrawable gravity = Center (Native Ads Advanced)

    I use this code to set a image in native ad advanced. B4X: Dim images As List = NativeContentAd.RunMethod("getImages", Null) If images.IsInitialized And images.Size > 0 Then Dim image As JavaObject = images.Get(0) logoView.Background = image.RunMethod("getDrawable", Null)...
  2. practicalsoft

    B4X FEED FTP upload of an existing image [SOLVED]

    I would like the user to be able to choose an existing image and upload it to the FTP server. I tried to use the following code to identify the image: B4X: cc.Initialize("CC") cc.Show("image/*", "Select image") Wait For CC_Result (Success As Boolean, Dir As String, FileName As String) If...
  3. practicalsoft

    B4X FEED Text on Image

    Dear All Greetings I had come across the code of Douglas Farias, text on image. I liked this code. Just updated it, added a Label to move over the image to get the location to draw the text, using canvas.... Used Rect... I have also found emexes code Post#2 helpful. I have also used the...
  4. practicalsoft

    B4X FEED Download image

    I have two domains ,the first is free and second paid, if I downloaded image from the free domain no problem but I can't from paid domain I got this error The attached file is a sample of the problem, so can someone help me? B4X: httpjob_getbitmap (java line: 170) java.lang.RuntimeException...
  5. practicalsoft

    B4X FEED jServer - ServletResponse how to send a image as response

    Hey, how can I return an image correctly so that it can be evaluated as an image and used in BitmapAsync "LoadFromHttpJob" for example? What do I have to convert it to? ادامه مطلب...
  6. practicalsoft

    B4X FEED non-ui - resize image in byte array without javafx

    I get a image as byte on my server, i want to create a smaller image of it to use it as thumbnail. I want to avoid having to use javafx. Is that possible? ادامه مطلب...
  7. practicalsoft

    B4X FEED Imageview as B4x

    Hi I am using an image view in B4A and wish to change the alpha value of the image: B4X: Private imgClear As B4XView public Sub setToolBarAlpha(alphaArg As Int) imgClear.Alpha End Sub I found this link for b4J: Set alpha of an image Example code for B4J: Dim n As ImageView =...
  8. practicalsoft

    B4X FEED How to read camera image from url

    Hello, i have to read image from pc camera ... For example i have a camera connected to PC on http://10.0.2.10 I must get image from this url and do OCR into B4A then store result as text to SQL DataBase I finding some example related to this task but no success Can you help me with some...
  9. practicalsoft

    B4X FEED [B4X] ZoomImageView - Cross platform zoomable + pannable image view

    A custom view that shows an image and allows the user to zoom and pan the image. Instructions: - Add with designer. - Call SetBitmap. ادامه مطلب...
  10. A

    باز کردن عکس در گالری گوشی

    ⚙#توابع کاربردی #تابع_کاربردی #بیسیک4اندروید باز کردن عکس در گالری گوشی با تابع زیر کافیه مسیر و نام عکس رو بدید تا در گالری خود گوشی به نمایش در بیاد. Sub OpenGallery(dir as string,filename As String) Dim iIntent As Intent Dim Image As String Image = File.Combine(dir, filename)...
عقب
بالا