linux网站服务器搭建电子商务网站建设怎么做

web/2025/10/7 10:27:52/文章来源:
linux网站服务器搭建,电子商务网站建设怎么做,门户网站广告的类型,网上装修平台哪个最好今天这篇文章我们主要讲一下Android系统中的截屏事件处理流程。用过android系统手机的同学应该都知道#xff0c;一般的android手机按下音量减少键和电源按键就会触发截屏事件#xff08;国内定制机做个修改的这里就不做考虑了#xff09;。那么这里的截屏事件是如何触发的呢…今天这篇文章我们主要讲一下Android系统中的截屏事件处理流程。用过android系统手机的同学应该都知道一般的android手机按下音量减少键和电源按键就会触发截屏事件国内定制机做个修改的这里就不做考虑了。那么这里的截屏事件是如何触发的呢触发之后android系统是如何实现截屏操作的呢带着这两个问题开始我们的源码阅读流程。 我们知道这里的截屏事件是通过我们的按键操作触发的所以这里就需要我们从android系统的按键触发模块开始看起由于我们在不同的App页面操作音量减少键和电源键都会触发系统的截屏处理所以这里的按键触发逻辑应该是Android系统的全局按键处理逻辑。 在android系统中由于我们的每一个Android界面都是一个Activity而界面的显示都是通过Window对象实现的每个Window对象实际上都是PhoneWindow的实例而每个PhoneWindow对象都一个PhoneWindowManager对象当我们在Activity界面执行按键操作的时候在将按键的处理操作分发到App之前首先会回调PhoneWindowManager中的dispatchUnhandledKey方法该方法主要用于执行当前App处理按键之前的操作我们具体看一下该方法的实现。 /** {inheritDoc} */Overridepublic KeyEvent dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) {...KeyEvent fallbackEvent null;if ((event.getFlags() KeyEvent.FLAG_FALLBACK) 0) {final KeyCharacterMap kcm event.getKeyCharacterMap();final int keyCode event.getKeyCode();final int metaState event.getMetaState();final boolean initialDown event.getAction() KeyEvent.ACTION_DOWN event.getRepeatCount() 0;// Check for fallback actions specified by the key character map.final FallbackAction fallbackAction;if (initialDown) {fallbackAction kcm.getFallbackAction(keyCode, metaState);} else {fallbackAction mFallbackActions.get(keyCode);}if (fallbackAction ! null) {...final int flags event.getFlags() | KeyEvent.FLAG_FALLBACK;fallbackEvent KeyEvent.obtain(event.getDownTime(), event.getEventTime(),event.getAction(), fallbackAction.keyCode,event.getRepeatCount(), fallbackAction.metaState,event.getDeviceId(), event.getScanCode(),flags, event.getSource(), null);if (!interceptFallback(win, fallbackEvent, policyFlags)) {fallbackEvent.recycle();fallbackEvent null;}if (initialDown) {mFallbackActions.put(keyCode, fallbackAction);} else if (event.getAction() KeyEvent.ACTION_UP) {mFallbackActions.remove(keyCode);fallbackAction.recycle();}}}...return fallbackEvent;}这里我们关注一下方法体中调用的interceptFallback方法通过调用该方法将处理按键的操作下发到该方法中我们继续看一下该方法的实现逻辑。 private boolean interceptFallback(WindowState win, KeyEvent fallbackEvent, int policyFlags) {int actions interceptKeyBeforeQueueing(fallbackEvent, policyFlags);if ((actions ACTION_PASS_TO_USER) ! 0) {long delayMillis interceptKeyBeforeDispatching(win, fallbackEvent, policyFlags);if (delayMillis 0) {return true;}}return false;}然后我们看到在interceptFallback方法中我们调用了interceptKeyBeforeQueueing方法通过阅读我们我们知道该方法主要实现了对截屏按键的处理流程这样我们继续看一下interceptKeyBeforeWueueing方法的处理 Overridepublic int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags) {if (!mSystemBooted) {// If we have not yet booted, dont let key events do anything.return 0;}...// Handle special keys.switch (keyCode) {case KeyEvent.KEYCODE_VOLUME_DOWN:case KeyEvent.KEYCODE_VOLUME_UP:case KeyEvent.KEYCODE_VOLUME_MUTE: {if (mUseTvRouting) {// On TVs volume keys never go to the foreground appresult ~ACTION_PASS_TO_USER;}if (keyCode KeyEvent.KEYCODE_VOLUME_DOWN) {if (down) {if (interactive !mScreenshotChordVolumeDownKeyTriggered (event.getFlags() KeyEvent.FLAG_FALLBACK) 0) {mScreenshotChordVolumeDownKeyTriggered true;mScreenshotChordVolumeDownKeyTime event.getDownTime();mScreenshotChordVolumeDownKeyConsumed false;cancelPendingPowerKeyAction();interceptScreenshotChord();}} else {mScreenshotChordVolumeDownKeyTriggered false;cancelPendingScreenshotChordAction();}}...return result;}可以发现这里首先判断当前系统是否已经boot完毕若尚未启动完毕则所有的按键操作都将失效若启动完成则执行后续的操作这里我们只是关注音量减少按键和电源按键组合的处理事件。另外这里多说一句想安卓系统的HOME按键事件MENU按键事件进程列表按键事件等等都是在这里实现的后续中我们会陆续介绍这方面的内容。 回到我们的interceptKeyBeforeQueueing方法当我用按下音量减少按键的时候回进入到case KeyEvent.KEYCODE_VOLUME_MUTE分支并执行相应的逻辑然后同时判断用户是否按下了电源键若同时按下了电源键则执行 if (interactive !mScreenshotChordVolumeDownKeyTriggered (event.getFlags() KeyEvent.FLAG_FALLBACK) 0) {mScreenshotChordVolumeDownKeyTriggered true;mScreenshotChordVolumeDownKeyTime event.getDownTime();mScreenshotChordVolumeDownKeyConsumed false;cancelPendingPowerKeyAction();interceptScreenshotChord();}可以发现这里的interceptScreenshotChrod方法就是系统准备开始执行截屏操作的开始我们继续看一下interceptcreenshotChord方法的实现。 private void interceptScreenshotChord() {if (mScreenshotChordEnabled mScreenshotChordVolumeDownKeyTriggered mScreenshotChordPowerKeyTriggered !mScreenshotChordVolumeUpKeyTriggered) {final long now SystemClock.uptimeMillis();if (now mScreenshotChordVolumeDownKeyTime SCREENSHOT_CHORD_DEBOUNCE_DELAY_MILLIS now mScreenshotChordPowerKeyTime SCREENSHOT_CHORD_DEBOUNCE_DELAY_MILLIS) {mScreenshotChordVolumeDownKeyConsumed true;cancelPendingPowerKeyAction();mHandler.postDelayed(mScreenshotRunnable, getScreenshotChordLongPressDelay());}}}在方法体中我们最终会执行发送一个延迟的异步消息请求执行截屏的操作而这里的延时时间若当前输入框是打开状态则延时时间为输入框关闭时间加上系统配置的按键超时时间若当前输入框没有打开则直接是系统配置的按键超时处理时间可看一下getScreenshotChordLongPressDelay方法的具体实现。 private long getScreenshotChordLongPressDelay() {if (mKeyguardDelegate.isShowing()) {// Double the time it takes to take a screenshot from the keyguardreturn (long) (KEYGUARD_SCREENSHOT_CHORD_DELAY_MULTIPLIER *ViewConfiguration.get(mContext).getDeviceGlobalActionKeyTimeout());}return ViewConfiguration.get(mContext).getDeviceGlobalActionKeyTimeout();}回到我们的interceptScreenshotChord方法发送了异步消息之后系统最终会被我们发送的Runnable对象的run方法执行这里关于异步消息的逻辑可参考android源码解析之二– 异步消息机制 这样我们看一下Runnable类型的mScreenshotRunnable的run方法的实现: private final Runnable mScreenshotRunnable new Runnable() {Overridepublic void run() {takeScreenshot();}};好吧方法体中并未执行其他操作直接就是调用了takeScreenshot方法这样我们继续看一下takeScreenshot方法的实现。 private void takeScreenshot() {synchronized (mScreenshotLock) {if (mScreenshotConnection ! null) {return;}ComponentName cn new ComponentName(com.android.systemui,com.android.systemui.screenshot.TakeScreenshotService);Intent intent new Intent();intent.setComponent(cn);ServiceConnection conn new ServiceConnection() {Overridepublic void onServiceConnected(ComponentName name, IBinder service) {synchronized (mScreenshotLock) {if (mScreenshotConnection ! this) {return;}Messenger messenger new Messenger(service);Message msg Message.obtain(null, 1);final ServiceConnection myConn this;Handler h new Handler(mHandler.getLooper()) {Overridepublic void handleMessage(Message msg) {synchronized (mScreenshotLock) {if (mScreenshotConnection myConn) {mContext.unbindService(mScreenshotConnection);mScreenshotConnection null;mHandler.removeCallbacks(mScreenshotTimeout);}}}};msg.replyTo new Messenger(h);msg.arg1 msg.arg2 0;if (mStatusBar ! null mStatusBar.isVisibleLw())msg.arg1 1;if (mNavigationBar ! null mNavigationBar.isVisibleLw())msg.arg2 1;try {messenger.send(msg);} catch (RemoteException e) {}}}Overridepublic void onServiceDisconnected(ComponentName name) {}};if (mContext.bindServiceAsUser(intent, conn, Context.BIND_AUTO_CREATE, UserHandle.CURRENT)) {mScreenshotConnection conn;mHandler.postDelayed(mScreenshotTimeout, 10000);}}}可以发现这里通过反射机制创建了一个TakeScreenshotService对象然后调用了bindServiceAsUser这样就创建了TakeScreenshotService服务并在服务创建之后发送了一个异步消息。好了我们看一下TakeScreenshotService的实现逻辑。 public class TakeScreenshotService extends Service {private static final String TAG TakeScreenshotService;private static GlobalScreenshot mScreenshot;private Handler mHandler new Handler() {Overridepublic void handleMessage(Message msg) {switch (msg.what) {case 1:final Messenger callback msg.replyTo;if (mScreenshot null) {mScreenshot new GlobalScreenshot(TakeScreenshotService.this);}mScreenshot.takeScreenshot(new Runnable() {Override public void run() {Message reply Message.obtain(null, 1);try {callback.send(reply);} catch (RemoteException e) {}}}, msg.arg1 0, msg.arg2 0);}}};Overridepublic IBinder onBind(Intent intent) {return new Messenger(mHandler).getBinder();} }可以发现在在TakeScreenshotService类的定义中有一个Handler成员变量而我们在启动TakeScreentshowService的时候回发送一个异步消息这样就会执行mHandler的handleMessage方法然后在handleMessage方法中我们创建了一个GlobalScreenshow对象然后执行了takeScreenshot方法好吧继续看一下takeScreentshot方法的执行逻辑。 /*** Takes a screenshot of the current display and shows an animation.*/void takeScreenshot(Runnable finisher, boolean statusBarVisible, boolean navBarVisible) {// We need to orient the screenshot correctly (and the Surface api seems to take screenshots// only in the natural orientation of the device :!)mDisplay.getRealMetrics(mDisplayMetrics);float[] dims {mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels};float degrees getDegreesForRotation(mDisplay.getRotation());boolean requiresRotation (degrees 0);if (requiresRotation) {// Get the dimensions of the device in its native orientationmDisplayMatrix.reset();mDisplayMatrix.preRotate(-degrees);mDisplayMatrix.mapPoints(dims);dims[0] Math.abs(dims[0]);dims[1] Math.abs(dims[1]);}// Take the screenshotmScreenBitmap SurfaceControl.screenshot((int) dims[0], (int) dims[1]);if (mScreenBitmap null) {notifyScreenshotError(mContext, mNotificationManager);finisher.run();return;}if (requiresRotation) {// Rotate the screenshot to the current orientationBitmap ss Bitmap.createBitmap(mDisplayMetrics.widthPixels,mDisplayMetrics.heightPixels, Bitmap.Config.ARGB_8888);Canvas c new Canvas(ss);c.translate(ss.getWidth() / 2, ss.getHeight() / 2);c.rotate(degrees);c.translate(-dims[0] / 2, -dims[1] / 2);c.drawBitmap(mScreenBitmap, 0, 0, null);c.setBitmap(null);// Recycle the previous bitmapmScreenBitmap.recycle();mScreenBitmap ss;}// OptimizationsmScreenBitmap.setHasAlpha(false);mScreenBitmap.prepareToDraw();// Start the post-screenshot animationstartAnimation(finisher, mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels,statusBarVisible, navBarVisible);}可以看到这里后两个参数statusBarVisiblenavBarVisible是否可见而这两个参数在我们PhoneWindowManager.takeScreenshot方法传递的 if (mStatusBar ! null mStatusBar.isVisibleLw())msg.arg1 1;if (mNavigationBar ! null mNavigationBar.isVisibleLw())msg.arg2 1;可见若果mStatusBar可见则传递的statusBarVisible为true若mNavigationBar可见则传递的navBarVisible为true。然后我们在截屏的时候判断nStatusBar是否可见mNavigationBar是否可见若可见的时候则截屏同样将其截屏出来。继续回到我们的takeScreenshot方法然后调用了 // Take the screenshot mScreenBitmap SurfaceControl.screenshot((int) dims[0], (int) dims[1]);方法看注释这里就是执行截屏事件的具体操作了然后我看一下SurfaceControl.screenshot方法的具体实现另外这里需要注意的是截屏之后返回的是一个Bitmap对象其实熟悉android绘制机制的童鞋应该知道android中所有显示能够显示的东西在内存中表现都是Bitmap对象。 public static Bitmap screenshot(int width, int height) {// TODO: should take the display as a parameterIBinder displayToken SurfaceControl.getBuiltInDisplay(SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN);return nativeScreenshot(displayToken, new Rect(), width, height, 0, 0, true,false, Surface.ROTATION_0);}好吧这里调用的是nativeScreenshot方法它是一个native方法具体的实现在JNI层这里就不做过多的介绍了。继续回到我们的takeScreenshot方法在调用了截屏方法screentshot之后判断是否截屏成功 if (mScreenBitmap null) {notifyScreenshotError(mContext, mNotificationManager);finisher.run();return;}若截屏之后截屏的bitmap对象为空这里判断截屏失败调用了notifyScreenshotError方法发送截屏失败的notification通知。 static void notifyScreenshotError(Context context, NotificationManager nManager) {Resources r context.getResources();// Clear all existing notification, compose the new notification and show itNotification.Builder b new Notification.Builder(context).setTicker(r.getString(R.string.screenshot_failed_title)).setContentTitle(r.getString(R.string.screenshot_failed_title)).setContentText(r.getString(R.string.screenshot_failed_text)).setSmallIcon(R.drawable.stat_notify_image_error).setWhen(System.currentTimeMillis()).setVisibility(Notification.VISIBILITY_PUBLIC) // ok to show outside lockscreen.setCategory(Notification.CATEGORY_ERROR).setAutoCancel(true).setColor(context.getColor(com.android.internal.R.color.system_notification_accent_color));Notification n new Notification.BigTextStyle(b).bigText(r.getString(R.string.screenshot_failed_text)).build();nManager.notify(R.id.notification_screenshot, n);}然后继续看takeScreenshot方法判断截屏的图像是否需要旋转若需要的话则旋转图像 if (requiresRotation) {// Rotate the screenshot to the current orientationBitmap ss Bitmap.createBitmap(mDisplayMetrics.widthPixels,mDisplayMetrics.heightPixels, Bitmap.Config.ARGB_8888);Canvas c new Canvas(ss);c.translate(ss.getWidth() / 2, ss.getHeight() / 2);c.rotate(degrees);c.translate(-dims[0] / 2, -dims[1] / 2);c.drawBitmap(mScreenBitmap, 0, 0, null);c.setBitmap(null);// Recycle the previous bitmapmScreenBitmap.recycle();mScreenBitmap ss;}在takeScreenshot方法的最后若截屏成功我们调用了 // Start the post-screenshot animationstartAnimation(finisher, mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels,statusBarVisible, navBarVisible);开始截屏的动画好吧看一下动画效果的实现 /*** Starts the animation after taking the screenshot*/private void startAnimation(final Runnable finisher, int w, int h, boolean statusBarVisible,boolean navBarVisible) {// Add the view for the animationmScreenshotView.setImageBitmap(mScreenBitmap);mScreenshotLayout.requestFocus();// Setup the animation with the screenshot just takenif (mScreenshotAnimation ! null) {mScreenshotAnimation.end();mScreenshotAnimation.removeAllListeners();}mWindowManager.addView(mScreenshotLayout, mWindowLayoutParams);ValueAnimator screenshotDropInAnim createScreenshotDropInAnimation();ValueAnimator screenshotFadeOutAnim createScreenshotDropOutAnimation(w, h,statusBarVisible, navBarVisible);mScreenshotAnimation new AnimatorSet();mScreenshotAnimation.playSequentially(screenshotDropInAnim, screenshotFadeOutAnim);mScreenshotAnimation.addListener(new AnimatorListenerAdapter() {Overridepublic void onAnimationEnd(Animator animation) {// Save the screenshot once we have a bit of time nowsaveScreenshotInWorkerThread(finisher);mWindowManager.removeView(mScreenshotLayout);// Clear any references to the bitmapmScreenBitmap null;mScreenshotView.setImageBitmap(null);}});mScreenshotLayout.post(new Runnable() {Overridepublic void run() {// Play the shutter sound to notify that weve taken a screenshotmCameraSound.play(MediaActionSound.SHUTTER_CLICK);mScreenshotView.setLayerType(View.LAYER_TYPE_HARDWARE, null);mScreenshotView.buildLayer();mScreenshotAnimation.start();}});}好吧经过着一些列的操作之后我们实现了截屏之后的动画效果了这里暂时不分析动画效果我们看一下动画效果之后做了哪些还记不记的一般情况下我们截屏之后都会收到一个截屏的notification通知这里应该也是在其AnimatorListenerAdapter的onAnimationEnd方法中实现的也就是动画执行完成之后我们看一下其saveScreenshotInWorkerThread方法的实现 /*** Creates a new worker thread and saves the screenshot to the media store.*/private void saveScreenshotInWorkerThread(Runnable finisher) {SaveImageInBackgroundData data new SaveImageInBackgroundData();data.context mContext;data.image mScreenBitmap;data.iconSize mNotificationIconSize;data.finisher finisher;data.previewWidth mPreviewWidth;data.previewheight mPreviewHeight;if (mSaveInBgTask ! null) {mSaveInBgTask.cancel(false);}mSaveInBgTask new SaveImageInBackgroundTask(mContext, data, mNotificationManager,R.id.notification_screenshot).execute(data);}好吧这里主要逻辑就是构造了一个SaveImageInBackgroundTask对象看样子发送截屏成功的通知应该是在这里实现的我们看一下SaveImageInBackgroundTask构造方法的实现逻辑 SaveImageInBackgroundTask(Context context, SaveImageInBackgroundData data,NotificationManager nManager, int nId) {...// Show the intermediate notificationmTickerAddSpace !mTickerAddSpace;mNotificationId nId;mNotificationManager nManager;final long now System.currentTimeMillis();mNotificationBuilder new Notification.Builder(context).setTicker(r.getString(R.string.screenshot_saving_ticker) (mTickerAddSpace ? : )).setContentTitle(r.getString(R.string.screenshot_saving_title)).setContentText(r.getString(R.string.screenshot_saving_text)).setSmallIcon(R.drawable.stat_notify_image).setWhen(now).setColor(r.getColor(com.android.internal.R.color.system_notification_accent_color));mNotificationStyle new Notification.BigPictureStyle().bigPicture(picture.createAshmemBitmap());mNotificationBuilder.setStyle(mNotificationStyle);// For public situations we want to show all the same info but// omit the actual screenshot image.mPublicNotificationBuilder new Notification.Builder(context).setContentTitle(r.getString(R.string.screenshot_saving_title)).setContentText(r.getString(R.string.screenshot_saving_text)).setSmallIcon(R.drawable.stat_notify_image).setCategory(Notification.CATEGORY_PROGRESS).setWhen(now).setColor(r.getColor(com.android.internal.R.color.system_notification_accent_color));mNotificationBuilder.setPublicVersion(mPublicNotificationBuilder.build());Notification n mNotificationBuilder.build();n.flags | Notification.FLAG_NO_CLEAR;mNotificationManager.notify(nId, n);// On the tablet, the large icon makes the notification appear as if it is clickable (and// on small devices, the large icon is not shown) so defer showing the large icon until// we compose the final post-save notification below.mNotificationBuilder.setLargeIcon(icon.createAshmemBitmap());// But we still dont set it for the expanded view, allowing the smallIcon to show here.mNotificationStyle.bigLargeIcon((Bitmap) null);}可以发现在构造方法的后面狗仔了一个NotificationBuilder对象然后发送了一个截屏成功的Notification 这样我们在截屏动画之后就收到了Notification的通知了。 总结 在PhoneWindowManager的dispatchUnhandledKey方法中处理App无法处理的按键事件当然也包括音量减少键和电源按键的组合按键 通过一系列的调用启动TakeScreenshotService服务并通过其执行截屏的操作。 具体的截屏代码是在native层实现的。 截屏操作时候若截屏失败则直接发送截屏失败的notification通知。 截屏之后若截屏成功则先执行截屏的动画并在动画效果执行完毕之后发送截屏成功的notification的通知 以上就是本文的全部内容希望对大家的学习有所帮助。 更多Android进阶指南 可以扫码 解锁 《Android十大板块文档》 1.Android车载应用开发系统学习指南附项目实战 2.Android Framework学习指南助力成为系统级开发高手 3.2023最新Android中高级面试题汇总解析告别零offer 4.企业级Android音视频开发学习路线项目实战附源码 5.Android Jetpack从入门到精通构建高质量UI界面 6.Flutter技术解析与实战跨平台首要之选 7.Kotlin从入门到实战全方面提升架构基础 8.高级Android插件化与组件化含实战教程和源码 9.Android 性能优化实战360°全方面性能调优 10.Android零基础入门到精通高手进阶之路 敲代码不易关注一下吧。ღ( ´ᴗ )

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/web/88420.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

