Verlinkung von Lockscreen-Icons ändern ?

[.A.C.I.D.]

[.A.C.I.D.]

Neues Mitglied
2
Hey,

habe das FR Image drauf und die Original Kamera-App gelöscht und eine alternative Installiert die wunderbar funktioniert. Nur leider scheint das Kamera-Icon auf dem Lockscreen ins Leere zu gehen, denn betätigt man diesen hängt sich das Mini auf und startet neu.

Kann man den Link irendwie von Hand abändern und der neuen App zuweisen ?

Ebenso würde ich auch gerne den MMS/SMS Icons durch eine Whatsapp Verlinkung ersetzen :)

Ich hoffe jemand kann ungefähr sagen wie das geht. Schonmal Danke :)
 
Hallo .A.C.I.D.,

Du kannst den Link (Verknüpfung/Icon) eigentlich nicht ändern. Aber Du kannst das Icon (Verknüpfung/Link) vielleicht löschen und ein neues erstellen. Notfalls einen anderen Lockscreen wählen. In dem neueren Lockscreen (ich nehme an, FR-Image = 0A.21.2C) werden vermutlich die gleichen Verknüpfungen wie im Dock angezeigt, ich nutze allerdings die original (0A.21.0C) Firmware und kann darum nur vermuten.

Die unteren vier Icons (das sogenannte Dock) kannst Du durch andere Icons ersetzen, dafür musst Du das neue gewünschte Icon einfach nur lange gedrückt halten (Statusleiste wird rot und zum Mülleimer) und dann auf das alte Icon im Dock schieben. Den Dialog "Wollen Sie wirklich ..." bestätigen und fertig.

Eventuell musst Du die neuen Icons (Verknüpfungen/Links) noch erstellen. Dafür im Homescreen länger auf eine Stelle ohne Icon drücken (dann erscheint [Zum Startbildschirm hinzufügen]), dann aus dem Auswahlmenü [Verknüpfung] wählen, dann [Anwendung] und dann sollte da auch die Whatsapp- bzw. die Kamera-App gelistet werden.

Du kannst die vorinstallierten Icons (Verknüpfungen/Links) löschen, indem Du sie mit dem ganzen Screen "in den Mülleimer" verschiebst. Dafür, wenn der Homescreen angezeigt wird, die Home-Taste (das stilisierte Häuschen) drücken, dann werden die einzelnen Screens in einer Übersicht angezeigt. Der Homescreen hat dort einen hellblauen Rahmen. Mit den einzelnen Screens kannst Du dort so verfahren, wie sonst mit den Icons (Verknüpfungen/Links), also die anders anordnen oder löschen. Vorher einfach alle überflüssigen Icons (zur Seite) auf einen Screen verschieben (eventuell dafür extra einen neuen anlegen) und den dann in den Mülleimer schieben.


Freundliche Grüße
 
Hallo .A.C.I.D,

mit dem Lockscreen habe ich mich auch schon beschäftigt. Die Symbole / Links dort sind fixiert in der framework-res.apk (und dort noch viel weiter unten in lockscreen_four_irgendwas.xml), leider ist dem Lockscreen auch egal, welche Elemente in Deinem Dock sind oder nicht.

Es handelt sich auch nicht um einfache Verknüpfungen zu irgendwelchen APKs, sondern zu Widgets (die in diesem Kontext sicher etwas anderes darstellen als Homescreen-Widgets).

Hier mal ein kurzer Auszug aus der framework-res und der Lockscreen-Definition. Nach ein paar mal lesen und angucken des Lockscreens bekommt man eine Vorstellung, wie das Layout des Lockscreens definiert wird. Alle Versuche von mir, das anzupassen, resultierten aber bis jetzt in Bootloops, so dass ich mich jetzt mit dem IST-Zustan abgefunden habe.

Hier der Auszug aus /layout/keyguard_screen_tab_unlock_four_version.xml (von der ich meine, dass es der Lockscreen ist):

