HANOI, Vietnam (AP) -- President Barack Obama on Tuesday pressed Vietnam to allow greater freedoms for its citizens, arguing that better human rights would improve the communist country's economy, stability and regional power.
On his second full day in the southeast Asian nation, Obama also met with activists as part of a push for closer ties with the fast-growing, strategically crucial country that included the lifting of one of the last vestiges of Vietnam War-era antagonism: a five-decades-old arms sale embargo.
In a speech at the National Convention Center, Obama sought to balance a desire for a stronger relationship with Vietnam with efforts to hold its leadership to account over what activists call an abysmal treatment of government critics.
Nations are more successful when people can freely express themselves, assemble without harassment and access the internet and social media, Obama said.
"Upholding these rights is not a threat to stability but actually reinforces stability and is the foundation of progress," Obama told the audience of more than 2,000, including government officials and students from five universities across the Hanoi area. "Vietnam will do it differently than the United States does ... But there are these basic principles that I think we all have to try to work on and improve."
Freedom of expression is where new ideas happen, Obama said. "That's how a Facebook starts. That's how some of our greatest companies began."
Journalists and bloggers can "shine a light on injustice or abuse" when they are allowed to operate free of government interference or intimidation, he added. And, stability is encouraged when voters get to choose their leaders in free and fair elections "because citizens know that their voices count and that peaceful change is possible. And it brings new people into the system," Obama said.
Obama also traced the transformation of the U.S.-Vietnamese relationship, from wartime enemies to cooperation. He said the governments are working more closely together than ever before on a range of issues.
"Now we can say something that was once unimaginable: Today, Vietnam and the Unites States are partners," he said, adding that their experience was teaching the world that "hearts can change."
Earlier Tuesday, Obama met with six activists, including a pastor and advocates for the disabled and sexual minorities. He said several others were prevented from coming. "Vietnam has made remarkable strides in many ways," Obama said, but "there are still areas of significant concern."
Obama, in his speech, also referred to China's growing aggression in the region, something that worries many in Vietnam, which has territorial disputes in the South China Sea with Beijing.
Obama got a round of applause when he declared that "big nations should not bully smaller ones," an allusion to China's attempt to push its rivals out of disputed territory. Obama said the United States will continue to freely navigate the region and support the right of other countries to do the same.
After Hanoi, Obama flew to Ho Chi Minh City, formerly Saigon. He visited the Jade Emperor Pagoda, considered one of the most beautiful pagodas in southern Vietnam and a repository of religious documents that includes more than 300 statues and other relics. A strong smell of incense hung in the air as visitors frequently burn incense outside the main temple to announce to the heavens their arrival.
As Obama paused before one statue, a guide explained that if he wanted to have a son, he should pray to her.
"I like daughters," Obama replied.
Shifting from the historical to the modern, Obama was also stopping by the Dreamplex business complex in downtown Ho Chi Minh City, a space for startup entrepreneurs that fits with Obama's message about the potential benefits of closer ties to Vietnam's growing economy and its burgeoning middle class.
Obama's meeting with entrepreneurs will let him talk up the benefits of what he says will be enhanced trade under a 12-nation trade deal that is stalled in Congress and opposed by the leading U.S. presidential candidates. Obama said during his address that the agreement would give Vietnamese workers the right to form labor unions and would prohibit forced and child labor. He also predicted that the pact, if ratified, would lead to greater regional cooperation.
"Vietnam will be less dependent on any one trading partner and enjoy broader ties with more partners, including the United States," Obama said.