Jump to content


  • Content count

  • Joined

  • Last visited


This user doesn't have any awards

About Flanelman

  • Title


  • CPU
    i7 4720HQ
  • RAM
  • GPU
    GTX 970M
  • Storage
    1tb 7200rpm
  • Display(s)
    1920x1080 matte 15'6
  • Keyboard
    Corsair K50
  • Mouse
    Corsair M95
  • Operating System
    WIN 7 X64

Profile Information

  • Gender

Contact Methods

  • Steam

Recent Profile Visitors

793 profile views
  1. Android app crashes after adding ButtonHandler?

    Ah, yep, I feel like an idiot. I didn't even think it could be an XML problem! I deleted my "submit_btn" and replaced it with "submit_button" so I was calling a button that no longer existed. Thank you!
  2. Hey guys, so I'm trying to make a sign up page, however whenever I add the Button handler to my button it crashes before it even loads the activity. So it isn't happening on the button click, but when the activity starts to load. If I remove the line where I attach my button handler to my button ("submit_btn.setOnClickListener(new ButtonHandler());") it launches and runs fine. Here is the code: public class SignUp extends AppCompatActivity { private Button submit_btn; private EditText name_txt; private EditText age_txt; private EditText height_txt; private EditText weight_txt; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_sign_up); setup_activity(); } private void setup_activity() { //set up on screeen controls submit_btn = (Button) findViewById(R.id.submit_btn); name_txt = (EditText) findViewById(R.id.name_text); age_txt = (EditText) findViewById(R.id.age_txt); weight_txt = (EditText) findViewById(R.id.weight_text); height_txt = (EditText) findViewById(R.id.height_text); //assign handlers submit_btn.setOnClickListener(new ButtonHandler()); //runs fine without this line } private class ButtonHandler implements View.OnClickListener { @Override public void onClick(View view) { submit_btn.setText("success"); } } } Would appreciate any help, been struggling with this for way too long. Thanks in advance!
  3. Yeah I'm using an admin user, I can't think of anything else that could prevent it tho since it's at factory settings?
  4. That's what comes installed with Windows 10 right? So you don't think I need an external Anti Virus?
  5. Hey guys, so i reset windows this morning and now i'm unable to install anti virus? I tried Avast and AVG and both fail during installation. I've tried starting the install again multiple times and re downloading but neither will work. AVG just says "There was an error while completing the setup process" and Avast says "Avast installer is unable to continue because the installer is corrupted or is forbidden to run on this machine" Does anyone have any idea what's going wrong? Any help would be much appreciated, thanks.
  6. All games low fps after windows update?

    Yeah re installing my GPU drivers fixed the issue, thanks!
  7. All games low fps after windows update?

    Just checked and it's set to use the 970m so unfortunately that's not what's causing it.
  8. Hey guys, so I finally did the windows update it's been asking me to do but ever since I did, I can't play any game without it having a really low frame rate. Even easy to run games like Dota 2 or Smite won't run and games that I used to get 60+fps on are now running at around 20 fps. I checked all my drivers were up to date and I've checked my temperatures in case they had something to do with it but they're fine too. Here's my specs (Laptop): GTX 970M i7 4720HQ 16gb ram 1TB 7200RPM If anyone can help me out it would be greatly appreciated!
  9. Hey guys, So I'm trying to pass a variable into a Where clause in SQL (within PHP) but I can't seem to figure out how to do it, I've had a look on stack overflow but everything I found just looked completely different. I'm sure it's pretty straight forward but I just can't figure it out so I would appreciate any help you guys have to offer! Here's what I've tried: $name = $_POST['studentName']; $getID_query = 'SELECT studentID from student_tbl WHERE firstName=($name)'; $getID_query = 'SELECT studentID from student_tbl WHERE firstName=$name'; $getID_query = 'SELECT studentID from student_tbl WHERE firstName=' $name; $getID_query = 'SELECT studentID from student_tbl WHERE (firstName=$name)'; error: Column not found: 1054 Unknown column '$name' in 'where clause' $name definitely has data as I printed it to the console to check. Also is the value that this query returns stored in "$getID_query"? so if I echo'd $getID_query after the select statement would it print out the selected studentID? Thanks in advance
  10. working JSFiddle code not working in browser

    MY BAD, I forgot to include JQuery, just incase anyone else encounters something similar: Add this line into your <head> tag: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  11. Hey guys, So I'm trying to run some code on my webpage, it works in JSFiddle but it isn't working on my actual web page for some reason. here's the JSFiddle: http://jsfiddle.net/ZakPowley/37PGT/20/ I even made a file containing nothing but the code from within the JSFiddle and even that doesn't work? here is the file contents incase I messed something up: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="checkpoint.css"> <title> </title> </head> <body> <table id="table"> <tbody> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td> </td> <td> </td> <td> </td> <td> </td> <td> </td> <td> </td> <td> </td> <td> </td> <td> </td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> </tbody> </table> <script type="text/javascript"> $('td').click(function() { $(this).css('backgroundColor', '#000'); }); </script> </body> </html> If anyone has any idea what I've done wrong would greatly appreciate some help, thanks!
  12. 10x10 table and store X/Y of cell selected?

    Awesome, I'll give this a watch, thanks!
  13. 10x10 table and store X/Y of cell selected?

    I'm not too good with it, but I'm willing to try!
  14. Hey guys, I was hoping to somehow implement a 10x10 table onto my webpage where you select a cell and then store the X and Y value of the cell clicked but I'm really not sure on how to store the values, or to make the cell interactive (clickable) without having 100 buttons. My end goal is pretty much something like this: http://materdeimath.pbworks.com/f/GraphPaper20x20AxesUnits.bmp Where I can store the X/Y values of the clicked cell, is this possible? If any of you guys have any idea how I would accomplish this I would really appreciate the help, Thanks!
  15. div content change on button click? JS/JQ/HTML

    Ah I knew it would be a basic mistake I made! Thanks so much for the help, you're a life saver!