j2me mobile application (has to be done from scratch and not taken from other projects) that can receive an XML file through WAP(url can be entered through menu, "open product-list") or Blutooth source "get product-list -> search blutooth -> request file". The XML file contains certain details like Shop details (Name, description, category, tax/vat, address, mobile phone number, multi-sms (true/false), working hours, working days... etc), Product details (int index, varchar(10)name, char(10)id, (float)unitprice, (float)tax/vat, char(10)tag1, char(10)tag2, (boolean)fractions/unit). This should be storable on the mobile record store one for shop details and the other record store containing shop-index + products details. This information can be recalled through a menu option, "open shop". Menu should also have an option of entering customer name char(10) that should be stored in a record store as well. Menu should also contain "Exit" button. Also, by default the application opens with a menu and a jpeg image + a small description (dummy text content), yes it will be altered later. Menu also has a "check support" option that tests if this mobile phone can send SMS from J2ME or not.
The XML file once received should show the shop details. Details page should contain a Hyper-link(show products) just under "name" so that it can display the products categorized by tags (underlined) (also in alphabetic order) followed by products (also in alphabetic order). The products in the product page can be selected by entering quantity for fraction products (0-not selected, default) or unit-counter-widget for unit products.
At the bottom of the products page and in the menu, there is a "next" button that moves it to the next page "Selected products page" which only shows the products that are selected, this page is also editable (no tags ordering necessary). On this page and on the menu (while viewing this page), there is also a "back" button. So one may go back and forth to select/de-select/edit. This page should also show the total price(estimated calculation based on (quantity*unitprice + product vat/tax on subtotal)* n products + shop vat/tax on grand total ). There is a "send" button on this page that sends the detail through SMS (if necessary multiple SMS should be sent) to the shop mobile phone number.
Multiple SMSes should be truncated ensuring "product id - quantity" values aren't broken up.
XYZ ORDER (RANDOM NUMBER(4)-CONTINUE NUMBER(2))
AJKE23 - 1, KDHUIE - 4, HDOBE - 5.4,
SMS continued format: (non multi-sms establishment which is part of shop details, as they are using old mobile phones without features, hence random number with continue digit)
XYZ CORDR (RANDOM NUMBER(4)-CONTINUE NUMBER(2))
JLLDOID - 3, HLKEOD-4.4 ...etc