<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Java &#8211; Gary Michael Angelone Jr.</title>
	<atom:link href="https://garyangelonejr.me/tag/java-de/feed/" rel="self" type="application/rss+xml" />
	<link>https://garyangelonejr.me</link>
	<description></description>
	<lastBuildDate>Tue, 11 Nov 2025 16:06:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Mobile Sprite Animation App</title>
		<link>https://garyangelonejr.me/mobile-sprite-animation-app/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 23 Aug 2023 09:34:57 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Android Studio]]></category>
		<category><![CDATA[Java]]></category>
		<guid isPermaLink="false">https://garyangelonejr.me/?p=920</guid>

					<description><![CDATA[Today I found my old Android project and updated it to run on 13.]]></description>
										<content:encoded><![CDATA[<div class="fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-flex-container has-pattern-background has-mask-background nonhundred-percent-fullwidth non-hundred-percent-height-scrolling" style="--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;"><div class="fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap" style="max-width:1248px;margin-left: calc(-4% / 2 );margin-right: calc(-4% / 2 );"><div class="fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-flex-column" style="--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:20px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;"><div class="fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column"><div class="fusion-text fusion-text-1 translate lang-en "><p>Today I found my old Android project and updated it to run on 13.</p>
</div><div class="fusion-text fusion-text-2 translate lang-de"><p>Heute habe ich mein altes Android-Projekt gefunden und es aktualisiert, damit es auf 13 läuft.</p>
</div><div class="fusion-text fusion-text-3 translate lang-it"><p>Oggi ho ritrovato il mio vecchio progetto Android e l'ho aggiornato per farlo funzionare su 13.</p>
</div><div class="fusion-image-element " style="--awb-margin-bottom:3em;--awb-caption-title-font-family:var(--h2_typography-font-family);--awb-caption-title-font-weight:var(--h2_typography-font-weight);--awb-caption-title-font-style:var(--h2_typography-font-style);--awb-caption-title-size:var(--h2_typography-font-size);--awb-caption-title-transform:var(--h2_typography-text-transform);--awb-caption-title-line-height:var(--h2_typography-line-height);--awb-caption-title-letter-spacing:var(--h2_typography-letter-spacing);"><span class=" fusion-imageframe imageframe-none imageframe-1 hover-type-none" style="border:2px solid var(--awb-color2);border-radius:1em;"><a href="https://garyangelonejr.me/wp-content/uploads/2023/08/Screenshot_PixelCanvas_001-1024x469.jpg" class="fusion-lightbox" data-rel="iLightbox[01a84290defcd3895f8]" data-title="Screenshot_PixelCanvas_001" title="Screenshot_PixelCanvas_001"><img fetchpriority="high" decoding="async" width="1024" height="469" src="https://garyangelonejr.me/wp-content/uploads/2023/08/Screenshot_PixelCanvas_001-1024x469.jpg" alt class="img-responsive wp-image-3271" srcset="https://garyangelonejr.me/wp-content/uploads/2023/08/Screenshot_PixelCanvas_001-200x92.jpg 200w, https://garyangelonejr.me/wp-content/uploads/2023/08/Screenshot_PixelCanvas_001-400x183.jpg 400w, https://garyangelonejr.me/wp-content/uploads/2023/08/Screenshot_PixelCanvas_001-600x275.jpg 600w, https://garyangelonejr.me/wp-content/uploads/2023/08/Screenshot_PixelCanvas_001-800x367.jpg 800w, https://garyangelonejr.me/wp-content/uploads/2023/08/Screenshot_PixelCanvas_001-1200x550.jpg 1200w" sizes="(max-width: 640px) 100vw, 1200px"></a></span></div></div></div><div class="fusion-layout-column fusion_builder_column fusion-builder-column-1 fusion_builder_column_1_1 1_1 fusion-flex-column" style="--awb-padding-top:1em;--awb-padding-bottom:6em;--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:3.072%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:3.072%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;"><div class="fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column"><div style="text-align:center;"><a class="fusion-button button-flat fusion-button-default-size button-default fusion-button-default button-1 fusion-button-default-span fusion-button-default-type fusion-animated" data-animationtype="flipiny" data-animationduration="0.3" data-animationoffset="top-into-view" target="_blank" rel="noopener noreferrer" href="https://github.com/KoschKX/PixelCanvas"><i class="fa-arrow-circle-down fas awb-button__icon awb-button__icon--default button-icon-left" aria-hidden="true"></i><span class="fusion-button-text awb-button__text awb-button__text--default">GitHub Project</span></a></div></div></div></div></div>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Modifying the RG405m KeyMapper</title>
		<link>https://garyangelonejr.me/modifying-the-rg405m-keymapper/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 16 Aug 2023 17:29:54 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Java]]></category>
		<guid isPermaLink="false">http://localhost/?p=464</guid>

					<description><![CDATA[I received my rg405m last week. Overall, I'm impressed with its quality. There is a built in button mapper, which allows for button to touch functionality.]]></description>
										<content:encoded><![CDATA[<div class="fusion-fullwidth fullwidth-box fusion-builder-row-2 fusion-flex-container has-pattern-background has-mask-background nonhundred-percent-fullwidth non-hundred-percent-height-scrolling" style="--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;"><div class="fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap" style="max-width:1248px;margin-left: calc(-4% / 2 );margin-right: calc(-4% / 2 );"><div class="fusion-layout-column fusion_builder_column fusion-builder-column-2 fusion_builder_column_1_1 1_1 fusion-flex-column" style="--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:20px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;"><div class="fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column"><div class="fusion-text fusion-text-4 translate lang-en "><p>I received my rg405m last week. Overall, I'm impressed with its quality. There is a built in button mapper, which allows for button to touch functionality.</p>
</div><div class="fusion-text fusion-text-5 translate lang-de"><p>Ich habe letzte Woche mein rg405m erhalten. Insgesamt bin ich von der Qualität beeindruckt. Es verfügt über einen integrierten Button-Mapper, der eine Touch-Funktionalität der Tasten ermöglicht.</p>
</div><div class="fusion-text fusion-text-6 translate lang-it"><p>Ho ricevuto il mio rg405m la settimana scorsa. Nel complesso, sono rimasto impressionato dalla sua qualità. È dotato di un mappatore di pulsanti integrato, che consente la funzionalità touch dei pulsanti.</p>
</div><div class="awb-gallery-wrapper awb-gallery-wrapper-1 button-span-no" style="--more-btn-alignment:center;margin-bottom:3em;"><div style="margin:-5px;--awb-bordersize:2px;--awb-bordercolor:var(--awb-color2);--awb-border-radius:1em;" class="fusion-gallery fusion-gallery-container fusion-grid-3 fusion-columns-total-3 fusion-gallery-layout-grid fusion-gallery-1"><div style="padding:5px;" class="fusion-grid-column fusion-gallery-column fusion-gallery-column-3 hover-type-zoomin"><div class="fusion-gallery-image"><a href="https://garyangelonejr.me/wp-content/uploads/2023/08/KeyMapping-Mode.webp" rel="noreferrer" data-rel="iLightbox[gallery_image_1]" class="fusion-lightbox" target="_self"><img decoding="async" src="https://garyangelonejr.me/wp-content/uploads/2023/08/KeyMapping-Mode.webp" width="640" height="480" alt="" title="KeyMapping-Mode" aria-label="KeyMapping-Mode" class="img-responsive wp-image-3221" srcset="https://garyangelonejr.me/wp-content/uploads/2023/08/KeyMapping-Mode-200x150.webp 200w, https://garyangelonejr.me/wp-content/uploads/2023/08/KeyMapping-Mode-300x225.webp 300w, https://garyangelonejr.me/wp-content/uploads/2023/08/KeyMapping-Mode-400x300.webp 400w, https://garyangelonejr.me/wp-content/uploads/2023/08/KeyMapping-Mode-512x384.webp 512w, https://garyangelonejr.me/wp-content/uploads/2023/08/KeyMapping-Mode-600x450.webp 600w, https://garyangelonejr.me/wp-content/uploads/2023/08/KeyMapping-Mode.webp 640w" sizes="(min-width: 2200px) 100vw, (min-width: 784px) 397px, (min-width: 712px) 595px, (min-width: 640px) 712px, "></a></div></div><div style="padding:5px;" class="fusion-grid-column fusion-gallery-column fusion-gallery-column-3 hover-type-zoomin"><div class="fusion-gallery-image"><a href="https://garyangelonejr.me/wp-content/uploads/2023/08/KeyMapper.webp" rel="noreferrer" data-rel="iLightbox[gallery_image_1]" class="fusion-lightbox" target="_self"><img decoding="async" src="https://garyangelonejr.me/wp-content/uploads/2023/08/KeyMapper.webp" width="640" height="480" alt="" title="KeyMapper" aria-label="KeyMapper" class="img-responsive wp-image-3220" srcset="https://garyangelonejr.me/wp-content/uploads/2023/08/KeyMapper-200x150.webp 200w, https://garyangelonejr.me/wp-content/uploads/2023/08/KeyMapper-300x225.webp 300w, https://garyangelonejr.me/wp-content/uploads/2023/08/KeyMapper-400x300.webp 400w, https://garyangelonejr.me/wp-content/uploads/2023/08/KeyMapper-512x384.webp 512w, https://garyangelonejr.me/wp-content/uploads/2023/08/KeyMapper-600x450.webp 600w, https://garyangelonejr.me/wp-content/uploads/2023/08/KeyMapper.webp 640w" sizes="(min-width: 2200px) 100vw, (min-width: 784px) 397px, (min-width: 712px) 595px, (min-width: 640px) 712px, "></a></div></div><div style="padding:5px;" class="fusion-grid-column fusion-gallery-column fusion-gallery-column-3 hover-type-zoomin"><div class="fusion-gallery-image"><a href="https://garyangelonejr.me/wp-content/uploads/2023/08/Trials-of-Mana.webp" rel="noreferrer" data-rel="iLightbox[gallery_image_1]" class="fusion-lightbox" target="_self"><img decoding="async" src="https://garyangelonejr.me/wp-content/uploads/2023/08/Trials-of-Mana.webp" width="640" height="480" alt="" title="Trials-of-Mana" aria-label="Trials-of-Mana" class="img-responsive wp-image-3222" srcset="https://garyangelonejr.me/wp-content/uploads/2023/08/Trials-of-Mana-200x150.webp 200w, https://garyangelonejr.me/wp-content/uploads/2023/08/Trials-of-Mana-300x225.webp 300w, https://garyangelonejr.me/wp-content/uploads/2023/08/Trials-of-Mana-400x300.webp 400w, https://garyangelonejr.me/wp-content/uploads/2023/08/Trials-of-Mana-512x384.webp 512w, https://garyangelonejr.me/wp-content/uploads/2023/08/Trials-of-Mana-600x450.webp 600w, https://garyangelonejr.me/wp-content/uploads/2023/08/Trials-of-Mana.webp 640w" sizes="(min-width: 2200px) 100vw, (min-width: 784px) 397px, (min-width: 712px) 595px, (min-width: 640px) 712px, "></a></div></div><div class="clearfix"></div></div></div><div class="fusion-text fusion-text-7 translate lang-en "><p>However, it doesn't automatically load profiles. And since my favorite game does not have gamepad support, I found that a little annoying. I decided to investigate. I did a quick search in the file manager, found the KeyMapper package and checked its logging.</p>
</div><div class="fusion-text fusion-text-8 translate lang-de"><p>Allerdings werden Profile nicht automatisch geladen. Und da mein Lieblingsspiel keine Gamepad-Unterstützung bietet, fand ich das etwas ärgerlich. Ich beschloss, der Sache auf den Grund zu gehen. Ich führte eine Schnellsuche im Dateimanager durch, fand das KeyMapper-Paket und überprüfte dessen Protokollierung.</p>
</div><div class="fusion-text fusion-text-9 translate lang-it"><p>Tuttavia, non carica automaticamente i profili. E dato che il mio gioco preferito non supporta il gamepad, ho trovato questo aspetto un po' fastidioso. Ho deciso quindi di indagare. Ho fatto una rapida ricerca nel file manager, ho trovato il pacchetto KeyMapper e ho controllato i suoi log.</p>
</div><style type="text/css" scopped="scopped">.fusion-syntax-highlighter-1 > .CodeMirror, .fusion-syntax-highlighter-1 > .CodeMirror .CodeMirror-gutters {background-color:transparent;}.fusion-syntax-highlighter-1 > .CodeMirror .CodeMirror-gutters { background-color: transparent; }.fusion-syntax-highlighter-1 > .CodeMirror .CodeMirror-linenumber { color: var(--awb-color3); }</style><div class="fusion-syntax-highlighter-container fusion-syntax-highlighter-1 fusion-syntax-highlighter-theme-light no-translate" style="opacity:0;margin-top:0px;margin-right:0px;margin-bottom:2em;margin-left:0px;font-size:14px;border-width:2px;border-style:dashed;border-color:var(--awb-color2);"><div class="syntax-highlighter-copy-code"><span class="syntax-highlighter-copy-code-title" data-id="fusion_syntax_highlighter_1" style="font-size:14px;">Copy to Clipboard</span></div><label for="fusion_syntax_highlighter_1" class="screen-reader-text">Syntax Highlighter</label><textarea class="fusion-syntax-highlighter-textarea" id="fusion_syntax_highlighter_1" data-readonly="nocursor" data-linenumbers="1" data-linewrapping="1" data-theme="default" data-mode="text/x-sh">adb logcat | com.ylm.game</textarea></div><div class="fusion-text fusion-text-10 translate lang-en "><p>Monitoring while tapping on the options yielded some curious results.</p>
</div><div class="fusion-text fusion-text-11 translate lang-de"><p>Die Überwachung während des Tippens auf die Optionen ergab einige interessante Ergebnisse.</p>
</div><div class="fusion-text fusion-text-12 translate lang-it"><p>Il monitoraggio durante la selezione delle opzioni ha prodotto alcuni risultati curiosi.</p>
</div><div class="awb-gallery-wrapper awb-gallery-wrapper-2 button-span-no" style="--more-btn-alignment:center;margin-bottom:3em;"><div style="margin:-5px;--awb-bordersize:2px;--awb-bordercolor:var(--awb-color2);--awb-border-radius:1em;" class="fusion-gallery fusion-gallery-container fusion-grid-2 fusion-columns-total-2 fusion-gallery-layout-grid fusion-gallery-2"><div style="padding:5px;" class="fusion-grid-column fusion-gallery-column fusion-gallery-column-2 hover-type-zoomin"><div class="fusion-gallery-image"><a href="https://garyangelonejr.me/wp-content/uploads/2023/08/adb_002.webp" rel="noreferrer" data-rel="iLightbox[gallery_image_2]" class="fusion-lightbox" target="_self"><img decoding="async" src="https://garyangelonejr.me/wp-content/uploads/2023/08/adb_002.webp" width="1010" height="546" alt="" title="adb_002" aria-label="adb_002" class="img-responsive wp-image-3226" srcset="https://garyangelonejr.me/wp-content/uploads/2023/08/adb_002-200x108.webp 200w, https://garyangelonejr.me/wp-content/uploads/2023/08/adb_002-300x162.webp 300w, https://garyangelonejr.me/wp-content/uploads/2023/08/adb_002-400x216.webp 400w, https://garyangelonejr.me/wp-content/uploads/2023/08/adb_002-512x277.webp 512w, https://garyangelonejr.me/wp-content/uploads/2023/08/adb_002-600x324.webp 600w, https://garyangelonejr.me/wp-content/uploads/2023/08/adb_002-768x415.webp 768w, https://garyangelonejr.me/wp-content/uploads/2023/08/adb_002-800x432.webp 800w, https://garyangelonejr.me/wp-content/uploads/2023/08/adb_002.webp 1010w" sizes="(min-width: 2200px) 100vw, (min-width: 712px) 598px, (min-width: 640px) 712px, "></a></div></div><div class="clearfix"></div><div style="padding:5px;" class="fusion-grid-column fusion-gallery-column fusion-gallery-column-2 hover-type-zoomin"><div class="fusion-gallery-image"><a href="https://garyangelonejr.me/wp-content/uploads/2023/08/adb_003.webp" rel="noreferrer" data-rel="iLightbox[gallery_image_2]" class="fusion-lightbox" target="_self"><img decoding="async" src="https://garyangelonejr.me/wp-content/uploads/2023/08/adb_003.webp" width="1010" height="546" alt="" title="adb_003" aria-label="adb_003" class="img-responsive wp-image-3225" srcset="https://garyangelonejr.me/wp-content/uploads/2023/08/adb_003-200x108.webp 200w, https://garyangelonejr.me/wp-content/uploads/2023/08/adb_003-300x162.webp 300w, https://garyangelonejr.me/wp-content/uploads/2023/08/adb_003-400x216.webp 400w, https://garyangelonejr.me/wp-content/uploads/2023/08/adb_003-512x277.webp 512w, https://garyangelonejr.me/wp-content/uploads/2023/08/adb_003-600x324.webp 600w, https://garyangelonejr.me/wp-content/uploads/2023/08/adb_003-768x415.webp 768w, https://garyangelonejr.me/wp-content/uploads/2023/08/adb_003-800x432.webp 800w, https://garyangelonejr.me/wp-content/uploads/2023/08/adb_003.webp 1010w" sizes="(min-width: 2200px) 100vw, (min-width: 712px) 598px, (min-width: 640px) 712px, "></a></div></div></div></div><div class="fusion-text fusion-text-13 translate lang-en "><p>To have a look at the code, I would have to pull the apk from the device.</p>
</div><div class="fusion-text fusion-text-14 translate lang-de"><p>Um mir den Code anzusehen, müsste ich die APK-Datei vom Gerät herunterladen.</p>
</div><div class="fusion-text fusion-text-15 translate lang-it"><p>Per dare un'occhiata al codice, dovrei estrarre l'apk dal dispositivo.</p>
</div><style type="text/css" scopped="scopped">.fusion-syntax-highlighter-2 > .CodeMirror, .fusion-syntax-highlighter-2 > .CodeMirror .CodeMirror-gutters {background-color:transparent;}.fusion-syntax-highlighter-2 > .CodeMirror .CodeMirror-gutters { background-color: transparent; }.fusion-syntax-highlighter-2 > .CodeMirror .CodeMirror-linenumber { color: var(--awb-color3); }</style><div class="fusion-syntax-highlighter-container fusion-syntax-highlighter-2 fusion-syntax-highlighter-theme-light no-translate" style="opacity:0;margin-top:0px;margin-right:0px;margin-bottom:2em;margin-left:0px;font-size:14px;border-width:2px;border-style:dashed;border-color:var(--awb-color2);"><div class="syntax-highlighter-copy-code"><span class="syntax-highlighter-copy-code-title" data-id="fusion_syntax_highlighter_2" style="font-size:14px;">Copy to Clipboard</span></div><label for="fusion_syntax_highlighter_2" class="screen-reader-text">Syntax Highlighter</label><textarea class="fusion-syntax-highlighter-textarea" id="fusion_syntax_highlighter_2" data-readonly="nocursor" data-linenumbers="1" data-linewrapping="1" data-theme="default" data-mode="text/x-sh">adb shell pm path com.ylm.game
adb pull /system/app/KeyMap/KeyMap.apk</textarea></div><div class="fusion-text fusion-text-16 translate lang-en "><p>To find the functions called in the command prompt, I'd first have to <a href="https://www.javadecompilers.com/apk" target="_blank" rel="noopener">decompile</a> the APK.<br>
The code was found in several files, in <strong>/sources/ylm/game/com/.</strong></p>
</div><div class="fusion-text fusion-text-17 translate lang-de"><p>Um die in der Befehlszeile aufgerufenen Funktionen zu finden, müsste ich zunächst die APK <a href="https://www.javadecompilers.com/apk" target="_blank" rel="noopener">decompile</a>.<br>
Der Code wurde in mehreren Dateien gefunden, unter <strong>/sources/ylm/game/com/</strong>.</p>
</div><div class="fusion-text fusion-text-18 translate lang-it"><p>Per trovare le funzioni chiamate nel prompt dei comandi, dovrei prima <a href="https://www.javadecompilers.com/apk">decompilare</a> l'APK.<br>
Il codice è stato trovato in diversi file, in <strong>/sources/ylm/game/com/</strong>.</p>
</div><div class="fusion-text fusion-text-19" style="--awb-content-alignment:center;"><p><strong>[ConfigView.java]</strong></p>
</div><style type="text/css" scopped="scopped">.fusion-syntax-highlighter-3 > .CodeMirror, .fusion-syntax-highlighter-3 > .CodeMirror .CodeMirror-gutters {background-color:transparent;}.fusion-syntax-highlighter-3 > .CodeMirror .CodeMirror-gutters { background-color: transparent; }.fusion-syntax-highlighter-3 > .CodeMirror .CodeMirror-linenumber { color: var(--awb-color3); }</style><div class="fusion-syntax-highlighter-container fusion-syntax-highlighter-3 fusion-syntax-highlighter-theme-light no-translate" style="opacity:0;margin-top:0px;margin-right:0px;margin-bottom:2em;margin-left:0px;font-size:14px;border-width:2px;border-style:dashed;border-color:var(--awb-color2);"><div class="syntax-highlighter-copy-code"><span class="syntax-highlighter-copy-code-title" data-id="fusion_syntax_highlighter_3" style="font-size:14px;">Copy to Clipboard</span></div><label for="fusion_syntax_highlighter_3" class="screen-reader-text">Syntax Highlighter</label><textarea class="fusion-syntax-highlighter-textarea" id="fusion_syntax_highlighter_3" data-readonly="nocursor" data-linenumbers="1" data-linewrapping="1" data-theme="default" data-mode="text/x-sh">this.tv_switch.setOnClickListener(new View.OnClickListener() {
	...
  
    public void onClick(View v) {
        String open = Utils.getNodeString(Key.REMAPKEY_SWITCH);
        Log.d(ConfigView.TAG, "onClick: " + open);
    }
  
  	...
});</textarea></div><div class="fusion-text fusion-text-20" style="--awb-content-alignment:center;"><p><strong>[MyService.java]</strong></p>
</div><style type="text/css" scopped="scopped">.fusion-syntax-highlighter-4 > .CodeMirror, .fusion-syntax-highlighter-4 > .CodeMirror .CodeMirror-gutters {background-color:transparent;}.fusion-syntax-highlighter-4 > .CodeMirror .CodeMirror-gutters { background-color: transparent; }.fusion-syntax-highlighter-4 > .CodeMirror .CodeMirror-linenumber { color: var(--awb-color3); }</style><div class="fusion-syntax-highlighter-container fusion-syntax-highlighter-4 fusion-syntax-highlighter-theme-light no-translate" style="opacity:0;margin-top:0px;margin-right:0px;margin-bottom:2em;margin-left:0px;font-size:14px;border-width:2px;border-style:dashed;border-color:var(--awb-color2);"><div class="syntax-highlighter-copy-code"><span class="syntax-highlighter-copy-code-title" data-id="fusion_syntax_highlighter_4" style="font-size:14px;">Copy to Clipboard</span></div><label for="fusion_syntax_highlighter_4" class="screen-reader-text">Syntax Highlighter</label><textarea class="fusion-syntax-highlighter-textarea" id="fusion_syntax_highlighter_4" data-readonly="nocursor" data-linenumbers="1" data-linewrapping="1" data-theme="default" data-mode="text/x-sh">public void onCreate() {
  ...
  
  Settings.System.putInt(getContentResolver(), "key_map_mode", 1);

  ...
}</textarea></div><style type="text/css" scopped="scopped">.fusion-syntax-highlighter-5 > .CodeMirror, .fusion-syntax-highlighter-5 > .CodeMirror .CodeMirror-gutters {background-color:transparent;}.fusion-syntax-highlighter-5 > .CodeMirror .CodeMirror-gutters { background-color: transparent; }.fusion-syntax-highlighter-5 > .CodeMirror .CodeMirror-linenumber { color: var(--awb-color3); }</style><div class="fusion-syntax-highlighter-container fusion-syntax-highlighter-5 fusion-syntax-highlighter-theme-light no-translate" style="opacity:0;margin-top:0px;margin-right:0px;margin-bottom:2em;margin-left:0px;font-size:14px;border-width:2px;border-style:dashed;border-color:var(--awb-color2);"><div class="syntax-highlighter-copy-code"><span class="syntax-highlighter-copy-code-title" data-id="fusion_syntax_highlighter_5" style="font-size:14px;">Copy to Clipboard</span></div><label for="fusion_syntax_highlighter_5" class="screen-reader-text">Syntax Highlighter</label><textarea class="fusion-syntax-highlighter-textarea" id="fusion_syntax_highlighter_5" data-readonly="nocursor" data-linenumbers="1" data-linewrapping="1" data-theme="default" data-mode="text/x-sh">private void intConfigManager() {

  ...

    if (Utils.getPosition() &gt; 0 &amp;&amp; position &lt; Utils.getPosition()) {
        Utils.savePositionName(Utils.getPosition() - 1, mapValue.getName());
    }
  
  ...
  
}</textarea></div><div class="fusion-text fusion-text-21" style="--awb-content-alignment:center;"><p><strong>[Utils.java]</strong></p>
</div><style type="text/css" scopped="scopped">.fusion-syntax-highlighter-6 > .CodeMirror, .fusion-syntax-highlighter-6 > .CodeMirror .CodeMirror-gutters {background-color:transparent;}.fusion-syntax-highlighter-6 > .CodeMirror .CodeMirror-gutters { background-color: transparent; }.fusion-syntax-highlighter-6 > .CodeMirror .CodeMirror-linenumber { color: var(--awb-color3); }</style><div class="fusion-syntax-highlighter-container fusion-syntax-highlighter-6 fusion-syntax-highlighter-theme-light no-translate" style="opacity:0;margin-top:0px;margin-right:0px;margin-bottom:2em;margin-left:0px;font-size:14px;border-width:2px;border-style:dashed;border-color:var(--awb-color2);"><div class="syntax-highlighter-copy-code"><span class="syntax-highlighter-copy-code-title" data-id="fusion_syntax_highlighter_6" style="font-size:14px;">Copy to Clipboard</span></div><label for="fusion_syntax_highlighter_6" class="screen-reader-text">Syntax Highlighter</label><textarea class="fusion-syntax-highlighter-textarea" id="fusion_syntax_highlighter_6" data-readonly="nocursor" data-linenumbers="1" data-linewrapping="1" data-theme="default" data-mode="text/x-sh">public class Utils {

  ...

	public static String ROOT_PATCH = "/sys/bus/platform/devices/singleadc-joypad/";
  
  ...
  
    public static void savePositionName(int position, String name) {
        SharedPreferences.Editor editor = mApplication.getSharedPreferences(SharedPreferencesName, 0).edit();
        editor.putInt("position", position);
        editor.putString("name", name);
        editor.commit();
    }
  
  ...
  
}</textarea></div><div class="fusion-text fusion-text-22 translate lang-en "><p>The preference to enable the KeyMapper was on the device at <strong>/sys/bus/platform/devices/singleadc-joypad/enable/</strong>. The shared prefernces were in <strong>/data/user/0/com.ylm.game/</strong>, but without access, as the code chmods when needed, for security.</p>
</div><div class="fusion-text fusion-text-23 translate lang-de"><p>Die Einstellung zum Aktivieren des KeyMappers befand sich auf dem Gerät unter <strong>/sys/bus/platform/devices/singleadc-joypad/enable/</strong>. Die gemeinsamen Einstellungen befanden sich unter <strong>/data/user/0/com.ylm.game/</strong>, waren jedoch nicht zugänglich, da der Code aus Sicherheitsgründen bei Bedarf chmods ausführt.</p>
</div><div class="fusion-text fusion-text-24 translate lang-it"><p>L'impostazione per abilitare KeyMapper era presente sul dispositivo in <strong>/sys/bus/platform/devices/singleadc-joypad/enable/</strong>. Le impostazioni condivise erano in <strong>/data/user/0/com.ylm.game/</strong>, ma senza accesso, poiché il codice chmods quando necessario, per motivi di sicurezza.</p>
</div><div class="fusion-text fusion-text-25 translate lang-en "><p>And so, I was able to use <a href="https://tasker.joaoapps.com/" target="_blank" rel="noopener">Tasker</a> to load my profiles automatically, upon launch, by setting the preferences.</p>
</div><div class="fusion-text fusion-text-26 translate lang-de"><p>Und so konnte ich <a href="https://tasker.joaoapps.com/" target="_blank" rel="noopener">Tasker</a> verwenden, um meine Profile beim Start automatisch zu laden, indem ich die Einstellungen entsprechend konfigurierte.</p>
</div><div class="fusion-text fusion-text-27 translate lang-it"><p>E così, sono riuscito a utilizzare <a href="https://tasker.joaoapps.com/">Tasker</a> per caricare automaticamente i miei profili all'avvio, impostando le preferenze.</p>
</div></div></div></div></div>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
