project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/SDLActivity.java
branchhedgeroid
changeset 6350 41b0a9955c47
parent 6332 5d9cc2441c48
child 6487 bd3c736c1eac
equal deleted inserted replaced
6348:162fec525764 6350:41b0a9955c47
   275 
   275 
   276 	public void run() {
   276 	public void run() {
   277 		//Set up the IPC socket server to communicate with the engine
   277 		//Set up the IPC socket server to communicate with the engine
   278 		EngineProtocolNetwork ipc = new EngineProtocolNetwork(config);
   278 		EngineProtocolNetwork ipc = new EngineProtocolNetwork(config);
   279 
   279 
   280 		String path = Utils.getDownloadPath(SDLActivity.mSingleton);//This represents the data directory
   280 		String path = Utils.getDataPath(SDLActivity.mSingleton);//This represents the data directory
   281 		path = path.substring(0, path.length()-1);//remove the trailing '/'
   281 		path = path.substring(0, path.length()-1);//remove the trailing '/'
   282 
   282 
   283 		
   283 		
   284 		// Runs SDL_main() with added parameters
   284 		// Runs SDL_main() with added parameters
   285 		SDLActivity.nativeInit(new String[] { String.valueOf(ipc.port),
   285 		SDLActivity.nativeInit(new String[] { String.valueOf(ipc.port),