please help give the project internet radio for android delphi xe 5 here is my code that is wrong with him does
not give error but does
not playunit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics,System.iOUtils, FMX.Dialogs,
FMX.StdCtrls, FMX.Layouts, FMX.Memo,BASSFunctions;
type
TForm1 = class(TForm)
Button1: TButton;
Label1: TLabel;
procedure Button1Click(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1; BASSLibraryHandle: THandle;
uStream:HSTREAM;DocDir: string;
BASSMixLibraryHandle: THandle;
BASSFXLibraryHandle: THandle;
implementation
{$R *.fmx}
procedure TForm1.Button1Click(Sender: TObject);
begin uStream:=BASS_StreamCreateURL(Pchar('
http://retro32.streamr.ru'),0,BASS_STREAM_STATUS,nil,0);
BASS_ChannelPlay(uStream,True); if not bass_channelplay(ustream,true) then label1.text:='not' else label1.Text:='yes';end;
procedure TForm1.FormCreate(Sender: TObject);
begin DocDir := IncludeTrailingPathDelimiter(System.IOUtils.TPath.GetLibraryPath);
BASSLibraryHandle := LoadLibrary(PChar(DocDir + 'libbass.so')); Loadbass; BASS_Init(-1,44100,0,Handle,nil);
end;
end.