Tried running code below in simulator and it works. Tried it on a Droid device and the activity indicator did not show up. Submitted bug (case #4917):
local function timerDone ()
native.setActivityIndicator(false)
native.showAlert("Test App", "Done with activity", {"OK"})
end
local myRectangle = display.newRect(0, 0, display.contentWidth, display.contentHeight)
myRectangle.strokeWidth = 3
myRectangle:setFillColor(140, 140, 140)
myRectangle:setStrokeColor(180, 180, 180)
display.setStatusBar(display.HiddenStatusBar);
native.setActivityIndicator(true)
timer.performWithDelay(3000, timerDone)
-Steven
[import]uid: 7175 topic_id: 9134 reply_id: 309134[/import]