Joke Collection Website - Public benefit messages - How to modify the picture of Apple calling?

How to modify the picture of Apple calling?

First, the basic structure of the theme

Second, the background image modification

Three. Info.plist configuration

(If there is a certain foundation, you can try to modify it.)

4. Bundle folder

(The subfolders in this folder respectively change the icons of various programs in the mobile phone, and enter the page after running the program, etc. ,

For example, com.apple.mobilephone just changed the whole interface of the mobile phone, such as dial panel, address book menu and so on. )

Folder folder

(This folder has modified some specific program icons, such as some plug-in icons we downloaded from cydia.

Folders folder changes icons with high permissions, so we need folders folder to change them.)

Nuclear standard information center

(Place the icon, the bundle file is higher than the icon file)

Seven, ullmages folder

(This folder is used for machine change, WIFI, signal circle, Bluetooth, power display, etc. And micro-setting icons. )

Eight, ulsounds folder

(Modify screen lock ringtone, incoming call ringtone, SMS ringtone, etc. )

Nine, plug-ins in the theme

First, the basic structure of the theme

Theme packages usually contain the following four parts:

1, folder: package, folder, icon, UIImages, UISounds.

2. Configuration file: Info.plist (essentially an xml document, used to configure font color and navigation bar, etc. )

3. Background pictures: Dock.png, StatusBar.png, Wallpaper.png and LockBackground.png.

4. Plug-ins: Wallpaper.html, LockBackground.html, Widget.html and directories specified by these html, such as gadgets, private, resources and other folders.

Now the theme is generally divided into two styles: as shown in the figure.

The first (basic) and the second (complex)

How to modify the theme triple of Apple mobile phone

Apple's 1, iPhone4 and Touch4 are all retina displays with a screen resolution of 640 x 960, and the applicable screen width and height are doubled on the original basis, and the suffix ends with @2x. For example, the home screen Wallpaper.png(320 x480) is wallpaper @2x. Png (640 x 960) on iPhone4 4, 4 s.

2. If you don't want to follow those sizes when making the theme, you can, but generally don't exceed twice the recommended size to avoid slow display. However, if the sizes marked with red lines are used in the tutorial, you should follow those sizes, otherwise the main interface will display exceptions and so on.

Second, the basic background picture modification:

1. Home screen wallpaper: Wallpaper.png

320 x 480

If it is iPhone4, 4s or Touch4, use 640 x 960, which is called Wallpaper@2x. Papua New Guinea,

2, lock screen wallpaper: LockWallpaper.png

Ditto ~

3. Status bar:

1, phone, settings, SMS status bar

Silver_Base.png 640x40

640x40

SMSBackgroung.png 960 x960

To get the id method of an application:

Take Cydia as an example.

(1) Open/applications/cydia.app with mobile assistant;

(2) open Info.plist

(3) Find com.saurik.Cydia with the key value of CFBundleIdentifier, which is the program id of Cydia.

(Finally, bind and create a folder of com.saurik.Cydia, and store the pictures of Cydia.app in it, so that the display style of Cydia program can be modified. )

Common icon names of stand-alone desktop programs in the bundled directory.

If the desktop icon adopts the following naming form, the icon directory is unnecessary. With the following form, it can be compatible with all language environments, without naming an icon in one language, which increases the space of the theme package.

Com.apple.AppStore app store

Com.apple. calculator computer

Com.apple.camera camera (compatible with 4.2. 1 firmware)

Com.apple.compass compass

Com. apple map map

Com.apple.MobileAddressBook address book

Com. apple. mobile calendar

Com. apple.mobilipodmusic (see Section 3 "Modifying Program Desktop Icons" below for details).

Com. apple. mobile e-mail map

Memorandum of com.apple.mobilenotes

Com. apple mobile phone

com.apple.mobilesafari Safari

Com. apple. mobile slide shows cameras and photos.

Com.apple.MobileSMS message

com.apple.MobileStore iTunes

Com.apple.mobiletimer clock

Com.apple Preferences Settings

stock market

Voice memo

Com.apple. Weather weather

com.apple.youtube youtube

Game center

com saurik . cy dia cy dia

2. Modify the big picture of program startup

1. Create the com.91.sj.iphone.panda home folder in the Bundles directory;

2. Then put the picture into com.91.sj.iphone.panda home and name it Defualt.png.

Start the big picture naming rules and resolution size:

(2)Touch4 and iPhone4 4 4,4s:

(3) For iPad:

Normal screen (press the HOME key): default-portrait.png (768 w *1004h)

