日照市外贸网站建设-英文网页设计,安卓app开发,国际企业网站制作,进销存系统软件开发zh-cn2021-05-09 08:34:47 php7和php5连接mysql对比区别 http://www.ndfweb.cn/news-859.html php5php7mysqlphp7mysqlphp7,php5php5php7:php5:lt headerquotcontenttype:texthtmlcharsetutf8quoterrorreportingEALL EDEPRECATEDlink mysqlconnectquot127.0.0.1quot,quotrootquot,quot123456quotmysqlselectdbquotshunyiquot,linkmysqlqueryquotset names utf8quotpoint quotselect from sylocationquotrest mysql 2021-05-08 22:18:30 windows下的ImageMagick安装详细过程 http://www.ndfweb.cn/news-858.html windowsImageMagickphpImagickImagickphpImageMagickImagicphphttp:pecl.php.netpackageimagickphpphpinfophp5.5.30x86326464phpdisabledenableimagickphpImageMagick6.5.36.10php5.4phpImageMagickpathstablewindowsDDLwindowsphpinfophp5.5Non Thread Safe32phpimagick1phpimagick.dllphpext2dllphpphpstudyphpphp55nphp5 2021-05-08 10:22:34 PHP的ImageMagick使用 http://www.ndfweb.cn/news-857.html 1.,500px,300px,pngimgnewImagickimggtnewImage500,300,39black39,39png392.1imggdpimageSrcquothomeXXXXspurs.pngquotimgtwo new ImagickimageSrcps:.heightimggtgetImageHeight1widthimggtgetImageWidth1imgtwogtresizeImagewidth,height,Imagick::FILTERLANCZOS,1resizeImageboolImagick::resizeImageintcolumns,introw 2021-05-08 09:55:13 快速上手RaphaelJS http://www.ndfweb.cn/news-856.html http:dmitrybaranovskiy.github.ioraphael http:dmitrybaranovskiy.github.ioraphaelreference.htmlhttps:blog.csdn.netWitsonXarticledetails52386277Raphael Javascript JavascriptSVGVMLSVG W3CVMLJavascript Dom RaphaelJSRaphaelJSRaphaelJShtml5 CanvasSVGSVGScalable Vector GraphicsXMLSVGW3CquotWorld Wide Web C 2021-05-07 19:54:43 Raphael JS使用介绍svg基于js画图 http://www.ndfweb.cn/news-855.html svgcanvassvgD3 canvasecharts svgRaphael Javascript JavascriptHTMLRaphaelJSltscript typequottextjavascriptquot srcquotraphael.min.jsquotgtltscriptgtimage.pngjsmaster.jsjsmaster.jsRaphaelJSraphael.js1.var paper Raphael20, 30, 650, 400 2.varwidth600varheight200varpaperRaphaelquotmySvgquot,width,heigh 2021-05-07 16:34:14 php处理png透明背景的图片问题 http://www.ndfweb.cn/news-854.html phppngPNGphp3imagealphablendingimagecolorallocatealphaimagesavealphaPNGPNGgif imagesavealpha image, true,png.ltphpimimagecreatefrompngquotqipa250com.pngquotimagesavealphaim, true PNG alpha header39Contenttype: imagepng39imagepngimimagedestroyimgt: alpha alpha Mozilla,IE,gifpng,ltphpsize 300image 2021-05-06 19:47:54 Android service 启动篇之 startForegroundService http://www.ndfweb.cn/news-853.html Android 8.0 Android 8.0 Android 8.0 Context.startForegroundService startForeground startForeground ANRAndroid service startService start startService startForegroundService foreground service1 startServiceLockedAndroid service startService ActivieServices startServiceLocked r.lastActivity 2021-05-05 11:57:06 android避免service被杀 http://www.ndfweb.cn/news-852.html 1.service STARTSTICKYservicekillOverride public int onStartCommandIntent intent, int flags, int startId return STARTSTICKY Override public int onStartCommandIntent intent, int flags, int startId TODO Autogenerated method stub Log.vquotTrafficServicequot,quotstartCommandquot 2021-05-05 11:53:03 能否保证service不被杀死? http://www.ndfweb.cn/news-851.html ServiceSTARTSTICKYkill 5IntentserviceAndroidManifest.xmlintentfilterandroid:priority quot1000quot1000prioritybroadcastServiceserviceAndroidservicekillstartForegroundstartForegroundservicekillservicekillrestartonDestroyserviceservice broadcast serviceonDestoryserviceonDestroystartServicesettingAPPon 2021-05-05 11:52:12 保证Android后台不被杀死的几种方法 http://www.ndfweb.cn/news-850.html Android3serviceandroidserviceserviceservicenotificationservicenotificationvoid android.app.Service.startForegroundint id,Notificationnotificationservice360AlarmManagerserviceserviceserviceserviceIntent intent new IntentmContext, MyService.classPendingIntent senderPendingIntent.getServicemContext, 0, 2021-05-05 11:32:57 Android各种访问权限Permission详解 http://www.ndfweb.cn/news-849.html AndroidAndroidandroid.permission.EXPANDSTATUSBAR,androidWindows Mobileandroid.permission.FACTORYTESTrootandroid.permission.FLASHLIGHT,androidHTC Dreamandroid.permission.FORCEBACKactivitiesandroid.permission.FOTAUPDATEandroid.android.permission.GETACCOUNTSAccounts Serviceandroid.permission.GETPACKAGE 2021-05-04 10:48:07 解决 Android 10/Android Q手机在后台无法正常定位问题 http://www.ndfweb.cn/news-848.html Android 10 20199GPS APPGPSGoogle SDKbuild.gradleAPP compileSdkVersion targetSdkVersionandroidcompileSdkVersion29defaultConfigtargetSdkVersion29 AndroidManifest.xml ACCESSBACKGROUNDLOCATION android:foregroundServiceTypequotlocationquotltmanifestgtltusespermissionandroid:namequotandroid.permission.A 2021-05-03 22:00:10 android studio 定时器操作 实现定时执行相关任务 http://www.ndfweb.cn/news-847.html package ipget.wenzheng.studio.ipgetimport android.os.Bundleimport android.os.Handlerimport android.os.Messageimport android.support.v7.app.AppCompatActivityimport android.util.Logimport android.view.Viewimport android.widget.Buttonimport android.widget.EditTextimport android.widget.TextViewimport an 2021-05-03 18:17:02 Android Service生命周期 Service里面的onStartCommand()方法详解 http://www.ndfweb.cn/news-846.html DemoStartServiceonCreate gt onStartCommandonStartonStartCommandplainview plain copyServiceonStartCommandserviceonCreateonStartCommandonStartonStartCommandonStartCommandonStartThisistheoldonStartmethodthatwillbecalledonthepre2.0platform.On2.0orlaterweoverrideonStartCommandsothismethodwillnotbecalled 2021-05-02 10:34:37 Service onStartCommand的参数和返回值的含义 http://www.ndfweb.cn/news-845.html startServiceService onStartCommandIntent intent, int flags, int startIdintentstartService startServicenew Intentthis,TestService.classflags 1startServiceflags02onStartCommandSTARTSTICKYCOMPATIBILITYSTARTSTICKYflagsSTARTFLAGREDELIVERY13onStartCommandSTARTREDELIVERINTENTflagsSTARTFLAGREDELIVERY2startI 2021-05-02 10:33:39 Android:Cleartext HTTP traffic not permitted报错修复 http://www.ndfweb.cn/news-844.html 1AndroidManifest.xmlltxmlversionquot1.0quotencodingquotutf8quotgtltmanifest...gtltusespermissionandroid:namequotandroid.permission.INTERNETquotgtltapplication...android:usesCleartextTrafficquottruequot...gt...ltapplicationgtltmanifestgt123456789102AndroidManifest.xmlltmanifestgtandroid:targetSandbox 2021-04-30 22:04:23 android studio 使用post方法上传图片 http://www.ndfweb.cn/news-843.html Base64 public String bitmaptoStringBitmap bitmap Bitmap String string null ByteArrayOutputStream bStream new ByteArrayOutputStream bitmap.compressCompressFormat.PNG, 100, bStream byte bytes bStream.toByteArray string Base64.encodeToStringbytes, Base64.DEFAULT return 2021-04-30 20:16:24 Android中Notification设置铃声+震动 http://www.ndfweb.cn/news-842.html ...1. 2. 3. 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051NotificationprivatevoidsetAlarmParamsNotification notification AudioManager provides access to volume and ringer mode control.AudioManager volMgr AudioManager mAppContext.getSystemServiceContext 2021-04-30 20:10:55 [转]Android通过百度地图API用Service和Alarm在后台定时获取地理位置信息 http://www.ndfweb.cn/news-841.html AndroidAPIAlarmManagerServiceServiceMainActivity.javaBMapApiDemoApp.javademoAlarmGetLocationService.javaAlarmServiceGeoCoderParser.javaAPIAPIhttp:developer.baidu.commapsdkandroid.htmdemoBMapApiDemoAppView CodeBMapApiDemoAppApplicationonCreateBMapManagerBMapManager4init, start, stop destoryApplicatio 2021-04-30 14:25:29 使用AlarmManager启动广播、服务、页面(Android定时器) http://www.ndfweb.cn/news-840.html AlarmManagerAndroidIntentIntentstartActivitystartServicestartBroadcastIntentPendingIntentIntentAlarmManager ltspan stylequotfontsize:14pxquotgt void cancelPendingIntent operation void setint type, long triggerAtTime, PendingIntent operation void setRepeatingint type, long triggerAtTime, long inter 2021-04-30 14:20:21 PHP使用SQLite数据库详解 http://www.ndfweb.cn/news-839.html PHP 5.3.0 SQLite3 withoutsqlite3 SQLite3 Windows phpsqlite3.dll PHP 5.3.0 DLL PHP Windows PHP PHP API PHP PHP SQLite PHP API amp 1public void SQLite3::open filename, flags, encryptionkey SQLite 3 filename39:memory:39 SQLite3::open RAM session filename SQLite3::open flags SQLite 2021-04-25 14:46:54 提升SQLite数据插入效率低、速度慢的方法 http://www.ndfweb.cn/news-838.html SQLiteSQLiteCSQLiteSQLite2PBSQLSQLiteSQLite1 Win7 64VC2010SQLIte3.7.15.2 CPUi36G:sqlview plaincopycreatetablet1idinteger,xinteger,yintegerweightreal2SQLiteAPISQLcppview plaincopyintsqlite3execsqlite3,constcharsql,intcallbackvoid,int,char,char,void,charerrmsgINSERTcppview plaincopyforinti0iltnCountis 2021-04-24 09:48:25 vb.net的正则表达式 http://www.ndfweb.cn/news-837.html Import System.Globalization Import System.IO Import System.Text Import.System.Text.RegularExpressions 123 123 a123baaab12bb13123c 123a 123 12a12ac12312abcc01262312343 a a b b ab ab 123abc123abc abc abc abc a b c abc a b c az abcdefghijklmnopqrstuvwxyzaZ azAZ abcdefghijklmnopqrs 2021-04-23 10:46:15 SQL多表连接查询(详细实例) http://www.ndfweb.cn/news-836.html 1student 2course SQL1 left join left outer joinSQLselect from student left join course on student.IDcourse.IDleft joinNULL.2 right join right outer joinSQLselect from student right join course on student.IDcourse.IDright joinNULL3 full join full outer joinSQLselect from student full join cours 2021-04-11 09:08:09 解决JS浮点数运算结果不精确的Bug http://www.ndfweb.cn/news-835.html JS. 0.1 0.2 0.30000000000000004 0.1 0.7 0.7999999999999999 0.2 0.4 0.6000000000000001 0.3 0.2 0.09999999999999998 1.5 1.2 0.30000000000000004 0.8 3 2.4000000000000004 19.9 100 1989.9999999999998 0.3 0.1 2.9999999999999996 0.69 10 0.06899999999999999 0.1 0.2 0.3 false 2021-04-09 21:51:09 JS实现HTML标签转义及反转义 http://www.ndfweb.cn/news-834.html JSHTMLhtmlfunctionremoveHtmlTabtabreturntab.replaceltltgtgtg,3939HTML123functionhtml2EscapesHtmlreturnsHtml.replaceltgtampquotg,functioncreturn39lt39:39amplt39,39gt39:39ampgt39,39amp39:39ampamp39,39quot39:39ampquot39c123functionescape2HtmlstrvararrEntities39lt39:39lt39,39gt39:39gt39,39nbsp39:3939,39 2021-03-26 10:00:22 2020年小微企业的认定标准 http://www.ndfweb.cn/news-833.html 200005005050100040000300200020300203008000080000600050003003003003002004000020500051000510003002000050500101001010010003000030030002020020200200300001001000201002010010003000030020002010020100300100001002000101001010030010000100200010100101002000100000100100010100101003001000010010001050105020000010 2021-03-25 10:41:21 JS中生成JSON对象的方法 http://www.ndfweb.cn/news-832.html var json var row1 row1.id quot1quotrow1.name quotefgquotvar row2 id:39239,name:39abc39json.pushrow1json.pushrow2JSJSONvar jsonStr JSON.stringifyjsonJSJSONvar objs evaljsonvarobjsevaljsonStrforvarj0jltobjs.lengthjalertobjsj.idalertobjsj.name12345JsonJson4jQuery.parseJSON jsonstr jQuery.parseJSO 2021-03-20 15:16:07 js创建一个input数组并绑定click事件的方法 http://www.ndfweb.cn/news-831.html ltpregtltpre namequotcodequot classquotjavascriptquotgtlthtmlgtltbodygtltinput typequotbuttonquot namequotinputquot valuequot1quot gtltbr gtltinput typequotbuttonquot namequotinputquot valuequot2quot gtltbr gtltinput typequotbuttonquot namequotinputquot valuequot3quot gtltbr gtltdiv idquotaddquotgtl 2021-03-19 14:33:19 JSON语法之JSON数组 http://www.ndfweb.cn/news-830.html JSONvalue, 1515 JSONJSON JSON JSON JSON , , , , null JavaScript undefinedJSON sites quotnamequot: quotquot, quotnumquot: 3, quotsitesquot: quotGoogle.comquot, quotTaobao.comquot, quotWaibo.wangquot x myObj.sites2 quotWaibo.wangquotJSON quotemployeesquot quotemployeesquot: quotfirstNamequot:qu 2021-03-19 10:34:42