Posts by H. Cardoso • 57 points
7 posts
-
0
votes0
answers60
viewsQ: Range of a SWIFT Array
I have an array of bytes and I need to find out in which track (startindex and endindex) a byte this or if only has startindex ex: var Faixa1:Array<UInt16> = [2,4,6,8,10,11,12] var…
-
3
votes2
answers182
viewsQ: How to create a Layout bitmap keeping the dimensions equal regardless of the screen density?
I have a layout file and I’m passing it to a bitmap which I then send to a printer bluetooth in bytes. According to the resolution of the cell phone, it changes the sizes of the sources of textviews…
-
1
votes1
answer237
viewsA: Android: How to make a request POST to grab an image
I did it this way and it worked correctly: RequestQueue sQueueFoto = Volley.newRequestQueue(getActivity()); String sEnderecoBaseFoto = Variaveis.WebServicePocket +…
-
0
votes1
answer237
viewsQ: Android: How to make a request POST to grab an image
I need to get a server Bitmap through a POST method with the body (JSON) and header to put in an Imageview. I tried using Volley’s Imagerequest but I would need to pass the URL directly from my…
-
0
votes0
answers217
viewsQ: Repeated items with different amounts in a Listview
I have a Listview (lsvProduct) with some items that comes from a request and an Edittext of amount that the user can change (by default, I bring the value of 0). By adding this item, I send it to…
-
0
votes1
answer315
viewsQ: Load a Listview into a Fragment from a Fragment
I’m in the following situation: I have a Tabbar with 2 Fragments (Productofragment and Carrinhofragment). Inside the Productofragment I have a Listview with an add button that triggered, adds an…
-
1
votes1
answer63
viewsQ: getView is not being called but getCount has items in Listview
I’m having a problem with a Listview that isn’t loading the values. That’s my situation: I have an application that at a certain point opens a Tabbar with 2 Fragments and inside one of these…