Posts by Thiago Saad • 1 point
24 posts
-
0
votes2
answers161
viewsA: Null Object Reference when opening a Dialog Fragment
I bypassed the error as follows: 1) I removed the function displayGPSFragmentDialog() from Class Gpsfragmentactivity 2) Insert this function in Mainactivity (Aboutscreen) as follows: public void…
-
0
votes2
answers1196
viewsA: Consuming Json[Array & Object] on Android
I considered @Leonardo Lima’s reply But I changed the code and used the Volley For those who want to learn to do the same as me, I used the following: package…
-
0
votes2
answers161
viewsQ: Null Object Reference when opening a Dialog Fragment
Making a mistake opening a Dialog Fragment in a another Activity using a method. ERROR: 07-06 11:21:25.145 18783-18783/com.vuforia.samples.Books E/Androidruntime: FATAL EXCEPTION: main Process:…
-
0
votes0
answers44
viewsQ: Modals superimposing the Canvas
My modals they are superimposing the screen when I do the test in real time via github in case the test is done on my own machine opening the file . html they look perfect. GITHUB MY MACHINE HTML…
-
1
votes2
answers1196
viewsQ: Consuming Json[Array & Object] on Android
According to the comments from some users of this forum, I read some articles talking about more or less what I wanted to do. Read article: consuming JSON From of this I I tried to create my own…
-
1
votes2
answers426
viewsQ: Object Syntax Problems in Json?
I’m having trouble in syntax of shoppingsObj, why are you making this mistake? Expected a JSON Object, array or literal. shoppingsObj = { "shoppings": [ { "nome": "Bangu Shopping", "licenseKey":"0",…
jsonasked Thiago Saad 1 -
0
votes0
answers26
viewsQ: Creating Responsiveness with Types of Densities
I have some huge curiosities in the following question: For each type of Density we created types of folders, as an example: drawable-xxhdpi - [Imagery] layout-xxhdpi - [XML] values-xxhdpi -…
-
0
votes1
answer122
viewsQ: How to add Shadow effect to a Framelayout?
I’d like to add an effect shadow which results in a bounce of the screen, like this below: Google image: Code <?xml version="1.0" encoding="utf-8"?> <RelativeLayout…
-
0
votes2
answers39
viewsA: Framelayout does not show my Textviews
I managed to solve my problem. What was happening was this: I added the following tag on a Textview and Imageview, but for some reason she "Buga" the layout and happens the problems I mentioned in…
-
0
votes2
answers39
viewsQ: Framelayout does not show my Textviews
Man Framelayout out of nowhere bugged and is no longer showing the data received from Json in my Texview on the part of Header. Even if I add a text it shows nothing. XML: <FrameLayout…
-
0
votes3
answers83
viewsQ: Is SEO possible with site that contains only Images?
I don’t know much about SEO and insertion of the site in search engines. I have a website, however I only use image in it, the maximum text I put is the phone and address. What do you think about…
seoasked Thiago Saad 1 -
1
votes2
answers123
viewsQ: Problem with If Logic with GPS on Android
How It Works: User’s GPS latitude must be between -22.899529 and -22.899922 so that if brood one perimeter. The app will only work some features if you are within this perimeter . Observing: 1) I…
androidasked Thiago Saad 1 -
0
votes1
answer31
viewsQ: How to adjust the Responsiveness of a Value?
I have a "value" of a "form" that has a text "Say hello". I need to increase the font-size that is there. How I do? HTML5: <section class="block-body"> <div class="row"> <div…
-
1
votes1
answer1114
viewsQ: How to pass information between screens, using Bundle and Classes with Get and Set?
I’m trying to pass information from one screen to another. I’ve tried to (2) two manners: 1) I created a class only to create variables and encapsulate the methods 2) Now, I’m trying to get past…
-
3
votes1
answer334
viewsQ: How popular is Alertdialog in Android Studio?
I’m taking a shit here from Java and Android Studio. I have already created an Activity + Dialogfragment, Location information does not pass from the Activity screen to Dialogfragment! Now I’m…
-
0
votes1
answer662
viewsA: tag <video> does not work on android phones
Without the code it’s hard, but come on.. 1) Script to add simple video file on page <!DOCTYPE html> <html> <head> <title>HTML Video Tag Example</title> </head>…
-
2
votes1
answer1001
viewsQ: How to open a Alertdialog?
Well, I’m learning now about Fragments. From what I understand, fragments are components, something you want to repeat on several screens, without having to keep creating several classes or…
-
-3
votes1
answer724
viewsA: Generate an APK per command line?
Android uses the Ant building system. So you can create a xml build. and archive build properties. for your project. You will need to create the xml build. file first however: android update project…
-
2
votes1
answer636
viewsQ: How does the use of DPI Layouts and Redeemers work?
In the Android there are so-called "DPI", who are pixel densities. Each screen has its kind of DPI as an example: Smartphones: layout [?] layout-ldpi [240x320 & 240x400] layout-mdpi [320x480…
-
1
votes2
answers1100
viewsQ: Intent stopping the App in Android Studio
I have a problem with Intent, something that was supposed to be simple is causing me problems... I’m trying to create a second button for call another screen, but as soon as I add the following code…
-
2
votes2
answers5047
viewsQ: How to properly organize DP and DPI for each screen type on Android?
Is there any kind of formula or way to know the following questions without having to "build" all the time to check? How to know if that Image/Text/Button or whatever is visibly good for the user on…
-
0
votes1
answer260
viewsA: Code::Blocks doubts
1-How do you put it as a pattern? unintentionally at first when he asks the question I asked not to question more unintentionally and now even reinstalling not appear more. I didn’t quite understand…
-
8
votes2
answers5167
viewsA: What is "stdafx. h" and what is its importance?
By definition "Stdafx. h" is a precompiled header. Precompiled (once compiled it is not necessary to compile it again). Precompiled header stdafx. h is basically used in Microsoft Visual Studio to…
-
2
votes4
answers191
viewsA: Can you make one simpler than that?
Below I will be explaining your doubt in your code and soon after I will be making a code for you upon your reasoning. Your code: The j in your code you will be receiving the whole F. How you left…