Because blogging always requires a demo of the Android software, it has been researched for almost an hour to find the right tool;Recording Process :-- 1. Record Android phone screen content : Use the Master software to record Android
Sometimes we need to record the screen of an Android phone, like writing a demo app that needs to be posted on blogs and tweets.Here's how I recorded the GIF.For Android4.4 on the phone, the system comes with a command screenrecord, we can be very convenient to use.Recording commandsshell screenrecord /sdcard/test.mp4The video save directory can be specified by i
When drawing a dynamic diagram in canvas, if a fixed background image is used, only a small sprite is moving!
In this case, you have to redraw the background picture in the frame without frames, making it less efficient! Tried all kinds of methods, and finally failed!
If someone has a good method, can provide a bit, thank you!
Here
are some of the ways to share in the process :
1, an article about the picture redraw, but only applies to the Genie in fixed position changes, the background is
Play the app main function is to record screen, the game screen is now very popular, our mobile games video screen software is also a lot of, here Small series to introduce a play hand to the video screen using a tour
Start playing with the app, we can directly use their m
Full Screen input is not allowed for Android horizontal screen; full screen for android
Recently, the input method is full screen when the address book on the 751 mobile phone is used for landscape
The android flash screen still has a black screen problem, and the android will have a black screen.
1 public class SplashActivity extends Activity {2 3 @ Override 4 protected void onCreate (Bundle savedInstanceState) {5 super. onCreate (savedInstanceState); 6 setContentVie
screen status broadcast receiver */private void startScreenBroadcastReceiver () {IntentFilter filter = new IntentFilter (); filter. addAction (Intent. ACTION_SCREEN_ON); filter. addAction (Intent. ACTION_SCREEN_OFF); filter. addAction (Intent. ACTION_USER_PRESENT); mContext. registerReceiver (mScreenReceiver, filter );}
Because the user can set whether the screen is locked after it is disabled, we cannot
Droid @ screen: the Android mobile phone screen is displayed on the PC screen,
Droid @ screen is a tool used to obtain the mobile phone screen and display it on the PC screen. It integr
I. Different Layout
The screen sizes of Android mobile phones vary by 480X320,640x360,800 X. How can an app automatically adapt to different screens?In fact, it is very simple, just need to create different layout folder under the res directory, such as layout-640x360, layout-800x480, all the layout files will be written to R after compilation. java, and the system selects the appropriate layout based on th
Here is a tool--[email protected], used to get the phone screen, displayed on the PC screen. It integrates, video and other functions in one.Installation
1.: http://droid-at-screen.org/download.html, after download is a jar package, put in a directory can.2. Install JDK6 or later3. Install the android SDK (download a full package from the
Article 3. Pre-development knowledge supplement: length units and screen resolutions of Android, which are also reproduced ~~, Android screen resolutionThis article is a bit early, but it is very practical. For more information about the Unit, see the red part.
Screen Resolu
This article is described as a common Android code, mainly used to determine whether the phone screen is horizontal or vertical, in the judge screen level or vertical, you can respond to the program, the instance code is only to determine if it is a vertical screen, if the correct return true, otherwise return false.
In actual development of the Android source code, two problems are encountered: instant screen notification after the screen is disconnected from the screen lock, and instant screen notification during the call; because the problem of wake-up on the
Brief Introduction to Android touch screen Gesture Recognition and android touch screen gesture
Most of the time, the use of touch screen Fling, Scroll and other Gesture (Gesture) operations will greatly improve the user experience of the application, such as rolling the
. gesturedetector. ongesturelistener; Since api-1,
Android. View. gesturedetector; Since api-1,
From the API, from the beginning of the api-1 has supported the gesture and gesture listener, so many say api-4 to support this sentence is also true! Because:Android. gestureThis class is fromApi-4Is supported. This classInput Method Gesture RecognitionWill be used in! So ~
Conclusion: Touch Screen Gesture Recog
First look at an Android screen full screen implementation code
The code is as follows
Copy Code
@Overrideprotected void OnCreate (Bundle savedinstancestate) {TODO auto-generated Method StubSuper.oncreate (savedinstancestate);Requestwindowfeature (Window.feature_no_title);GetWindow (). Addflags (WindowManager.LayoutParams.FLAG_FULLSCRE
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.