Android Activity transition animation

Preface I haven't written blog for a long time. I'm getting lazier and lazier. I still need to change! Today I learned the animation effects that are likely to be applied to my work. Design sketch Implementation ideas LoginActivity jumps to MainActivity through transition Animation: Determine the starting position coordin ...

Posted by barteelamar on Tue, 10 Dec 2019 20:40:12 -0800

Android Development: APP guide page launch page small Demo (instance)

From the beginning of Android, step by step to now, the process is really hard to say. Only those who have experienced it can understand the pain of learning Android for the first time. So now, when looking at the path on Android, I turn around and write some small demos, hoping to help the people who need them. Later, I will o ...

Posted by dp777 on Tue, 10 Dec 2019 19:11:01 -0800

bs4 crawls comics and writes them to the TXT file

What we bring today is to crawl the comic information and links on the comic website This time, we will use bs4, which is Beautiful Soup Let's introduce * * Beautiful Soup * *:Beautiful Soup is a Python library that can extract data from HTML or XML files. It can realize the usual way of document navigation, search and modificat ...

Posted by dcjones on Tue, 10 Dec 2019 17:22:02 -0800

spark reads hive data java

Requirement: read out the data in hive and write it into es. Environment: spark 2.0.2 1. enableHiveSupport() is set in sparksession SparkConf conf = new SparkConf().setAppName("appName").setMaster("local[*]"); SparkSession spark = SparkSession .builder() .appName("Java Spark SQL basic exam ...

Posted by NSW42 on Tue, 10 Dec 2019 14:30:32 -0800

SSM framework integration

SSM framework integration in general Configure the web.xml file <!-- read applicationContext-*.xml configuration file --> <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:applicationContext-jdbc.xml</param-value> </context-param> <!-- Set ...

Posted by angel777 on Tue, 10 Dec 2019 09:52:43 -0800

Realization of the back end of tmall's Homepage Based on servlet+filter + reflection simulation

In order to deepen the principle of web, this project does not use the framework, mainly describes the ideas from request to page presentation. For details, please refer to the specific project at the end of the article Why use filter? Direct servlet implementation is not enough Because tmall and other projects need many servlets to handle spec ...

Posted by Shuriken1 on Tue, 10 Dec 2019 02:18:41 -0800

Huawei's mobile phone prompts that parsing package fails when updating and installing in APP after Android is consolidated

Recently, I found a problem. When my apk was strengthened with 360, I detected the update in the app, downloaded the new apk, and the Huawei mobile phone prompted "parsing package failed" when I installed it. Other mobile phones are OK. Try to find out Solution I set System.exit(0); I think it's the same as removing ki ...

Posted by nathus on Mon, 09 Dec 2019 21:42:38 -0800

Personal learning series - springboot simple integration ActiveMQ

Message queuing hasn't been used recently, but I can't help but study it. springboot integrates ActiveMQ 1. docker deployment ActiveMQ 1.1 search ActiveMQ docker search activemq 1.2 download the image of ActiveMQ docker pull webcenter/activemq 1.3 starting the image of ActiveMQ docker run -it -d \ # Background operation -p 61616:61616 \ # tcp ...

Posted by dheeraj4uuu on Mon, 09 Dec 2019 20:34:22 -0800

PHP Implementation of Domain-Driven Design - Value Object

Value object By using the self keyword, we do not use value objects as basic building blocks for domain-driven design, and they are used in code to model common language concepts.Value objects are not just things measured, quantified or described in the field.Value objects can be thought of as small and simple objects - such as money or date ra ...

Posted by iShaun on Mon, 09 Dec 2019 19:39:24 -0800

Android Studio click the button to jump to a new interface

Android Studio click the button to jump to a new interface Problem description First, we have two Java files and the XML files bound to them. Here, take history activity.Java, activity_history.xml and event detail.Java, activity_event_detail.xml as examples. We want to add a button in the history activity interface, and clic ...

Posted by scnjl on Mon, 09 Dec 2019 18:30:48 -0800