Vertical screen inversion (HOME key turned on): default-portrait upside down.png (768 w *1004h)

Scenery-home key is on the left: default-landscapeleft.png (1024w * 748h).

Scenery-home key is on the right: default-landscaperight.png (1024w * 748h).

Default-portrait.png (768 w *1004h) is the default large screen vertical to the screen.

The horizontal default large image: default-landscape.png (1024w * 748h).

Use priority:

A. give priority to finding the overall situation in the corresponding direction.

B. If you can't find the big picture in the corresponding direction:

Vertical screen: continue to look for Default-Portrait.png and finally choose Default.png;

Horizontal screen: continue to look for default-landscape.png (1024w * 748h), and finally choose Default.png;

3. Modify the desktop icon of the program.

Icon naming rules and resolution size:

(2) For Touch4 and iPhone4, 4S:

1, com.apple.mobileslideshow (mainly used to store cameras and photo icons)

(1) for iPhone and Touch(touch4 also has a camera icon).

Icon-Camera.png camera

Photo icon-Photos.png

If there is only icon.png here, it will inevitably lead to the same camera and photo program icon.

3.com.apple.camera (mainly used to store camera icons,)

Camera: icon.png

Note: If it is touch4 and iPhone4 icon, you need to add @2x suffix. Icons are named in lowercase. Like icon.png,

(1) battery: contains 17 files, from BatteryBG_ 1.png to batterybg _17.png.

(2) If it is iPhone4 or 4S and Touch4, you need to add @2x suffix (without 2x suffix, it cannot be displayed on iPhone4 or Touch4).

(2) Program bubble digital marking SBBadgeBG.png.

(3) Uninstall the program button: closebox.png's long press on the icon will bring up a small icon to delete ipa.

Among them, whether SBBadgeBg.png is iPhone4 or 4S, Touch4 can be distinguished manually without adding @2x suffix.

5. Modify the slider and telephone answering panel (com.apple.TelephonyUI).

Bottombarbkgndlock.png is the background box for all sliders.

Bottombarknobgray.png is the icon of the slider.

Bottombarknobgreen.png is the icon of the incoming call slider.

Bottombarknobred.png is the icon of the shutdown slider.

Bottombarbkgnd.png is the background box to cancel the shutdown or incoming call.

Bottombarbkgndlock.png is the background box of the unlock slider.

Bottombarknobgray.png is the icon to unlock the slider.

6. telephone (com.apple. mobile phone)

Mainly to modify the dial.

Note: The dialing panel is different from the telephone answering panel of the TelephonyUI above. The former is the panel where the phone program calls, and the latter is the panel that pops up when there is an incoming call.

(1), numeric keypad:

The size of this work is 640×546.

The number keyboard part I * * * needs two pictures, in which dialerkeypad.png is in normal display state and dialerkeypad_pressed.png is in display state when the keyboard is pressed. As shown in the figure:

(2), add, dial and delete:

The addition and deletion are the same size, 2 14x 128, and the file extension is png.

The dial size is 2 14x 128, and the file extension is png.

(3) dialerlcd.png:

The size of this part is 640x 148.

Note: There must be two dial-up pictures, one called callglyph and the other called callglyph_big. If you want to add one more picture for pressing, you only need to add _pressed to the original name, such as dialerkeypad.png, and the effect of pressing is dialerkeypad_pressed.png

For iPhone4, 4S and touch4, adding suffix @2x will double the resolution.

7. SMS (com.apple.chatkit)

Balloon_ 1.png to send, Balloon_2.png to receive.

For iPhone4 and 4S, Touch4, the picture name is added with @2x suffix, which is twice the original size.

8. computer (com.apple.calculator)

The computer digital panel is named basicKeypad.png. The size is 320*37 1. If you want to change the effect of pressing, you can't name it like a phone. Take the following naming method:

+-BasicPressed.png corresponds to the size of+-/:66*4 1.

=BasicPressed.png corresponds to "=" size: 65*99.

0 basicpressed.png ~ 9 basicpressed.png corresponding to "0-9" size:

The size of the numeric keypad is as follows (0:143 * 39; 1-3:66*40; 4-9:66*42)

AcBasicPressed.png corresponds to "AC" size: 66*4 1

AddBasicPressed.png corresponding "+"size: 65*42.

BasicRing.png corresponds to the size of the "point in the output box": 74*5 1.

CBasicPressed.png corresponds to "C" size: 66*4 1.

CommaBasicPressed.png corresponds to comma size: 66*39.

DecimalBasicPressed.png corresponds to decimal size: 66*39.

