我有一部运行 2.2 版 android 的 Android 手机。这款手机的名称是“三星 Galaxy S 魅惑”。它是 Galaxy SI 的加拿大版本。现在,我在这部手机上保存了很多东西,尤其是在我的 SD 卡上。
最近一直忙于在Canvas上开发我的游戏SurfaceView。您可以在底部看到我的 XML 代码。我一直在我的 Eclipse 模拟器上测试我的游戏,但现在因为我的游戏有多点触控,我想在我自己的安卓设备上测试它。
我的电脑上也安装了三星凯斯。
现在你能不能告诉我一个安全的方法来测试我的手机上的游戏,而不会让我的手机内存或其他任何东西损坏或类似的东西?
请给我一个详细的答案,一步一步的指导,因为我才15岁(如果我打破我的手机,我的父母会很生气)
还请告诉我需要添加到 XML 文件中的内容,以确保在手机上安全运行我的游戏。
所以大家只需要一步一步地告诉我,帮助我在手机上运行我的游戏代码……我的代码实际上是安全的,因为它只是在surfaceView 中循环移动图片。我只是想确保 eclipse 对我的设备是安全的,并且我想确保在我的手机上运行不会破坏我的文件、图片和其他内存内容
这是我的清单文件。
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.spaceshipgame.game"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="10" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name=".Splash"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".MainGame"
android:label="@string/app_name" >
<intent-filter>
<action android:name="com.spaceshipgame.game.MAINGAME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
</manifest>