Help please on startup. Way for the app to identify himself.

BB Storm JDE 4.7.0

My goal is to create an application that can take an icon and a URL and create a home screen icon when you click it, it will open a web page (web link or launcher). Allows to call the application that makes the shortcuts of the 'Manager' application for convenience.

The way I thought to do it now, is it. First of all, let me qualify it as an overly simplified version... the real app is more complex.

OK, there is initially a model application that has another point of entry and start, it puts in place its icon and the name (read in a persistent store)

.. .and also the URL to pass. It is all stored in the home screen so it has a unique name, a unique icon and when you click top of the homescreen will go to a single URL.

Now, the tricky part. Y at - it a way for the software maker to assign a unique ID to the app so that when it starts it can understand of this ID

the set of data to read from the persistent store?

The idea would be to use createNewModule and give it its new name and icon before you save it using CodeModuleManager.saveNewModule ().

In theory it should save it in a new module.

So, my questions...

1 I use createNewModule and saveNewModule after changing the name and the icon using HomeScreen, if the type of access point to the choice of starting. In general, which is put there as HomeScreen changes are usually not saved after reset.

2. the code independent sign of the icon and the name? I would like to invite createNewModule a separate .cod file. It is also the reason why I didn't just change the table .cod and add strings for the icon names, URL, etc. in the table itself (would make the signature invalid code... I already tried this :-)

3. If what I propose above work and I have to do the other thing entry point, so I'll need each app so it starts up and understand what icon and the name is, along with the URL. Is it possible to attach a unique id for the application on the creation?... so the 'Manager' app that can store in the store persistent as a key.

and the remaining code can also determine it's unique ID at run time to get his key also. ??? Note that I do not have another way, which is more complex, so I prefer this way.

Thanks in advance. Please read this before answering. No laurels to repeat what I say, but Bravo to everyone who adds something new... or can confirm with certainty or repudiate for sure something I said above.

Thank you

-Donald

OK then, that's what I discovered.

You cannot use createNewModule with an array of bytes to an application twice, calling same HomeScreen to assign a different name and an icon.

There will only be one version, and if you search his name by any other means than by home screen, it will use its name .cod and print that.

So, my opinion is that you cannot create several shortcuts to anything if you go around signing .cod files. It is possible. However, you then run on the problem that if RIM changes their signature info, all of a sudden, your code does no more work. either it is not worth.

The free app out there is really the only way to do that is to create a set number of .cod files called whatever (well weblink1 6) and then you assign the URL and icon through the persistent store and who should do... each of these icons, in turn, can be set to the shortcuts. It just limits you to a defined number of URLS that can be done by the non-programmer.

I had hoped to provide an application that could provide any. It is not possible. RIM could do if :-)

I'm closing this now, because I know I can't write this App... because even once, I ran into the dreaded RIM API limitation. It is 4 good apps I had to zero because of the api didn't exist do not.

It seems that only very simple apps or those who do not use specialized equipment are the only ones who can be written. IPhone will win if this is not changed soon.

-Donald

Tags: BlackBerry Developers

