Apple Inc said that it will give details next week of how outside programmers can create software for its iPhone, a move aimed at spurring demand for the multi-function device.