Page 2 of 3 FirstFirst 123 LastLast
Results 21 to 40 of 47
  1. #21
    Blackberrylerner is offline Senior Member
    Join Date
    Jul 2010
    Posts
    101
    Rep Power
    0

    Default

    One more thing there is any way to run .cod file through shellexecute or something different command.

  2. #22
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Quote Originally Posted by Blackberrylerner View Post
    After signing app i check it from sigtool.bat which is provided by Blackberry Development Environment,it show Status Signed .
    Then I use Javaloader for load .cod file in Blackberry Phone.

    Am i right or not?
    Please help me
    Relevant to this actually.

  3. #23
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Quote Originally Posted by Blackberrylerner View Post
    One more thing there is any way to run .cod file through shellexecute or something different command.
    Something like this. emacs corpus_name.cod

  4. #24
    Blackberrylerner is offline Senior Member
    Join Date
    Jul 2010
    Posts
    101
    Rep Power
    0

    Default

    emacs corpus_name.cod
    Sir i don't know how it work?
    Can you explain me some thing specific.
    Example
    I load Test.cod file through this
    javaloader -usb load Test.cod

    In BlackBerry file show in Download folder.
    Now how can i run you command?
    Plase help me sir.

  5. #25
    Blackberrylerner is offline Senior Member
    Join Date
    Jul 2010
    Posts
    101
    Rep Power
    0

    Default

    Please help me sir how can i solve this problem?
    If is it is not possible then tell me it's not possible.

  6. #26
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    I don't know what you really talking about. You said that you've load the application to the phone and it's displayed in downloads. At the moment just forget about the command I've sent to you, since it's not familiar with it. How did you open an application in the phone, same way applied to this.

  7. #27
    Blackberrylerner is offline Senior Member
    Join Date
    Jul 2010
    Posts
    101
    Rep Power
    0

    Default

    Thanks to reply me
    How did you open an application in the phone, same way applied to this.
    Basic problem is How did open an application in phone.
    I don't know my thinking is right or not but i share with you.
    1) I load the application(Test.cod) through javaloader.exe and it's show in downloads folder.
    2) If i get absolute path of application(Test.cod) then i hope we are able to run with some command.

    After i havn't problem to use Auto Start up then i think like this.
    I don't my logic is possible or not but i tell you frankly.

    Sir i humble request to you can please provide me right way how to do this.

    Please help me

  8. #28
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    As I said earlier forget about the command I've mentioned. I'll let you know why.

    Once you've upload any application what you've to do is install it in your device. In BlackBerry you can use Desktop Manager for that. From there install the application. Some times it's looking for the relevant .alx file as well depend on the device. After that you can see it in applications, just start it.

  9. #29
    Blackberrylerner is offline Senior Member
    Join Date
    Jul 2010
    Posts
    101
    Rep Power
    0

    Default

    Nothing happen same result i use BlackBerry Desktop Manager.Can i send you UsbDemo.java code?

  10. #30
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  11. #31
    Blackberrylerner is offline Senior Member
    Join Date
    Jul 2010
    Posts
    101
    Rep Power
    0

    Default

    yes i see and i change it setting.

    System module ->Checked

    Auto Run Start up->Checked

  12. #32
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  13. #33
    Blackberrylerner is offline Senior Member
    Join Date
    Jul 2010
    Posts
    101
    Rep Power
    0

    Default

    Good Morning

    No sir application havn,t start after restart application.Basically when i check both option
    System module ->Checked ,Auto Run Start up->Checked then .cod file havn't show in download folder.

    Please sir help me

  14. #34
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Blackberrylerner, the way I explained to you see the way I'm following. Only difference is that I don't have a BB phone right now with me to point you with exact tech words. Is must work as I said.

    Only thing I'm wonder is that when you are using the Desktop Manager didn't it ask the .alx file?

  15. #35
    Blackberrylerner is offline Senior Member
    Join Date
    Jul 2010
    Posts
    101
    Rep Power
    0

    Default

    Good Morning

    Sir i know you are right.But It's not working for my device.I send democode plese see.
    I Application setting
    Java Code:
    Argument passed to "Static public void main(String args[])
    "gui"
    Home screen position 
    1
    
    System module ->check
    Auto-ru on startup->check
    
    Startup Tier:
    1
    Java Code:
    package com.rim.samples.device.usbdemo;
    
    import java.io.*;
    import java.util.*;
    import javax.microedition.io.*;
    import net.rim.device.api.ui.*;
    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.ui.container.*;
    import net.rim.device.api.system.*;
    import net.rim.device.api.util.*;
    
    
    public final class UsbDemo extends UiApplication 
    {  
        private static String CHANNEL = "JDE9_USBClient";    
        private RichTextField _output;
        private UsbThread _usbThread;
       
        
        /**
         * Entry point for application.
         * @param args Command line arguments (not used)
         */
        public static final void main(String[] args)
        {
          if ( args != null && args.length > 0 && args[0].equals("gui") ){
              // code to initialize the app
              
                new UsbDemo().enterEventDispatcher();
                
               
        } else
         {
            
         }
          
        }
        
        
        /**
         * Creates a new UsbDemo object
         */
        public UsbDemo() 
        {
            
            
             USBScreen screen = new USBScreen();
             screen.setTitle("Connection");
            
            _output = new RichTextField("<output>");
            screen.add(_output);
            _usbThread = new LowLevelUsbThread();
            connect();  
            pushScreen(screen);       
                
        }   
     .  
     .
     .
    Last edited by Blackberrylerner; 08-09-2010 at 07:01 AM.

  16. #36
    Blackberrylerner is offline Senior Member
    Join Date
    Jul 2010
    Posts
    101
    Rep Power
    0

    Default

    Quote Originally Posted by Eranga View Post
    Blackberrylerner, the way I explained to you see the way I'm following. Only difference is that I don't have a BB phone right now with me to point you with exact tech words. Is must work as I said.

    Only thing I'm wonder is that when you are using the Desktop Manager didn't it ask the .alx file?
    Sir please help me

  17. #37
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Quote Originally Posted by Blackberrylerner View Post
    Good Morning

    Sir i know you are right.But It's not working for my device.I send democode plese see.
    I Application setting
    Seems you code working properly, you said that it's working fine in your simulator. So no need to worry about the code you've written.

  18. #38
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Quote Originally Posted by Blackberrylerner View Post
    Sir please help me
    Did I confused you with my explanation? I think it's better to go through the following link first of all, otherwise you are in real mess.

    Media Library

  19. #39
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    And also Blackberrylerner, I'll explain a bit how the BlackBerry communication is working on.

    1. BlackBerry comes as smart-phones as well as blackberry enable devices in different forms.
    2. All those wireless devices connect to the WAN (Internet) through the wireless networks.
    3. BlackBerry devices always communicate with the enterprise servers, and for security reasons communication chanel follows through a firewall.
    4. That enterprise server connect with several other servers, such as mail servers, applications servers, etc.. to make the communications smooth in many aspect (wide areas to study)

    So what you can think about that, what's your concern on that? Can you let me know.

  20. #40
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    I hope you are not working with an urgent project, this is just doing to start learn BB developments. So that I don't want to explain each step, practically it's not possible to me because I don't have complete setup in my laptop to explain each step. So while memorizing I'll explain stuff to you.

    Anyway, go through the video I've sent to you in one of the above post. And also post your concern on BlackBerry architecture.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. How to auto start Java application form browser
    By marcinz in forum New To Java
    Replies: 5
    Last Post: 04-03-2011, 05:30 PM
  2. Run Deployed JAR Files From Web Start Application
    By jonkri in forum Advanced Java
    Replies: 6
    Last Post: 04-28-2010, 02:44 PM
  3. RCP application via Web start
    By RonM in forum Eclipse
    Replies: 0
    Last Post: 10-02-2009, 12:15 PM
  4. Replies: 5
    Last Post: 03-20-2009, 10:04 PM
  5. How to start voice based application
    By pradnya in forum Sun Java Wireless Toolkit
    Replies: 3
    Last Post: 02-13-2009, 11:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •