 Thread Author
# 1

04-30-2011, 07:17 AM
|
| CrackBerry Newbie | | Join Date: Apr 2011 Posts: 1 Likes Received: 0
Thanked 0 Times in 0 Posts
| |
Help me to start programming for BlackBerry
Hi to everyone,
I am new in a world of Blackberry developers and have to make a simple blackberry app for online shop.
Firstly, I have one xml file which holds details of interest for my application.
For example, data.xml consist from:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<data>
<offer-id>offer-333333</offer-id>
<request-submission-email>abc@micro.com</request-submission-email>
<contact-phone>222-111-000</contact-phone>
<markets>
<market code='FRK'>Central Europe, Frankfurt</market>
<market code='PAR'>West Europe, Paris</market>
<market code='LON'>United Kingdom, London</market>
<market code='LGA'>United Kingdom, Liverpool</market>
<market code='MOS'>Moscow</market>
<market code='ATN'>Greece, Ahtens</market>
</markets>
<fruits>
<fruit>
<name>Apple</name>
<summary-description>
<title>Apple</title>
<text>
Multi-line
Text goes here!
</text>
<image>images/apple.png</image>
</summary-description>
<business offer>
<page order='1'>
<title>Our offer</title>
<text>
Multi-line text goes here!!
</text>
<image>images/offer.png</image>
</page>
<page order='2'>
<title>Distribution and payment</title>
<text>
Multi-line text goes here!
</text>
<image>images/technicaldetails1.png</image>
</page>
</business offer>
</fruit>
<fruit>
<name>Cherry</name>
<short-description>
<title>Cherry</title>
<text>
Some text goes here!
</text>
<image>images/cherry.png</image>
</short-description>
<business-offer>
<page order='1'>
<title>Our offer</title>
<text>
Some text goes here!
</text>
<image>images/cherry_offer.png</image>
</page>
<page order='2'>
<title>Payment</title>
<text>
Some text goes here!
</text>
<image>images/payment.png</image>
</page>
</business-offer>
</fruit>
</fruits>
</data>
Tasks:
1. On the first screen(when starting app), my app have to load and display(on main screen) from each <fruit> node only:
<name>
<Text>
<image>
2. When I click on apple image or name or text, my application open
next page and display one part of <business-offer> page which include complete <page order ="1"> with previous button( back us to main screen), cancel button(cancel operation and back to main page) and next button (go to <page order ="2">)
Please, help me to enter into this world! It's look great, but me need a little help!
|