Posts by MarcoAF • 181 points
9 posts
-
4
votes2
answers837
viewsQ: Android Progressdialog does not appear
I am trying to show a Progressdialog in the process of downloading a binary file, however this does not appear, and I get no error either. I will briefly explain the way I have structured code In my…
-
4
votes1
answer572
viewsQ: How to return more than one value using an Asynctask on android?
Briefly, my class that extends an Asynctask, downloads a series of data byte type, then I need to perform some calculations with this data, and finally return all these values to my Mainactivity.…
-
0
votes1
answer267
viewsQ: Using double type in c++ can be "faster" in terms of running time than using floats?
I have a program developed in c++ in visual studio, which processes a huge amount of data! This program can use both float and double type data, and this specification is made as follows: typedef…
-
3
votes1
answer391
viewsQ: Error Pointer to pointer in c++!
I created a Matrix class, to manipulate a matrix. In the class statement I have the following members (publicos): class Matrix{ public: unsigned char **mat; //ponteiro para ponteiro de uchar int…
-
1
votes1
answer110
viewsQ: Why does Bitmap get bigger when loading it from the res/drawable-mdpi folder?
I developed an application where I download a JPEG image (size 184x274) from a URL. When downloading from the URL I get a bitmap of 184x274 pixels, that is to say it has the same dimension as the…
-
0
votes1
answer352
viewsQ: Resolve android.os.Networkonmainthreadexception error in an android application that works as a client to receive images from a server
I’m trying to make an Android app that will fetch an image from the computer. Server-side code (computer) is already implemented and operational. Using UDP, I ask the server to send me an image and…
-
4
votes1
answer57092
viewsQ: How to resolve java.lang.Nullpointerexception?
I created the class Server! However an Exception of the type is launched java.lang.NullPointerException! I wonder if someone could help me with this problem? The class is as follows: public class…
-
1
votes1
answer125
viewsA: Use of bitmap images in an application
Add the following permission in the manifest.xml: <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
-
0
votes1
answer125
viewsQ: Use of bitmap images in an application
As a trial for the development of a more advanced application, I was trying to make an application that consisted of a button and a component imageView, in such a way that when the imageView a type…