iOS reverse -- Introduction to otool command

First, you can try your own ipa package. Select your ipa package, change the suffix to zip, and extract it to the Payload folder, which is your APP. Open the terminal and cd it directly to your xxxx.app directory. For details, enter cd, and then drag xxxx.app directly to the terminal to enter. Then input otool Will get ...

Posted on Sun, 09 Feb 2020 15:06:17 -0500 by brett

Improve the priority of navigation sound in audioFlinger

  1 determine which program the audio stream comes from. If it comes from navigation, the audio type will be the navigation sound by default. ./framework/av/include/media/NaviInfo.h #include <utils/String8.h> namespace android { class NaviInfo { public: NaviInfo(); ~NaviInfo(); bool isNaviCalling(); priv ...

Posted on Sat, 04 Jan 2020 22:07:37 -0500 by new_to_php2004

GLSurfaceView+MediaPlayer play video

Code bulk copy https://blog.csdn.net/king1425/article/details/72773331 Blog, if you are interested, please take a look , which briefly explains the process and related relations TextureViewMediaActivity code public class TextureViewMediaActivity extends Activity { private static final String TAG = "GLViewMediaActivity" ...

Posted on Thu, 02 Jan 2020 22:45:48 -0500 by richie

The setOption of Android ijkplay can't be called problems and optimization

Ijkplay is an open source framework library of bilibili bili. It mainly introduces the following optimization points of ijkplay I integrated my own ijkplay My evideoview Then when I use it here, my setOption method can't come out And then I gave up, and I used reflection for setOption Looking at the source code, you can se ...

Posted on Wed, 18 Dec 2019 10:43:36 -0500 by johany

Source development of iOS short video MPMoviePlayerController

Article: Bugu Huize / source: Shandong Bugu Bird Network MPMoviePlayerController is used to play video, which is discarded after IOS 9 (Apple recommends AVPlayer after IOS 9, which is relatively complex but flexible). Because APP is often compatible with versions before IOS 9, all mpmovieplayercontrollers are still very important. In another ...

Posted on Tue, 19 Nov 2019 17:04:04 -0500 by steelerman99

Android custom click control with sound TextViewButtonListView

When android control is in setonclick method, it will trigger performClick() method when it is clicked. We can implement this method in custom control and call a method to generate sound, that is to say, click control to generate sound. Custom control Only one custom Imageview is written here. Almost all other controls are the ...

Posted on Thu, 14 Nov 2019 10:41:02 -0500 by rgermain

Spring automatically assembles and injects arrays, collections and maps by type

When Spring automatically assembles and injects arrays, collections, and maps by type, it assembles bean s of the corresponding type in the application context into the collection, rather than directly finding a collection of the corresponding type and injecting it. Take the following code as an example ...

Posted on Fri, 18 Oct 2019 11:51:11 -0400 by shauny17

Android downloads audio files using URLConnection

This article links: Android downloads audio files using URLConnection Use MediaPlayer to play online audio, please refer to Android Media Player Plays Audio Sometimes we need to download audio files. This paper provides an idea to write online audio files to local files through streaming. Use URLConnection to establish the connection and write ...

Posted on Tue, 08 Oct 2019 04:39:01 -0400 by cyberrate

fragment+viewpager Picture and Video Mixed Rotation (videoview+glide)

Recently, we need to do a hybrid rotation of pictures and videos, because the previous rotation is using banner, which is relatively simple to implement, that is, new out, set up the picture set, then a set, so I want to find a third party that can be achieved, there is certainly, but I still did not ...

Posted on Mon, 30 Sep 2019 08:54:33 -0400 by ephmynus

Android Media Player Playback Process Analysis

The simplest Media Playback process is as follows, which can be played in five steps. String url = "http://........"; // your URL here MediaPlayer mediaPlayer = new MediaPlayer(); mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); mediaPlayer.setDataSource(url); mediaPlayer.prepare(); // might take long! (for buffering, etc) mediaPlayer ...

Posted on Thu, 26 Sep 2019 02:09:24 -0400 by trexx