Œuvres of HomeScreen.updateIcon but .setName doesn't work!

Hi people. It is a continuation of a problem with the fact that I had a while back on the forum, Mr. Sohm has helped. When I try to the line of code:

HomeScreen.setName (myString);

I get the error:

Module with handle [2584] and [0] index has no application entry point

and yet, when I use the similar functionality:

HomeScreen.updateIcon (Bitmap.getBitmapResource ("green.png"));

It works very well! I use the v4.6 devenv with the Simulator "BOLD". My application has 2 projects, a module of the app CLDC system that starts automatically on startup and an application entry replacing cldc point, with my icons. My application runs at the start of the phone and did a thing and also runs when you click the icon (and does other stuff). It gives the same error if you try to setName at startup or when the click on icon.

Everything works fine for updateIcon, but for some reason setName any gives error! Any help appreciated (code?)!

Justin Dutoit

Looks like you are trying to set the wrong name about to enter.

Looking at your description. It seems to me.

Module system APP CLDC (where the source code). Index must be 0.

Entry point for CLDC. Index must be 1.

What happens is that HomeScreen.updateIcon (Bitmap.getBitmapResource ("green.png")); fact on index 1 by default.

I haven't used before setName(), but it seems that HomeScreen.setName (myString) on index 0 by default.

My suggestion is to call

HomeScreen.setName(myString, 1);

Hope that helps

Tags: BlackBerry Developers

