Posts by Messias Lima • 199 points
11 posts
-
0
votes1
answer37
viewsA: Maps KEY is not working
The Keys of the google console Apis, in development time, are linked to a debug Keystore that is generated at the time of installation of the android development tools. With the new installation,…
-
0
votes1
answer1191
viewsA: Get the phone chip number
To use You need the permissions of READ_PHONE_STATE, READ_SMS, READ_PHONE_NUMBERS getLine1Number()…
-
0
votes1
answer42
viewsA: wanted my presentation slides to appear only once when the app is installed?
Ideal is that Voce uses Sharedpreferences for this. When entering the slide screen, Voce should save an "ECRA_TAL_FOI_ABERTO" flag as true. And when entering the app, you should check if this flag…
-
1
votes2
answers11462
viewsQ: Pass an object as a parameter to another Component using Angular 2?
I’m a beginner in Angular 2 and need to open a page (Component) and pass an object to it. Routes are mapped and in function calcularResultado, need to send the questoes object to the Component…
angularasked Messias Lima 199 -
0
votes1
answer122
viewsA: When you place several graphs on a page, the graphs repeat the points of the previous one
I managed to find the problem The method getListaDeLeiturasNoHashMap() used the variable leiturasHashMap that was global var getListaDeLeiturasNoHashMap = function (grandeza) { for (var i = 0; i…
-
0
votes1
answer122
viewsQ: When you place several graphs on a page, the graphs repeat the points of the previous one
I am developing an application using Angularjs and Highcharts, which: 1-Recovers a list of objects from a Webservice function getColetorPorSala() { webService.getColetores($scope.device,…
-
3
votes1
answer5281
viewsQ: How to import an android project as a module in Android Studio?
I’m trying to import a project Android as a module of another project: But when I try to import, Gradle makes a mistake saying he can’t find the method android() in the archive build.gradle module.…
-
1
votes2
answers671
viewsA: In java, how to make only one Jframe window close when clicking on the x instead of all?
Put in the class that extends Jframe setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
-
0
votes1
answer752
viewsQ: Activity background image distorts when you open the keyboard
I’m developing an app that has a background image of the image. But every time I open the virtual keyboard to fill a field, this image is flattened. How do I make it not happen?…
-
11
votes3
answers11380
viewsQ: How to copy objects in java
You can make an object copy in Java? MinhaClasse mc = new MinhaClasse(); MinhaClasse mc2 = mc; But I wanted to make changes in mc2 unaffected mc.…
javaasked Messias Lima 199 -
0
votes2
answers3201
viewsA: How to display incoming variables in a Jframe?
Could create methods Static in the class that extends Jframe? You would update the information by these methods and could access it from outside the class.