J2me - device interaction

Im not really sure what category to put this under, maybe someone has a suggestion. I need to know if it is possible to access certain settings on the mobile device currently hosting the application. For example could the application determine the current screensaver/wallpaper that is currently active on the device. If this isnt practical, what would need to be done in order to have it work. Im not interested in no it cant, but how it can (even if its only theoretical)...and obviously a 'yes its possible' is a best case scenario. any help or guidance would be greatly appreciated.

You'll still get a "no, not possible" for me.
The only way you might be able to do this on the phones running an actual OS, like symbian or windows mobile. But with j2me, not a chance at this moment.

Similar Messages

  • Jpg to png in J2ME device..

    I am considering doing a converter that could read JPG images from server and converts then to PNG and shows on device. I wonder what is the basic approach in case like this. I know there is already made solutions for this, but I want to make one in order to understand more these kinds of things.
    Thanks in advance..

    I tried the server route, but a 30kb JPEG becomes a 210kb PNG, and for downloading over the air on a cell phone, that 7x increase is a painful problem. Downloading the JPEG directly to the J2ME device is definitely the way to go. Pretty lame that J2ME doesn't currently support JPEG natively.
    After many nights of searching the Net for an answer to this question, a kind soul pointed me to the following site, which is 80% of the answer we're looking for:
    http://webuser.fh-furtwangen.de/~dersch/
    Helmut Dersch
    has written/ported a JPEG Decoder that can run in J2ME:
    JPEGDecoder: pure-Java JPEG-Decoder for limited Java APIs (e.g. J2ME)I know that it works (he has a sample app that actually runs on my Treo with a panoramic JPEG image loaded from the resource files). Unfortunately, I haven't been smart enough to write the code yet that would download a JPEG off the web and render it on the screen (without all the Panoramic stuff). Should be simple, though.
    I am sure that it will take 90 seconds for one of you smart folks. If you actually write the code to do this, PLEASE post the source code so that all of us will learn!
    Thanks!!!

  • Problem if mail sent using sockets using j2me devices

    Hi,
    I have a strange problem. I am sending a mail using j2me ( using sockets ). The mail will be sent successfully. But when tried to access using pop service, that mail is never seen in the server.
    I sent a mail from j2me device to gmail account - I can see that mail using the gmail login, but using pop service i am not able to see that mail.
    If I send a mail from browser - I can see the mail in both, the browser and also the pop service.
    Can anyone explain what is the problem ?
    Thanks in advance

    Would you be so kind as to edit your original post and add [SOLVED] to the subject?
    Thanks,
    Craig...

  • J2ME Device Table / Matrix vanished from sun website

    No so long ago Sun hosted a matrix / table of devices which supported J2ME. This was a very cool resource as it made it very easy to find out which devices supported what features.
    I found these items in the web archive :
    http://web.archive.org/web/20060316042422/http://developers.sun.com/techtopics/mobility/device
    http://web.archive.org/web/20070824222640rn_2/developers.sun.com/mobility/device/device
    However when looking on the sun website they seem to have vanished. Any ideas where I can find similar information. I found the Nokia site already, but that only includes details on Nokia phones.

    - if you click on the old location of this page: [http://developers.sun.com/techtopics/mobility/device|http://developers.sun.com/techtopics/mobility/device]
    -- it will redirect you to another page, [http://java.sun.com/javame/index.jsp#devicematrix|http://java.sun.com/javame/index.jsp#devicematrix]
    --- which explains how you can get that information now:
    >
    The Java ME technology Device Matrix has been replaced by a database included with the [Java ME SDK 3.0|http://java.sun.com/javame/downloads/sdk30.jsp], which lets you find technical specifications on mobile devices using the built-in WURFL database search engine. Over 8000 mobile device specifications are available from the Java ME SDK.
    >
    is there something in explanation above that is difficult to understand?

  • Doing XML-RPC on J2ME devices

    I'm interested in doing some very simple XML-RPC (http://www.xmlrpc.com/) on a MIDP1.0 type of device.
    I discovered the useful but now apparently defunct kxmlrpc (http://kxmlrpc.objectweb.org/project/aboutProject/index.html). After spending two days chasing, and finally "fixing", an obscure, missing invocation of parser.skip() in XmlRPCParser.parseValue(), I concluded there has to be a better way to do XML-RPC on J2ME.
    I discovered JSR 172, but it looks like the API encourages SOAP programming, which doesn't meet my XML-RPC requirement. I could find no examples illustrating how to to XML-RPC with JSR 172 interfaces, although this doesn't prove one can't.
    How are people doing XML-RPC on J2ME these days? I'm baffled.
    Thanks.

    For those who may be interested, here are the mods I made to the kxmlrpc XML-RPC parser:
    1. In XmlRpcParser.java, add a parser.skip() before the parser.read() in parseValue()
    parser.skip();
    parser.read( Xml.START_TAG, "", "value" );
    2. In XmlRpcWriter.java, add a writeLegacy() before the methodCall start tag is written in writeCall()
    writer.writeLegacy(Xml.PROCESSING_INSTRUCTION,"xml version=\"1.0\"");
    writer.startTag( "methodCall" );
    Both of these changes probably a result of the difference in the XML-RPC server I used vs. what the author of kxmlrpc used. My XML-RPC server refused to accept the call without the XML processor instruction <?xml version="1.0"?>. And the parser was thowing 'unexpected' exceptions before the whtespace was stripped off the front end of <value> tags coming back in the response.
    In all, kxmlrpc seems to work fine for the basic data structures I'm dealing with (Strings, simple structs). I just wish there was a standard J2ME way of doing this sort of web service.
    http://kxmlrpc.objectweb.org/project/aboutProject/index.html

  • J2ME Devices

    Dear Forum,
    Currently doing some research on J2ME program language on devcies, specifically mobile devices, can anyoone tell me what deveices are currently in market that have this language.
    Look forward to your replies.
    KR
    Philip

    been askin the same meself, so i had to go look, try
    http://www.jguru.com/faq/view.jsp?EID=413339

  • Ok... so iOS5 has brought some cool (and useful) new features.... good job.  However, moving forward I would like to see even more "holding faith" with the overall philosophy of lots of devices interacting with a single data set.

    My first, and perhaps clearest, example here is iMessage.  It's great that I can take and reply to messages on my iPhone and on my iPad as if it didn't matter which device I use.  However, I spend most of my working day on my Mac, and it's a little annoying to have to use one of my other devices to send and receive messages when my most powerful device (my Mac) is right there under my finger tips.  I'm an iChat user, which has some great functionality, but of course it doesn't integrate with iMessage in anyway or Facetime for that matter, even though you can effectively do a "Facetime" call on iChat if the other person has the appropriate user account. 
    So my question/suggestion is - I wonder if there's a way of bringing iChat, iMessage, Facetime etc... all into harmony so that messages, video chatting, screen sharing etc... is dealt with under a single application.  I accept you may have it so that there is more functionality on, say, your Mac (e.g. screen sharing).  But the integration would still be helpful I think.
    Any thoughts (with the hope that Apple will also see these comments/answers/suggestions and take it as food for thought on product development)?
    Incidentally, and also for Apple's benefit, please don't read this message as as meaning that I don't like what's already been done!  It's great and I think it really is moving in the right direction.  It's just that there's still room for improvement.
    Rob

    Thanks for responding Wes.  I've pasted the confusing text from that website referenced in my original post below:
    Ingest movie clips  
    You can ingest entire movie clips or a selected portion of the movie clips (partial ingest). You can also transcode the selected movie clips using more than one encoding option.
         Select File > Ingest. Alternatively, press Ctrl+I (Win) or Cmd+I (Mac OS).
         Navigate to the folder containing media, and click the folder. The contents of the folder are displayed in the center panel.
    Tip: To access folders from which you previously ingested content, use the menu above the panel.
         Do the following based on your requirements:
    To view content as Thumbnails, click the Icon View button.
    To view content as a list, click the List View button.
    To quickly preview the contents of a movie clip, drag the cursor across the thumbnail. You can also click the thumbnail and use the playhead to scrub the movie. Alternatively, use the JKL keys to control playback of the selected thumbnail.
    To change the thumbnail size of movie clips in the panel, use the Zoom slide bar.

  • Exec on j2me device

    I need to open several documents / files out of my j2me application, Images, Videos, Audio Files, Webpaces and so on.
    I want to open them external, not within Java. A kind of system exec that opens a URL.
    Anyone knows how to realize a exec on a j2me devie?

    nope

  • Unsupport US_ASCII error on J2ME device

    i try to consume a webservice with a J2ME-application.
    After i added the webserviceclient+ssl_pj.jar to the classpath and added the license.bea in a classpath folder, i get an "Unsupport US_ASCII" error:
    Unsupport US_ASCII error
    Got error in mds!
    java.lang.RuntimeException: SSL/Export: license signature validation error!
         at com.certicom.net.ssl.SSLContext.getLicenseLevel(Unknown Source)
         at com.certicom.net.ssl.SSLContext.<init>(Unknown Source)
         at weblogic.webservice.client.BaseWLSSLAdapter.getContext(Unknown Source)
         at weblogic.webservice.client.BaseWLSSLAdapter.setTrustManager(Unknown Source)
         at weblogic.webservice.client.BaseWLSSLAdapter._setStrictChecking(Unknown Source)
         at weblogic.webservice.client.CDC.WLSSLAdapter.setStrictChecking(Unknown Source)
         at weblogic.webservice.client.CDC.WLSSLAdapter.<init>(Unknown Source)
         at java.lang.Class.newInstanceImpl(Native Method)
         at java.lang.Class.newInstance(Unknown Source)
         at weblogic.webservice.client.SSLAdapterFactory.createSSLAdapter(Unknown Source)
         at weblogic.webservice.client.SSLAdapterFactory.getSSLAdapter(Unknown Source)
         at weblogic.webservice.tools.wsdlp.DefinitionFactory.<init>(Unknown Source)
         at weblogic.webservice.tools.wsdlp.WSDLParser.<init>(Unknown Source)
         at weblogic.webservice.WebServiceFactory.createFromWSDL(Unknown Source)
         at weblogic.webservice.WebServiceFactory.createFromWSDL(Unknown Source)
         at weblogic.webservice.core.rpc.ServiceImpl.<init>(Unknown Source)
         at server.webservice.MyWebservice_Impl.<init>(Unknown Source)
         at client.test.WebserviceConnect.StartTest(Unknown Source)
         at client.ingo.testgui.TestGUI$StartTestListener.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I get this error every time, i start the application on my pocket pc (J9 J2ME-JVM). On my desktop PC (Java 1.4) it runs without problems.
    Do i get this error, cause i only have a developer license, or what is it?
    Please help.

    /db2/SID/sapdata1 .....
    where SID is actually not SID, but <SID>
    So, if your <SID> is ep1, then the folder is /db2/EP1/sapdata1  
    You may unmount and remount to correctly from OS, or create the link .

  • How to create a .java file through a j2me program?

    I am trying to develop a small application in j2me which needs dynamic creation of a .class file. For this purpose I tried to create .java file through my j2me code, but i could not do that..I want to know whether a java file can be created on a mobile phone or not..
    I would be grateful to you on your help in this regard..

    ...develop a program xyz.java using j2me which performs the following functionalities:
    1.create a file called abc.java
    2.extract its class file...For +1+ ie to create a file (any file, no matter java or not) from j2me, device need to support File Connection specified in [jsr 75|http://www.jcp.org/en/jsr/detail?id=75]. If you're interested, learn the jsr API on how to create and manage needed file.
    For +2+ described as extract its class file one needs to have java compiler (javac) on device. *) If you're interested, ask for more details at [Java Compiler forum|http://forums.sun.com/forum.jspa?forumID=7]. Also, if the class file is for CLDC then javac needs to support "JDK 1.3-compliant" compilation. To create CLDC classes on device, one also needs to have a preverifier tool. Check this at Java Compiler forum if needed.
    Good luck - I think you'll need a lot of it...
    *) javac on device -- it should not only be present but also provide a j2me API allowing to invoke it for particular java file with needed options. Same applies to preverifier tool.

  • How to create JDBC connection in J2ME with MS-SQL server?

    I need to have database connection in PDA with SQL server,as i am new to J2ME ,i dont know how to create jdbc connection on J2ME device.Please help me out with this problem........

    I need to have database connection in PDA with SQL server,as i am new to J2ME ,i dont know how to create jdbc connection on J2ME device.Please help me out with this problem........

  • Receive short messages with J2ME

    Hi,all
    Could anybody give me a hand of sms programming with J2ME.
    I want to receive short messages with J2ME. But i dont know how.
    Thanks very much!

    hi,
    You can send and receive sms through your network provider by using the wireless package.
    try the following links.
    you wil get a solution.
    [send sms example 1 |http://j2me-codes.blogspot.com/2008/02/j2me-sms-sending-sms-in-j2me.html]
    [send sms example 2|http://www.java-tips.org/java-me-tips/midp/sending-receiving-sms-on-j2me-device-4.html]
    Ramesh

  • Character encoding format in j2me

    Hi,
    I am new to this forum.
    I have some queries regarding Character encoding support in j2me.
    1. What is the character encoding format supported in j2me?
    2. Is it varies from device to device or same in all j2me devices?
    3. Whether all j2me devices support UTF-8 format?
    4. Are some devices sopport UTF-16 (or UTF-16BE/UTF-16LE)?
    5. If a device supports UTF-8 scheme, can we assume that it will support all the languages(i am somehow concerned for Chineese)?
    Eagerly waiting for the feedbacks :)

    Not all devices has support for even UTF-8.
    Use this class I wrote for my projects. This is implementation of Reader so you may easy use it anywhere.
    * Created on 12.03.2008 14:21
    package misc;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    * Reader of UTF-8 encoded string from bytes
    * @author RFK
    public class UTF8InputStreamReader extends Reader{
      InputStream is;
      /** Creates a new instance of UTF8InputStreamReader */
      public UTF8InputStreamReader(InputStream is) {
        this.is=is;
      public int read(char[] cbuf, int off, int len) throws IOException {
        int b,b2,b3, r=0;
        while (len>0){
          b = is.read();
          if (b<0) break;
          if (b<128)
            cbuf[off]= (char)b;
          else if (b<224){
            b2 = is.read();
            cbuf[off]= (char)(((b& 0x1F) << 6) | (b2 & 0x3F));
          } else {
            b2 = is.read();
            b3 = is.read();
            cbuf[off]=  (char)(((b & 0x0F) << 12) | ((b2 & 0x3F) << 6) | (b3 & 0x3F));
          r++;
          off++;
          len--;
        return r;
      public void close() throws IOException {
        is.close();
    }Edited by: MagDel on Jun 1, 2009 10:33 PM

  • Realize a J2ME reporting thin client (for PDA) with XML for Analysis

    I'd create a reporting thin client (on PDA or smartphone) that uses the web service XMLA. How I can implement it? Can I use J2ME ?
    Can i have more informations ??

    I haven't tried generating stubs from WTK, but you could also try to access your WS by programming it. One of the solutions available for most of J2ME devices (MIDP/CLDC) is kSOAP (<a href="http://www.ksoap.org">www.ksoap.org</a>). I've tested it with Apache Axis and .NET-based WS servers - it works just fine, so I assume it should be working with SAP as well. This two articles might be valuable for you:
    http://www.javaworld.com/javaworld/jw-08-2002/jw-0823-wireless.html
    http://java.sys-con.com/read/37193.htm?CFID=671691&CFTOKEN=A29B9B9F-EE05-1072-E2866AEB2CFB4A79

  • Native call with J2ME

    I can write native calls in C and use them in my J2ME applications. But if the application shall be integrated to a J2ME device, like a mobilephone, can the native calls then work on this device? This means the DLL (the native function) must be placed on the mobilephone.
    Thx /Denker

    Even more interesting, how whould you deploy your native bits (e.g. some sort of library) when you cannot even be sure whether your target does support a file system? Apart from that, I doubt you will get a programming API for your mobile phone (well, Symbian OS (e.g. Nokia 7650) provides one I think).

Maybe you are looking for

  • Home wireless NAS suddenly stops working

    I had a working wireless NAS up until a couple days ago, but when I tried to mount the NAS wirelessly as I always do - Connect To Server (from Go menu) - I get the error message: "The finder cannot complete the operation because some data in "smb://s

  • Moving from Panther 10.3.9 to Tiger

    I have put off buying the new software, mainly due to a lack of funds. My concern is my security. I bank online and my bank only recognizes Safari from the latest Tiger version of OSX. What I don't want is to buy the new version only to find out that

  • Getting the context path in a jspx

    Greetings i have in a JSP this code <div id="footerpartners"><img src="<%=request.getContextPath()%>/images/aval.png" width="68" height="26" /><img src="<%=request.getContextPath()%>/images/ath.png" width="79" height="26" /><img src="<%=request.getCo

  • Shuffle is recognised when plugged into computer, but. . . . .

    when i eject it from the computer (pc or mac) NONE of the lights even turn on. And nothing plays obviously. Other than going to thee apple shop, how can i get this sorted?

  • How to make a video for YouTube

    Does anyone know how to make a short video on a Macbook, to put on YouTube?