Simples Assim

Posts Tagged ‘BlackBerry

Issue with BlackBerry OS 6.0

leave a comment »

If you get the UiEngine is null ! message, you may want to check if the screen that you’re popping is still in the display stack.

if (scr.isDisplayed())
  app.popScreen(scr);

http://www.blackberry.com/developers/docs/6.0.0api/net/rim/device/api/ui/Screen.html

https://www.blackberry.com/jira/browse/JAVAAPI-1740 (vote for it!)

https://www.blackberry.com/jira/browse/JAVAAPI-1742 (vote for it!)

Written by Fernando Ribeiro

March 31, 2011 at 2:07 pm

Posted in Software

Tagged with

BlackBerry Application Platform Services

leave a comment »

Written by Fernando Ribeiro

March 29, 2011 at 11:08 pm

Posted in Software

Tagged with ,

Como Configurar Sites Hospedados na Locaweb para Instalação de Aplicativos BlackBerry OS

leave a comment »

Crie um arquivo .htaccess no diretório public_html ou em subdiretório dele com o seguinte conteúdo:

AddType application/vnd.rim.cod .cod
AddType text/vnd.sun.j2me.app-descriptor .jad

http://httpd.apache.org/docs/current/howto/htaccess.html

http://fernandoribeiro.eti.br/2011/02/06/installing-blackberry-java-applications-using-a-web-browser-on-blackberry-devices/

Written by Fernando Ribeiro

March 23, 2011 at 12:33 am

Posted in Technology

Tagged with

Using Sibling COD Files in BlackBerry OS 4.0+

leave a comment »

If you get the 907 Invalid COD message when installing apps using a web browser, you need to unzip the COD file in the web server.

As discussed here, files larger than 64 kb are splitted and zipped together.

The size limits for earlier versions are documented here.

Thanks to Régis for the help.

Written by Fernando Ribeiro

March 21, 2011 at 9:26 pm

Posted in Software

Tagged with

Google Maps for BlackBerry OS API

leave a comment »

http://www.google.com/support/forum/p/Google+Mobile/thread?tid=204434c055f16018&hl=en

For the time being, you can use the content handlers for the (undocumented) application/vnd.google-earth.kml+xml (KML) and application/vnd.google-earth.kmz (zipped KML) and application/vnd.google.gmm (unknown) types.

http://www.google.com/support/forum/p/Google+Mobile/thread?tid=74c5186d1799c75e&hl=en

http://en.wikipedia.org/wiki/KML

http://code.google.com/intl/en/apis/kml/documentation/mapsSupport.html

Written by Fernando Ribeiro

March 13, 2011 at 11:37 pm

Posted in Software

Tagged with ,

Intent-Based Programming in Java ME

leave a comment »

It is specified by JSR 211, which is supported by BlackBerry OS 4.3+, at least.

Written by Fernando Ribeiro

March 11, 2011 at 1:31 am

Posted in Software

Tagged with ,

How To – Detect Alt and Shift key clicks

leave a comment »

Written by Fernando Ribeiro

March 7, 2011 at 7:14 pm

Posted in Software

Tagged with

Apps use second only to mobile messaging

leave a comment »

According to the study, commissioned by Wireless Intelligence, the research arm of the GSMA, mobile apps are responsible for 667 minutes of use per user each month, almost as much as messaging (671 minutes), and far more than voice (531 minutes) and web browsing (422 minutes).

Wow.

The research also noted differences between the major smartphone platforms. iPhone and Android device owners use an average of 15 different apps per month, whereas the number is eight for BlackBerry and Symbian OS. iTunes and Android Market Place have a monthly reach of 95  percent of their user bases, whereas Blackberry App World reaches 50 percent of Blackberry users, and Nokia Ovi store only 26 percent of Symbian users.

Sounds right to me.

Overall smartphone usage dropped at weekends but generically averaged more than 70 minutes per day with apps capturing more face time than any other activity at weekends.

The findings showed that SMS usage was higher in the mornings than voice and usage of social networking apps built up through the day and peaked at 9-10pm.

Good data.

http://www.mobilebusinessbriefing.com/apps/article/apps-use-second-only-to-mobile-messaging

Written by Fernando Ribeiro

February 26, 2011 at 8:09 pm

How to Use Volume Keys to Scroll in BlackBerry OS

leave a comment »

import net.rim.device.api.system.Characters;
import net.rim.device.api.ui.component.Field;
import net.rim.device.api.ui.component.ListField;
import net.rim.device.api.ui.container.FullScreen;

public final class SampleScreen extends FullScreen {
  ...

  final Field lstItens = new ListField() {

    protected boolean keyControl(final char c, final int status, final int time) {
      boolean res = true;

      switch (c) {

        case Characters.CONTROL_VOLUME_DOWN:
          SampleScreen.this.scroll(DOWNWARD);

        case Characters.CONTROL_VOLUME_UP:
          SampleScreen.this.scroll(BOTTOMMOST);

        default:
          res = super.keyControl(c, status, time);

      }

      return res;
  }

  add(lstItens);

  ...
}

http://docs.blackberry.com/en/developers/deliverables/11942/Respond_when_a_user_presses_a_volume_key_739700_11.jsp

http://docs.blackberry.com/en/developers/deliverables/6340/Simulating_convenience_keys_607495_11.jsp

Written by Fernando Ribeiro

February 26, 2011 at 5:28 pm

Posted in Software

Tagged with

BlackBerry Storm 3

leave a comment »

Written by Fernando Ribeiro

February 20, 2011 at 5:44 pm

Posted in Business, Software, Technology

Tagged with ,

Follow

Get every new post delivered to your Inbox.

Join 784 other followers