Asia markets ended Friday up after data out of China show a softening in the world's second-largest economy.

China's CSI 300 composite index was  up 1.39% at 3,728.34.

In Hong Kong, the Hang Seng was up 0.82% at 22,766.35.

China's National Bureau of Statistics data on fixed-assets investment showed that growth in private-sector spending, which accounted for 61.4% of the total, fell to a record low of 2.1% in the January to July period, while state investment rose 21.8%. In the same period, overall fixed-assets investment rose 8.1%, falling short of forecasts for 8.9% growth and compared with 9% growth in the six months to June.

The statistics office said industrial output rose 6% year-on-year in July. That compared with expectations for a stable growth rate of 6.2%.

In Tokyo, the Nikkei gained 1.10% on Friday to close at 16,919.92 and the Topix was up 0.64% at 1,323.22.

Sharp (SHCAY) gained 19% on Friday after a proposed takeover by Apple (AAPL) - Get Report supplier Hon Hai Precision Industry (HNHPF) was given the go-ahead by Chinese authorities. Hon Hai, which is also known as Foxconn, proposed the ¥388 billion ($3.5 billion) acquisition of the beleaguered display maker in March.

TheStreet Recommends

Commodities trader Noble Group (NOBGY) lost more than 5% in Singapore after the company yesterday announced it posted a second-quarter loss of $55 million.

In South Korea, the Kospi was up 0.08% to 2,050.47.

South Korean officials today confirmed they were investigating whether Google (GOOGL) - Get Report had violated the country's anti-competition laws. But the officials did not elaborate on what it was investigating.

Oil continued to climb on Friday after comments from Saudi Arabia's energy minister Khalid Al Falih were accidentally emailed to journalists. Al Falih said that the Kingdom, which is Opec's largest oil producer, would consider taking action in cooperation with Opec and non-Opec exporters to help to the market rebalance.

West Texas intermediate was recently up 1.06% to $43.95 and Brent crude was up 0.85% to $46.43 a barrel.

Dow Jones Industrial Average mini futures were recently unchanged and S&P 500 mini futures were down 0.03%.

Apple is a holding in Jim Cramer's Action Alerts PLUS Charitable Trust Portfolio. Want to be alerted before Cramer buys or sells AAPL? Learn more now.