Can someone help me with android application project???? it is due very in 5 hou
ID: 669245 • Letter: C
Question
Can someone help me with android application project???? it is due very in 5 hours...I would really appreciate it.
Your GeoTagging should be complete. Make sure you submit the entire project directory as a zip file.
Make sure that your assignment has the following:
Correct Screens (Splash , Menu , User Profile , Game Play , Create Treasure and Help)
User Profile screen is fully functional
Final Exam Game Play screen is fully functional
Create Treasure is fully functional
Help screen is helpful and gives the student credit for the game
Overall layout is enticing and pleasing
While Playing keeps and shows a score of number of treasures found
Explanation / Answer
Hi,
Its not possible to upload zip folder here.Besides, there are no details about what kind of game you want, So I am writing my app code here with all your functionality (Find your complete project in the URL.)
URL : nexcelsion.co.in/Apk/Mr.Nom.zip
1. Here is your Splash Activity Code :
package in.co.nexcelsion.game;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
public class SplashScreen extends Activity {
private static int SPLASH_TIME_OUT = 3000;
private Handler myhandler;
private boolean mIsBackButtonPressed;
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_splash);
myhandler = new Handler();
// run a thread to start the home screen
myhandler.postDelayed(new Runnable()
{
@Override
public void run()
{
finish();
if (!mIsBackButtonPressed)
{
// start the home activity
Intent intent = new Intent(SplashScreen.this, MainActivity.class);
startActivity(intent);
}
}
}, SPLASH_TIME_OUT);
}
@Override
public void onBackPressed() {
// TODO Auto-generated method stub
mIsBackButtonPressed = true;
super.onBackPressed();
}
}
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.