blackberry-simulator

How to access localhost websites through http request from blackberry simulator?

喜欢而已 提交于 2019-12-11 12:24:46
问题 I am developing a blackberry application and i wanted to access the websites from my localhost( local machine). I am running the application on blackberry simulator 8350. From my code i can browse request any website from internet and i am getting the response. When i am trying to give the url as localhost:8080/portal/index.php, its displaying me a erro message HTTP Error 404 description The requested resource (/portal/index.php) is not available. I am running my apache webserver on port 8080

Problem in starting blackberry Maps in Simulator

落爺英雄遲暮 提交于 2019-12-11 07:39:28
问题 i am creating simple application for showing Blackberry map in Blackberry. i was unable to open BB Map through my app. so that i try to open inbuilt Map App that is showing following image i check my MSD setting and my internet is working perfect and i can browse from BB Browser i am using 9530-Verizon-4.7.0.75 what could be problem??? How can i start BB Map in my Simulator?? 回答1: The problem has to do with rendering issue in simulator. I've been through this when developing a map based app.

View changes without restarting Blackberry simulator?

随声附和 提交于 2019-12-11 03:53:35
问题 i am using eclipse and the blackberry simulator for my BB development. is there any way of viewing your code changes without having to close the current simulator session and start a new one? it seems like it's a pain in the rear to activate a new session each and every time (just to see a code change). Of course, if you attempt to run another instance of a simulator in eclipse, you will get a warning dialog stating that "A Blackberry debugging session is already active. Only one Blackberry

How to detect network in Blackberry 10 Dev Alpha Simulator using qnx.net.NetworkManager on Air SDK

南笙酒味 提交于 2019-12-10 22:18:59
问题 I'm trying to detect internet connection of the simulator using this code if ( NetworkManager.networkManager.isConnected(NetworkType.WIFI) || NetworkManager.networkManager.isConnected(NetworkType.CELLULAR) ) { //we have connection!! doSomething(); } else { //no connection =( showError(); } However, this always returns false. It seems that the simulator uses another kind of network not identified by NetworkType constants. I think this happens because VMWare makes connection possible through

How to resolve “This application requires the following module, which is not installed: net_rim_bb_qm_platform”?

时光怂恿深爱的人放手 提交于 2019-12-10 20:29:39
问题 I am testing the BB Application (Beta version) on the simulator. I have run the mds simulator. I have followed this step as well. When i run the mds simulator i am getting this below: <2012-02-23 20:53:58.598 IST>:[47]:<BBM_MDS>:<DEBUG>:<LAYER = BBM, 0 platform ap p controls have been loaded successfully> <2012-02-23 20:53:58.598 IST>:[48]:<BBM_MDS>:<DEBUG>:<LAYER = BBM, Schedule relo ad plugin controls task with interval [86400s]> <2012-02-23 20:53:59.020 IST>:[49]:<BBM_MDS>:<ERROR>:<LAYER =

SMS between two BlackBerry simulators

≯℡__Kan透↙ 提交于 2019-12-10 20:07:14
问题 How do I write a program to send and receive SMS between two BlackBerry simulators using the BlackBerry JDE? 回答1: You need to launch the simulators from the commmand line using these parameters: /sms-source-port={uint} /sms-destination-port={uint} Launch two simulators instances and just switch source & destination ports on them! 回答2: BB KB Article: How To - Send SMS text messages between two BlackBerry Smartphone Simulators 来源: https://stackoverflow.com/questions/1403399/sms-between-two

blackberry “Error Starting Module not found” adding external jar to eclipse plugin

江枫思渺然 提交于 2019-12-10 18:50:21
问题 Help I'm using BlackBerry Java Plug-in for Eclipse Version: 1.3.0 Simulator 9800 I'm trying to run a Midlet that sucessfully runs on j2me emulator(tested). The project compiles fine, but when I run it in the BB simulator it gives me the error: "error starting MyApp: Module J4ME not found. I added a jar file of J4ME as an external jar file. it seems actual j4me jar is not added to the project which is loaded on BB simulator. Anyway, the major problem is that it cannot run in the simulator. I

Debugging blackberry application in eclipse “source not found” problem

纵然是瞬间 提交于 2019-12-10 17:27:28
问题 I am debugging an application in Eclipse. It works fine but at some methods, for example enterEventDispatcher() , it shows me source not found. Which source files should be attached to avoid this problem? I am not getting it clearly. 回答1: It sounds like you are trying to debug into the RIM BB OS code. As far as I am aware, RIM does not provide the source code for their API, so there is no source to attach. 来源: https://stackoverflow.com/questions/5949532/debugging-blackberry-application-in

is it possible in blackberry to capture image automatic

梦想与她 提交于 2019-12-10 12:05:14
问题 I am new in blackberry. i create Application now my requirement is when camera is invoke automatic a picture is capture.Is it possible in blackberry. i am using this code every thing work but not capture picture automatic please suggest what i change on my code it's work on my Application. public class Test extends MainScreen implements FileSystemJournalListener { long _lastUSN; ButtonField btnTakePhoto; String capturedImgPath = ""; VideoControl videoControl; Timer objTimer; Player player;

Splash screen image size

*爱你&永不变心* 提交于 2019-12-10 11:05:37
问题 I am creating a splash screen for my BlackBerry app. Right now the image is not properly placed in all the simulators on which I am testing. What should be the size of my image for the splash screen, so that it fits in all the device sizes? 回答1: The main part is, creating Startup Class which extends UiApplication . This is the StartUp.java public class StartUp extends UiApplication { public static void main(String[]args) { StartUp start=new StartUp(); start.enterEventDispatcher(); } public