做教程网站资源放哪里有展示型网站建设方案书

目录 1.简介 2.Optional类常用方法 3.示例代码 4.示例代码仓库地址 1.简介 Java 8引入了一个重要的新特性,即Optional类。Optional类是为了解决空指针异常而设计的。 在Java中,当我们尝试访问一个空对象的属性或调用其方法时,很容易抛出…

购物网站欢迎页面怎么设计外贸进口流程

文章目录 过期监听准备工作稍微复习下Jedis与JedisPool 模拟延时队列优缺点**优点**:**缺点**: ZSet 实现延时队列引入依赖模拟延时队列优缺点**优点**(跟过期监听一样):**缺点**: Reference Redis实现延时…

建设集团网站上海今天最新发布会

本节主要就是讲述的机器学习的数学基础,提到数学基础,可能一眼就会是满眼的枯燥、没意思,但是成就英雄的路上注定了孤独,要想要真正的在学术上有所突破就必须挨得住寂寞,受得住孤独,才能真正的走进熟悉直到…

站长工具seo综合查询adc舟山市普陀区建设局网站

全球图形学领域教育的领先者、自研引擎的倡导者、底层技术研究领域的技术公开者,东汉书院在致力于使得更多人群具备内核级竞争力的道路上,将带给小伙伴们更多的公开技术教学和视频,感谢一路以来有你的支持。我们正在用实际行动来帮助小伙伴们…

