Posts by Emanuel Sobreiro • 105 points
14 posts
-
-4
votes1
answer50
viewsQ: Why Class Object is null?
I don’t understand why but the player object is null , I’m not calling it right ? public class HealthBar : MonoBehaviour { Vector3 localScale; public Transform HealthTransform; public Player…
c#asked Emanuel Sobreiro 105 -
1
votes0
answers76
viewsQ: Load only div from a specific site
Hello I am trying to take all the information from a page to a webview via jsoup but the letters are all deformed when I load and it doesn’t look like this on the site , there is some way to load…
-
1
votes1
answer38
viewsQ: Jsoup doesn’t seem to be working
Hello I have this piece of code that gives a link and that goes online with jsoup takes some information and then puts that information in an Arraylist used in a Listview. But the problem is that I…
-
0
votes2
answers374
viewsQ: Why am I getting the error : android.content.res.Resources$Notfoundexception: Resource ID #0x0
Can anyone explain to me what the mistake is in this code? I honestly don’t understand why I’m getting this mistake ! Java : public class Chose_curso extends AppCompatActivity { private TextView…
-
-1
votes1
answer50
viewsQ: Is there any connection between these two elements of the HTML code?
I’m pulling data from a website with Jsoup but I’m not very good at html. I would like to know if there is any relationship between ".Lin-area-C2" and ".Lin-course-C3". If there is, I’d like to know…
-
1
votes1
answer484
viewsA: Error opening project from another pc
I solved my problem by disabling Instant Run ! Androidstudio -> Preferences -> Build,Execution,Deployment -> Instant Run -> Uncheck Instant Run
android-studioanswered Emanuel Sobreiro 105 -
1
votes1
answer484
viewsQ: Error opening project from another pc
I have a problem , I’ve been working for days on another pc and when I opened the project of this app that when sending was zipped gave me a huge mistake that had never given me before. When I hit…
android-studioasked Emanuel Sobreiro 105 -
1
votes1
answer39
viewsQ: Deformed alertdialog
Good, could someone tell me why my Alertdialog is deformed , with that white piece on top of the text ? Here’s the code I create it in : AlertDialog.Builder builder = new…
-
0
votes1
answer46
viewsQ: Date comparison goes wrong
So I have this code that compares a date to today’s date, but sometimes the dates are as follows: : D/tag: Sat Jul 22 00:00:00 GMT+01:00 2017 <<-Data indicada D/tag: Sat Jul 22 18:57:17…
-
0
votes0
answers122
viewsQ: Perform action by clicking a button on another tab
I have two tabbed activity,I need a program to execute a code snippet whenever a button is clicked on another tab, but this excerpt cannot be Static! How do I do it? Here is the code that has to be…
-
1
votes1
answer84
viewsQ: Is with the same value as the last time it was used
How do I make the value of contador of for start with the same value as the last time it was used? Why this for always starts when I start to activity, and I need him not to start at 1 every time I…
-
0
votes1
answer27
viewsQ: Do not add to database when some value is null
How do I not add to the database when the String dia is null ? Code : public boolean insertData(String disciplina,String sala,String dia,String hora){ ContentValues values = new ContentValues();…
-
1
votes2
answers46
viewsQ: Error in Sqlite class
What am I doing wrong in this class of Sqlite ? I’m getting this error: java.lang.RuntimeException: Unable to start activity…
-
2
votes1
answer3044
viewsQ: How to get the context in a Fragment?
What should I insert into a method that needs the context argument in this Fragment ? public class Tab1tests extends Fragment { private ViewPager mViewPager; private…