Similar Questions

  • I bought the live app pga golf, but it doesn't work in my country! How can I cancel the payment for the next month?

    I bought the live app pga golf, but it doesn't work in my country! How can I cancel the payment for the next month?

    There are instructions on this page to manage and stop automatic renewal of subscriptions: view, change or cancel your subscription - Apple Support

  • How can I make radial gradient overlay in the upper left corner? I m try, but it doesn´t work.

    How can I make gradient overlay radial in the upper left, using the layer Style? I m try, but it doesn´t work.

    (CFFO Como um radial gradiente no canto superior, no estilo camadas esquerdo?) JA I tried from several formas e nao esta running.

    Layer styles (note angle setting)

    , or the tool degraded

    Drag the cursor in the upper left corner to the lower right.

  • I have can´t install creative cloud. I received the message: "you need a creative Cl to solve this problem, but it is absent or is injured. Please download and install a new one. But this doesn´t works.

    I have can´t install creative cloud. I received the message: "you need a creative Cl to solve this problem, but it is absent or is injured. Please download and install a new one. But this doesn´t works.

    Uninstall anything cc which can be installed.

    run the cleaner, the use of the CC cleaning tool to resolve installation problems. CC, CS3 - CS6

    then reinstall apps download Adobe Creative Cloud | CC free trial Adobe

  • Kitkat Android cause the loading of the SWF from device. Found but URL doesn't work

    Hello


    I am facing a problem for a long time about the access to the files in Kitkat Android version 4.4. *. I developed the Player Adobe Air for android app, and it does not work as expected following kitkat version but not on kitkat.

    I'm following this methods.

    1. NativeApplication.nativeApplication.addEventListener (InvokeEvent.INVOKE, onInvoke);

    public void onInvoke(event:InvokeEvent):void

    {

    var newFile:String = String(event.arguments[0]);

    trace ("new file received from Android:" + newFile)

    }

    Received in Android Kitkat - form URL device

    /Storage/emulated/0/.iProfData/SWF/playListFiles/ContentCreation/Ma_V2_522/en/animation/27 031_1_Welcome screen.swf

    file:///storage/emulated/0/.iProfData/SWF/playListFiles/ContentCreation/Ma_V2_522/en/Anim creation/27031_1_Welcome screen.swf

    -Loading of the URL by using the class loader in AS3 AIR but does not.

    file%3A///storage/emulated/0/.iProfData/SWF/playListFiles/ContentCreation/Ma_V2_522/en/ANI mation/27031_1_Welcome%20screen.swf

    -Have you used also by making the escape character, but still it is not working display of the file not found case both SWF and mp4. (Case of Mp4 NetStream.Play.FileNotFound)

    Using the above methods, I can have the url of the swf or mp4 video but when I load, it doesn't work error message that gives "file not found / IO Error. I read that if avoidance of the use of characters and then it will work but I used as escape character but it does work.

    Humble ask you to inform you please how I can solve this problem.

    Best regards

    Sunil Kumar

    From KitKat, Google requires that applications have access to the files on the system. You must specifically add READ_EXTERNAL_STORAGE or WRITE_EXTERNAL_STORAGE permissions in order to access the files. Adding or the other of these permissions should allow you to read / access to the files on the device. Before KitKat, you must have these permissions listed in the manifest to the files.

  • I can't seem to keep the flash player on my computer, the installation screen shows it is installed but it doesn't work

    I can't keep the flash player installed on my mac.  the installation screen shows it is installed, but it does not work or display on my screen to the right

    Settle in the appropriate forum.

  • I put a sync, but it doesn't work. The tabs open on a computer do not load to the other computer.

    I have Firefox on my old laptop (PC) with 300 + tabs open. I want to keep these tabs and move them so I can see them in Firefox on my new laptop computer (PC, also). So, I created my sync account in Firefox on the old laptop, connected with the same account in Firefox on the new computer laptop. But my tabs were not there. How can I transfer my open tabs?

    Gotcha, ya that is similar to save all tabs in the session, do not worry, it's just my description of it is different.

    In any case, I understand that you want the active tabs is displayed on the second computer. It appears in a different place: subject: sync-tabs in the history menu > tabs from other devices

    It syncs only session/actively active synchronized computers.

  • Hotmail no longer works. I can open mail on yahoo, MSN premium, IE9, chrome, but firefox doesn't work anymore? I reinstalled the two and point of restoration, still broken?

    When I open the Fire Fox, click Hotmail, it opens the page with the open.cannot of the Inbox folder, click on anything? Cannot open the mail, or all records thereon, the cursor turns into a finger, but nothing opens or closes in all? reinstalled evrything, made a restore point. It works on all browsers, but firefox? use fire fox for years?

    I found the problem. It's the ad block plus 2.0. I just noticed that I was disabling each of them was. I noticed in Firefox that the envelopes have disappeared! That's why the post did not open, so in safe mode with disabled modules returned envelopes. then I restarted in reg mode and then turned off one-by-one. It was the adBlock Plus 2.0. Thank you for your advice. I would have never found. Thank you!

  • Have the latest drivers Nvidia on FF8 for Linux but WebGL doesn't work do not

    I downloaded Firefox 8 for my Ubuntu 10.04 64-bit office, which is (according to topic: support):

    • Description of the adapter: NVIDIA Corporation - GeForce 8800 GTS/PCI/SSE2
    • Driver version: 3.3.0 NVIDIA 285.05.09WebGL
    • Renderer: blocked for your version of the graphics driver. Try to update your driver graphics version 257.21 NVIDIA or newer.
    • GPU accelerated Windows: 0/1. Blocked for your version of the graphics driver. Try to update your driver graphics version 257.21 NVIDIA or newer.

    These drivers are the latest directly from site Web de Nvidia. Even if I go to any page of WebGL, it tells me that my browser doesn't support WebGL. What's wrong? OpenGL, Compiz effects, etc. all work otherwise. Thanks in advance for any help.

    Try resetting all the Pref gfx.blacklist.

  • Satellite M100-P345: USB device is recognized but it doesn't work

    My usb port works with external hard drive but not usb key USB flash drive. This problem occur because I update my XP Home Edition of XP pro SP2 edition. I've updated all the latest patch but the problem stil occur.

    The system can not assigned a player for it. It recognizes the device as a removable disk, but I can't find it in my computer (means I can't access). In System Manager devices, usb disk information such as status: online, the remaining space, total space etc. n can b shown. the only problem is that I can't access.
    I have tried to search for solution in trobleshooting, a part of the path is

    updated 1) day the latest patch
    (2) unsintall usb driver n restart the computer
    but the probs still occur...
    is it possible to solve or someone have faced the same prob in other models?

    [Edited by: admin]

    Hello

    Try contacting the manufacturer of the USB. Visit the support page. Who is the producer of this USB key. I have two of them (various manufacturers) and both of them works on several different laptops.

  • IE8 works very well but IE11 doesn't work, Firefox shows "server not found".

    A neighbor gave me his Dell Inspiron One Win 7 Home Premium all-in-one computer because she said he was in trouble and she didn't care.  All problems are associated with the internet that programs requiring only not the internet seems correct.  I have access to wireless internet. I ran diagnostic system to a test and all the material and the memory removes very well.

    He ran IE11 when I received and would not have access to the internet at all.  When I removed the IE11 update and back to IE8 it can access the internet but does not download another browser (Opera, Chrome).  I could download Glary Utilities and run a full scan which showed no problems at all, but I can't update the installed version.  The same question applies to Malwarebytes which States that it is impossible to access the update server.  I managed to download and install Firefox, but when I try to open Firefox I get the response "server not found".  I have disabled the Windows Firewall.

    The default browser in IE8 is Bing and when I ask for more suppliers, none are listed.

    The date of construction was 10 13, 2011 and the serial number is GNQV9Q1

    Any help would be appreciated, thanks, J

    Thanks Todd, much appreciated.  I'll ask him the necessary information to transfer ownership.

  • Wireless is just ok but ePrint doesn't work at all - HP Deskjet 3070

    Hello everyone. This is my first message here. So far I've been very happy with my HP Deskjet 3070. Everything was just excellent. But now, I lost the ePrint service I do not know why. I can print wireless with no problem at all, but there is not any service eprint. The indicator light, ePrint button is not blinking as well.

    Whenever I press the ePrint button, I get the message to accept the terms of use and enable web services. I press ok. And then another ok to accept future periodic updates.

    After the connection... turns on for about two minutes, and then it says: the printer could not connect to the Internet. Check the Internet connection.

    But I have internet with my office and my smartphone and tablet. I can print wireless with no problem at all, but there isn't any cababiity eprint.

    What should I do? I tried through my browser with the printers ip address, clicked on Web Services, but without success as well.

    Can you help me please?

    Thank you.

    Maria P. - Southern Greece

    Its been fixed! UUST now! I don't know how.

    I spend hours and hours, pressing the ePrint button and clicking on the WebService of many times, it reboot several times, downloaded all the programs to check for problems, I ran all of them, they couldn't find any problem. So five minutes ago I restart the printer for one more time, I pressed the ePrint button and... Voila! the lights on and a paper with the printer code. So I went to eprintcener.com I created a new account with a new email to @hpeprint.com and one of my friends sent me already by email some files that him are already printed.

    So I guess you need to restart the printer of many times to the resolve and each time press ePrint.

    Have a nice evening of the Greece.

    Maria P.

  • How can I reinstall Photoshop elements 7? I have the numbers series but bought 6 years ago. I have a new hard drive and the original link to reinstall but it doesn't work.

    I have a new hard drive and you want to reinstall Adobe Photoshop Elements 7. I know it's old but it works well for me. It of there in my orders with the serial number, but what do I do next?

    Buy a new, more up-to-date Photoshop elements?

    All the stuff sounds really complicated cloud creatives and seems very expensive.

    maureenart wrote:

    I have a new hard drive and you want to reinstall Adobe Photoshop Elements 7. I know it's old but it works well for me. It of there in my orders with the serial number, but what do I do next?

    Buy a new, more up-to-date Photoshop elements?

    All the stuff sounds really complicated cloud creatives and seems very expensive.

    Try to download from here:

    Download Photoshop Elements products | 9, 8, 7

  • IE 8 will not recognize Flash Player 10, but Firefox doesn't work + where is FP.exe?

    Am running 32 bit Win XP Pro/SP3, 6.01 Firefox, IE 8 and Flash Player 10.3.  Have P4 CPU, 1 GB of RAM and tons of disk space.

    Problems with Firefox - evry crashes a few minutes.  Uninstalled and reinstalled plant yet. Using IE 8 until I can solve the problems of Mozilla.  IE 8 says I do not have Flash Player and offers a link to get it.  Main use of FP is powered streaming radio, usually in Firefox.

    1.) installation is browser-specific Flash Player that is used?  (PS installed since FF.)  If so, is there a way to get the FP to function for two browsers?  If not, why IE 8 does not recognize FP 10?  All the settings for Internet Explorer are if necessary for the public Service.

    (2.) where is FP executable on my hard drive?  Found Windows\System32\Macromed\Flash, but only exe files are there to uninstall FP.  Want a FP shortcut on my desktop.

    Would appreicate any anyone may have clues.  Thank you!

    Yes, you can absolutely have two versions of the Flash Player installed at the same time.

    Chris

  • Views materialized not VALID - but still doesn't work?

    Hello

    We use Oracle 10.2.0.5.

    I've noticed some strange things for a couple of materialized views:

    If I query object like this:
    select * from all_objects where object_type = 'MATERIALIZED VIEW' and status='INVALID'
    then some records are returned. However, queries on these materialized views are still functioning.

    When I do:
    select compile_state from all_mviews;
    the compile_state for these materialized views is "NEEDS_COMPILE".
    Manually compiling these works very well, but why they become invalid in the first place? And why do queries on these still work even if their status is INVALID? Oracle should not compile them on first run?

    Thank you
    Matthias

    the compile_state for these materialized views is "NEEDS_COMPILE".

    read this * after DML on mastering one or more tables of Local Materialized View, USER_MVIEWS.COMPILE_STATE becomes 'NEEDS_COMPILE' and USER_OBJECTS. Status "INVALID" [264036.1 ID] *.

    Thank you

    Published by: CKPT on November 22, 2010 18:41

Maybe you are looking for