请教大家个问题,是android开发的内容,有些游戏在登陆后会在大概标题栏那个位置从上向下滑动出一个欢迎

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了请教大家个问题,是android开发的内容,有些游戏在登陆后会在大概标题栏那个位置从上向下滑动出一个欢迎相关的知识,希望对你有一定的参考价值。

的控件,像什么:欢迎+账号+回来,这个控件是怎么做的啊?

参考答案: 小荷才露尖尖角,早有蜻蜓立上头。 参考技术A 动画效果 可以百度看下eoeandroid 优才网 这两个里面肯定会有 ! 参考技术B 用Toast+动画追问

请问toast能做出从上向下滑动效果吗?

追答

可以啊,动画从y的0点开始移动到你想要的位置。

参考技术C 也可以用PopupWindow来做啊还是比较简单的吧!

请教:用迅为4412开发板开机时卡在Android静止画面

我使用迅为的4412板子

技术分享

 


发现开机的时候会有机会卡在Android静止画面
使用RS232接机器log后比较正常与无法开机进入的log
发现缺少执行了以下内容
因此想请教各为这段缺少的内容是执行什么样的函式呢
[    8.464643] ADB open:
[    8.470987] [HIF-SDIO][I]WMT_open:major 190 minor 0 (pid 1243)
[    8.476148] [HIF-SDIO][I]WMT_open:1st call
[    8.479738] [HIF-SDIO][I]mtk_wcn_hif_sdio_tell_chipid:set combo chip id to 0x6620
[    8.500056] [mtk_wcn_stp_set_if_tx_type] set STP_IF_TX to uart.
[    8.504506] [HIF-SDIO][I]wmt_lib_set_hif:new hifType:0, fcCtrl:0, baud:115200, fm:2
[    8.512315] [WMT-DFT][I]wmt_conf_set_cfg_file:WMT config file is set to (/system/etc/firmware//WMT.cfg)
[    8.512595] [HIF-SDIO][I]opfunc_hif_conf:WMT-CORE: WMT HIF info added
[    8.528207] [STP] mtk_wcn_stp_set_wmt_last_close:[I] set wmt_last_close flag (0)
[email protected]:/ $ [    8.960145] s3c-fimc3: FIMC3 1 opened.
[    9.231863] s3cfb s3cfb.0: [fb1] dma: 0x693ac000, cpu: 0xf1dff000, size: 0x00bb8000
[    9.245695] s3c-fimc3: FIMC3 2 opened.
[    9.351285] s3c-fimc0: FIMC0 1 opened.
[    9.353651] s3c-fimc0: FIMC0 0 released.
[   15.535389] warning: `zygote‘ uses 32-bit capabilities (legacy support in use)
[   18.786735] healthd: battery l=0 v=0 t=0.0 h=1 st=1 chg=
[   18.798673] request_suspend_state: wakeup (3->0) at 18798651345 (2017-11-02 06:43:50.578534925 UTC)
[   19.433954] dm9620 1-3.2:1.0: eth0: link down
[   19.441180] link_reset() speed: 10 duplex: 0
[   19.445570] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   19.591335] acc_open
[   19.592065] acc_release
[   19.603835] [MTK-WIFI] WIFI_open: WIFI_open: major 194 minor 0 (pid 1)
[   19.608939] [MTK-WIFI] WIFI_write: WIFI_write 0
[   19.613429] [MTK-WIFI] WIFI_close: WIFI_close: major 194 minor 0 (pid 1)
[   19.917680] [MTK-WIFI] WIFI_open: WIFI_open: major 194 minor 0 (pid 1)
[   19.922880] [MTK-WIFI] WIFI_write: WIFI_write 1
[   19.930328] [HIF-SDIO][I]mtk_wcn_wmt_func_ctrl:OPID(3) type(3) start
[   19.935341] [STP] mtk_wcn_stp_psm_disable:[W] STP Not Ready, Dont do Sleep/Wakeup
[   19.942822] [WMT-DFT][I]mtk_wcn_cmb_hw_pwr_on:CMB-HW, hw_pwr_on start
[   19.949228] [WMT-DFT][I]wmt_plat_pmu_ctrl:WMT-PLATMU init (out 0)
[   19.955555] [WMT-DFT][I]wmt_plat_rst_ctrl:WMT-PLAT:RST init (out 0)
[   20.080397] [MTK-WIFI] WIFI_open: WIFI_open: major 194 minor 0 (pid 1573)
[   20.170080] [WMT-DFT][I]mtk_wcn_cmb_hw_pwr_on:CMB-HW, rtc clock exported
---



另一段:
[   20.295294] [WMT-DFT][I]mtk_wcn_cmb_hw_pwr_on:CMB-HW, BGF_EINT IRQ registered and disabled 
[   20.295304] [WMT-DFT][I]wmt_conf_read_file:WMT config file:/system/etc/firmware//WMT.cfg
[   20.295309] [WMT-DFT][I]wmt_conf_read_file:WMT config no need WMT.cfg
[   20.295532] [HIF-SDIO][I]wmt_ctrl_ul_cmd:str(open_stp) result(0)
[   20.295538] Flush type = 4 Rx Queue
[   20.295700] [HIF-SDIO][I]wmt_ctrl_ul_cmd:str(baud_115200_0) result(0)
[   20.295708] [STP] mtk_wcn_stp_enable:[I] mtk_wcn_stp_enable: set the current enable = (0)
[   20.295716] [STP-PSM] [I]_stp_psm_reset: _stp_psm_reset
[   20.295721] [STP-PSM] [I]_stp_psm_reset: reset-wake_lock(0)
[   20.295728] [STP-PSM] [I]_stp_psm_reset: reset-wake_lock(0)
[   20.295736] [STP] mtk_wcn_stp_ready:[I] set ready (0)
[   20.295742] [STP] mtk_wcn_stp_set_mode:[I] STP_SUPPORT_PROTOCOL = 00000002 
[   20.295748] [STP] mtk_wcn_stp_enable:[I] mtk_wcn_stp_enable: set the current enable = (1)
[   20.295754] [STP] mtk_wcn_stp_coredump_start_ctrl:[I] set f/w assert (0)
[   20.407513] [STP-PSM] [E]_stp_psm_notify_stp(1223):ERROR! state = 0, flag = 40
[   20.419722] [HIF-SDIO][I]wmt_core_hw_check:get hwcode (chip id) (0x6620)
[   20.430096] [WMT-DFT][I]mt6620_ver_check:MT6620: read hw_ver (hw version) (0x8a11)
[   20.441348] [WMT-DFT][I]mt6620_ver_check:MT6620: read fw_ver (rom version) (0x8a10)
[   20.447562] [WMT-DFT][I]mt6620_find_wmt_ic_info:found ic info(0x8a11) by full match! index:3
[   20.456004] [WMT-DFT][I]mt6620_ver_check:MT6620: wmt ic info: MT6620.E4 (0x8a11, WMTHWVER:3, patch_ext:_e3)
[   20.465731] [HIF-SDIO][I]wmt_core_hw_check:chip id(0x6620) ver_check ok
[   20.472316] [HIF-SDIO][I]wmt_core_stp_init:pctx->p_ic_ops->co_clock_ctrl(0x0), pwmtGenConf(0xbf046218)
[   20.481595] [WMT-DFT][I]mt6620_sw_init:no Flow Control (uartFcCtrl:0)
[   20.498274] [HIF-SDIO][I]wmt_ctrl_ul_cmd:str(baud_115200_0) result(0)
[   20.503305] [WMT-DFT][I]mt6620_sw_init:WMT-CORE: change baudrate(115200) ok
[   20.519612] [STP] mtk_wcn_stp_set_mode:[I] STP_SUPPORT_PROTOCOL = 00000001 
[   20.525130] [STP] mtk_wcn_stp_enable:[I] mtk_wcn_stp_enable: set the current enable = (1)
[   20.533304] [STP] mtk_wcn_stp_coredump_start_ctrl:[I] set f/w assert (0)
[   20.540117] [WMT-DFT][I]mt6620_sw_init:enable host STP-UART-FULL mode
[   20.577076] [HIF-SDIO][I]WMT_unlocked_ioctl: get patch num from launcher = 4
[   20.604175] [HIF-SDIO][I]wmt_ctrl_ul_cmd:str(srh_patch) result(0)
[   20.608872] [WMT-DFT][I]mt6620_sw_init:patch total num = [4]
[   20.614516] [WMT-DFT][I]mt6620_patch_dwn:the 1 time valid patch found: (/system/etc/firmware//mt6620_patch_e3_0_hdr.bin)
[   20.625636] [WMT-DFT][I]mt6620_patch_dwn:===========================================
[   20.633062] [WMT-DFT][I]mt6620_patch_dwn:[Combo Patch] Built Time = 20131118144310
[   20.640707] [WMT-DFT][I]mt6620_patch_dwn:[Combo Patch] Hw Ver = 0x8a10
[   20.647226] [WMT-DFT][I]mt6620_patch_dwn:[Combo Patch] Sw Ver = 0x8a10
[   20.653724] [WMT-DFT][I]mt6620_patch_dwn:[Combo Patch] Ph Ver = 0x0001
[   20.660316] [WMT-DFT][I]mt6620_patch_dwn:[Combo Patch] Platform = 1308
[   20.666755] [WMT-DFT][I]mt6620_patch_dwn:[Combo Patch] Content Size = 0xbb0
[   20.673701] [WMT-DFT][I]mt6620_patch_dwn:[Combo Patch] Content CRC = 0xc83c
[   20.680619] [WMT-DFT][I]mt6620_patch_dwn:===========================================
[   20.693208] [WMT-DFT][I]mt6620_patch_dwn:4 bytes address command:0x00,0x3f,0x00,0x01
[   20.990054] [WMT-DFT][I]mt6620_patch_dwn:wmt_core: patch dwn:0 frag(3, 992) ok
[   20.999017] [WMT-DFT][I]mt6620_patch_dwn:the 2 time valid patch found: (/system/etc/firmware//mt6620_patch_e3_2_hdr.bin)
[   21.023082] [WMT-DFT][I]mt6620_patch_dwn:4 bytes address command:0x00,0x80,0x10,0x01
[   21.497643] [WMT-DFT][I]mt6620_patch_dwn:wmt_core: patch dwn:0 frag(5, 860) ok
[   21.506717] [WMT-DFT][I]mt6620_patch_dwn:the 3 time valid patch found: (/system/etc/firmware//mt6620_patch_e3_3_hdr.bin)
[   21.536945] [WMT-DFT][I]mt6620_patch_dwn:4 bytes address command:0x00,0x28,0x00,0x10
[   23.226050] [WMT-DFT][I]mt6620_patch_dwn:wmt_core: patch dwn:0 frag(18, 620) ok
[   23.235820] [WMT-DFT][I]mt6620_patch_dwn:the 4 time valid patch found: (/system/etc/firmware//mt6620_patch_e3_1_hdr.bin)
[   23.253408] [WMT-DFT][I]mt6620_patch_dwn:4 bytes address command:0x00,0x3f,0x00,0x01
[   23.556197] CPU1: shutdown
[   24.024176] CPU2: shutdown
[   25.470835] [WMT-DFT][I]mt6620_patch_dwn:wmt_core: patch dwn:0 frag(24, 56) ok
[   25.482066] [WMT-DFT][I]wmt_stp_init_coex:ctrl GET_WMT_CONF ok(0xbf046218)
[   25.513180] [WMT-DFT][I]mt6620_sw_init:init_coex ok
[   25.520935] [WMT-DFT][I]mt6620_sw_init:set fm mode (2) ok
[   25.524909] [STP] mtk_wcn_stp_psm_enable:[W] STP Not Ready, Dont do Sleep/Wakeup
[   25.532383] [STP] mtk_wcn_stp_ready:[I] set ready (1)
[   25.537448] [mt6620] +++ setup_mt6620_wlan_power_for_onoff : wlan power on









































































































以上是关于请教大家个问题,是android开发的内容,有些游戏在登陆后会在大概标题栏那个位置从上向下滑动出一个欢迎的主要内容,如果未能解决你的问题,请参考以下文章

请教:用迅为4412开发板开机时卡在Android静止画面

请教个安卓动画效果,就是点击一级菜单动态显示二级菜单的问题?请教大神

请教一个关于Android Studio布局预览的问题

向大家请教几个CS问题!!

[转] Android开发者必备的42个链接

Android 音视频开发——录屏直播技术