Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
FranciscoCalles
Posts: 2
Registered: ‎07-20-2012
My Device: Curve 9300
Accepted Solution

Consultation on my app

Hello everyone, my name is Francisco and is first seen that posting in your forum.
I have a problem with my application, is made for OS 5, I read a xml from a url where data are other pictures url and numerical, with objects which encapsulated this I think all the information then show a ListField with images up there all well, ran the program on the device and all good.
The problem is that when updating the xml and even remove the images in the phone app keeps showing me the same as before, I mean not in the emulator Simply update and if you upgrade, any idea what happens?
Thanks in advance for your time and please excuse my English not speak it.

Developer
YamilBracho
Posts: 713
Registered: ‎05-31-2010
My Device: 8520

Re: Consultation on my app

Francisco, quizas el problema no este en tu codigo BlackBerry, sino en el servidor. Lo mas probable es que el servidor este "cacheando" el archivo xml. La solucion, agrega un numero unico a la rul. Por ejemplo :

String url = "http://tuserver/tupeticion.xxx?" + String.valueOf( (new Date()).getTime());

De esa manera le concatenas la fecha y hora al momento de la peticion.

 

Espero esto te  ayude

New Contributor
FranciscoCalles
Posts: 2
Registered: ‎07-20-2012
My Device: Curve 9300

Re: Consultation on my app

pero la url del xml seguira siendo la misma no?

gracias por responder.

Moderator
jakoby4204
Posts: 3,332
Registered: ‎12-02-2009
My Device: .

Re: Consultation on my app

Hola y gracias por participar en el foro,

Para tu comodidad, BlackBerry tiene su propio foro comunitario en español.

Aquí tienes el enlace para el foro: http://foros.blackberry.com/t5/Foros-de-Soporte-General/ct-p/bscf_es

Muchas gracias!

Jakoby4204                                                                                                 New to the Community click here  
Community Moderator
Likes2.png    AS3.png    CG2.png
Developer
YamilBracho
Posts: 713
Registered: ‎05-31-2010
My Device: 8520

Re: Consultation on my app

<spanish>

Si, puedes usar el mismo xml

</spanish>

<english>

yes, you still can use the same xml file

</english>