我的Genymotion安装无法启动我的虚拟设备.相同的虚拟设备在VirtualBox中正常启动.只有黑色的屏幕与右侧的按钮出现在Genymotion.按钮工作(打开对话框),模拟器连接到adb,我可以从Eclipse启动应用程序.

我正在尝试将我的通知状态栏图标设置为动画android.R.drawable.stat_sys_upload,它工作正常,但图标不动画:
private void showStatusNotification() {
    NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
    Builder notificationBuilder = new NotificationCompat.Builder(this);
    notificationBuilder.setAutoCancel(false);
    notificationBuilder.setOngoing(true);
    notificationBuilder.setContentIntent(PendingIntent.getActivity(this, 0, new Intent(this,
            MainActivity.class), PendingIntent.FLAG_UPDATE_CURRENT));
    notificationBuilder.setContentTitle(getString(R.string.notification_title));
    notificationBuilder.setContentText(getString(R.string.notification_text));
    notificationBuilder.setSmallIcon(android.R.drawable.stat_sys_upload);
    notificationManager
            .notify(STATUS_NOTIFICATION_ID, notificationBuilder.build());
}
使用j2objc时,确定当前平台(Android与iOS)的最佳方法是什么?
或者更一般的问题:如何在Android和iOS上使用不同的代码,例如在处理数据库访问或网络时?