| Reply | « Previous Thread | Next Thread » |
|
Hi,
Can any one help me with my midlet ?!! If i want the user to select the method of payment: Visa or Mastercard How can i do this , if i want it to work as a real payment? I've made a list , and initialized it in the constructor: Quote:
Quote:
Thanks in advance,, |
| Noor Aldoja |
| View Public Profile |
| Find all posts by Noor Aldoja |
|
Hi Noor, Welcome to forum. I think this is first time u developing on j2me. Well You need to implement CommandAction() and it will be called when and command is selected(as you have already set the Commandlistener).Now when the 'cmdPay is selected u have to check which item in lstPay is currently focused that is "visa" or "Master card", and then depending on that u have to proceed further.
PS: Refer to java doc for j2me, it explains methods properly. u can find that in Wireless tool kit must have installed. au revoir Prakash Raman |
| prakash.raman |
| View Public Profile |
| Find all posts by prakash.raman |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| j2me Midlet Verification/Validation Problem | Nikolaos | Mobile Java Networking & Messaging & Security | 5 | 2008-06-16 17:31 |
| Opening connection to the secure element fails when restarting the midlet. | tfroidcoeur | Near Field Communication | 6 | 2007-08-24 09:38 |
| How can a MIDlet know it is invoked by sms or manually? | younflancy | Mobile Java Networking & Messaging & Security | 1 | 2007-07-31 15:28 |
| How can a MIDlet know it is invoked by sms or manually? | younflancy | Mobile Java General | 2 | 2007-07-31 15:21 |
| Methods, that take lots of space | doctordwarf | Mobile Java General | 4 | 2003-07-30 12:05 |