- 博客(108)
- 资源 (6)
- 收藏
- 关注
原创 添加联系人
activity_content_resolver.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:padding="10dp" >.
2020-05-31 10:06:46 294
原创 CommunicationUtil
package com.example.forth;import java.util.ArrayList;import android.annotation.SuppressLint;import android.annotation.TargetApi;import android.content.ContentProviderOperation;import android.content.ContentResolver;import android.content.ContentUris.
2020-05-31 09:54:11 299
原创 UserInfoProvider & UserInfoContent
package com.example.forth;import android.content.ContentProvider;import android.content.ContentUris;import android.content.ContentValues;import android.content.UriMatcher;import android.database.Cursor;import android.database.sqlite.SQLiteDatabase.
2020-05-31 08:18:42 309
原创 ContentProvider作为服务端接口
activity_content_provider.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:padding="10dp" >.
2020-05-31 08:17:18 181
原创 读取Application全局内存
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:focusable="true" android:focusableInTouchMode="true" android:orientation="v...
2020-05-31 07:44:51 211
原创 写入Application全局内存
activity_app_write.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:focusable="true" android:focusableInTouchMode="true" .
2020-05-31 07:37:40 155
原创 写图片到SD卡
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:focusable="true" android:focusableInTouchMode="true" android:orientation="vert.
2020-05-31 07:16:23 158
原创 读SD卡里面的文本文件
activity_text_read.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:focusable="true" android:focusableInTouchMode="true" .
2020-05-31 07:07:26 214
原创 写文本文件到sd卡
activity_text_write.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:focusable="true" android:focusableInTouchMode="true" .
2020-05-31 06:58:41 182
原创 FileUtil的使用
package com.example.forth;import java.io.BufferedInputStream;import java.io.BufferedOutputStream;import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.FilenameFilter;import java.util.ArrayList;import ja.
2020-05-31 06:56:44 2226
原创 Paging数据接收过程
(物理层 RRC层)paging frame(PF)/paging时机(PO)和NAS层的位置更新-(NAS层 RRC层 )CN/RAN paging-(物理层)paging消息接收-(RRC层)paging解析-触发(物理层)随机接入-触发(RRC层)RRC建立-触发(Nas层)服务请求-触发PDU会话建立-(物理层)PDCCH监听-数据接收/发送...
2020-05-30 12:50:06 684
原创 手机开机到手机注册大概过程
开机-物理层搜网-物理层同步-物理层接收系统消息-触发Nas层plmn选择-触发RRC层小区选择-物理层随机接入过程-触发RRC层建立-触发NAS注册
2020-05-30 12:17:36 502
原创 通过反射获得设置对象属性
using System;using System.Collections.Generic;using System.Linq;using System.Reflection;using System.Text;using System.Threading.Tasks;namespace ConsoleApp1{ class Program { static void Main(string[] args) { Pro.
2020-05-29 11:28:25 145
原创 this.invoke()关于“无法将 lambda 表达式 转换为类型“System.Delegate”,因为它不是委托类型
* 1.MethodInvoke和Action都是方法返回类型为空的委托.* 2.MethodInvoker的原型定义为---> public delegate void MethodInvoker();Delegate d1 = (MethodInvoker)delegate { };//Delegate d2 = (MethodInvoker)(() => { });//Delegate d3 = (Action)delegate { };//Delegate d4 .
2020-05-29 10:56:55 1530
原创 天线方向图和分集、极化方法
天线方向图和分集方法通讯系统中为了克服电磁信号在空中产生的衰落效应,采用天线分集的接收方法。分集分为空间分集、极化分集。空间分集利用了电磁信号产生衰落在距离上的不相关特性,即在两根天线达到一定距离时可以认为两个天线接收到电磁信号衰落不相关。极化是指天线辐射的电场矢量在空间的取向,基站天线通常使用线极化。以大地为基准面,电场矢量垂直于地面为垂直极化,平行于地面为水平极化 。全向天线只能是单极化天线,一般采用垂直极化(水平极化的地面反射较强),定向天线可以设计成双极化的,双极化天线可能利用.
2020-05-28 09:31:48 4240
原创 天线和天线增益
天线是无线基站发送功率的最后一个射频部件,一般的形成全向覆盖的全向天线采用鞭状天线或螺旋天线。形成定向扇区的定向天线一般是平板天线,通讯使用的平板天线一般由多个天线单元组成,形成比较高的天线增益。 天线增益一般由dBi或dBd表示。dBi是指天线相对于无方向天线的功率能量密度之比,dBd是指相对于半波振子Dipole 的功率能量密度之比,半波振子的增益为2.15dBi,因此0dBd=2.15dBi。...
2020-05-28 09:28:53 2116
原创 扇区和载波
扇区表示一个区域,扇区的名字也就来自覆盖区域形状上象一把扇子。 载波数表示在一个扇区中同时存在的载波数。如1*3,表示全向扇区,该扇区中包含3个载波;3*2,表示3个扇区,每扇区中包含2个载波。 扇区和小区是不一样的,一个小区实际上在射频上就等效于一个载波,所以一个扇区中可以包含几个小区。如3*2就是一个扇区中有2个小区...
2020-05-28 09:28:32 1197
原创 下行通道射频指标
邻道泄漏(ACLR) 邻道泄漏指标是用来衡量发射机的带外辐射特性,定义:邻道功率与主信道功率之比,通常用dBc表示,如下图:射机的领道泄漏必然回对其他小区造成干扰,为了减小这种干扰,领道泄漏必须尽可能的小,WCDMA的要求是:第一邻道(偏离载频±5MHz)的ACLR≤45dBC ;第二邻道(偏离载频±10MHz)的ACLR ≤50dBC 。 频谱发射模板 对于WCDMA而言,频谱发射模板用于限制偏离发射载波中心频率2.5MHz~12.5MHz频段内的杂散发射功率杂散辐射...
2020-05-28 09:25:48 1688
原创 驻波比
解释:驻波系数式衡量负载匹配程度的一个指标由反射系数的定义我们知道,反射系数的取值范围是0~1,而驻波系数的取值范围是1~正无穷大。射频很多接口的驻波系数指标规定小于2.0。驻波比恶化意味着信号反射比较厉害,也就是说负载和传输线的匹配效果比较差。所以在一个系统中,如果驻波比很差,可能会使信号传输效果变差,通道增益下降。一个比较典型的例子就是灵敏度问题。...
2020-05-28 09:17:51 3568
原创 非线性幅度失真
非线性幅度失真常用1dB压缩点、三阶交调、三阶截止点等指标衡量,下面分别讨论这三个指标。1dB压缩点 例如一个射频放大器,当输入信号较小时,其输出与输入可以保证线关系,输入电平增加1dB,输出相应增加1dB,增益保持不变,随着输入信号电平的增加,输入电平增加1dB,输出将增加不到1dB,增益开始压缩,增益压缩1dB时的输入信号电平称为输入1dB压缩点,这时输出信号电平称为输出1dB压缩点。三阶交调 三阶交调(双音三阶交调)是用来衡量非线性的一个重要指标,在这里仍以放大器为例来说明三...
2020-05-28 09:14:25 1132
原创 相对功率的dB表示
射频信号的相对功率常用dB和dBc两种形式表示,其区别在于:dB是任意两个功率的比值的对数表示形式,而dBc是某一频点输出功率和载频输出功率的比值的对数表示形式。
2020-05-28 09:07:15 875
原创 相位噪声
相位噪声是用来衡量本振等单音信号频谱纯度的一个指标,在时域表现为信号过零点的抖动。理想的单音信号,在频域应为一脉冲,而实际的单音总有一定的频谱宽度,如下面所示。一般的本振信号可以认为是随机过程对单音调相的过程,因此信号所具有的边带信号被称为相位噪声。相位噪声在频域的可以这样定量描述:偏离中心频率多少Hz处,单位带宽内的功率与总信号功率相比。...
2020-05-28 09:05:42 952
原创 信号的峰值功率、平均功率和峰均比PAR
峰值功率即是指以某种概率出现的肩峰的瞬态功率。通常概率取为0.01%。平均功率是系统输出的实际功率。在某个概率下峰值功率跟平均功率的比就称为在某个概率下的峰均比,如[email protected]%,各种概率下的峰均比就形成了CCDF曲线(互补累积分布函数)。在概率为0.01%处的PAR,一般称为CREST因子...
2020-05-28 09:04:05 14768
原创 ListView CellTemplate里面查找元素
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace WpfApp1{ public class Student { public int Id { get; set; } public string Name { get; set; } pu.
2020-05-27 11:00:30 150
原创 访问DataTemplate里面的控件
<Window x:Class="WpfApp3.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" x.
2020-05-27 10:20:18 218
原创 ItemsPanelTemplate的使用
<Window x:Class="WpfApp11.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" .
2020-05-26 16:46:34 520
原创 DataTemplate常用得三个地方
ConentControl的ContentTemplateItemsControl的ItemTemplateGridViewColumn的CellTemplate
2020-05-26 16:25:35 203
原创 DataTemplate经典用法,以柱状图得形式显示列表数据
<Window x:Class="WpfApp10.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" .
2020-05-26 16:21:26 175
原创 pack uri得使用
1 在项目中新建Resources目录,(注意像图片,音频,视频之类得资源不建议用Properties),将图片拷贝该目录下,并设置属性,生成为资源2 修改xaml,pack uri都可以省略,只要文件夹/文件名即可<Window x:Class="WpfApp9.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http:/..
2020-05-26 16:00:56 155
原创 访问Properties资源
1 在Properties->Resources.resx里面添加资源,并设置访问修饰符为public2 修改UI<Window x:Class="WpfApp9.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xm..
2020-05-26 15:22:51 117
原创 CommandParameter得使用
<Window x:Class="WpfApp8.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" x.
2020-05-26 14:43:08 4154
原创 RoutedCommand代码实现
<Window x:Class="WpfApp7.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" x.
2020-05-26 14:24:33 186
原创 Multibinding得代码实现
<Window x:Class="WpfApp5.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" ...
2020-05-25 15:32:23 112
原创 ValidationRule验证规则得代码实现
1 新建wpf程序<Window x:Class="WpfApp3.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/200.
2020-05-25 14:44:29 672
原创 RelativeSource得重要属性以及xaml和C#写法
Mode,AncestorLevel,AncestorType<Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com
2020-05-25 10:17:10 572
原创 ObjectDataProvider作为Binding得源
<Window x:Class="WpfApp2.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" x.
2020-05-25 09:54:02 113
原创 绑定到XML
1.新建RawData.xml<?xml version="1.0" encoding="utf-8" ?><StudentList> <Student Id="1"> <Name>zs</Name> </Student> <Student Id="2"> <Name>ls</Name> </Student> <Student Id="3.
2020-05-24 17:11:49 132
原创 ListView和GridView不是同一级别的控件
ListView的View是ViewBase类型,而GridView继承与ViewBase,所以可以将GridView赋值给ListView的View,ListView可以单独使用,GridView不可以单独使用,目前ViewBase只有GridView这一个派生类<Window x:Class="WpfApp11.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" .
2020-05-24 17:11:37 207
原创 依赖属性非常重要的特点-属性值沿UI元素向下传递
依赖属性的重要特点是当没有拥有该依赖属性的控件指定该属性时候,它会把所在容器的该依赖属性借过来使用<Window x:Class="WpfApp10.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://sc
2020-05-24 17:11:20 279
ASP.NET MVC 5高级编程 第5版(中文版带书签)
2018-07-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人