Вопрос

Я работаю над проектом веб -разработки, который я хочу убедиться, что хорошо работает в браузере BlackBerry. В рамках как тестирования, так и документации я хочу иметь возможность сделать скриншоты моего приложения и задавался вопросом, с чего начать.

Я вижу, есть несколько заявок на оплату на BlackBerry App World Когда я ищу Скриншот, но я ищу рекомендации или другие варианты. В частности, у меня смелый 9700 (v5.0.0.296, платформа 5.1.0.83).

Похоже, эта функция встроена в iPhone, согласно Руководство пользователя iPhone.

Сделайте скриншот дисплея iPhone: быстро нажмите и выпустите кнопки Sleep/Wake и Home одновременно.

Это было полезно?

Решение

Вы можете написать свое собственное приложение или сервис для создания скриншотов.

Использовать
Display.screenshot (растровое растровое изображение)
или же
Display.screenshot (растровое растровое изображение, int x, int y, int width, int height)

Примечание: вы должны знак приложение для использования этого API

Другие советы

If you have the developer tools installed, you can use "javaloader -u screenshot file.bmp" to capture a screenshot. Otherwise, the easiest way is to install a PC app called Master Control Program which has the capability to capture screenshots as well (as long as you have your device connected to your PC with a USB cable).

I get BlackBerry screenshots in two ways:

-On real devices I connect them to my PC over USB and run javaloader -u screenshot image.bmp from the command line (as Marc says, it's included with the developer tools).

-The BlackBerry Simulator makes it easy to take screenshots by pressing F3 (or choosing Edit -> Save LCD Snapshot from the menu, note you can choose to save directly as a .png, which is handy). You can change which phone model to simulate based on the SDK you have installed. For the 9700 I think you will need the V5.0 OS SDK (I haven't tried that yet), which you can get from here.

BBScreenShooter http://oppitronic.net/pb/ouiVC.php#BBScreenShooter

I've also heard of something called BB Stream that will actually stream the blackberry screen to your PC. Can't find it anywhere though.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top