NAIROBI, Kenya — World leaders visit Africa relatively little, but Tanzania is preparing to host US President Barack Obama just three months since a state visit by Chinese leader Xi Jinping.
While Washington has long and strong ties with Tanzania, Obama's Africa visit is seen by some as one part of wider US efforts to boost its presence, as well as to counter Beijing's growing influence on the resource-rich continent.
After Xi's March visit, in which he spoke of Beijing's "sincere friendship" with Africa and said its trade with China reached $200 billion in 2012, Washington stressed its "positive agenda" with the continent.
"The Obama administration also recognizes that U.S. business needs to do better in Africa — for too long the approach has been dominated by counter-terrorism and humanitarian priorities," said Alex Vines of Britain's Chatham House think tank.
In terms of choosing Tanzania, analysts are swift to say there are many other factors than direct competition between Washington and Beijing for a U.S. visit.
The U.S. is the largest single development partner in terms of actual funds for infrastructure to Tanzania, notes J. Peter Pham of the Atlantic Council's Africa Center, adding that Washington must balance geographic regions as well as religious and linguistic zones in choosing nations on a continental tour.
"While it can be said that in many places in Africa, especially on the trade and investment front, the United States needs to play catch up, that is not the case with Tanzania," he added, stressing it was wrong to explain Obama's choice as being motivated by Xi's recent visit.
For Pham, Obama's visit to Tanzania is more about diplomatic difficulties in visiting neighboring Kenya — birthplace of Obama's father — due to upcoming international crimes against humanity trials for President Uhuru Kenyatta.
But Obama's tour, his third visit to Africa, marks wider efforts by the U.S. to boost its presence on the continent.
"There is an appreciation that the U.S. has not paid sufficient high-level attention to Africa in recent years as compared to what China has been doing," said David Shinn, a former U.S. ambassador to Ethiopia and now a professor at The George Washington University.
China overtook the U.S. as Africa's biggest trade partner in 2009, notes Pham.
China's business boom and its rise to become the world's second-largest economy has seen financial and trade ties rocket in recent years, as it sources many of its raw materials from Africa.
A new Chinese diaspora has seen huge numbers of traders and small business operators establish themselves across the continent, which has higher growth rates than Europe or the U.S.
"Much of China's engagement has been conducted by private and state-owned companies. The U.S. private sector in recent years has not kept pace," Shinn said.
"To some extent, the U.S. is now trying to play catch-up with China and other countries such as Brazil, India and Turkey."
In terms of Obama's visit to Tanzania — a relatively stable nation, with a rapidly growing population and significant offshore natural gas deposits — Vines notes that security, good governance, trade, and aid will be likely key objectives of the trip.
But pithy conclusions of complex diplomatic and economic relations across a 54-nation continent are often gross over-simplifications, and Vines is careful to note, for example, that in eastern Africa and the Indian Ocean, it is actually India-China rivalry that "is more notable."
Still, the U.S. and Western nations are keen to boost their presence to ensure their economic partnerships remain strong.
"Recently, China and other emerging nations have been winning this competition in Africa vis-a-vis the U.S. and European countries," Shinn added.
"As North America and Europe put the financial crisis behind it, I believe they will reemerge as strong competitors in Africa. International commerce is dynamic; no country stays on top forever."
And while U.S. engagement on the continent is already strong in many areas, a presidential visit offers a very public sign of engagement.
"Africans have been wondering what happened to their son. . . . They have seen the Chinese leaders on their continent so frequently now, that they know more about Beijing than Washington," grumbled Mwangi Kimenyi, director of the African Growth Initiative at Washington's Brookings Institute.
Kimenyi, in a letter penned to Obama and printed in Kenya's Daily Nation newspaper, asks him to take a good look at the homeland of his father as he flies overhead, but not to confuse the fires of small businesses with the flames of past election violence.
"What you see will be people going on with their business like bees," he writes, before ending with a jibe that if he spots machines, "that is our Chinese partners' bulldozer working on our new bypasses."