DisplayBackgroundSlice.png's corresponding "output box background" size is 320*89.

DivideBasicPressed.png corresponds to the size of the "fractional line": 66*40.

M+BasicPressed.png corresponds to "m+"size: 66*42.

M-BasicPressed.png size corresponding to "M-": 66*42.

McBasicPressedpng corresponds to "MC" size: 66*42.

MrBasicPressed.png corresponds to "Sir" size: 66*42.

The size of MultiplyBasicPressed.png's corresponding multiplication sign is 66*42.

SubtractBasicPressed.png corresponds to "minus" size: 66*42.

AcBasic.png corresponds to "AC" size: 66*42.

CommaBasic.png corresponds to comma size: 66*42.

The size is between 66*39 and 66*42. Corresponding to iPhone4 and Touch4, plus @2x suffix, the size is twice as large as the original.

Verb (abbreviation for verb) folder

Like packages, this folder is also a resource for modifying applications. Except for the different folder names, the system frameworks TelephonyUI.framework and UIKit.framework are the same.

Bundled directories take precedence over folders. (The theme production is subject to bundling)

Comparison diagram of folder directory and Bundles directory structure of the same program:

The folder name of the Folders directory is CFBundleName+. The application of the program.

If the CFBundleName value corresponding to Cydia is Cydia, the suffix Cydia.app is the folder name. As shown in the figure:

IPhone plus ~iPhone suffix, iPad plus ~iPad suffix.

Nuclear standard information center of intransitive verbs

Used to modify the desktop icon name. Unlike packages and folders, icons are named after the program display name. But putting all the icons in one folder has advantages and disadvantages:

Advantages:

(1) is easy to name, and you don't need to know the corresponding id of each program, just the actual name.

(2) There is no need to create a separate folder for each icon, and the operation is convenient.

Disadvantages:

(1) is inefficient. Because the order in which the theme tool takes icon resources is: first find Bundles, then find Folders directory, and finally find Icons under icons directory;

(2) The icon may not be displayed. Because 4.x firmware has no multilingual mapping table, if there is only one English icon, it cannot be displayed in Chinese or other languages. Must be supported by theme tools.

Standard size:

IPhone4, 4s and touch 4: 60x60

24 commonly used names with program icons in the icon directory:

(If it is iPhone4 and Touch4, you must also add the suffix "@2x", such as VII. UIImages。

It is mainly used to modify the resources in the iOS framework UIKit.framework, which is equivalent to the com.apple.UIKit directory under the Bundles directory. Generally, it is Apple's UI element resources, such as the background picture of the navigation bar, the background of the pop-up warning dialog box or the button picture.

1, time background map changes

Just replace the one in the box.

UIButtonBarBlackOpaqueBackgroundTall.png is the bottom of the dialing interface (this part is optional).

UILCDBackground.png is the time background box that locks the screen.

Paging icon uipageindicator uipageindicator @ 2x uipageindicator current uipageindicator current @ 2x

Eight. ultrasonic

Modify the sound file under /System/Library/Audio/UISounds, and the format is caf. Just change aac format to caf.

Beep. caf charging sound

Lock.caf lock screen sound

Unlock.caf unlock sound

The sound of mail-sent.caf sending e-mail.

The sound of New-mail.caf receiving mail.

ReceivedMessage.caf sends a text message.

SentMessage.caf sends SMS sound.

Sms reception 1.caf tritone

SMS reception 2.caf manages Zhong Qin.

Received text message 3.caf glass sound

Received SMS 4.caf French number

Sms reception 5.caf ringtone

Sms reception 6.caf electronic music

Nine. plug-in component

The suffix of the plug-in is html and js code is used, so I won't go into details. Mainly screen lock plug-ins, home screen dynamic wallpaper, and calendar weather plug-in and so on.

Mainly divided into three categories:

1.wallpaper.htmlplugins displayed on the home screen are usually dynamic wallpapers, that is, slides.

2.LockWallpaper.html lock screen display plug-in.

3.Widget.html plug-ins, usually clocks, calendars or weather plug-in.

If Wallpaper.html, Widget.html and Wallpaper.png exist at the same time, Widget.html will be displayed at the top, Wallpaper.html in the middle and Wallpaper.png at the bottom.

Lock screen weather modification:

Open the theme bag, LockBackground.html.

search[font = arial; ][color = initial; ]var locale will appear Varlocale = "CHXX 0097" [color = initial; ] and other words, modify the lead inside.

Opening LockBackground.html requires a computer to download Notepad++software.

/edu/20 13/03-3 1/63 170 . html