Given that applications for mobile devices are expected to be small and simple,
often with heavy computation off-loaded to a web-service.
Is OO, over and above frameworks such as J2ME, relevant to mobile application programming ?
Would application specific frameworks, say for client specific customization, not be an avoidable overhead...
J2ME String Tokenizer:
public String[] split(String toSplit, char delim, boolean ignoreEmpty) {
StringBuffer buffer = new StringBuffer();
Stack stringStack = new Stack();
for (int i = 0; i < toSplit.length(); i++) {
if (toSplit.charAt(i) != delim) {
buffer.append((char) toSplit.charAt(i));
} else...
Hello experts,
i am creating one java blackberry application.I have webservice which is running on some server. It has some credentials like userid,password.I have to upload some image on server.but how to pass credentials to webservice.
Please Point out on that.
Regards
Pankaj Pareek.
...
Hi,
I was doing some j2mee work on ubuntu linux with Netbeans 6.7.1. I went fine until my notebook broken down. So, I had to move my work on another pc with windows XP on it. All went fine with netbeans settings, etc. However, When I try to build my code, I got error:
E:\silent\kl_stuffs\jagoankomik\nbproject\build-impl.xml:461: Prev...
I'm developing a program written in Java ME for Palm OS that creates a DB, read and write on it too, but I need to know somethings:
How can I create PDB files using Java ME?
When I use a RecordSet on Java ME I'm acessing a PDB?
How to access a PDB in Java ME?
Thanks.
...
D:\j2me\MobileApplication2\nbproject\build-impl.xml:56: Classpath to J2ME Ant extension library (libs.j2me_ant_ext.classpath property) is not set. For example: location of mobility/modules/org-netbeans-mobility-antext.jar file in the IDE installation directory.
BUILD FAILED (total time: 0 seconds)
can anyone help me? i am very new in th...
I'm trying to create a program that emulates the camera. How can I store the Image to a file in the mobile? I am targeting Symbian S60v3, using Nokia N82 for my test mobile.
...
Hi All,
I need to detect when my BlackBerry application is sent to the background and also when it's brought to the foreground again. I need to pause the application when a phone call comes in and resume appropriately.
I assume this must be trivial to achieve but I can't find any reference to how this is done. Please put me out of my m...
I am making the following call in my blackberry application (API ver 4.5)...
public void annotate(String msg, EncodedImage ei)
{
Bitmap bitmap = ei.getBitmap();
Graphics g = new Graphics(bitmap);
g.drawText(msg,0,0);
}
And I keep getting an IllegalArgumentException when I instantiate the Graphics object. Looking at the documen...
i have developed an application in j2me, it is working fine in latest nokia models. But i am facing problem with model 3110.
Problem Description:
in my application i used http connection. it is not getting fired in nokia3110 mobile.
while i am trying to fire it is getting hanged
Here is the sample code:
http1 =(HttpConnection)Connecto...
Hi All,
I am creating a j2me application for mcommerce, which uses mobile internet(gprs). I wanted make it more secured by binding the application to the SIM card and the device. That is a user should be able to login to the system, only using his/her SIM card or from the registered mobile number.
To achieve this I need to fetch the m...
Hi everyone!
I have a date string as input from an rss like:
Wed, 23 Dec 2009 13:30:14 GMT
I want to fetch only the time-part, but it should be correct according to the my timezone. Ie, in Sweden the output should be:
14:30:14
What is the best way? I want it to work with other RSS date formats as well if possible. Im using regexp righ...
There are several publications about patterns in j2me:
Architectural manifesto: The MVC design pattern in MIDP development by Mikko Kontio
Identification of Design Patterns for Mobile Services with J2ME by J. Narsoo and N. Mohamudally
Big designs for small devices by By Ben Hui
Patterns I use sometimes:
MVC - to separate UI from contr...
Hello,
How to upload image with some paramerers.Server has one webservice which has some credentials and it uploading image and write parameters in log file.I write some code but not getting success
On server side one . html file which is calling in url and this .html file calling one script which is written in .php and this php taking...
I would like to get whether (for example) the 3 key is pressed (KEY_NUM3).
I have tried getKeyStates but it only detects the game action keys.
How could I get the states of non-game action keys?
(I have overridden the keyPressed and keyReleased functions of Canvas and storing the key states in an array (I'm using a Vector for storing but...
Why does Sun call their VM for CDC devices C Virtual Machine ? Isn't that confusing. I mean it appears that is a virtual machine for the C language, not java. On the mobility faq sun says:
FAQ question:
What is the difference between a Java virtual machine (JVM) and a C virtual machine (CVM)?
Answer:
The short answer is that ...
We have a web based application in production built using django. It is deployed on nginx proxied with apache which handles the django app via WSGI. OS is Ubuntu.
In addition to the web based front-end, we recently developed a J2ME client for uploading files via mobile phone. The J2ME transfers the file with Transfer-Encoding set as "Ch...
Hi all,
Lets say I have a device which my cell phone can connect to via bluetooth (it can be any device on the market...)
For being able to connect this device using a J2ME application on my cell phone, I need to discover the device first, and then discover the service which the device lets cell phones connect to.
My problem is that I...
Hello ,
i am developing one application in blackberry java development.
I am requesting to http means i am connecting to web service .response of web service taking some time .That time i want to display some waiting screen.
Could you tell me how can i do that....
Regards
Pankaj Pareek
...
Hi,
I have an application for get and send contacts from blackberry but i need to send only updted contacts instead of all, so can i get only updated contacts from blackberry ?
...