Posts by IMoonBlackI • 364 points
22 posts
-
1
votes0
answers94
viewsQ: Dynamically editing a variable on android
Hello, I have an Activity that has some Textview fields and right below I am putting some Edittext so that I want to change these fields I insert the data and click on the button and it…
-
1
votes0
answers138
viewsQ: Question of algorithm A*
Hello folks I am making an exercise list on search A* however I do not have the answer, I wonder if my answer is correct. The question and my answer follows in the image. Answer…
artificial-intelligenceasked IMoonBlackI 364 -
1
votes1
answer231
viewsQ: Firebase delay in first database search
Hello I have an order app and maybe he has login registration of everything... However I realized that when do the first search for some data within the application the response time is high and the…
firebaseasked IMoonBlackI 364 -
0
votes1
answer264
viewsA: Firebase ID count - Android
Caique why don’t you do the following creates a variable in the countercounterID firabase that when you create the game you will la and arrow this variable, and in the next changes you can use.…
-
0
votes1
answer383
viewsQ: Switch Android catching Varialvel
I have a Switch component and would like to get its status whether it’s on or off. When searching on the net the examples that I got didn’t work but one worked but it only takes the value when I…
-
0
votes1
answer283
viewsQ: Problems creating Child in Firebase
I’m trying to add dishes to my firebase database but I’m having some problems so far I don’t know why it doesn’t work. and makes this mistake: Process: meals.com.meals, PID: 1585…
-
1
votes1
answer333
viewsA: Popular a spinner with data stored in a node in Firebase for Android
@Brian Moreira I had the same problem to popular the spinner, however I managed making this code I hope it helps you. reference2.addValueEventListener(new ValueEventListener() { @Override public…
-
-2
votes2
answers490
viewsA: Prevent button to be clicked twice on android
What I would do is the following, when the customer clicks to place an order ("finalize order") I would create an Intent sending it to the screen or an order status Fragment.
androidanswered IMoonBlackI 364 -
0
votes1
answer51
viewsQ: Android does not find the local variable, but does not exist
Hello I’m running a debug on this code and at the end it gives this message in debug. Cannot find local variable 'Namespace' However I already searched all my code and I do not find this variable do…
-
0
votes2
answers514
viewsA: Query result null Firebase
The problem of not returning is that I am using a wrong firebase function to make it work should be used query.addChildEventListener(new Childeventlistener() or…
-
0
votes2
answers514
viewsQ: Query result null Firebase
Hello folks I’m having a problem to perform query in firebase database. This is the bank: I’m trying to carry out a search of all the restaurants that have the name Iguatemi, until then according to…
-
0
votes1
answer1096
viewsA: What is the correct type to store phone and address?
In the case of telephone, what is the correct type to store, the landline and mobile phone? With formatting mask or not? It varies from programmer to programmer, but in my case I always do with mask…
-
1
votes1
answer79
viewsQ: Populando Spinner
I have the following doubt I have to use some Arrays List in my project they are... List Restaurant Dishes Restaurant 1 Dishes Restaurant 2 Price Restaurant 1 Price Restaurant 2 Within my Activity I…
-
0
votes1
answer3704
viewsQ: Recovering Data on Firebase Android with Class
I have this bank structure that is this In my class I have a function called getLocal (), where she would take the name Iguatemi. of this structure. However when performing the query it is returning…
-
7
votes2
answers300
viewsQ: heuristica h(n)=0 is permissible for algorithm A*
Hello folks someone can answer this question I’m in doubt. heuristic h(n)=0 is permissible for algorithm A*
artificial-intelligenceasked IMoonBlackI 364 -
0
votes1
answer188
viewsQ: Returning the firebase Father node
Hello guys I’m having a doubt on how to catch the parent node that would be in the case of the image o -Kt... I made some codes but not right. protected void onCreate(Bundle savedInstanceState) {…
-
0
votes1
answer84
viewsQ: Firebase user authentication
I use the firebase password and email authentication feature, but I wanted to get more user info as a phone. You can do this?
firebaseasked IMoonBlackI 364 -
0
votes0
answers578
viewsQ: Creating a PHP network panel
I am with the following doubt I have an oracle database with all the names and ip of the users. I would like to use this database in this code instead of using this array? <!-- painel.php -->…
-
3
votes3
answers99
viewsQ: Placing a vector in decreasing order
I need to create a vector of size N but it has to be ordered down only when I do the code always from 0. public int[] vetor_dec (int n) { int[]vetor = new int[n]; for(int i=n;i>vetor.length;i--)…
javaasked IMoonBlackI 364 -
2
votes1
answer441
viewsQ: Java stack intercalating values
have two stacks have to create the third interleaving the values of the two stacks created the stack and all I’m having a lock to implement the code to interlink follows the code: public class Pilha…
-
0
votes2
answers5641
viewsA: Embed a private video of my Youtube channel on my website
You can do the following : Go to your Video Manager. Locate the video you want to change and click the Edit button. In the "Privacy Settings" drop-down menu, select Not listed Click on Save Changes.…
-
4
votes2
answers2192
viewsQ: Decimal places when using Println in Java
I have the following problem when I have this function printed System.out.println("Area do Tetraedro = " + c1.getArea()); the value of it is very great, example: Tetraedo area = 389.71143170299734…
javaasked IMoonBlackI 364