Posts Tagged ‘BlackBerry’
Issue with BlackBerry OS 6.0
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!)
BlackBerry Application Platform Services
Como Configurar Sites Hospedados na Locaweb para Instalação de Aplicativos BlackBerry OS
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
Using Sibling COD Files in BlackBerry OS 4.0+
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.
Google Maps for BlackBerry OS API
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
Intent-Based Programming in Java ME
How To – Detect Alt and Shift key clicks
Apps use second only to mobile messaging
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
How to Use Volume Keys to Scroll in BlackBerry OS
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/6340/Simulating_convenience_keys_607495_11.jsp