FAQ  •  Register  •  Login

YOUR Tech Support Thread!

<<

Imm0rta1.P

Newbie

Posts: 12

Joined: Sun Nov 28, 2010 7:31 am

Location: Somewhere, over the RaInBoW!

Post Wed Aug 24, 2011 7:06 pm

YOUR Tech Support Thread!

Hello once again, /OT!

Welcome to possibly my best thread yet! YOUR Tech Support Thread!

In this thread, (which I will keep from the Necroforums using forum witchcraft/Bumpcraft), you can post your PC, iOS, Mac (?Experimental?) and Linux/Unix problems and issues and questions here! I will attempt to assist you, but I call upon the community to help battle the endless hordes of fail that bombards our systems day by day. Please contribute!

If you want to contact me directly, and get 1-on-1 tech support for your problem, send me a forum PM. PMs = Priority, but please throw questions out into the thread as I check it daily, and you may get helped faster as someone knowledgable might be on the thread at that time.

Issues don't matter. I can help with anything. Yep, anything (hopefully).

I specialise in OS un/installation, malware removal and security, optimisation, driver issues, iOS firmware and a lot more, so DO NOT hesitate to post your issue!

Thanks for reading, and I hope I can help you with whatever you need assistance with. :)

Imm0/Nerd.
Image[url]
[img]

http://www.haypi.com/forum/viewtopic.php?f=5&t=13519
^^ YOUR TECH SUPPORT THREAD!^^
Get quality support for all your tech needs! Nothing we can't do!
<<

Zate

Marquis

Posts: 430

Joined: Sat Oct 23, 2010 6:11 pm

Location: Nowhere Land

Post Wed Aug 24, 2011 8:59 pm

Re: YOUR Tech Support Thread!

http://www.youtube.com/watch?v=hUA_isgp ... er&list=UL

Here. When this app starts, it force closes. I'm new to java and I don't know what could've happened. This is the code:




package com.thenewboston.travis;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class TheNewBostonActivity extends Activity {
/** Called when the activity is first created. */
int counter;
Button add, sub;
TextView display;

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
counter = 0;
add = (Button) findViewById(R.id.bAdd);
add = (Button) findViewById(R.id.bSub);
display = (TextView) findViewById(R.id.tvDisplay);
add.setOnClickListener(new View.OnClickListener() {

public void onClick(View v) {
// TODO Auto-generated method stub
counter = counter + 1;
display.setText("Your total is " + counter);
}
});
sub.setOnClickListener(new View.OnClickListener() {

public void onClick(View v) {
// TODO Auto-generated method stub
counter = counter - 1;
display.setText("Your total is " + counter);
}
});
}
}




And this is main.xml






<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:weightSum="1">
<TextView
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textSize="45dp"
android:text="Your total is 0"
android:layout_width="fill_parent"
android:gravity="center"
android:id="@+id/tvDisplay"
/>
<Button
android:layout_height="wrap_content"
android:layout_width="250dp"
android:text="Add one"
android:layout_gravity="center"
android:textSize="25dp"
android:id="@+id/bAdd"
/>
<Button
android:layout_height="wrap_content"
android:layout_width="250dp"
android:text="Subtract one"
android:layout_gravity="center"
android:textSize="25dp"
android:id="@+id/bSub"
/>
</LinearLayout>
<<

Imm0rta1.P

Newbie

Posts: 12

Joined: Sun Nov 28, 2010 7:31 am

Location: Somewhere, over the RaInBoW!

Post Thu Aug 25, 2011 5:53 am

Re: YOUR Tech Support Thread!

Hi Zate, welcome to the thread!

I don't have much experience with Java, but I will really look into this. Before I have a solid answer to give you, there are a couple of things you can try doing:

1: Redo it all.

