Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

JSMS on Sourceforge

  • 23-05-2007 10:29pm
    #1
    Registered Users, Registered Users 2 Posts: 1,171 ✭✭✭


    If anyone is interested in getting involved with coding JSMS please get in touch.. I have moved the source onto SourceForge.net

    https://sourceforge.net/projects/jsmsirl

    JSMS lets users send text messages to any Irish mobile phone using your mobile operator webtext account. Now supports Meteor.ie Vodafone.ie & O2.ie! You can leave the program open all the time on your PC.

    It is written in Java with a Swing GUI. See the web site for more info:

    http://jsmsirl.sourceforge.net/Home.html


Comments

  • Closed Accounts Posts: 362 ✭✭information


    Had a quick look at the code, because when I closed the App the javaw.exe process was still running, I think this should fix the problem

    Or I could be missing something
    /**
    	 * Application Entry point
    	 * 
    	 * @param String
    	 *            args[]
    	 */
    	public static void main(String[] args) {
    
    		showSplash();
    		ResourceBundle resBundle = ResourceBundle.getBundle(
    				"MeteorJSMSstrings", Locale.getDefault());
    
    		String loginFileName = resBundle.getString("loginConfig");
    
    		LoginDialog loginDialog = new LoginDialog("JSMS Login", loginFileName);
    
    	}
    
    /**
    	 * Application Entry point
    	 * 
    	 * @param String
    	 *            args[]
    	 */
    	public static void main(String[] args) {
                showSplash();
                ResourceBundle resBundle = ResourceBundle.getBundle("MeteorJSMSstrings", Locale.getDefault());
                final String loginFileName = resBundle.getString("loginConfig");
                javax.swing.SwingUtilities.invokeLater(new Runnable() {
                        public void run() {
                            final JFrame loginDialog = new LoginDialog("JSMS Login", loginFileName);
                            loginDialog.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
                            loginDialog.addWindowListener(new WindowAdapter(){
                                public void windowClosing(WindowEvent e){
                                    int n = JOptionPane.showConfirmDialog(loginDialog,"Do you want to close the Text App?","Close System",JOptionPane.YES_NO_OPTION);
                                    if(n == 0){
                                        System.exit(0);
                                    }
                                }
                            });
                        }
                    });
    	}
    


  • Registered Users, Registered Users 2 Posts: 1,171 ✭✭✭fbradyirl


    Had a quick look at the code, because when I closed the App the javaw.exe process was still running, I think this should fix the problem

    Or I could be missing something
    /**
    	 * Application Entry point
    	 * 
    	 * @param String
    	 *            args[]
    	 */
    	public static void main(String[] args) {
    
    		showSplash();
    		ResourceBundle resBundle = ResourceBundle.getBundle(
    				"MeteorJSMSstrings", Locale.getDefault());
    
    		String loginFileName = resBundle.getString("loginConfig");
    
    		LoginDialog loginDialog = new LoginDialog("JSMS Login", loginFileName);
    
    	}
    
    /**
    	 * Application Entry point
    	 * 
    	 * @param String
    	 *            args[]
    	 */
    	public static void main(String[] args) {
                showSplash();
                ResourceBundle resBundle = ResourceBundle.getBundle("MeteorJSMSstrings", Locale.getDefault());
                final String loginFileName = resBundle.getString("loginConfig");
                javax.swing.SwingUtilities.invokeLater(new Runnable() {
                        public void run() {
                            final JFrame loginDialog = new LoginDialog("JSMS Login", loginFileName);
                            loginDialog.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
                            loginDialog.addWindowListener(new WindowAdapter(){
                                public void windowClosing(WindowEvent e){
                                    int n = JOptionPane.showConfirmDialog(loginDialog,"Do you want to close the Text App?","Close System",JOptionPane.YES_NO_OPTION);
                                    if(n == 0){
                                        System.exit(0);
                                    }
                                }
                            });
                        }
                    });
    	}
    
    Good spot. I will fix this for the next release-version 3.0 (probably in the next week).

    Also in v3 will be encrypted password storage.


  • Closed Accounts Posts: 362 ✭✭information


    I have a few ideas how you might be able to make some money out of this if your interested you can PM me.


  • Registered Users, Registered Users 2 Posts: 1,171 ✭✭✭fbradyirl


    fbradyirl wrote:
    Good spot. I will fix this for the next release-version 3.0 (probably in the next week).

    Also in v3 will be encrypted password storage.

    Version 3.0.1 has fixed this issue and also add's more features like
    -password encryption
    -auto-proxy detection
    -bug fixes

    Download for free here


  • Closed Accounts Posts: 890 ✭✭✭patrickolee


    Had a look through the source... came across a reference to inserting ads... you aren't thinking of putting ads into peoples texts are you?


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,171 ✭✭✭fbradyirl


    Had a look through the source... came across a reference to inserting ads... you aren't thinking of putting ads into peoples texts are you?

    No. Have a closer look. All that the code is doing is placing the jsms hompage URL into the last sms ONLY for multi text messages (i.e. more than one) and ONLY if there is space for the URL. This is to let friends know about jsms. I have never had any intention of placing advertisements into peoples texts.


  • Closed Accounts Posts: 890 ✭✭✭patrickolee


    Good stuff, thank you. Used it there on Friday, might save me a few cents on texts :-)

    I think there may be a bug in the syncing with numbers from website. I couldn't reproduce it though I'm afraid. It happened when i didn't sync once, three numbers came up, which I didn't recognise... I presume test numbers maybe?

    Also you might think about putting in a 'send' button. It was obvious at first, to me anyway, that you had to press return to complete the message and send.

    Anyway, good luck with the development.


  • Closed Accounts Posts: 890 ✭✭✭patrickolee


    Ah, I can reproduce it quite easily now... I get

    Des Bishop
    Joe Bloggs
    Me

    Listed in the address book even though I have other numbers in the PhoneNumbers.txt. Seems only to happen when I launch via a launcher. ie if I launch by directly by double clicking the exe in explorer it operates normally.


  • Registered Users, Registered Users 2 Posts: 1,171 ✭✭✭fbradyirl


    Ah, I can reproduce it quite easily now... I get

    Des Bishop
    Joe Bloggs
    Me

    Listed in the address book even though I have other numbers in the PhoneNumbers.txt. Seems only to happen when I launch via a launcher. ie if I launch by directly by double clicking the exe in explorer it operates normally.

    Oh yeah I see. If you are running it from a batch script or launcher, you need to set the current working directory to wherever JSMS is first. E.g.
    cd "C:\Documents ... blah blah ..\JSMS\"
    
    JSMS.exe
    


    (otherwise JSMS creates this default address book in some tmp directory wherever the launcher is located)


Advertisement