做视频图片博客网站怎样把自己的网站推广出去

一、题目要求: 某学校要设计一个数据库,学校的业务规则概括如下: 学校内班级若干,每个班级内又有学生若干。 学校开设课程若干,只有某些特定的班级能上指定的课程。 学生选修某些课程,但是在自身班级下的课程是必修。 学校定期组织考试,成绩…

用vs做的网站怎么打开吗网站开发有侵权吗

微信小程序实战系列 《微信小程序实战-01翻页时钟-1》《微信小程序实战-02翻页时钟-2》 文章目录 微信小程序实战系列前言动态翻页效果实现clock.wxmlclock.wxssclock.js运行效果 总结 前言 本文继续完成最后一个部分“动态翻页效果”。 动态翻页效果实现 clock.wxml <…

google网站建设wordpress 4.5.2 下载

社区团购业务正在中国迅速崭露头角&#xff0c;而随着行业的快速发展&#xff0c;也带来了一系列挑战&#xff0c;包括供应链管理、物流配送、产品质量和用户体验等问题。本文将探讨这些问题&#xff0c;并提出一些可能的解决方案。 一、问题和挑战 1.1 供应链管理 对于社区团…

如何让自己的网站被搜索引擎收录打广告去哪个平台免费

虽然口令的安全性很值得担忧&#xff0c;但是口令在OpenSSL中是经常使用的&#xff0c;这是没有办法替代的一种简易的保护数据的方法。OpenSSL中使用口令的地方很多&#xff0c;比如密钥的加密和解密&#xff0c;等等。OpenSSL的指令提供了多种灵活的口令输入方法&#xff0c;但…

