Not sure why but the chronometer counter will start as soon as the application starts without me clicking the button. Does anyone see what the issue would be? package com.example.android.courtcounter; import android.os.SystemClock; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view.Window; import android.view.WindowManager; import android.widget.TextView; import android.widget.Chronometer; public class MainActivity extends … |
|
Re:
***Please don't post "spam" or "Thank you" posts in this thread since this is meant to be used as a guide for all beginners and I am sure we would like it to be on topic. I hope you understand this.*** **» Introduction to Java «** To start off, [Java](http://en.wikipedia.org/wiki/Java_(programming_language)) … |
|
Noob Question, but I am following this tutorial : https://sites.google.com/site/androidappcoursev3/labs/lab-1#2 and I am getting to the bottom and I am confused on what I am supposed to be doing, am I creating a class or an activity and what does it mean when it says **extends android.app.Activity and implements android.view.View.OnClickListener … |
|
Hello, I was wondering if anyone is familiar with using app inventor 2 as there are a lot of documents and tutorials online for APP inventor 1 the second and current version lacks some tutorials compared to the first. My question is really based on the app I'm creating where … |
|
hello I want a timer in my Access database form using Visual Basic I have the code dim i as integer=0 timer1= i label1.Text = "Remaining time:" + CStr(2500 - j) + "seconds" i = i + 1 If i > 5000 Then Timer1.Enabled = False commandbutton1.text=stop End If which … |
|
Hello I have something for my scripting class I am assigned to do, I can not figure out who to do these set of instructions, I beleive i am supposed to use the tr command, he has 'cut file | tr ":" " " ' on the board. i am … |
|
Hello I have been at this for a few days, and I have not figured it out but feel as if i am very close. I must create A program that takes a users input, then tells the user if that number is prime or composite, if composite it must … |
|
so this is my final grade calculator that i turned in, and my teacher came back and said my IF/ELSE structure was Malformed, Is there something i did poorly, or wrong, what can i do to make it better. any suggestions will be taken accounted for [CODE]#include <stdio.h> int main() … |
|
if the answer is 90 through 100 it displays an A if the number is between 80 and 89 it will Display a B, but if its any number less then that it wont work. what am i missing? [CODE]if((int) total >= 90 && total <= 100) { printf("%c \n … |
|
i got an if statement that will display the letter A and the percent grade if there percent grade is between 90 and 100. and the else statement will do the same but its display a B if the grade is between 80 and 90, my problem is, even if … |
|
I don't know why my code is failing after building, actually i know the char statements are wrong can anyone tell me how i can fix the char statements and make them correct, all i need to do is initialize a single letter using char [CODE]#include <stdio.h> int main() { … |
|
so I want to take the totalPoints divide it by 850 then multiply it by 100 giving me a whole number, my problem is when i use my printf to display the new total it comes out at 0 or a number that i wasnt expecting. [CODE]totalPoints=grade1+grade2+grade3+grade4+midterm+attendence; printf("total points so … |
|
Title kinda says it, I was wondering if anyone has heard of this what im about to ask. If i program code on ubuntu 10.04 using netbeans, and code in C. can I somehow save the file from netbeans, and transfer/make a conversion for the netbeans file to be able … |
|
is there any place i can find some Open Source cell phone code written in Java, where i can use a IDE and check it out and maybe even test it on my phone? |
|
Hello, i have a few questions regarding - writing software and using that software in my cell phone. -Which language is best for cell phone software? - Can i use java, and would that be the easiest? -where do i even start when i begin to write a cell phone … |
|
im just so stressed and having a mind block.. i have code please help [CODE]#include <stdio.h> /*pre-defined processor statements*/ #ifndef __OPERATION__ #define __OPERATION__ #define TOTAL 0 #define ADDITION 1 #define SUBTRACTION 2 #define MULTIPLICATION 3 #define DIVISION 4 #define MODULAR 5 #endif int main() { /*assign the variables*/ int num1 … |
|
[CODE]#define ADDITION = addition #define SUBTRACTION = subtraction #define MULTIPLICATION = multiplication #define DIVISION = division #define MODULAR = modular #endif int main() { int userInput = 0; int userInput2 = 0; int userInput3 = 'A', 'S', 'M', 'D', 'Q'; int sum = 0; // modular is q while m … |
|
Re:
Please can you help me with writing the following C program : Write a program that accepts 10 integer store them in an array and determine the following: 1. sum 11. the average 111. highest 1v. lowest |
|
[CODE]#include <stdio.h> #ifndef __CHARCODES__ #define __CHARCODES__ #define LETTER 1 #define NUMBER 2 #define SYMBOL 3 // sub-type codes #define VOWEL 4 #define CONSONANT 5 #define ODD 6 #define EVEN 7 #define UPPER_ASCII 8 #define LOWER_ASCII 9 #endif int main() { char keyStroke = 0; int typeCode = -1, subTypeCode = … |
|
[CODE]int main() { int assignment1[30]; " "; int assignment2[30]; " "; int assignment3[30]; " "; int assignment4[30]; " "; int assignment5[30]; " "; int assignment6[30]; " "; char totalPoints = "assignment1; + assignment2; + assignment3; + assignment4; + assignment;5 + assignment6;"; printf(" Grade calculator ... By Geoffrey \n\n"); printf(" Please … |
|
Re:
Hey i have a simple output program that i can't seem to figure out Home Owner Price of Home Seller's Cost Agent's Commission Garcia *****100000.00**********6000.00**********1500.00 |
|
Re:
Hello, I'm currently in High School and looking for a career in programming, and my dilemma is this: Game programming or Software Engineering? I have heard the horror stories of terrible hours and bad job security in game programming. But I haven't heard much about software engineering. Please enlighten me. … |
|
I am just starting out in C, i am doing this from what i remembered from the class i take and i just cant find whats wrong with this[CODE]#include <stdio.h> int main() { char lol[30] = ("hello everybody"); printf("%c", lol); return 0; }[/CODE] when i compile, i just keep getting … |
|
:) I am brand new with computer language, and hope to strive in a language that i like, i am have started just alittle bit of learning java, and would love to move on to the next steps in programing software/game development. |
0 Reputation Points
0 Endorsements
Ranked #3K
~11.2K People Reached
Favorite Forums
Favorite Tags