11 2013 档案

摘要:import android.app.Activity;import android.content.BroadcastReceiver;import android.content.Context;import android.content.Intent;import android.content.IntentFilter;import android.os.Bundle;/** * MyAcitivty类说明:Acitivty的子类 基础该类的子类必须实现onCreate 方法* 在该类中注册了一个BroadcastReceiver 用于接收退出消息 * 在接收到消息之后结束自身*/p 阅读全文
posted @ 2013-11-30 13:34 时光独白 阅读(288) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/lan410812571/article/details/9063161http://stackoverflow.com/questions/13270425/control-which-directions-the-viewpager-can-be-scrolled-dynamically-with-ui-feed 阅读全文
posted @ 2013-11-29 17:31 时光独白 阅读(546) 评论(0) 推荐(0)
摘要:http://stackoverflow.com/questions/9961626/why-am-i-getting-an-integer-to-pointer-conversion-error-in-objective-c用[NSNumber numberWithInteger:id]转化下 阅读全文
posted @ 2013-11-22 15:42 时光独白 阅读(4349) 评论(0) 推荐(0)
摘要:ACE绘制的图形,坐标轴上的刻度值,要么显示为数字,要么显示为时间:那么能不能在坐标轴上显示自己的内容,比如文字呢?这需要使用XYMultipleSeriesRenderer的addTextLabel(int,String)方法。该方法接收一个int参数,用于指定要显示文字的X轴坐标,比如在X轴坐标1的位置显示“昆明”,则addTextLabel(1,”昆明”);当然,原来tick数字1仍然会显示,这样数字“1” 和文字标签“昆明”会重叠再一起,因此,我们还需要用setXLabels(0)把数字标签屏蔽掉。具体代码如下面所示://设置系列rendererpublicXYMultipleSeri 阅读全文
posted @ 2013-11-07 15:20 时光独白 阅读(368) 评论(0) 推荐(0)