Need MAYJOR Android Help {URGENT}

6 replies
Hello,

I'm in a massive struggle here , I have no idea why this won't compile. I've tried everything. Yet , it's probably a small stupid mistake , but I still have no idea.

Thanks

Code:
package com.gta5news.lewis_para_jump;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class Splash extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.splash);
		Thread timer = new Thread(){
			public void run (){
				try {
					sleep(5000);
				} catch (InterruptedException e){
					e.printStackTrace();
				}finally{
					Intent openStartingPoint = new Intent("com.gta5news.lewis_para_jump.STARTINGPOINT");
					startActivity(openStartingPoint);
				}
				
			}
			
		};
		
	};
	
	timer.start(); //WF EDIT THIS IS THE LINE THAT DOESN'T WORK
	
}
#android #mayjor #urgent
  • Profile picture of the author Tim_Carter
    Try an Android forum.

    They can help you fix your Mayjor problem better than we can here.
    {{ DiscussionBoard.errors[5207793].message }}
    • Profile picture of the author simplybeastz
      Originally Posted by Tim_Carter View Post

      Try an Android forum.

      They can help you fix your Mayjor problem better than we can here.
      I fixed that bit , but Now it crashes within seconds.

      Sure , I was just hoping some knew Java.
      {{ DiscussionBoard.errors[5207846].message }}
  • Profile picture of the author MaverickUK
    Have a problem with Android, ask on an Internet marketing forum. Makes sense.
    {{ DiscussionBoard.errors[5207879].message }}
    • Profile picture of the author simplybeastz
      Originally Posted by MaverickUK View Post

      Have a problem with Android, ask on an Internet marketing forum. Makes sense.
      Well Social Media (App) Is internet marketing. Get your facts right before you come up without all guns blazing.
      {{ DiscussionBoard.errors[5207896].message }}
      • Profile picture of the author Terry Crim
        Originally Posted by simplybeastz View Post

        Well Social Media (App) Is internet marketing. Get your facts right before you come up without all guns blazing.

        Yes, but this is not a programming forum.

        Backup one section to the forum listing then scroll down the forum listings and you will see the Programming Forum. Repost this there and see if you get any help.
        {{ DiscussionBoard.errors[5208068].message }}
      • Profile picture of the author salegurus
        Originally Posted by simplybeastz View Post

        Well Social Media (App) Is internet marketing. Get your facts right before you come up without all guns blazing.
        You posted in the wrong forum...
        Although it's become a general post what you want forum lately, the Main forum is "where we talk about making money"
        Signature
        Think of how stupid the average person is, and realize half of them are stupider than that.

        ― George Carlin
        {{ DiscussionBoard.errors[5208897].message }}

Trending Topics