小语种服务网站定制微信小程序开发价格

作者主页&#xff1a;作者主页 数据结构专栏&#xff1a;数据结构 创作时间 &#xff1a;2024年5月18日 前言&#xff1a; 今天我们就给大家带来几种排序的讲解&#xff0c;包括冒泡排序&#xff0c;插入排序&#xff0c;希尔排序&#xff0c;选择排序&#xff0c;堆排序&…

使用模板怎么建站在线购物网站开发项目

import randomrandom.shuffle(a) # a是一个列表

京东云网站建设深圳南山网站建设工作室

一、静态协议的优缺点&#xff1a; 缺点&#xff1a; 1、中大型网络配置量过大 2、不能基于拓扑的变化而实时的变化 优点&#xff1a; 1、不会额外暂用物理资源 2、安全问题 3、计算路径问题 简单、小型网络建议使用静态路由&#xff1b;中大型较复杂网络&#xff0c;建议使用…

句容建设网站wordpress文章页面菜单

效果图&#xff1a; 各字段设置&#xff1a; 以下是一个使用 AI&#xff08;DeepSeeker&#xff09; 飞书多维表格分解项目待办模板的示例&#xff0c;你可以根据实际情况进行调整和优化&#xff1a; 列表中需要选择对象&#xff0c;且选择输出结果&#xff08;记得控制字符长度…

