首先打开要调用的apk反编译后打开AndroidManifest.xml,在<intent-filter></intent-filter>紧接其后加上类似于
<intent-filter>
<action android:name="com.tydtech.action.DBMessage" /> //引号中的部分是其他apk调用时的类名
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
然后打包,签名。
直接使用暴风就可以播放
<Playlist Ver="0.2">
<Items>
<Item Name="CCTV-1" IsBreeze="0" Source="mms://officetv.bupt.edu.cn/CCTV-1" UserPlayed="1" IsCatalog="0" ThreeDSwitch="0" SourceType="0" UserSelSourceType="0" AlbumPlayTime="20140920110709" VideoID="1" PluginID=""/>
<Item Name="CCTV-2" IsBre...
1、首先反编译apk
2、在AndroidManifest.xml中找到package="com.aaa.bbb",将aaa.bbb改为自定义(格式为com.xxx.yyy)
3、打开apktool.yml修改cur_package和orig_package的值为自定义的com.xxx.yyy
4、修改smali包下的com中aaa文件夹重命名为xxx,在aaa文件夹下的bbb文件夹重命名为yyy
5、在反编译工程中搜索com.aaa.bbb将其替换为com.xxx.yyy
6、打包,签名。
1、首先反编译apk文件,然后打开/res/values/id.xml,找到以ad开头的那一行(可能有多行),记下name的值(如name=“XXX”)
2、复制XXX,然后在反编译项目中搜索关键字为XXX,找到类似于<RelativeLayout android:id="@id/adcontainer" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="0.0dip" />将layout_width和layout_height的值改为0.0...
如何为 win8.1 安装 NET3.5
win8.1安装NET3.5 :
=======================
推荐用离线安装:
----------------
方法一、C盘自带.NET 3.5,安装系统以后直接安装.NET 3.5。
1、按下:win+x,点击“命令提示符(管理员),
2、输入或复制以下代码(不可漏空格):
dism.exe /online /enable-feature /featurename:NetFX3 /Source:c:\windows\winsxs
回车,等待进度100%后会提示是否重启,之后...
比如
$html = file_get_html($url);
$title = $html->find("td.main table.box table.title_info h1", 0);
print_r($title->innertext);
? quling(123.00)
? quling(123.100)
? quling(123.010)
function quling
Parameters lenum
lcnum=alltrim(padl(lenum,16," "))
do while right(lcnum,1)="0"
lcnum=left(lcnum,len(lcnum)-1)
enddo
if len(justext(lcnum))=0
lcnum=chrtran(lcnum,".","")
endif
return lcnum
下面一段数据,要求遇到字母时开始换行。如何做到?
B0F0090504210807000220202020024033080000080000180A09021309032909021909021900011000000000ED21080700000000000800000000651056000000000380032000000244000000000000000000000898B4032108070000000000080000010890A887210807090224090224
换行后变成下面
B0F009050421080...
在百度搜索框内打入
site www.meizvfp.com 你要搜索的关键字
* 字符串"A1 A2 A3 A4 A5 A6"转换成"A1,A2,A3,A4,A5,A6"
lcstr="A1 A2 A3 A4 A5 A6"
lcstr=chrtran(lcstr," ",",")
do while ",,"$lcstr
lcstr=strtran(lcstr,",,",",")
enddo
messagebox(lcstr)
问题网址:http://bbs.bccn.net/thread-442165-1-1.html
* 生成测试数据
create cursor tt1 (记录行 i,字段名 c(10),值 i) && 临时表
create cursor tt (a1 i,a2 i,a3 i,a4 i,a5 i,a6 i,a7 i,a8 i,a9 i,a10 i,a11 i)
for lnI=1 to 11
append blank
nzds=0
for lnJ=(lnI-1)*11+1 to lnI*11
nzds=nzds+1
replace...
*一串不重复的数字,并且从小到大排列,如何比较快捷的判断出其中有哪几组数字是连续的,并且取出每组的两头值?
*如:1,3,6,8,9,10,12,15,20,23,24,25,26,30,33,34,35,36,37,38,39,40
*变成:1,3,6,8-10,12,15,20,23-26,30,33-40
Clear
lcStr="1,3,6,8,9,10,12,15,20,23,24,25,26,30,33,34,35,36,37,38,39,40"
nRow=Alines(Astr,Strtran(lcStr,",",Chr(13)+Chr(10)))
l...
* 方法一
cImg = Getpict() && 获取 bmp, jpg, gif
xImgObj = LoadPicture(cImg)
With xImgObj
lnWidth = Int(.Width/26.458)
lnHeight = Int(.Height/26.458)
Endwith
Messagebox("宽度 = " + Transform(lnWidth) + "(像数)" + Chr(13) + ;
"高度 = " + Tran...
x=132
y=Iif(x>26,Chr(64+Ceiling(x/26)-1),"")+Chr(64+Iif(Mod(x,26)=0,26,Mod(x,26)))
MessageBox(y)
例如:
姓名 一月 二月 三月
张三 100 200 300
转置成
姓名 张三
一月 100
二月 200
三月 300
oExcel.Cells(1,1).Resize(2,4).Copy() && 假设要被转置的数据在左上角,2行4列
oExcel.Cells(10,1).PasteSpecial(-4...
clear all
create cursor t3 (学号 c(4),姓名 c(8),课目 c(10),成绩 n(3))
create cursor t1 (学号 c(4),姓名 c(8),数学 n(3),语文 n(3))
insert into t1 values ("1001","张三",102,120)
insert into t1 values ("1002","李四",119,108)
nzds=2
scan
scatter to azd
for lnI=1 to fcount("t1")-nzds
insert into ...
Note 行转列
clear all
create cursor t2 (学号 c(4),姓名 c(8),课目 c(10),成绩 n(3))
insert into t2 values ("1001","张三","数学",102)
insert into t2 values ("1001","张三","语文",120)
insert into t2 values ("1002","李四","数学",119)
insert into t2 values ("1002","李四","语文",108)
select distinct 课目 from t2 into array...
Clear
Clear All
CREATE CURSOR test (数字 N(5,0))
INSERT INTO test values(7)
INSERT INTO test values(88)
INSERT INTO test values(9)
INSERT INTO test values(8)
INSERT INTO test values(103)
INSERT INTO test values(12)
INSERT INTO test values(11)
INSERT INTO test values(102)
INSERT INTO test...
CREATE CURSOR test (数字 N(5,0))
INSERT INTO test values(7)
INSERT INTO test values(88)
INSERT INTO test values(9)
INSERT INTO test values(8)
INSERT INTO test values(103)
INSERT INTO test values(12)
INSERT INTO test values(11)
INSERT INTO test values(102)
INSERT INTO test values(101)
Sort...
clear
x=34567
y=0
do while x!=0
y=x%10+y*10
x=int(x/10)
?y,x
enddo