如何設置循環壁紙安卓
『壹』 realme手機怎麼設置桌面循環
點擊循環滑動後的功能開關,將其打開即可。
首先在手機中打開設置,並點擊桌面和壁紙進入桌面和壁紙後,點擊桌面設置,在桌面設置中,點擊循環滑動後的功能開關。
桌面循環可以讓手機背景更加靈活,可以使避免視覺疲勞。更具有趣味性。
『貳』 手機怎樣設置多個鎖屏,壁紙才能循環的顯示
請問您的手機型號是什麼呢?如果手機支持閱圖的解鎖樣式,建議進入i主題--我的--本地鎖屏--選擇「閱圖」應用即可設置自動更換鎖屏壁紙.然後在鎖屏亮屏界面,從上往下滑調出控制界面,再打開自動切換的開關.
『叄』 安卓手機怎樣設置那種按壓動態壁紙
在待機畫面空白處,長按屏幕不鬆手,彈出菜單選擇設定壁紙,主屏鎖定屏幕,主屏幕與鎖定屏,選擇動態壁紙,選擇樣式,選擇好後選擇設定或設置牆紙即可。
智能手機是具有獨立的操作系統,獨立的運行空間,可以由用戶自行安裝軟體,游戲,導航等第三方服務商提供的設備,並可以通過移動通訊網路來實現無線網路接入的手機類型的總稱。
世界上公認的第一部智能手機IBM Simon西蒙 個人通訊設備誕生於1993年,它由IBM與BellSouth合作製造。作為一項新興技術,CDMACDMA2000正迅速風靡全球並已佔據20%的無線市場。截止2012年,全球CDMA2000用戶已超過2.56億,遍布70個國家的156家運營商已經商用3G CDMA業務。
包含高通授權LICENSE的安可信通信技術有限公司在內全球有數十家OEM廠商推出EVDO移動智能終端·2002年,高通公司晶元銷售創歷史佳績,1994年至2020年,高通公司已向全球包括中國在內的眾多製造商提供了累計超過75億多枚晶元。智能手機也就是在這個大背景下誕生。
『肆』 安卓怎樣設置動態壁紙
『伍』 安卓系統桌面循環滾動桌面設置的
1、手機設置」的「輔助功能」中有選擇是否「桌面循環」。
2、在原生的android源碼上添加這一功能。
思路:先把界面做出來,再將是否選擇的值存到系統的(adb shell進入)data/data/com.android.providers.settings/databases/settings.db資料庫中的system表中,
然後在Launch2的源碼中取得資料庫中是否選擇循環桌面來執行相關代碼。
先做UI:
在settings源碼中的accessibility_settings.xml文件中添加一個checkbox:
java代碼
android:key="launch_repeat"
android:title="@string/launch_repeat_title"
android:persistent="false"/>
在settings源碼的res中添加相關的代碼:
在values/string.xml中添加(英文顯示):
Launch Repeat
在values-zh-rCN/string.xml中添加(中文顯示):
"循環桌面"
在settings源碼的AccessibilitySettings.java中的OnCreate中添加:
java代碼
/*****************************************/
mLaunchRepeat=(CheckBoxPreference) findPreference(
LAUNCH_REPEAT);
int LaunchRepeat=Settings.System.getInt(this.getContentResolver(),
"launch_repeat",0);//取出是否被選擇
if(LaunchRepeat==1)//如果被選擇,那麼下次打開setting時就勾選
mLaunchRepeat.setChecked(true);
else
mLaunchRepeat.setChecked(false);//如果沒被選擇,那麼下次打開setting時就不勾選
/*****************************************/
當然還要定義幾個量:
private final String LAUNCH_REPEAT =
"launch_repeat";
private CheckBoxPreference mLaunchRepeat;
在onPreferenceTreeClick函數中添加:
java代碼
//add by xxnan
if(LAUNCH_REPEAT.equals(key))
{
Settings.System.putInt(getContentResolver(),
"launch_repeat",
((CheckBoxPreference) preference).isChecked()?
1:0);//將是否選擇存到系統的system表中
}
//add by xxnan
如果做好了之後當點擊選擇「桌面循環時」可以到(adb shell進入)data/data/com.android.providers.settings/databases下的settings.db資料庫(sqlite3 settings.db)的system
表中看到33|launch_repeat|1(select * from system;)。
到這里就完成了將數據存到系統system表中以及UI,接下來就是在Launch2源碼中去取這個值(是否循環)。
到Launcher2源碼中去找到Workspace.java文件,在裡面有相應的修改:
在onTouchEvent中,之前有修改循環,如下:
java代碼
case MotionEvent.ACTION_UP:
if (mTouchState == TOUCH_STATE_SCROLLING) {
final VelocityTracker velocityTracker = mVelocityTracker;
velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity);
final int velocityX = (int)
velocityTracker.getXVelocity(mActivePointerId);
final int screenWidth = getWidth();
final int whichScreen = (mScrollX + (screenWidth / 2)) / screenWidth;
final float scrolledPos = (float) mScrollX / screenWidth;
Log.i("velocityX","velocityX="+velocityX+"whichScreen="+whichScreen);
/***********************************************/
//modifided by xxnan
if (velocityX > SNAP_VELOCITY) {
// Fling hard enough to move left.
// Don't fling across more than one screen at a time.
Log.i("numscreen","numscreen="+mCurrentScreen);
/* final int bound = scrolledPos < whichScreen ?
( (mCurrentScreen+ getChildCount()) - 1 )% getChildCount():
mCurrentScreen;*/
final int bound =( (mCurrentScreen+ getChildCount()) - 1 )% getChildCount()
;
Log.i("numscreen","bound="+bound);
snapToScreen( bound, velocityX, true);
} else if (velocityX < -SNAP_VELOCITY ) {
// Fling hard enough to move right
// Don't fling across more than one screen at a time.
/*final int bound = scrolledPos > whichScreen ?
( mCurrentScreen + 1 )% getChildCount(): mCurrentScreen;*/
final int bound = ( mCurrentScreen + 1 )% getChildCount() ;
snapToScreen(bound, velocityX, true);
} else {
snapToScreen(whichScreen, 0, true);
}
/***********************************************/
//下面是原生代碼
/*if (velocityX > SNAP_VELOCITY && mCurrentScreen > 0) {
// Fling hard enough to move left.
// Don't fling across more than one screen at a time.
final int bound = scrolledPos < whichScreen ?
mCurrentScreen - 1 : mCurrentScreen;
snapToScreen(Math.min(whichScreen, bound), velocityX, true);
} else if (velocityX < -SNAP_VELOCITY && mCurrentScreen <
getChildCount() - 1) {
// Fling hard enough to move right
// Don't fling across more than one screen at a time.
final int bound = scrolledPos > whichScreen ?
mCurrentScreen + 1 : mCurrentScreen;
snapToScreen(Math.max(whichScreen, bound), velocityX, true);
} else {
snapToScreen(whichScreen, 0, true);
}*/
}
mTouchState = TOUCH_STATE_REST;
mActivePointerId = INVALID_POINTER;
releaseVelocityTracker();
break;
那麼就要在修改的地方加一個判斷,如果system中取得的值是1,就可以循環,如果是0,就不能。
代碼修改如下:
java代碼
case MotionEvent.ACTION_UP:
if (mTouchState == TOUCH_STATE_SCROLLING) {
final VelocityTracker velocityTracker = mVelocityTracker;
velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity);
final int velocityX = (int)
velocityTracker.getXVelocity(mActivePointerId);
final int screenWidth = getWidth();
final int whichScreen = (mScrollX + (screenWidth / 2)) / screenWidth;
final float scrolledPos = (float) mScrollX / screenWidth;
Log.i("velocityX","velocityX="+velocityX+"whichScreen="+whichScreen);
/***********************************************/
//modifided by xxnan 2013-1-9
launch_repeat=Settings.System.getInt(mContext.getContentResolver(),
"launch_repeat",0);//取出system表中「launch_repeat」的值
Log.i(" launch_repeat"," launch_repeat="+ launch_repeat);
if(launch_repeat==1)//如果是1,就循環,也就是之前已經改好的
{
if (velocityX > SNAP_VELOCITY) {
// Fling hard enough to move left.
// Don't fling across more than one screen at a time.
Log.i("numscreen","numscreen="+mCurrentScreen);
/* final int bound = scrolledPos < whichScreen ?
( (mCurrentScreen+ getChildCount()) - 1 )% getChildCount():
mCurrentScreen;*/
final int bound =( (mCurrentScreen+ getChildCount()) - 1 )% getChildCount()
;
Log.i("numscreen","bound="+bound);
snapToScreen( bound, velocityX, true);
} else if (velocityX < -SNAP_VELOCITY ) {
// Fling hard enough to move right
// Don't fling across more than one screen at a time.
/*final int bound = scrolledPos > whichScreen ?
( mCurrentScreen + 1 )% getChildCount(): mCurrentScreen;*/
final int bound = ( mCurrentScreen + 1 )% getChildCount() ;
snapToScreen(bound, velocityX, true);
} else {
snapToScreen(whichScreen, 0, true);
}
}
else//如果是0,那麼就是原生代碼,不循環
{
if (velocityX > SNAP_VELOCITY && mCurrentScreen > 0) {
// Fling hard enough to move left.
// Don't fling across more than one screen at a time.
final int bound = scrolledPos < whichScreen ?
mCurrentScreen - 1 : mCurrentScreen;
snapToScreen(Math.min(whichScreen, bound), velocityX, true);
} else if (velocityX < -SNAP_VELOCITY && mCurrentScreen <
getChildCount() - 1) {
// Fling hard enough to move right
// Don't fling across more than one screen at a time.
final int bound = scrolledPos > whichScreen ?
mCurrentScreen + 1 : mCurrentScreen;
snapToScreen(Math.max(whichScreen, bound), velocityX, true);
} else {
snapToScreen(whichScreen, 0, true);
}
}
/***********************************************/
//下面是原生代碼
/*if (velocityX > SNAP_VELOCITY && mCurrentScreen > 0) {
// Fling hard enough to move left.
// Don't fling across more than one screen at a time.
final int bound = scrolledPos < whichScreen ?
mCurrentScreen - 1 : mCurrentScreen;
snapToScreen(Math.min(whichScreen, bound), velocityX, true);
} else if (velocityX < -SNAP_VELOCITY && mCurrentScreen <
getChildCount() - 1) {
// Fling hard enough to move right
// Don't fling across more than one screen at a time.
final int bound = scrolledPos > whichScreen ?
mCurrentScreen + 1 : mCurrentScreen;
snapToScreen(Math.max(whichScreen, bound), velocityX, true);
} else {
snapToScreen(whichScreen, 0, true);
}*/
}
mTouchState = TOUCH_STATE_REST;
mActivePointerId = INVALID_POINTER;
releaseVelocityTracker();
break;
當然這裡面也要定義幾個量,以及導入幾個包:
導入包:
//add by xxnan
import android.content.ContentResolver;//從system表中取數據
import android.provider.Settings;
定義變數:
private int launch_repeat;//取得是否循環的值
到這里就全部修改好了,還有就是編譯一下源碼中的package/apps的Launch2和Settings的源碼,將生成的out/target/。。。/system/app下的
Launch2.apk和Settings.apk替換手機里system/app的這兩個apk就可以了。
『陸』 安卓手機如何自定義設置動態壁紙
1、請確認系統是Android 2.1 及以上
2、確認手機支持動態壁紙功能
3、按[菜單menu]->[壁紙]->[動態壁紙],找到"動態壁紙",設置內點擊[啟動前景動畫效果]即可。
4、點擊[更新頻率]選擇所需的更新頻率,並將壁紙設置為當前壁紙。
『柒』 安卓手機怎麼設置壁紙
若使用的是vivo手機,可參考以下設置壁紙的方式:
一、設置自動更換節日壁紙
1、進入設置--鎖屏、桌面與壁紙--鎖屏設置--打開節日鎖屏壁紙開關;
2、進入i主題→我的→設置→開啟「節日鎖屏壁紙」。
二、設置鎖屏壁紙的方法
進入手機i主題--我的--鎖屏--選擇喜歡的圖片設置為壁紙;也可以在i主題--精選--壁紙里下載喜歡的壁紙。
三、設置桌面壁紙的方法
進入i主題--我的--壁紙中設定,或點擊右上角的相冊,將喜歡的照片設置為壁紙;也可以在i主題--精選--壁紙中下載。
四、設置動態壁紙的方法
可以進入手機i主題--我的--壁紙,設置動態壁紙。其它情況下手機本身不支持將動態圖片和視頻設置成桌面壁紙和鎖屏。
也可以嘗試使用第三方軟體實現。
備註:抖音的參考設置方法:抖音界面--登錄抖音賬號--找到視頻--點擊右下角的「分享」按鈕--左滑找到「動態壁紙」--設置即可。
手機的鎖屏樣式不能為閱圖,否則動態圖片和視頻不能替換到鎖屏。
五、設置壁紙跟隨屏幕滾動
1、打開 i主題——壁紙——選擇一個喜歡的橫向壁紙
2、下載並應用壁紙後,選擇「修剪壁紙」
3、選擇橫向應用壁紙,確定以後,返回桌面,就可以看到桌面壁紙隨屏滾動了 。
注意事項:需壁紙寬度大於長度
2. 設置壁紙時需選擇橫向
3. 進入i主題--右上角圖標--設置--關閉循環滑屏功能
六、將喜歡的圖片設置為鎖屏壁紙
進入相冊--點擊喜歡的圖片--更多--設為壁紙--鎖屏壁紙--確定。
『捌』 安卓手機怎麼設置動態壁紙
若使用的是vivo手機,可以參考以下設置方法:
1、可以進入【i主題--我的--壁紙--動態壁紙】,選擇壁紙應用即可。其它情況下手機本身不支持將動態圖片和視頻設置成桌面壁紙和鎖屏。
2、可以嘗試使用第三方軟體實現。
備註:抖音的參考設置方法:【抖音界面--登錄抖音賬號--找到視頻--點擊右下角的「分享」按鈕--左滑找到「動態壁紙」--下載設置即可】。
註:
1、首次將抖音視頻保存為動態壁紙時需安裝抖音插件,部分抖音視頻不支持設置動態壁紙;
2、手機的鎖屏樣式不能為閱圖,否則動態圖片和視頻不能替換到鎖屏。