Yep. I know that sounds crazy, but turn the resolution up on the video so that you can see everything more easily, and start over. I program in Visual Basic mostly (although I'm going to learn C++ so that I can actually make something useful) and I can't remember how many times I've copied some code to the letter, (or thought I had), and recieved errors. But, with a simple remake, paying more attention, all was well.

2: Look for spelling mistakes and incorrect spaces.

Another common fix that works for a lot of people. Surf through your code and look for spelling mistakes. I know, sounds stupid, but it's a very common problem. Code typos = fail. Spaces can also be a problem. Have should the code be lolcodeexample1, or lolcodeexample 1? Make sure it's all good.

Give those things a try, and I'll look into the problem. I'll give you a proper answer ASAP.

Good luck.
Image[url]
[img]

http://www.haypi.com/forum/viewtopic.php?f=5&t=13519
^^ YOUR TECH SUPPORT THREAD!^^
Get quality support for all your tech needs! Nothing we can't do!
<<

Imm0rta1.P

Newbie

Posts: 12

Joined: Sun Nov 28, 2010 7:31 am

Location: Somewhere, over the RaInBoW!

Post Thu Aug 25, 2011 5:19 pm

Re: YOUR Tech Support Thread!

Le Bump
Image[url]
[img]

http://www.haypi.com/forum/viewtopic.php?f=5&t=13519
^^ YOUR TECH SUPPORT THREAD!^^
Get quality support for all your tech needs! Nothing we can't do!
<<

Imm0rta1.P

Newbie

Posts: 12

Joined: Sun Nov 28, 2010 7:31 am

Location: Somewhere, over the RaInBoW!

Post Fri Aug 26, 2011 5:57 pm

Re: YOUR Tech Support Thread!

Bump for help.

Still looking into the java issue.

To make up for the inconvenience, I would like you all to have a meme. :)

Image
Image[url]
[img]

http://www.haypi.com/forum/viewtopic.php?f=5&t=13519
^^ YOUR TECH SUPPORT THREAD!^^
Get quality support for all your tech needs! Nothing we can't do!
<<

Zate

Marquis

Posts: 430

Joined: Sat Oct 23, 2010 6:11 pm

Location: Nowhere Land

Post Mon Aug 29, 2011 8:46 am

Re: YOUR Tech Support Thread!

Sorry if I didn't answer, but, I'm having proverbs with internet. I've done it again and it worked, literally copied and pasted...
Thanks.
I'm also happy to see someone other that started with VB. I'll ask more about VB when I'll have a better connection :)
<<

Zate

Marquis

Posts: 430

Joined: Sat Oct 23, 2010 6:11 pm

Location: Nowhere Land

Post Mon Aug 29, 2011 11:00 am

Re: YOUR Tech Support Thread!

Got my Wi-Fi back but I'm in Corse for a week.
I started programming in Visual Basic a few weeks ago.
Here's the question: when you finish a game, you get a score. I want to store this score and get it back when another form opens, like an offline leaderboard. Having an online leaderboard would be awesome, but I'm pretty sure it's a bit hard for me...
Sorry if I won't answer you, but I don't know if I'll have a Wi-Fi.
Thanks a lot for making this thread <3
<<

Storm55

User avatar

Marquis

Posts: 403

Joined: Sun Jan 23, 2011 11:36 pm

Location: Up your butt.

Post Mon Aug 29, 2011 1:54 pm

Re: YOUR Tech Support Thread!

Thanks
Image


Fairytales are more than true not cause they tell us that dragons exist but because they tell us that dragons can be beaten

BRAGGING RIGHTS X1


*Pops Collar*
<<

Imm0rta1.P

Newbie

Posts: 12

Joined: Sun Nov 28, 2010 7:31 am

Location: Somewhere, over the RaInBoW!

Post Fri Sep 02, 2011 11:33 am

Re: YOUR Tech Support Thread!

Bump. This thread n33ds m0ar problems.
Image[url]
[img]

http://www.haypi.com/forum/viewtopic.php?f=5&t=13519
^^ YOUR TECH SUPPORT THREAD!^^
Get quality support for all your tech needs! Nothing we can't do!
<<

Storm55

User avatar

Marquis

Posts: 403

Joined: Sun Jan 23, 2011 11:36 pm

Location: Up your butt.

Post Fri Sep 02, 2011 2:31 pm

Re: YOUR Tech Support Thread!

O. O
Image


Fairytales are more than true not cause they tell us that dragons exist but because they tell us that dragons can be beaten

BRAGGING RIGHTS X1


*Pops Collar*
Next

Return to Off-Topic

Who is online

Users browsing this forum: No registered users and 6 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.