摘要:
There are 4 use-cases for deploying an app to an iOS device:DevelopmentAd HocEnterpriseRetail / App StoreThis tutorial is going to concentrate on the 2nd use-case: “Ad Hoc Distribution.”Although you might think of “ad hoc” as meaning something done casually or off the cuff, ad hoc distribution actua 阅读全文
摘要:
接着上一个随笔。视频播放。在IOS上,视频播放使用类MPMoviePlayerController进行,由于苹果公司已经封装良好,使用很简单。引入命名空间using MonoTouch.MediaPlayer;实现代码MPMoviePlayerController player;player=new MPMoviePlayerController(NSUrl.FromFilename("aaa.m4v"));player.View.Frame= this.imgAnimation.Frame; this.View.AddSubview(player.View);player 阅读全文
摘要:
在IOS设备上,经常会碰到多媒体的播放。本文介绍音频播放。播放声音有两种选择: 1.SystemSound 2.AVAudioPlayerSystemSound如果音频时间短(30秒以内),且未压缩,SystemSound是个好选择。引入命名空间using MonoTouch.AudioToolbox;具体代码 SystemSound sound=null; var audioFile=NSUrl.FromFilename("Sound/splash.wav");sound= SystemSound.FromFile(audioFile);sound.PlaySystemS 阅读全文
摘要:
今天遇到一个问题,要表格里面的内容合并。原始数据这个一个学习和测试的记录,Type是类型(0学习,1测试)。一天中可能会学习多次,也可能会测试多次,学习次数和测试次数可能不一样。想要的到得是,按日期列出当天学习和测试的记录。类似这样的结果:(图中两行数据一样,是两种语言表示)大致的SQL语句是select A.Date,A.MID,A.Contents1,B.Contents2,B.Passed from(select ROW_NUMBER() over(partition by Date order by Date) as MID,Date,Contents as Contents1 fro 阅读全文