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

Web and WebWorks Development

Reply
Contributor
Posts: 10
Registered: ‎09-09-2011
My Device: simulators
My Carrier: N/A

Re: XMLHttpRequest does not work running app in BlackBerry simulator

I didn't get to your previous post fast enough. Let me be clear. I don't need code snippets. I already have working code that works in the simulators. The xhr hitch was with launching the BlackBerry simulator without using ant, and I've decided I don't need to attempt to solve that problem.

You are more than welcome to stop posting code. But if you want to post for the benefit of others, that is a good thing. Smiley Happy

Highlighted
Developer
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: XMLHttpRequest does not work running app in BlackBerry simulator

You know the thing I like about these forums?

 

People like me answer questions like this

 

You're quite correct, someone will find this useful and my full application (it's not a snippet) will help someone

 

Am I upset at your comment?

 

Possibly

 

Am I pleased that I help the community?

 

Without a question

 

I don't help people for any other reason other than they need help

 

I will keep the word 'jerk' out of this post




Click the like button if you find my posts useful!
Contributor
Posts: 10
Registered: ‎09-09-2011
My Device: simulators
My Carrier: N/A

Re: XMLHttpRequest does not work running app in BlackBerry simulator

I was just trying to be clear that I don't need the code, so as to save you time, but I acknowledged that it can benefit others. And since you stated that you enjoy posting answers, I applaud you for that.

Please do not be upset with my response. I meant no offence.

I read your responses carefully and I value your information and input. I may need your expert knowledge down the road. Peace?

Developer
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: XMLHttpRequest does not work running app in BlackBerry simulator

That is the best argument I've ever seen to get out of inadvertantly insulting someone trying to help you

 

Hey - I like you again Smiley Happy

 

Kudos and accept the answer and I'll even accept a friend request

 

The accept answer is more important as many people seem to be having problems with AJAX - it gets positioned for a day or so

 

You're also quite right - next time you get stuck I'll prob now the answer (or work it out for you)

 

I help my friends without question - just gave a great product idea to a friend

 

I choose my friends carefully




Click the like button if you find my posts useful!
Contributor
Posts: 10
Registered: ‎09-09-2011
My Device: simulators
My Carrier: N/A

Re: XMLHttpRequest does not work running app in BlackBerry simulator

It is way too easy to insult or offend others, especially when there is zero intent to begin with.

Contributor
Posts: 10
Registered: ‎09-09-2011
My Device: simulators
My Carrier: N/A

Re: XMLHttpRequest does not work running app in BlackBerry simulator

As I'm sure you are aware but for the benefit of others, the choice of using synchronous vs asynchronous xhr requests (similarly applicable for JQ ajax calls) is an important consideration.


http://docs.blackberry.com/en/developers/deliverables/11844/Feature_AJAX_512507_11.jsp

I use async which allows my pages to show, pending fill-in with data being fetched from the server.

Contributor
Posts: 10
Registered: ‎09-09-2011
My Device: simulators
My Carrier: N/A

Re: XMLHttpRequest does not work running app in BlackBerry simulator

I finally found an explanation after enough digging. There is an MDS server that is launched by ant to service the networking requests from the simulator. ant takes care of launching the MDS server along with the simulator and hooking the two up so that I have a fullly-capable simulator. I gather that in the physical device, the BlackBerry will be connected to an MDS server provided by the service provider (or the enterprise if that is the case).

Developer
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: XMLHttpRequest does not work running app in BlackBerry simulator

Your intent not to offend just hit a major dive

 

You ask for help - I give you fully functional code and you constantly insult me

 

I give up! You win.

 

Oh to be 14 again - I'll stick to people who I can help who appreciate the time I put into this




Click the like button if you find my posts useful!