HTML:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:gravity="center_horizontal" android:id="@id/root" android:background="#70000000" android:layout_width="fill_parent" android:layout_height="fill_parent"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tabunlock="http://schemas.android.com/apk/res/com.android.tabunlock">
    <TextView android:textAppearance="?textAppearanceMedium" android:ellipsize="marquee" android:gravity="bottom|right|center" android:id="@id/carrier" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginTop="8.0dip" android:singleLine="true" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
    <LinearLayout android:orientation="horizontal" android:id="@id/data_status2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/time">
        <TextView android:textAppearance="?textAppearanceMedium" android:gravity="center_vertical" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginTop="2.0dip" android:layout_alignParentLeft="true" />
        <TextView android:textAppearance="?textAppearanceMedium" android:gravity="center_vertical" android:id="@id/status2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="32.0dip" android:layout_marginTop="2.0dip" android:drawablePadding="0.0dip" />
    </LinearLayout>
    <TextView android:id="@id/line" android:layout_width="wrap_content" android:layout_height="2.0dip" android:layout_marginLeft="8.0dip" android:layout_marginTop="0.0dip" android:layout_below="@id/data_status2" android:layout_alignParentLeft="true" />
    <TextView android:textAppearance="?textAppearanceSmall" android:textColor="@color/white" android:id="@id/emergencyCallText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginTop="0.0dip" android:text="@string/emergency_calls_only" android:layout_below="@id/carrier" android:layout_alignParentLeft="true" />
    <TextView android:textAppearance="?textAppearanceMedium" android:ellipsize="marquee" android:gravity="bottom|right|center" android:id="@id/carrier_sub2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:layout_below="@id/emergencyCallText" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
    <TextView android:textAppearance="?textAppearanceSmall" android:textColor="@color/white" android:id="@id/emergencyCallTextSub2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginTop="0.0dip" android:text="@string/emergency_calls_only" android:layout_below="@id/carrier_sub2" android:layout_alignParentLeft="true" />
    <com.android.internal.widget.DigitalClock android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginTop="16.0dip" android:layout_marginBottom="4.0dip" android:layout_below="@id/carrier">
        <TextView android:textAppearance="?textAppearanceMedium" android:textSize="60.0sp" android:ellipsize="none" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="4.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
        <TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" android:ellipsize="none" android:id="@id/am_pm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" android:layout_toRightOf="@id/timeDisplay" android:layout_alignBaseline="@id/timeDisplay" />
    </com.android.internal.widget.DigitalClock>
    <TextView android:textAppearance="?textAppearanceMedium" android:id="@id/unlock_calendar" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginTop="4.0dip" android:text="@string/string_calendar" android:drawablePadding="4.0dip" android:layout_below="@id/time" />
	<LinearLayout android:orientation="horizontal" android:id="@id/statusparent" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/unlock_calendar">
        <TextView android:textAppearance="?textAppearanceMedium" android:id="@id/status1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginTop="11.0dip" android:drawablePadding="0.0dip" />
    </LinearLayout>
    <TextView android:textAppearance="?textAppearanceMedium" android:id="@id/screenLocked" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginTop="12.0dip" android:drawablePadding="4.0dip" android:layout_below="@id/statusparent" />
    <TextView android:id="@id/line1" android:background="#ff0000aa" android:layout_width="wrap_content" android:layout_height="2.0dip" android:layout_marginLeft="8.0dip" android:layout_marginBottom="0.0dip" android:layout_above="@id/emergencyCallButton" android:layout_alignParentLeft="true" />
    <com.android.internal.widget.multiwaveview.MultiWaveView android:orientation="horizontal" android:id="@id/unlock_widget" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true" android:targetDrawables="@array/lockscreen_targets_with_camera_four_version" android:targetDescriptions="@array/lockscreen_target_descriptions_four_version" android:directionDescriptions="@array/lockscreen_direction_descriptions" android:handleDrawable="@drawable/zz_moto_lockscreen_alt_key" android:leftChevronDrawable="@drawable/zz_moto_lockscreen_alt_selected" android:rightChevronDrawable="@drawable/right" android:waveDrawable="@drawable/zz_moto_lockscreen_large_circle" android:tipDrawable="@drawable/zz_moto_lockscreen_large_circle_selected" android:outerRadius="@dimen/multiwaveview_target_placement_radius" android:hitRadius="@dimen/multiwaveview_hit_radius" android:vibrationDuration="20" android:snapMargin="@dimen/multiwaveview_snap_margin" android:feedbackCount="3" android:verticalOffset="0.0dip" android:horizontalOffset="0.0dip" android:toastHint="@string/unlock_hint" />
    <TextView android:textSize="13.0dip" android:gravity="center_horizontal" android:id="@id/batteryToast" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="260.0dip" android:text="@string/battery_complete_lockscreen" android:drawablePadding="8.0dip" android:layout_alignParentTop="true" android:layout_centerInParent="true" style="@style/Widget.TextView.Toast" />
    <Button android:id="@id/emergencyCallButton" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="4.0dip" android:drawableLeft="@drawable/ic_emergency" android:drawablePadding="8.0dip" android:layout_alignParentBottom="true" android:layout_centerInParent="true" style="@style/Widget.Button.Transparent" />
    <com.android.internal.policy.impl.slip.SlipButton android:id="@id/volume_or_vibrate" android:layout_width="106.0dip" android:layout_height="56.0dip" android:layout_marginTop="25.0dip" android:layout_marginRight="20.0dip" android:layout_alignParentTop="true" android:layout_alignParentRight="true" />
