Saturday, 18 August 2012

How to make Android NDK application in eclipse ??


Lets show you how android ndk application is build, Initially, you have to download the android ndk from the below link:


Now, once you downloaded the android link set path of the android-ndk-r8b-windows\android-ndk-r8b. An overview of the android ndk application is describe below:-


Fig.: 1.1: Overview working of android ndk apps.

Step to Uninstall or Removal of Linux from dual boot with Window-7


If you have install Windows 7 (or Vista) and Linux and wanted to remove linux without removing windows OS or formatting the PC. Follow the following steps:

Step 1: Delete the Linux Partion and its Swap area of Linux. Don't delete the swap area of Windows 7 Operating System.

Step 2: Restart the Computer only after step 1. A windows shown below appear


type followiing command to login in Windows 7 Operating System: ----------------------Command for login into windows from GRUB loader-------------------------------- rootnoverify (hd0,0) chainloader +1 makeactive boot __________________________or__________________________________ reboot Through above command you will get login into windows 7 Operating System and restart the computer or Press ctr+alt+del (task manager shortcut) to restart the computer. Step 3: Insert Windows 7 disk before restarting the computer in step 2. step 4: Press a key when you are prompted. step 5: Select a language, a time, a currency, a keyboard or an input method, and then click Next. step 6: Click Repair your computer. step 7: Click the operating system that you want to repair (Windows 7 in this case), and then click Next. step 8: In the System Recovery Options dialog box, click Command Prompt. step 9: Once in the command prompt, type exactly Bootrec.exe /FixMbr and then press ENTER. You will see "operation completed successfully." (Doesnt even take a second. Dont be alarmed ) step 10: Reboot and set BIOS to boot from the HDD again. GRUB will be overwritten in step 7 and Windows bootloader will once again take control of loading your OS(s).

Friday, 6 April 2012




  1.  
Name of the Project
Game Engine

  1.  
Objective/ Vision
  1. Test automation  of gaming application poses many challenges. Testing tools should make sure that functionalities are working as expected. The tools should also make sure that there are no regression from new releases of the application. There could be way to create the test scripts either manually or by recording and then a mechanism to run these created scripts. 
  2. Two major components to be implemented.
a)    Create a test script either by recording or manually
b)    Playback (run) the created scripts.
c)     Report the discrepancies via  playback log


  1.  
Users of the System
Any customer who are developing gaming application

  1.  
Functional Requirements
(Atleast Eight)
i.      Come up with different possible testing scenarios for gaming application.
ii.     A recorder for capturing test scripts
iii.    A mechanism to manually create the test script
iv.    Playback engine to run the created scripts.
v.      Data validation (verification points) capabilities.
vi.    Data drive capabilities for running the script against external data source.
vii.   Playback log for reporting discrepancies
viii.  Integrate with browser or Eclipse IDE



  1.  
Non-functional requirements (Atleast Four)
1 ) Secure access of confidential data (user’s details). SSL can be used.
2) 24 X 7 availability
      3) Better component design to get better performance at peak time
      4) Flexible service based architecture will be highly desirable for future extension

  1.  
Optional features


  1.  
User interface priorities
A. Professional look and feel
B. Use of AJAX atleast with all registration forms
C. Browser testing and support for IE, NN, Mozila, and Firefox.
D. Use of Graphical tool like JASPER to show strategic data to admin
E. Reports exportable in .XLS, .PDF or any other desirable format

  1.  
Reports
At the end of the playback of the script, generate a log for each action that was executed

  1.  
Other important issues


  1.  
Team Size
Min 2 to Max 4 team members

  1.  
Technologies to be used
UML, J2EE, XML, e-Forms, AJAX, Web 2.0, Web-services, SOA

  1.  
Tools to be Used
·         ROSE/RSA / WebSphere Modeler
·         Rational Team Concert
·         Rational Quality Manager
·         Eclipse/ RAD / Lotus Forms Designer / Portlet Factory
·         WebSphere Portal/ WAS/ WAS CE / WPS
·         DB2 Express – ‘C’ or DB2 UDB
·         Tivoli CDP/TSM / Tivoli Directory Server
·         Linux will be the preferred OS.

  1.  
Final Deliverable must include
1)     A documentation on how to use the product
2)     Libraries and Source code of the project

Thursday, 8 March 2012


/**
 *  Program for Photo Flip in javafx 2.0
 */
package flip;

import javafx.animation.Interpolator;
import javafx.animation.KeyFrame;
import javafx.animation.KeyValue;
import javafx.animation.Timeline;
import javafx.application.Application;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.stage.Stage;
import javafx.util.Duration;

/**
 * @author sakura
 *
 */
public class ImageDisplay extends Application
{
private Timeline anim;

public ImageDisplay()
{
anim = new Timeline();
}


public ImageView create()
{
ImageView view = new ImageView(new Image("C:\\Users\\sakura\\Desktop\\player1.png",false));
view.setTranslateX(50);
view.setTranslateY(90);
KeyFrame frame = new KeyFrame(Duration.millis(1), new KeyValue(view.scaleXProperty(), -1, Interpolator.LINEAR));
anim.getKeyFrames().addAll(frame);//,frame1);
anim.setRate(1);
anim.play();
return view;
}
 
public Group root()
{
Group root = new Group();
root.getChildren().add(create());
return root;
}

@Override
public void start(Stage stage)
{
Scene scene = new Scene(root(),800,600);
stage.setScene(scene);
//stage.setFullScreen(true);
stage.show();
}

public static void main(String []args)
{
launch(args);
}
}