Samsung Electronics Co Ltd unveiled its much-anticipated foldable phone at a conference for developers in San Francisco on Wednesday, urging Android programmers to start writing apps for the product.