java-me

Eclipse IDE- Add jar? Add External jar? Add Library?

蹲街弑〆低调 提交于 2019-11-27 05:35:56
问题 I want to integrate TwitterAPIME to my Blackberry project. I have 3 Jar files provided by TwitterAPIME . I am not sure how to link these 3 Jar files to my project. My basic doubts are What is an External Jar ? What is a Library ? What's the difference between Adding jar, Adding External jar or Adding Library ? 回答1: What is an External JAR? External as the name suggest is a Jar file that is not built by the currently developing code. It is a utility Jar file that is added externally for extra

Asp.net WEB API - What problems could arise if I use POST instead of PUT and DELETE?

≡放荡痞女 提交于 2019-11-27 05:20:36
I'm just starting to use Web API and though I found it really easy to create the methods and some configurations I needed, now I run into a problem I don't know how to solve. Some of the applications that will consume my services are very old and don't support DELETE and PUT methods (j2me applications for example) I have found that it is possible to do some kind of method emulation by passing something like this : _method=DELETE|PUT However, I'm not really sure if Web API will be able to interpret this and besides, I don't have the faintest idea how to do it. For those reasons I'm thinking in

Best way to really grok Java-ME for a C# guy [closed]

情到浓时终转凉″ 提交于 2019-11-27 05:16:47
问题 I've recently started developing applications for the Blackberry. Consequently, I've had to jump to Java-ME and learn that and its associated tools. The syntax is easy, but I keep having issues with various gotchas and the environment. For instance, something that surprised me and wasted a lot of time is absence of real properties on a class object (something I assumed all OOP languages had). There are many gotchas. I've been to various places where they compare Java syntax vs C#, but there

Blackberry console output

这一生的挚爱 提交于 2019-11-27 04:47:51
问题 I am new in black berry development, just like console output in J2me development and log cat in Android to see the event log of the simulator, is there anything for Blackberry so that I can keep a track on application logging on Blackberry. 回答1: You can use System.out.println() and it will appear in the output window in Eclipse. I would suggest putting some wrapper class around it to emulate some of the features of LogCat, such as making static methods that tag each with [DEBUG], [ERROR],

Bluetooth client/server communication between computer and mobile phone

﹥>﹥吖頭↗ 提交于 2019-11-27 04:38:32
问题 I need just a basic example or tutorial of making a mobile phone and a computer communicate via Bluetooth . A good link/website to start from is also appreciated. Server part (computer part) can be made on many programming languages ( Java , C++ , Python or even something else). Client part (mobile phone) must be a Java Micro Edition MIDlet. 回答1: After many days of research, I managed to make an application that sends (in real time) screenshots of area around the mouse cursor on a computer to

Tab bar in blackberry without ToolBarManager

。_饼干妹妹 提交于 2019-11-27 04:34:41
I want to create a tool bar of exact look and feel for my blackberry project. Any help is greatly appreciated. Please note I cannot use ToolBarManager. My project should support all devices after OS 5.0 Thanks This is a sample code that how to create Tabs in blackberry. I had total 3 screens after statUp (which extends UiApplication) class LoadingScreen.java public class LoadingScreen extends MainScreen { int current_index=0; BottomPanel bottomPanel; public LoadingScreen(int current_index) { this.current_index=current_index; bottomPanel=new BottomPanel(current_index); } public void createGUI()

Is there any option for local database like Sqlite for j2me - CLDC devices?

老子叫甜甜 提交于 2019-11-27 04:01:05
Is there any option for local database like Sqlite for j2me - CLDC devices? PerstLite and OpenBaseMovil are both under dual license. Is there any open source option for this? Or, any alternate way of developing application. from List of Database in J2ME : Apache Derby - an open source relational database / about 2 megabytes Java DB - Sun's supported distribution of Apache Derby database / footprint of 2.5 MB Floggy - free object persistence framework for J2ME/MIDP applications / 11k API J2MEMicroDB - free object persistence framework for J2ME mDrawer - J2ME generic database program with DES

Better approach for XML Creation in Blackberry

主宰稳场 提交于 2019-11-27 04:00:42
问题 I have created XML file,but I can't view it/output it.I know there is no way to output created XML file. Can anyone please suggest what is better way of creating xml files? 1. create xml with DocumentBuilderFactory and then parse it Or 2. manually create hardcoded xml and save it on sd card and then access it for parsing. I have continuosly varying text data in xml files. Which approach will suite me most? 回答1: I'm using kXML2 to create/chage/save/read xml. Using it with BlackBerry remember:

How to use web service in J2ME application?

天大地大妈咪最大 提交于 2019-11-27 03:42:18
问题 Can somebody specify the step for using web services in a J2ME application` I have downloaded Eclipse (SOA), have included the wsdl file in my code and have prepared web service in visual studio 2008. I want to use a .net web service in my J2ME application. Thanks 回答1: You can consume webservices in j2me, following would be the architecture look like, Read More Here is a quick youtube tutorial 回答2: If your phone does not support JSR172, or you want to target every phone in the market, you

Schedule a BlackBerry application

十年热恋 提交于 2019-11-27 03:42:02
问题 I want to schedule my application. 回答1: try this // Get the current application descriptor. ApplicationDescriptor current = ApplicationDescriptor .currentApplicationDescriptor(); // Schedules are rounded to the nearest minute so ensure the // application is scheduled for at least 1 minute in the future. ApplicationManager.getApplicationManager().scheduleApplication( current, System.currentTimeMillis() + 60001, true); For more details you can read this article also. Schedule an application to