• Member Avatar for Stefce
    Stefce

    Edited Application is crashing on marker click

    Hello everyone i have a problem with my application `onMarkerClick` it works well till i click the marker second time the application crashes here is the code: mMap.setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() { …
  • Member Avatar for Stefce
    Stefce

    Edited Application is crashing on marker click

    Hello everyone i have a problem with my application `onMarkerClick` it works well till i click the marker second time the application crashes here is the code: mMap.setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() { …
  • Member Avatar for Stefce
    Stefce

    Created Application is crashing on marker click

    Hello everyone i have a problem with my application `onMarkerClick` it works well till i click the marker second time the application crashes here is the code: mMap.setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() { …
  • Member Avatar for Stefce
    Stefce

    Began Watching Application is crashing on marker click

    Hello everyone i have a problem with my application `onMarkerClick` it works well till i click the marker second time the application crashes here is the code: mMap.setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() { …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in Get input from another class

    I tried the intent and it works good but theres one problem every time i click the button it starts new activity and saves it but doesn't close it/finish... also …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in Get input from another class

    Thanks man i think i need the third one because the app needs to update on every user location change and also show notification. I will come with more info …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in Get input from another class

    Woow that was really big embarrassing :D but still i dont get it.. i have changed again with return value into apply but now application crashes if you are avuncular …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in Get input from another class

    Error:'void' type not allowed here **EDIT:** the default radius i want to set is on 500 metters, is there any way that to be changed after circle is created ?
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in Get input from another class

    Hmm i dont get it i have tryed the following code but i have another problem here... i cannot use `sa.apply()` in the `.radius()` method This is **SettingsActivity.java** public int …
  • Member Avatar for Stefce
    Stefce

    Edited Get input from another class

    Hello guys i have a really dumb problem i have two classes the first class is where the input value needs to be applied/readed and the second is where is …
  • Member Avatar for Stefce
    Stefce

    Created Get input from another class

    Hello guys i have a really dumb problem i have two classes the first class is where the input value needs to be applied/readed and the second is where is …
  • Member Avatar for Stefce
    Stefce

    Began Watching Get input from another class

    Hello guys i have a really dumb problem i have two classes the first class is where the input value needs to be applied/readed and the second is where is …
  • Member Avatar for Stefce
    Stefce

    Created Create circle around marker on google maps

    I want to create circle around marker but im having some troubles i have this code Circle circle = mMap.addCircle(new CircleOptions() .center(new LatLng(-33.87365, 151.20689)) .radius(10000) .strokeColor(Color.RED) .fillColor(Color.BLUE)); this code is …
  • Member Avatar for Stefce
    Stefce

    Began Watching Create circle around marker on google maps

    I want to create circle around marker but im having some troubles i have this code Circle circle = mMap.addCircle(new CircleOptions() .center(new LatLng(-33.87365, 151.20689)) .radius(10000) .strokeColor(Color.RED) .fillColor(Color.BLUE)); this code is …
  • Member Avatar for Stefce
    Stefce

    Created Installing Android Studio PROBLEM!

    I have a problem with installing Android Studio i followed thenewboston youtube channel for installing it and when i try to run it shows me some errors: `C:\Users\MONSTER\AppData\Local\Android\sdk\tools\emulator.exe -avd Nexus …
  • Member Avatar for Stefce
    Stefce

    Began Watching Installing Android Studio PROBLEM!

    I have a problem with installing Android Studio i followed thenewboston youtube channel for installing it and when i try to run it shows me some errors: `C:\Users\MONSTER\AppData\Local\Android\sdk\tools\emulator.exe -avd Nexus …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in PHP upload files to database

    BTW this code it stores the name in database but the picture is in folder `uploads` into the website file directory, i cant understand how can that picture be shown …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in PHP upload files to database

    So this should be like this ? if (move_uploaded_file($_FILES["fileToUpload"]["tmp_name"], $target_file)) { echo "The file ". basename( $_FILES["fileToUpload"]["name"]). " has been uploaded."; $sql = "INSERT INTO `pictures` VALUES ('', '".$_FILES["fileToUpload"]["name"]."')"; $result …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in PHP upload files to database

    I forgot to upload the code... <?php $target_dir = "uploads/"; $target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]); $uploadOk = 1; $imageFileType = pathinfo($target_file,PATHINFO_EXTENSION); // Check if image file is a actual image …
  • Member Avatar for Stefce
    Stefce

    Created PHP upload files to database

    Hello i want to make upload button so users can upload images/gifs/videos/music but i cannot understand how i can do that i fuond a code on w3schools but it just …
  • Member Avatar for Stefce
    Stefce

    Began Watching PHP upload files to database

    Hello i want to make upload button so users can upload images/gifs/videos/music but i cannot understand how i can do that i fuond a code on w3schools but it just …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in Grid System

    Here it is from w3schools.. upload.php <?php $target_dir = "uploads/"; $target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]); $uploadOk = 1; $imageFileType = pathinfo($target_file,PATHINFO_EXTENSION); // Check if image file is a actual image …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in Grid System

    Please if anyone could help me with this problem ?
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in Grid System

    anyone ?
  • Member Avatar for Stefce
    Stefce

    Edited Grid System

    Hello i have three colums which i want to make users can upload pictures/videos and automaticly to add to one of the colums but i cannot figure out how to …
  • Member Avatar for Stefce
    Stefce

    Created Grid System

    Hello i have three colums which i want to make users can upload pictures/videos and automaticly to add to one of the colums but i cannot figure out how to …
  • Member Avatar for Stefce
    Stefce

    Began Watching Grid System

    Hello i have three colums which i want to make users can upload pictures/videos and automaticly to add to one of the colums but i cannot figure out how to …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in PHP unique ticket ID

    Okay thanks, i think i've got it.. i need to define panel id which will be the ticketID and from there i need JavaScript to hide the panel if that's …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in PHP unique ticket ID

    Actually i have two modals in this file, first is on the top of the body and have nothing to do with the loop and the second is in the …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in PHP unique ticket ID

    But the same code works on another file here it is... <form action='home.php' method='POST'> <table> <tr> <td> <table id='t01'> <thead> <tr> <th colspan='2'> <button name="share" class="share_button" value="<?= $ticket_id ?>" type="submit" …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in PHP unique ticket ID

    Oops.. that was a misstake i have deleted that it was there from before because the lines are copied btw i will pot the full script and yes it is …
  • Member Avatar for Stefce
    Stefce

    Edited PHP unique ticket ID

    I have a problem with this code and i really can't understand what is it.. i have unique ID for every ticket and it works good but i have made …
  • Member Avatar for Stefce
    Stefce

    Created PHP unique ticket ID

    I have a problem with this code and i really can't understand what is it.. i have unique ID for every ticket and it works good but i have made …
  • Member Avatar for Stefce
    Stefce

    Began Watching PHP unique ticket ID

    I have a problem with this code and i really can't understand what is it.. i have unique ID for every ticket and it works good but i have made …
  • Member Avatar for Stefce
    Stefce

    Marked Solved Status for Bootstrap close div box

    Hello everyone i started learning bootstrap for a while and i want to make close button for div boxes i have this code but the X button doesn't work: <div …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in Bootstrap close div box

    Thank you very much the code works :)
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in Bootstrap close div box

    With this code dissapears just the first row where the close button is
  • Member Avatar for Stefce
    Stefce

    Created Bootstrap close div box

    Hello everyone i started learning bootstrap for a while and i want to make close button for div boxes i have this code but the X button doesn't work: <div …
  • Member Avatar for Stefce
    Stefce

    Began Watching Bootstrap close div box

    Hello everyone i started learning bootstrap for a while and i want to make close button for div boxes i have this code but the X button doesn't work: <div …
  • Member Avatar for Stefce
    Stefce

    Marked Solved Status for How to insert and select from two tables ?

    i cannot select from two tables but i have the right code here it is: $sql = "INSERT INTO ticket (senderName, receiverName, `Date`, ticketID, match1, match2, match3, match4, match5, match6, …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in How to insert and select from two tables ?

    read the full question and code...
  • Member Avatar for Stefce
    Stefce

    Created How to insert and select from two tables ?

    i cannot select from two tables but i have the right code here it is: $sql = "INSERT INTO ticket (senderName, receiverName, `Date`, ticketID, match1, match2, match3, match4, match5, match6, …
  • Member Avatar for Stefce
    Stefce

    Began Watching How to insert and select from two tables ?

    i cannot select from two tables but i have the right code here it is: $sql = "INSERT INTO ticket (senderName, receiverName, `Date`, ticketID, match1, match2, match3, match4, match5, match6, …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in check if username and ticket exist

    I realized that i need to select from two tables first the `(ticket_id) from kladilnica` and secound the `(Username) from users` to check if exists, so i searched and found …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in check if username and ticket exist

    Here is again the whole query: <?php if(isset($_POST['sendTicket'])) { $ticketID = $_POST['ticketID']; $ticketReceiver = $_POST['ticketReceiver']; $ticket_id = getUserData('kladilnica', 'ticket_id'); $sender = getUserData('users', 'Username'); if(!empty($ticketID) && !empty($ticketReceiver)) { $sql = "INSERT …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in check if username and ticket exist

    Nope
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in check if username and ticket exist

    I tried that but again it gives me the error `Invalid Ticket or Receiver`
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in check if username and ticket exist

    so any other options about this problem ?
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in check if username and ticket exist

    I have do it like that because of the post if have `` theese it will be outsite the box something like this `AND `Username`='VladoRafa' Error: You have an error …
  • Member Avatar for Stefce
    Stefce

    Replied To a Post in check if username and ticket exist

    here is the full error message `Fatal error: Wrong SQL: INSERT INTO ticket (senderName, receiverName, Date, ticketID, match1, match2, match3, match4, match5, match6, match7, match8, match9, match10, match11, match12, match13, …

The End.