Similar Questions

  • X 230 (3435-3 MG) Tablet Help please / can install backlight for the keyboard?


    Yes, your computer supports a backlit keyboard. It's probably easier and cheaper to buy on sites like ebay.

    Also, remove your serial number to view.

  • I recently created a form to complete for the app e-business of the company. When you press the button submit, he only sent to our Inbox to project and not sent to the e-mail provided in the URL. Can someone help us to program the key to help explain why.

    I recently created a form to complete for the app e-business of the company. When you press the button submit, he only sent to our Inbox to project and not sent to the e-mail provided in the URL. Can someone help us to program the key to help explain why / tell us step by step what we should do?

    OK, I re-read your question. It's actually expected behavior. The user must manually send the email.

    If you want it to be a silent process, then you must either install a script on the local computer of the user who will do this, or use any email but something as a service web to which you directly submit the form data.

  • I bought as a 5.5 download with Lightroom, my pc has a virus. I saved Lightroom ext disk. I am trying to reload on pc BUT it asks for a serial number... I find no reception. Help, please. I registered at the time of purchase, I downloaded.

    I bought as a 5.5 download with Lightroom, my pc has a virus. I saved Lightroom ext disk. I am trying to reload on pc BUT it asks for a serial number... I find no reception. Help, please. I registered at the time of purchase, I downloaded.

    Hi Bronxrick,

    I have sent you your serial number on a private message.

    Thank you

  • Impossible to delete iOS apps 10-pressing/holding icon just widgets for the app.

    Impossible to delete iOS apps 10-pressing/holding icon just widgets for the app.

    Hi b. Bruce Brinson,.

    I understand that you are having some difficulty to remove apps on your iPhone, and instead you see additional options for these applications. I know it's important to have control over what is on your iPhone, so I'm happy to help you.

    From what you described, it seems that you use tactile 3D, instead of simply touch and hold for remove. You can see more info on tactile 3D and how it works here:

    3D Touch - iPhone

    Tactile 3D

    Tactile 3D gives you an additional way to interact with the iPhone. On supported devices, you can tap the screen to see the previews, access useful shortcuts and more.

    Tactile 3D is based on:

    • iPhone 7

    • iPhone 7 more

    • iPhone 6 s

    • iPhone 6 sec more

    For example, press a notification to the lock screen to respond. In Mail, tap a message in the list of the mailbox for a glance at the contents of the message, and then slide up to see a list of actions. Or press a little more pop the open message. In Photos, tap a picture for the look to it, and then drag upward to share or copy it; Press a little bit more far to jump the image in full screen. In this document, look for other examples of tactile 3D, which are marked with .

    You can use Touch 3D on the home screen, tap the application to see the menus of fast action. For example, you can press the icon of the camera on the home screen, then choose Selfie take. Quick action also works in the Control Center. For example, press the flashlight, then choose a light bright, medium, or low.

    Once you have an understanding of what is currently happening, try the following steps to remove apps from your iPhone:

    Delete music, movies, applications, and other content to your iPhone, iPad or iPod touch - Apple Support

    Remove an application

    1. Press and hold the application until it stirs.
    2. Press on the in the upper left to remove.

    You may be prompted to confirm that you want to delete the app. If you see a pop-up that says, "[application name] remove will also remove all the data," press DELETE.

    Thank you for using communities Support from Apple. See you soon!

  • Which is the best way for a function called identify the class name of the appellant.

    Which is the best way for a function called identify the class name of the appellant.

    (1) sun.reflect.Reflection using the function call
                    Class caller = Reflection.getCallerClass(2);
                    System.out.println("Caller Class Name ::"+caller.getName());
    Trace of function called battery 2) analysis of current threads
                    StackTraceElement[] stElements=Thread.currentThread().getStackTrace();
                    System.out.println("Caller Class Name ::"+stElements[3].getClassName());
    Y at - it all the other ways to achieve the same. What is the best way?
    Called function does accept no argument, I don't want the arguments of function calling function called t.

    Help, please.

    With greetings
    Paul

    798185 wrote:
    Which is the best way for a function called identify the class name of the appellant.

    Y at - it all the other ways to achieve the same.

    SecurityManager

        // 0 is the anonymous SecurityManager class
        // 1 is this class (also works in static context)
        // 2 is calling class
        static Class getClass(int i) {
            return new SecurityManager() {
                protected Class[] getClassContext() {
                    return super.getClassContext();
                }
            }.getClassContext();} 
    
  • EOS Remote App for Android - I lost my password. How replace or reset the password for the app?

    I lost my password to enter the EOS remote app to control my D6 remotely.

    How replace or reset the password for the app?

    I tried to remove the application on my phone and re - install.  That did not help.

    Thank you

    Hello Elsmain,

    You can change the encryption settings, but you must navigate through the steps.  You should not change anything until it's set the encryption settings.  The steps to get there, start here:

    1. turn the switch to .

  • BlackBerry smartphones is a way for the storm to "separate email accounts? '

    Forum,

    Is there a way for the Blackberry Storm to 'split' emails to 2 different accounts?  I have a corporate email account (MS Exchange) and a Yahoo! account.  Emails of these accounts appear in the Messages.  Is it possible to separate them so that I can view the emails in a view/account, Yahoo! mail in a different view/account?

    I guess it would be a type of client software for Blackberry email... dunno.

    Thanks in advance!

    Joe

    The alternatives will have to use an app of the add-on for the storm to create an icon that displays only the BES-based emails. See http://www.getempower.com/Empower_BES_MailBox.php for more information (I tried the free trial version and it worked great). The BES configuration method is discussed at http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB15003&sliceId=SAL_Pub..., but we have yet to try this one. Another alternative is to use modules for non - BES mail... GMAIL offers an add-on which manages all GMAIL, bypassing BIS entirely... I don't know if other e-mail providers have something similar.

    I'm currently testing a configuration where I use BIS to get my company email, BES to OTA sync my company calendar and contacts, GMAIL of add-on application to handle this, and BIS to manage what other email accounts. I no longer watch the main 'Messages' box at all.

  • Help please! I using Muse (the free trial version) very well since last week, but the last few times I tried to use it, it comes back with ' TypeError: Error #1009 pouvez anyonve tried to use it, it comes back with ' error can all

    Help please! I using Muse (the free trial version) very well since last week, but the last few times I tried to use it, it comes back with ' TypeError: Error #1009 pouvez anyonve tried to use it, it comes back with ' error can someone help me figure out what the problem... I have a few days I really help neee what the problem is... I have a deadline in a few days so I really need! Thank you

    Screen Shot 2015-05-11 at 20.32.34.png

    Restart your Mac. The OSX Drag Manager got in a bad state. The only way to reset it is to restart your computer.

  • Need to update the version number of app for the app upgrade

    Hello, I need help with my application (magazine) on the App Store update. I used different platform for the creation of digital publications. Now I start with DPS. I want to update my application on DPS, but there is problem with version about contemporary version 3.0.1 and App Builder generates the 1.0.0 version. Is it possible change version manually?

    You will need to call tech support and have them increase the version number for you. We have some support products support the people here as well, I'll change the title of your post a bit more obvious, and I hope that they will see.

    Neil

  • My id app for the App Store reads an old email so I can't put to day of applications nor sign in iTunes

    My id app for the App Store reads an old email so I can't put to day of applications nor sign in iTunes

    You may need to sign out of the App store with the old ID

    Then, restart the computer and log in to the with the new ID credentials

  • I received this e-mail supposedly on apple store.   Dear customer, this mail is sent to you as a final notice.  «To avoid a suspension of your account, please allow 2 minutes for the service to the customer by clicking on the link below: confirm my accoun

    I received this e-mail supposedly on apple store: is this true?

    Dear customer,

    This email is sent to you as a final notice.

    To avoid a suspension of your account, please allow 2 minutes for the service to the customer by clicking on the link below:

    Confirm my account now»

    Thank you for choosing us.

    Sincerely,

    The customer service

    < link published by host >

    This is a phishing attempt. Do not respond. Shall not disclose any personal or financial information. You can use the address below to the suspicious message as an attachment to the Apple. [email protected]

    The link below has information to identify fraudulent emails.

    http://support.Apple.com/kb/HT4933

  • Is there a way for the secret video files to the sansa fuze using QUICK MEDIA CONVERTER?

    Is there a way for the secret video files to the sansa fuze using QUICK MEDIA CONVERTER?

    Not really. The way final only ot add videos on the "rocket" is SMC. Rhapsody will do this also, but I don't know that its faster.

  • Get windows store is unavailable, please try again later "for the 3 weeks, what gives?

    Hi MS community

    I just bought a new Acer win8 laptop computer s7 on Amazon.com, but I get "Windows store is unavailable, please try again later" for the 3 weeks.

    Is there a geographical restriction that I'm not a wear of since I reside in Barbados?

    Steven

    Hello

    Run the working WSReset.exe - Win8.1 update being downloaded.

  • experiencing issues please try again later for the 2 last hours no matter who else?

    can not download creative cc lr or ps's message that we know some questions please try again later for the 2 last hours no matter who else?

    Hello

    Unfortunately, we have a few problems with the Adobe servers ask you to wait a few hours and then try again.

    Downside is regrettable!

Maybe you are looking for