Plz help me in j2me programming
Hello friend,
I am making progress bar in j2me which is made by Gauge class.
here iam fetching data from jsp page..in between all data process and come on to mobile screen i want to show progress bar on screen..plz help me how can i bind my process with Gauge..
if u understand me plzz try to solve my problem...
Thanks in advence
Aman Gautam
As this FS seems to be for lingerie company "Victoria's Secret" could points be converted to underwear instead of t-shirts?
Tip: If you're going to post an entire spec you may want to remove the customer's name first.
Similar Messages
-
CAN ANYBODY PLZ HELP: problem opening any program including internet explorer
i recently got rid of "vista internet security 2010". Took me many scans to wipe it and it seems like i finally cleared it. Now i cant click on anything without it popping up a box saying,
"open with: choose the program you want to use to open this file".
I dont understand what happened but it started doing that right after i used my antivirus and it found the trojan.
can anybody plz help me fix this withouth me having to do a complete system restore?
ill greatly appreciate it.Angie, please be sure to download and run this free tool.
Malwarebytes' Anti-Malware
"open with: choose the program you want to use to open this file
Which file types (see the "extension" at the end of the file) produce that message?
Which computer? Which Windows?
-Jerry -
Hi friends plz help me with dialog programming
hi,
i have developed a screen with flow logic.it has few mandatory fields , radiobuttons,check boxes and pushbuttons such as Create,Save,Display,Back. after entering the values and save i have no problem but when taking back or display it is asking for mandatory field i need not give values for those field to take back.plz provide me with very quick response.
and how do i save data from selected checkboxes or from radiobuttons to ztables and how do i retrieve data back to radiobutton in selected format .
kindly help rewarded for answers.Hi Sirisha,
Goto menu painter and give given status for ur program-> go to standard tool bar and double click on BACK and select Function type = E.
or
double click on ur PF status and do the same.
once you give function type E, write one module under PAI like below.
PROCESS AFTER INPUT.
MODULE BACK AT EXIT-COMMAND.
code for Module BACK
IF ok_code = 'BACK' OR ok_code = 'EXIT'.
CLEAR: ok_code.
LEAVE TO SCREEN 100." This is the screen where u want to come back
ENDIF.
ENDMODULE.
This module BACK is executed wherever u write under PAI when Function type E is defined for Screen Element.
for more details on this topic. please have a look.
[http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbaa9535c111d1829f0000e829fbfe/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbaa9535c111d1829f0000e829fbfe/content.htm]
I hope that it helps you ..
Regards,
Venkat.O -
J2Me game programming plz help
Helo everyone,
I am working in j2me game programming plz if
any one know how make image as small as possible
in our game program.?
I am using *.png format of image which is working well
in game but my game size is very big so plz help me to get
out of this problem
Thank u
Aman GautamI solved the same problem by using indexed color images instead of true color.
So, for example, if you have a colorful background you can convert it to a 256 color image.
Depending on your specific image and the devices you'll see it on you may or may not notice the difference, but the file size is generally smaller.
Then you can push further for smaller elements, like, say, a moving object like a pointer or a starship, you can reduce it to 60 or 30 colors, or even less.
Another technique is to use tiles to build up the background instead of big images. With MIDP2.0 there's the TiledLayer, but you can implement the same with some code also on MIDP1.0 if backward compatibility is of concern. -
Plz need help with this hashmap program
as far as i know, this hashmap program works, but i cant get it to compile correctly because of one line error:
phoneArray[2] = int f;
the second position in phoneArray is and will always be a number, but the array is a String array, making it difficult for me to take the number in that position and change it.
In actuality, the number is a score (a grade) and i need to take it to change it to a letter grade, where it will later be spit out in order from Name, Year, Score, Grade.
plz help, this is a school assignment and its driving me mad.
import java.util.*;
import java.io.*;
* A class that represents a phone book. This phone
* book maps names to phone numbers. This will
* read teh phone book information from a file.
public class CourseData2 {
/////////////////// fields ///////////////////
private String fileName;
private Map phoneMap = new HashMap();
/////////////////// constructors ///////////////////
* Constructor that takes a file name and reads
* in the names and phone numbers from a file.
* @param file the name of the file to read
public CourseData2(String file) {
this.fileName = file;
// Read the map information in form the file
readInfoFromFile();
} // constructor
/////////////////// methods ///////////////////
* Get the phone number for hte passed nam
* @param name the name to look up in hte map
* @return the phone number if found, else null
public String getPhoneNumber(String name) {
String phoneNumber = (String) phoneMap.get(name);
return phoneNumber;
} // method getPhoneNumber()
* Method to read the phone information from a
* file and use it to fill hte map
public void readInfoFromFile() {
String line = null;
String[] phoneArray = null;
try {
// create the reader
BufferedReader reader =
new BufferedReader(new FileReader(fileName));
// loop reading from the file
while ((line = reader.readLine()) != null) {
if (line.indexOf(":") >= 0) {
phoneArray = line.split(":");
phoneMap.put(phoneArray[0].trim(),
phoneArray[1].trim(),
phoneArray[2].trim());
} // if
} // while
(int)phoneArray[2] = int f;
if (f < 60) { (String)a = "E";}
else if (60 <= f < 70) { (String)f = "D";}
else if (70 <= f < 80) { (String)f = "C";}
else if (70 <= f < 90) { (String)f = "B";}
else if (90 <= f) { (String)a = "A";}
// Close the reader
reader.close();
} // try
catch (FileNotFoundException ex) {
SimpleOutput.showError("Could not find the file \"" + fileName + "\".");
} // catch
catch (Exception ex) {
ex.printStackTrace();
} // catch
} // method readInfoFromFile()
public void printBook() {
// Sort hashtable.
Vector phoneVector = new Vector(phoneMap.keySet());
Collections.sort(phoneVector);
// Display (sorted) hashtable.
for (Enumeration phoneEnumeration = phoneVector.elements(); phoneEnumeration.hasMoreElements();) {
String key = (String)phoneEnumeration.nextElement();
System.out.println("Name: " + key + ", Year: " + phoneMap.get(key) + ", Score: " + phoneMap.get(key) + ", Grade: " + phoneMap.get(key));
} // for
} // method printBook()
/* main method for testing */
public static void main(String[] args) {
CourseData2 phoneBook = new CourseData2("scores12.txt");
System.out.println(phoneBook.getPhoneNumber("Lee"));
System.out.println(phoneBook.getPhoneNumber("Smith"));
phoneBook.printBook();
} // main()
} // classafter much time and editing, this is the revised coding:
import java.util.*;
import java.io.*;
* A class that represents a class score book. This
* book maps names to scores and grades. This will
* read the names, scores and grade information from a file.
public class CourseData2 {
/////////////////// fields ///////////////////
private String fileName;
private Map phoneMap = new HashMap();
/////////////////// constructors ///////////////////
* Constructor that takes a file name and reads
* in the names and phone numbers from a file.
* @param file the name of the file to read
public CourseData2(String file) {
this.fileName = file;
// Read the map information in form the file
readInfoFromFile();
} // constructor
/////////////////// methods ///////////////////
* Get the phone number for hte passed nam
* @param name the name to look up in hte map
* @return the phone number if found, else null
public String getPhoneNumber(String name) {
String phoneNumber = (String) phoneMap.get(name);
return phoneNumber;
} // method getPhoneNumber()
* Method to read the phone information from a
* file and use it to fill hte map
public void readInfoFromFile() {
String line = null;
String[] phoneArray = null;
String a = "";
try {
// create the reader
BufferedReader reader =
new BufferedReader(new FileReader(fileName));
// loop reading from the file
while ((line = reader.readLine()) != null) {
while ((line = reader.readLine()) != null) {
if (line.indexOf(":") >= 0) {
phoneArray = line.split(":");
int f = Integer.parseInt(phoneArray[2]);
if (0 <= f && f <= 100) {
if (0 <= f && f < 60) { a = "E";}
else if (60 <= f && f < 70) { a = "D";}
else if (70 <= f && f < 80) { a = "C";}
else if (80 <= f && f < 90) { a = "B";}
else if (90 <= f && f <= 100) { a = "A";}
} // if f between 0 and 100
else if ( f > 100 && f < 0 ) {
SimpleOutput.showError("Score is not an integer");
String g = new String();
g = phoneArray[2];
}//if < 0
}// if (line.index....
phoneMap.put(phoneArray[0].trim(),
(phoneArray[1].trim() + phoneArray[2].trim() + (String)a));
} // while2
} // while
// Close the reader
reader.close();
} // try
catch (FileNotFoundException ex) {
SimpleOutput.showError("Could not find the file \"" + fileName + "\".");
} // catch
catch (Exception ex) {
ex.printStackTrace();
} // catch
} // method readInfoFromFile()
public void printBook() {
// Sort hashtable.
Vector phoneVector = new Vector(phoneMap.keySet());
Collections.sort(phoneVector);
// Display (sorted) hashtable.
for (Enumeration phoneEnumeration = phoneVector.elements(); phoneEnumeration.hasMoreElements();) {
String key = (String)phoneEnumeration.nextElement();
System.out.println("Name: " + key + ", Year: " + phoneMap.get(key) + ", Score: " + phoneMap.get(key) + ", Grade: " + phoneMap.get(key));
} // for
} // method printBook()
/* main method for testing */
public static void main(String[] args) {
CourseData2 phoneBook = new CourseData2("scores12.txt");
System.out.println(phoneBook.getPhoneNumber("Depp"));
System.out.println(phoneBook.getPhoneNumber("Gonzales"));
System.out.println(phoneBook.getPhoneNumber("Jenkins"));
System.out.println(phoneBook.getPhoneNumber("Lee"));
System.out.println(phoneBook.getPhoneNumber("Mac Donald"));
System.out.println(phoneBook.getPhoneNumber("O'Malley"));
System.out.println(phoneBook.getPhoneNumber("Price"));
System.out.println(phoneBook.getPhoneNumber("Ramesh"));
System.out.println(phoneBook.getPhoneNumber("Smith"));
System.out.println(phoneBook.getPhoneNumber("Winston"));
phoneBook.printBook();
} // main()
} // classthis has no errors, but gives me 4 warnings, which i can't solve, plz help -
Plz Help! How to control mouse motion(use program to move/click the mouse)?
Hi people, plz give me some help on this: I wanna control mouse motion at another program's window, eg. control mouse movement in Internet Explorer's window. For a particular pixel on the screen, I need to move the mouse onto it instantly, then click. Please note that the java program(no applet) is going to run at the background, the current active window is some other programs like IE, notepad, etc.
Plz give me some clue about how to achieve this, thanks.
Do I need to do this through windows API or it can be done purely in JAVA?
Also, how to calculate the RGB color from a particular pixel on the screen?
Thank you very much for your time, plz help :).The same question each day (exe) !!!
There are many posts on this point!
All the soft that allows the build a native executable file on Windows
are not free!
You can take a look at JET excelsior
http://www.excelsior-usa.com/home.html
Denis -
How do i pass parameters from j2me to jsp?plz help
hi everyone...
i m doing my final year project
can anyone plz tell me how to pass parameters like user name,password,etc.. from a j2me midlet to a jsp page running in tomcat server?
i tried passing parameters in http connection through url as:
String url="http://localhost:8080/example/test.jsp?name=abc";
i need this info urgently as i am not able to proceed with my project... plz help
any suggestions or references would be appreciated...
thank u...
regards,
RinziJHD
hi.
you have written in URL i sperfectly right but if this is also not complete one.
i.e url = "http://localhost:8080/dir/xxx.jsp?userName=jasmit&password=vala"
now when u establishing connection i.e
HttpConnection con = (HttpConnection) Connector.open(url,3);
this will work as an declaration but if u want to send that parameter for that you have to get response from the server and that time only original connection is going to establish i.e
when u r writting
int responseCode = con.getResponseCode();
if(reponseCode == 200)
then ur parameter were passed to jsp page.
in jsp page u have to get parameter using request class
String userName = request.getParameter("userName").toString();
String password = request.getParameter("password").toString();
i hope this might solve ur problem.
Regards,
Jasmit vala
[email protected] -
plz help me,after instuling the last software update,the programs and games and everything i have download it can't open!
Have you tried the basics from the manual?
restart, reset, restore.
iPod touch User Guide (For iOS 4.3 Software) -
Not able to copy a program plz help
hi experts
i ill have to create a copy of program SAPMSM20 (transaction sm20) .
when i am copying the program in the output it is hsowing some different output .
or i can say
in case of SAPMSM20 it is calling screen 300
but wen i copied it
it is calling screen 200.
plz copy this program at your end and tell me how can i copy it to get the same output as in SAPMSM20.
thanx in advance .Hi Anit,
try this:
DOWNLOAD PROGRAM ==============
http://www.sap-img.com/abap/download-and-upload-your-abap-program.htm
visit http://www.dalestech.com
Can check these links also.
http://sap.ittoolbox.com/code/archives.asp?d=1623&a=s&i=10
http://www.members.tripod.com/abap4/Upload_and_Download_ABAP_Source_Code.html
http://www.geocities.com/rmtiwari/Resources/Utilities/WebViewer.html
http://sap.ittoolbox.com/code/archives.asp?d=3333&a=s&i=10
http://www.sap-img.com/abap/download-and-upload-your-abap-program.htm
Hope it is helpful.
Manish
Download program and Classes.Download program and Classes.
ZREPTRAN_46C appears to allow downloading of classes
http://www.xaption.de/downloads/developer/index.php?Xaption=cd4ab5a11a5c26d34de38ed675bb6541
http://wiki.ittoolbox.com/index.php/Code:Download_and_upload_OO_ABAP_class_in_XML_format
<b>Reward points if this helps.
Manish</b> -
Hello
I upgraed my iphone to ios 7 but its dosent work like app stor dosent install any brogram or update programs and its slow and stuck plz help meMy iPhone 5 wouldn't start after I turned it off a few minutes after writing this. It went into recovery mode and I had no choice but to connect to iTunes on PC and restore.
I restored to factory setting first, just to validate my phone was okay. For a second consecutive iOS update, the iPhone 5 did not update smoothly while connected to PC and iTunes - I had to retry two times before the progress bar for the update showed. (The exact same problem with the restart occured when I updated to 7.0.4.)
The good news is that I was ultimately able to restore the iPhone 5 to factory settings while running iOS 7.0.6. I did have a backup from about a month ago lying around and was able to successfully restore with that as well, so the damage done is almost negligible since I had my contacts, notes, mail, etc. backed up to iCloud.
Once I completed both restores, the sync with iTunes worked fine. -
hello to all
i am using textField for user input and i want to remove this text field from that form and after i want to add some another inputs like choice group on that form so i want to remove textField and add a choice group.
we can a remove choicegroup field from form like(form.delete(choicegroupName))
but as same type we can not remove a textField item.
i use coding for delete a textField form.delete(typeOfCar);
it is giving error
delete(int) in javax.microedition.lcdui.Form cannot be applied to (javax.microedition.lcdui.TextField form.delete(typeOfCar);
sir plz help mejust when adding the TextField to the form call it like
int textFieldPos = form.add(textField);
this saves the index of this Textfield in the textFieldPos variable. This can be used to remove this component, by calling
form.delete(textFieldPos).
hth
Kay -
Error while opening a module. plz help me, very urgent.
when i try to open a module, the following error message appears on my screen.
" no j2ee component found in d:\krisp\programs\servlets".
i've installed bea in c: drive and my servlet program is in d: drive.
plz help me, it's very urgent.Can you provide some more information? What were you doing when this happened?
Can you post the entire error message?
-- Rob
WLS Blog http://dev2dev.bea.com/blog/rwoollen/ -
hi ,
plz i got the following error while running a J2ME
program
cannot resolve symbol
symbol : method add (java.lang.String)
location: class java.util.Vector
any ideas????i am currently using 6115tx and its working superb, as for your question, the configurations for both are same and so you can choose any one..
-
Hi plz help me to find out the table name and field names as i am unable to find .....In the spec am given requirements in the following pattern.
Description SAP-Term Explaination
1.Salesman Equipment AC Mgr. VBPA2 this is the salesman code - I need the
description for this.
2.Vendor MEPO_TOPLINE-SUPERFIELD Vendor field is pull from me23n where the
condition will be that COBL-KDAUF (this is a
structure from me23n in item data-account
assignment-sales order. The number here should
be the corresponding contract number. This field
should include a multiple selection function. User
can put more than one description to search for.
3. Val. Period Val. Period Category Val. Period Category from va41 header-contract
Category data. This field should include a multiple selection
function. User can put more than one description
to search for.
4. Service Order/ CAUFVD-GSTRP/ This should be the document date where by it is in
Purchase Order MEPO_TOPLINE-BEDAT between the range the user input
Document Date
5. B2B Vendor MEPO_TOPLINE-SUPERFIELD Vendor field is pull from me23n where the condition
will be that COBL-KDAUF (this is a structure from
me23n in item data-account assignment-sales
order. The number here should be the
corresponding contract number.
6. B2B Cost MEPO1211-NETPR This cost is pulled from PO (me23n) however take
note that the price will be pulled out base on line
item Net Price. Make sure that price is taken
corresponding only to the equipment tied to it.
Check on Number 7 to see how is the line item tied
to the equipment.
If this is in other currency please make it to SGD
with the exchange rate field Exchange rate
(MEPO1226-WKURS)
NOTE:: I need to know the table from which I can
determine the currency type as can be seen in the
ME23N transaction and also te exchange rate for
that particular currency.
7. No of faults The service order (CAUFVD-AUFNR) created base
on the equipment in Number 8. This should exclude
the service order of type RD08. Service order can be
access by IW33.
8. Faults Completed This would be the number of faults (Number 13)
which has a system status (CAUFVD-STTXT) of
TECO. System status can be viewed in IW33 Sys.
Status. Take note service order type RD08 will be
excluded
9. Time Spent on Fault AFVGD-ISMNW This field is in IW41 in confirmation base on the
order created. This field will be the actual time
spent. This will correspond to the Faults
Completed (Number 14). This means only orders
with system status TECO will be pull. Take not
service order type RD08 will be excluded
10. Fault Cost RIHAUFK_LIST- DGESKOSIST This will be the total cost for a service order which
have the status TECO. Those which are not TECO
will not be needed. This field can be obtain from
IW39 (standard report). Execute the report and
there will be a field for Total Actual Cost. You might
need to change the screen layout to be able to view
this. Take note service order type RD08 will be
excluded
11. PM Hours AFVGD-ISMNW This field is in IW41 in confirmation base on the
order created. This field will be the actual time
spent. This will correspond to the Faults Completed
This means only orders with system
status TECO will be pull. Take note service only
take order type RD08.
12. Spare Cost Spare part cost This field will be in IW33 under cost tab, and cost
PMCOEA-IKOSTENKGR tab in item level. This will be the actual cost of spare
part after TECO. This will include all order type.
13. Credit Note Credit Memo The programs need to pull out credit memo which is
reference from the contract. If there is a credit memo
reference from the contract then the value will be net
price per equipment.Can u tell me purpose of this spec ?
Regards,
pandu. -
Hi Folks,
I am new in Java programming, have a .jar file that contains .java files that I want no access and use from another .java file. These files in the .jar file basically form a library thus have no main-method. However I can not declare an instance of the library (in the .jar file) and use it within my program.
Plz help ...I have tried all I know in vain.
Thanks.temba wrote:
Hi Folks,
I am new in Java programming, have a .jar file that contains .java files that I want no access and use from another .java file. These files in the .jar file basically form a library thus have no main-method. However I can not declare an instance of the library (in the .jar file) and use it within my program. You are making little sense. You can't instantiate .java files.
Plz help ...I have tried all I know in vain.
Thanks.Could you post WHAT you have tried and also post what error messages you received?
Maybe you are looking for
-
Enable tool tip in Exported PDF document from a CRE Report
Hi All, We are on BObj 4.0 and using CRE for our reports. We have enabled Tool tip text on mouse over for certain labels which works great in browser. When we export to PDF, we dont see the Tool tip text. Is there a way we can configure this in CRE s
-
I don't wan to load my entire former user ID onto my new system. iPhoto keeps saying "The iPhoto library is a Time Machine Backup, and so cannot be used as the main library. Reopen iPhoto with the Option key held down to choose another library." The
-
Unicode font usage with jTabbedPane
Hey there I faced a problem when I use Unicode characters on JTabbedPane the font is amharic power geez unicode1 and it works fine with jLabel and partially with jButtons ( except trying to set text at run time ) The problem with jTabbedpane is that
-
Hi experts, please tell how to create country chart of account, and how to assign where do all posting and where we see all transaction and business process, same group chart of account where i have to make ,see all process. thanks Arti singh
-
ColdFusion Report Builder 9 Using MySQL query's
Hey Everyone I have been pulling my hair out for several days with this, I have all of the Adobe ColdFusion 9 dev books, and Google returns a cluster of information that doesnt seem to work. I was hoping someone could help me out here. So what I did