How to do multi-threaded operations in PHP

Well, to start. You can’t do multi-threads in PHP, and depending on your server ie. Apache. It makes this challenge even harder.

But for long operations that must be ran side by side I devised an approach using multi_curl.

multi_curl allows you to pull remote content side by side. You pass it an array of all the urls and in one go it will process all of them.

Graphical Layout view in Eclipse doesn’t allow the ability to scroll to see entire view.

What’s up with eclipse not working to allow me to scroll the view to see the entire xml layout while in the Graphical Layout View?

What is a guy / gal to do ?

Turns out this is an easy one.

In the graphical layout view there is a button in the upper rightmost corner that appears to be a dashed rectangle with a filled rectangle fixed on it’s upper left corner.

Click this button and wallah, you will see the entire view minus the scrollbars.

Listviews and Custom Adapters

Having problems getting your listviews up and running using custom adapters.

Lets look into what goes into setting up a custom adapter and attaching it to a listview.

 

© 2010 - Pyramid Tech Studios
Wordpress Themes