在构建应用程序(在我的情况下为 android)时,您将如何引用和显示使用 Corona 存储在设备上的音乐文件。我已经搜索了http://developer.coronalabs.com/reference,但我找不到它,但我并不是说它不是他们的。
所以这是用于“歌曲”的视图之一
local storyboard = require( "storyboard" )
local scene = storyboard.newScene()
function scene:createScene( event )
local group = self.view
local bg = display.newRect( 0, 0, display.contentWidth, display.contentHeight )
bg:setFillColor( 255 ) -- white
local title = display.newRetinaText( "First View", 0, 0, native.systemFont, 32 )
title:setTextColor( 0 ) -- black
title:setReferencePoint( display.CenterReferencePoint )
title.x = display.contentWidth * 0.5
title.y = 125
local summary = display.newRetinaText( "Loaded by the first tab 'onPress' listener\n— specified in the 'tabButtons' table.", 0, 0, 292, 292, native.systemFont, 14 )
summary:setTextColor( 0 ) -- black
summary:setReferencePoint( display.CenterReferencePoint )
summary.x = display.contentWidth * 0.5 + 10
summary.y = title.y + 215
local sliderListener = function( event )
local sliderObj = event.target
function buildGUI()
print( "New value is: " .. event.target.value )
end
group:insert( bg )
group:insert( title )
group:insert( summary )
谁在神秘帐户上写了这个?