</RelativeLayout>

Die Bilder befinden sich unter /res/drawable_mdpi im APK:
zz_moto_lockscreen_camera.png
zz_moto_lockscreen_msg.png
zz_moto_lockscreen_phone.png
zz_moto_lockscreen_alt_unlock.png

Zumindest die kannst Du ja austauschen. Oder ein rotes X davorbasteln... :)

Viele Grüße!
 
Hallo .A.C.I.D. und Bernd,

um die Aktionen des Lockscreen zu ändern, müsste man demnach die jeweiligen Intent-Definitionen der framework.res entsprechend anpassen. Da sehe ich allerdings schwarz.

Ich nutze den Pattern-Lockscreen und ein meinen Wünschen angepasstes Dock. Damit brauche ich nur einen Tapp mehr als direkt vom Lockscreen zur gewünschten Funktion, aber dafür ist der Lockscreen sicherer.

Schade, dass die Version 0A.21.2C nicht ein bisschen mehr als solche kosmetischen Verbesserungen des Lockscreens enthält.

FG
 
Schade, habe gehofft das geht durch ein paar Änderungen in der framework_res.apk :(

@spammemad: Was ist der Pattern-Lockscreen ? Bin leider noch nicht so versiert in dem Bereich :)
 
Hallo .A.C.I.D.,

der Bernd hat auch schon ziemlich kniffelige Dinge geändert, wenn der schon aufgibt ... :unsure:

Pattern = Muster. Zum Entsperren müssen spezielle (frei bestimmbare) Linien auf einem (eventuell sogar nicht sichtbaren) Muster gezeichnet werden: pattern lockscreen - Google-Suche

Findest Du unter [Einstellungen] -> [Standort und Sicherheit] -> [Display-Sperre ändern] ...

FG
 
Ah ok, das umgeht zumindest das Problem das ich aus versehen auf das Kamera Icon komme und sich das Telefon aufhängt :)

Danke für die Info!
 

Ähnliche Themen

B
  • Bernd.Defy
Antworten
10
Aufrufe
2.341
Tubii
T
G
  • GioChaos
Antworten
6
Aufrufe
2.525
GioChaos
G
Lichtgestalt
  • Lichtgestalt
Antworten
0
Aufrufe
1.927
Lichtgestalt
Lichtgestalt
Zurück
Oben Unten