企业网站php模板下载网站排名软件优化

计算节点的功能&#xff1a; 提供容器运行的环境 kube-proxy的主要功能&#xff1a; 术业有专攻&#xff0c; kube-proxy的主要功能可以概括为4个字 网络规则 那么kube-proxy自己其实是个daemonset控制器跑的 每个节点上都有个的pod 它负责网络规则 其实呢 它还是个小…

合肥百度 网站建设邯郸人才网

今天又看到这么一个帖子讨论一款国产化软件&#xff0c;属实给我震撼到了。 对于国产化产品&#xff0c;一直主打的都是”自研“&#xff0c;难道是我对”自研“这个词的理解有误&#xff1f; 做一个产品&#xff0c;别人开源了&#xff0c;你拿过来使用&#xff0c;你可以说…

手机商场网站制作必须做网站等级保护

/etc/shadow 文件详解用户帐户本身在 /etc/passwd 中定义。Linux 系统包含一个 /etc/passwd 的同伴文件&#xff0c;叫做 /etc/shadow。该文件不像 /etc/passwd&#xff0c;只有对于 root 用户来说是可读的&#xff0c;并且包含加密的密码信息。我们来看一看 /etc/shadow 的一个…

免费建筑设计素材网站现在哪些做进口商品的电商网站

在网站的管理系统中&#xff0c;有时需要查看某个文件是否被修改过、在什么时间被修改的、最后的修改时间是什么时候&#xff0c;本实例就可以实现这个功能&#xff0c;对表单中提交的文件进行判断&#xff0c;检测出修改时间。关键技术本实例主要应用filectime()和filemtime()…

风险的网站怎么出现网站建设关键词优化价格

要在 Linux 中创建、复制和删除文件和目录&#xff0c;可以使用各种命令。 以下是一些常用的&#xff1a; 1、创建目录&#xff1a; mkdir 目录名创建目录层次结构&#xff1a; mkdir -p 目录路径/子目录创建文件&#xff1a; touch 文件名4.复制文件&#xff1a; cp 源文件…

网站建设推广公司哪家权威公益机构网站建设方案

目录 一、背景知识 1.1 理想时序模型 1.2 实际时序模型 1.2.1 时钟不确定性 1.2.2 触发器特性 二、时序分析 2.1 时序模型图 ​2.2 时序定性分析 一、背景知识 之前的章节提到&#xff0c;时钟对于FPGA的重要性不亚于心脏对于人的重要性&#xff0c;所有的逻辑运算都离开…

网站快速查找网站推广指标包括( )。

前言 MySQL 数据库 MHA&#xff08;Master High Availability&#xff09;高可用集群是一种用于提高 MySQL 数据库可用性的解决方案。它通过自动故障切换和监控来确保数据库系统在主服务器发生故障时能够快速切换到备用服务器&#xff1b;在 MHA 高可用集群中&#xff0c;Mast…

网站建设 英语词汇吉林网络推广公司

一、AWS高级 SAP-C01考试 AWS高级考试 AWS Certified Solutions Architect - Professional 报名费&#xff1a;300美金 SAP-C01考试内容主要覆盖的五大领域和对应领域所占权重&#xff1a; 1、组织复杂性设计 12.5% 2、新解决方案设计 31% 3、迁移规划 15% 4、成本控制…