Okay, recently I've seen & answered several people trying to change their time settings on ROM that either are defaulted with 24hr clock or ROM's that do not allow for Time/Clock configurations in the Regional Settings of the Kaiser.
Just like your PC or UMPC the Kaiser has an override for NLS (National Language support) settings. Throught the registry you can overide the default format of how times & dates are displayerd on your device.
It's simple. Navigate with your favorite registry editor to HKLM\nls\overrides.
Once inside the "overrides" key you can add several Registry "String" Values that will override & dictate the time & date format of your device.
As you can see from this code excerpt, there are many possible override date & time variabls that can be added into the registry:
Code:
SetKeyValue HKEY_LOCAL_MACHINE, " nls" , " DefaultOCP" , " 437" , REG_DWORD
SetKeyValue HKEY_LOCAL_MACHINE, " nls" , " DefaultACP" , " 1252" , REG_DWORD
SetKeyValue HKEY_LOCAL_MACHINE, " nls" , " DefaultLCID" , " 1033" , REG_DWORD
SetKeyValue HKEY_LOCAL_MACHINE, " nls\overrides" , " S2359" , " PM" , REG_SZ
SetKeyValue HKEY_LOCAL_MACHINE, " nls\overrides" , " S1159" , " AM" , REG_SZ
SetKeyValue HKEY_LOCAL_MACHINE, " nls\overrides" , " STime" , " :" , REG_SZ
SetKeyValue HKEY_LOCAL_MACHINE, " nls\overrides" , " ITLZr" , " 0" , REG_DWORD
SetKeyValue HKEY_LOCAL_MACHINE, " nls\overrides" , " ITime" , " 0" , REG_DWORD
SetKeyValue HKEY_LOCAL_MACHINE, " nls\overrides" , " STFmt" , " h:mm:ss tt" , REG_SZ
SetKeyValue HKEY_LOCAL_MACHINE, " nls\overrides" , " SLDte" , " dddd, MMMM dd, yyyy" , REG_SZ
SetKeyValue HKEY_LOCAL_MACHINE, " nls\overrides" , " SDate" , " /" , REG_SZ
SetKeyValue HKEY_LOCAL_MACHINE, " nls\overrides" , " IDate" , " 0" , REG_DWORD
SetKeyValue HKEY_LOCAL_MACHINE, " nls\overrides" , " SSDte" , " M/d/yy" , REG_SZ
End Sub
Private Sub loadcurrent_click()
Dim DefaultOCP As Long
Dim DefaultACP As Long
Dim DefaultLCID As Long
Dim S2359 As Long
Dim S1159 As Long
Dim STime As Long
Dim ITLZr As Long
Dim ITime As Long
Dim STFmt As Long
Dim SLDte As Long
Dim cSDate As Long
Dim IDate As Long
Dim SSDte As Long
' region values
DefaultOCP = QueryValue(HKEY_LOCAL_MACHINE, " nls" , " DefaultOCP" ) ' 437 ' Decimal ' REG_DWORD
DefaultACP = QueryValue(HKEY_LOCAL_MACHINE, " nls" , " DefaultACP" ) ' 1252 ' Decimal ' REG_DWORD
DefaultLCID = QueryValue(HKEY_LOCAL_MACHINE, " nls" , " DefaultLCID" ) ' 1033 ' Decimal ' REG_DWORD
' Number values
' currency Value
' Time Values
S2359 = QueryValue(HKEY_LOCAL_MACHINE, " nls\overrides" , " S2359" ) ' PM ' REG_SZ
S1159 = QueryValue(HKEY_LOCAL_MACHINE, " nls\overrides" , " S1159" ) ' AM ' REG_SZ
STime = QueryValue(HKEY_LOCAL_MACHINE, " nls\overrides" , " STime" ) ' : ' REG_SZ
ITLZr = QueryValue(HKEY_LOCAL_MACHINE, " nls\overrides" , " ITLZr" ) ' 0 ' Decimal ' REG_DWORD
ITime = QueryValue(HKEY_LOCAL_MACHINE, " nls\overrides" , " ITime" ) ' 0 ' Decimal ' REG_DWORD
STFmt = QueryValue(HKEY_LOCAL_MACHINE, " nls\overrides" , " STFmt" ) ' h:mm:ss tt ' REG_SZ
' Date values
SLDte = QueryValue(HKEY_LOCAL_MACHINE, " nls\overrides" , " SLDte" ) ' dddd, MMMM dd, yyyy ' REG_SZ
cSDate = QueryValue(HKEY_LOCAL_MACHINE, " nls\overrides" , " SDate" ) ' / ' REG_SZ
IDate = QueryValue(HKEY_LOCAL_MACHINE, " nls\overrides" , " IDate" ) ' 0 ' Decimal ' REG_DWORD
SSDte = QueryValue(HKEY_LOCAL_MACHINE, " nls\overrides" , " SSDte" ) ' M/d/yy ' REG_SZ
List1.AddItem " DefaultOCP " & DefaultOCP & " ***"
List1.AddItem " DefaultACP " & DefaultACP & " ***"
List1.AddItem " DefaultLCID " & DefaultLCID & " ***"
List1.AddItem " S2359 " & S2359 & " ***"
List1.AddItem " S1159 " & S1159 & " ***"
List1.AddItem " STime " & STime & " ***"
List1.AddItem " ITLZr " & ITLZr & " ***"
List1.AddItem " ITime " & ITime & " ***"
List1.AddItem " STFmt " & STFmt & " ***"
List1.AddItem " SLDte " & SLDte & " ***"
List1.AddItem " SDate " & cSDate & " ***"
List1.AddItem " IDate " & IDate & " ***"
List1.AddItem " SSDte " & SSDte & " ***"
End Sub
So to change your default clock behavior when alternate regional settings are not available you can use any of the above strings For example:
If you add the following Values yu can theen modify the way the time is interpeted on you device.
STime STRING ":" - This setting allows you to modify the separator between hours and minutes, minutes and seconds
STFmt STRING "h:mm:ss tt" - Changes the time layout or format (see below list)
S1159 STRING "am" - Allows you to modify the AM suffix
S2359 STRING "pm" - Allows you to modify the PM suffix
Time Format String
h - Hours 12 Hour Clock with No Leading Zero
hh - Hours 12 Hour Clock with Leading Zero
H - Hours 24 Hour Clock with No Leading Zero
HH - Hours 24 Hour Clock with Leading Zero
m - Minutes with No Leading Zero
mm - Minutes with Leading Zero
s - Seconds with No Leading Zero
Ss - Seconds with Leading Zero
t - am/PM indicator - First Letter Only
tt - am/PM indicator - First Two Letters
ttt - am/PM indicator - First Three Letters
12hr or 24hr Time & Clock Settings & Override
Have tried to change the time format in HTC home following the steps as you described:
- Create a STFmt string in NLS "overrides" with the values HH:mm:ss; especially want the seconds to be displayed on my today screen.
- In regional settings have selected HH:mm:ss aswell.
- Have tried several combinations including adding ttttt and tttttt (microsoft website)
Seems that the string does not override....and HH:mm value is cooked in rom.
Any advice what I could try?
My device is a touch cruise with stock rom WM 6.1 (313.405)
How can I change the week start day and weekend, for example I want to change start day from Sunday to Saturday and the weekend to Tuesday & Friday.
Yami said:
How can I change the week start day and weekend, for example I want to change start day from Sunday to Saturday and the weekend to Tuesday & Friday.
Click to expand...
Click to collapse
If you're using Manila (or something similar) just go to the calendar tab>Menu>Settings>Week starts at: and select Saturday from the dropdown list.
If you're not using Manila just open your calendar or select calendar.exe from windows folder then select Menu>tools>options>general tab> and there is a textfield saying first day of the week (text can vary in different language versions) > select any day you want from dropdown list.
PM me if this doesn't help...
This worked, but only in the clock screen, and if you have the clock displayed for other screens than home and only after I did a soft reset. I had hoped it would also change the time on the HTC home plug, but that only seemed to respond to the single or double digit change (ie to show a zero or not).
[edit] I did some more fiddling around, and went to the regional settings inside Settings/System. There click the time tab, and cycle the Time style. Don't ask me why it worked, but it did. I now see 24hr time in the HTC home plug.
Related
Hi All,
I used aWizard to read out my Wizard's ExtRom, but do not know how to write it back.
I want to read out the ExtRom in .nba format, I studied the aWizard , I believe since " pdocread.exe 0 0x3900000 ROM\OS.nba " can read out the os, then theoretically " pdocread.exe ??? 0xA00000 ROM\ExtRom.nba " should be able to read out ExtRom in .nba format.
I do not know about programming, can someone be kind enough to point out what the ??? in above should be.
Will the following info has some hints?
Cmd>r2sd all
***** user area size = 0x1E100000 Bytes
R2SDBackup() - Download type = 5
usTotalBlock = 1 sizeof(SDCARD_SIGNATRUE_TABLE)=512
Start address = 0x80000000 , Length = 0x800 (IPL)
Start address = 0x80000800 , Length = 0xC0000 (SPL)
Start address = 0x800C0800 , Length = 0x40000 ( )
Start address = 0x80100800 , Length = 0x280000 (GSM)
Start address = 0x4E3D4C0 , Length = 0x3900000 (OS)
Start address = 0x743D4C0 , Length = 0xA00000 (EXTROM)
Thanks a lot!
Any idea about " pdocread.exe 0 0x3900000 ROM\OS.nba "?
Is 0 the starting offset address & 0x3900000 the size of the os rom part?
I have read the info in wiki.xda-developers.com, but my programming knowledge is too bad for me to understand it!
(just for reference), i posted a detailed explanation on http://www.spv-developers.com/forum/showthread.php?t=2888
willem
I am using a diamond with Energy rom, very nice interface but it eat up a lot of ram.
each time i want to run my garmin i have to go to setting home and disable htc sense in order to gain enough memory.
is there any application which can automatically help me switch off sense when i launch garmin, and restart sense when i close garmin?
would appreciate if anybody can give me a idea.
thanks.
there is a script (.cab file) h**p://forum.xda-developers.com/showthread.php?t=598342
sry for ** i cant make links
this is the script (iGo-launcher.mscr), that you still have to adjust for garmin
Code:
If ( ProcExists("igo8.exe") )
Exit
EndIf
PRG=1
STR=2
# WWE
dirs[1][PRG]= "Program Files"
dirs[1][STR]= "Storage Card" [COLOR="Red"]<<<< path from you internal storage, you must edit for diamond !!![/COLOR]
# ITA
dirs[2][PRG]= "Programmi"
dirs[2][STR]= "Scheda di Memoria"
# GER
dirs[3][PRG]= "Programme"
dirs[3][STR]= "Interner Speicher"
# DUT
dirs[4][PRG]= "Programmabestanden"
dirs[4][STR]= "Opslagkaart"
# SPA
dirs[5][PRG]= "Archivos de programa"
dirs[5][STR]= "Tarjeta de almacenamiento"
lang_count= 4
lang= 0
i= 0
While ( lang=0 and i<lang_count )
i= i+1
If ( DirExists( "\" \ dirs[i][STR] \ "\" ) )
lang= i
EndIf
EndWhile
If ( lang = 0 )
Message ( "Unsupported language." )
Exit
EndIf
ShowWaitCursor
manilastate= ProcExists("manila.exe")
If (manilastate)
RegWriteDword ("HKLM","Software\Microsoft\Today\Items\HTC Sense","Enabled",0)
RedrawToday
Close(ActiveWindow())
RedrawToday
endif
Kill("Messaging_Client.exe")
Kill("fexplore.exe")
HideWaitCursor
If ( FileExists("\Windows\htcAddicts_cleanRAM.exe") )
RunWait("\Windows\htcAddicts_cleanRAM.exe")
ElseIf ( FileExists( "\" \ dirs[lang][PRG] \ "htcaddicts cleanram\htcAddicts_cleanRAM.exe") )
RunWait( "\" \ dirs[lang][PRG] \ "htcaddicts cleanram\htcAddicts_cleanRAM.exe" )
ElseIf ( FileExists( "\" \ dirs[lang][STR] \ dirs[lang][PRG] \ "htcaddicts cleanram\htcAddicts_cleanRAM.exe") )
RunWait( "\" \ dirs[lang][STR] \ dirs[lang][PRG] \ "htcaddicts cleanram\htcAddicts_cleanRAM.exe") )
EndIf
RunWait( "\" \ dirs[lang][STR] \ "iGO8\igo8.exe" )
Sleep(5000)
Kill("Repllog.exe")
While ( ProcExists("igo8.exe") )
IdleTimerReset
Sleep(500)
EndWhile
If (manilastate)
ShowWaitCursor
RegWriteDword ("HKLM","Software\Microsoft\Today\Items\HTC Sense","Enabled",1)
Run("\windows\manila.exe")
HideWaitCursor
RedrawToday
endif
it works perfect for igo8.
I hope I could help you a bit and sorry for my english, am from germany
bye
guys i started a new thread for devs that still don't use the aroma installer binary
Click to expand...
Click to collapse
okay 1 step what is aroma
aroma installer: Is an excutable binary that is based on the edify scripting that contains 2 excutables in meta-inf/com/google/android 1.is the ordinary update-binary (know as update binary installer) and the 2.is the aroma binary that split into two parts a.the aroma config and the b.the binary the config is which instructs the binary to make the ui like alert box and the menu box..
Click to expand...
Click to collapse
LETS DIG DEEPER NOW
Setting Rom/Mod Name in Aroma-config
Use these codes to show the name of your rom /mod
copy pasta this code just under the license
Code:
ini_set("rom_name", "example rom");
ini_set("rom_version", "you rom version");
ini_set("rom_author", "mythi");
ini_set("rom_device", "GT-P31XX");
ini_set("rom_date", "date");
Then we need to Show this info so follow and some more typing !!
add this just beneath the lines added previously
Code:
###################################################################################################################
#
# STEP 1 - SHOW ROM INFORMATION
#
viewbox(
#-- Title
"Hello!", <<------ This can be changed
#-- Text
"You are about to install <b>"+ <<--------- this can be changed
#-- Get Config Value
ini_get("rom_name")+
"</b> for <b>"+ini_get("rom_device")+"</b>.\n\n"+
" VERSION\t: <b><#selectbg_g>"+ini_get("rom_version")+"</#></b>\n"+
" UPDATED\t: <b><#selectbg_g>"+ini_get("rom_date")+"</#></b>\n\n\n"+
"Press <b>Next</b> to continue the installation.",
^^^
| <----- this can be changed !!
|
#-- Icon
"@welcome"
); <<----------- Remmeber this one
We are not done yet !!
ADD CREDITS SECTION !!
TYPE THESE IN AROMA CONFIG
Code:
###################################################################################################################
#
# STEP 3 - CREDITS
#
textbox(
#-- Title
"Thanks To", << THIS CAN BE CHANGED--------------
#-- Subtitle
"", << THIS CAN BE CHANGED--------------
#-- Icon
"@update", << THIS CAN BE CHANGED--------------
#-- Arg 4
resread("thanks.txt") << THIS CAN BE CHANGED--------------
); << REMMEBER THIS--------------
NOW GOTO META-INF\COM\GOOGLE\ANDROID\AROMA\HERE AND MAKE A NEW NOTE PAD FILE CALLED thanks AND SAVE AS TXT THEN TYPE WHAT YOU WANT OR USE A TEMPLETE BY ME IN ATTACHMENT NOW YOU ADDED CREDITS PAGE HAVE FUN
ADD LICENCE PAGE IN AROMA
TYPE THESE
Code:
###################################################################################################################
#
# STEP 2 - TERMS OF USE
#
agreebox(
#-- Title
"Important notes!",
#-- Subtitle / Description
"",
#-- Icon
"@quarantine",
#-- Text Content
resread("agreement.txt"), <<------------------ THIS CAN BE CHANGED
#-- Checkbox Text
"I agree with these and I am not high,drunk,mad !!.", <<------------- THIS TEXT SHOWS BEHIND THE CHECK BOX !!
#-- Unchecked Alert Message
"You need to agree with the Terms of Use..." <<---------------- THIS SHOWS WHEN BOX IS NOT CHECKED
); <<--------------- REMMBER THIS
NOW GO TO META-INF\COM\GOOGLE\ANDROID\AROMA\HERE CALLED agreement AND SAVE AS TXT ANDWHAT YOU WANT TO BE DISPLAYED OR USE TEPELATE BE ME !! IN ATTACHMENT :silly:
INSTALLING PROCESS
TYPE THESE
Code:
###################################################################################################################
#
# STEP 4 - INSTALLING
#
ini_set("text_next", "Install now");
viewbox(
"Almost Done !!",
"You are now ready to begin installation.\n\n"+
"Press <b>GOGOGO</b> to start.\n\n"+
"If you want to review or change any of your installation settings, press <b>Back</b> Button.",
"@install"
);
ini_set("text_next", "GOGOGO"); <<----------- THIS CAN BE CUSTOMIZED
install(
"Installing",
"Flashing <b>"+ini_get("rom_name")+"</b>...\n"+
"Please Wait...",
"icons/install",
"Done! Press <b>Next</b> button"
);
viewbox(
"Installation was successful!",
"You are now running <b>"+ini_get("rom_name")+"</b>.\n\n"+
"<b>If installation sucsess please reboot your tab and don't touch any thing</b>\n\n"+
"<b>Leave the tab for 5minutes</b>\n\n"+
"<b>After that setup basic installation</b>\n\n"+
"<b>Don't setup google account !</b>\n\n"+
"<b>If you choose to flash anything on top of the rom you may loose the mods included in it !</b>\n\n"+
"<#selectbg_g><b>Please hit thanks to support the author of this ROM is greatly appreciated!</b></#>\n\n",
"@Welcome To FastDream HD"
ALL OF THE ABOVE CAN BE CUSTOMIZED !!
); <<------------- REMMBER THIS
COMING UP
1.ADD COMPLICATED MENU BOXES
2.ADD SIMPLE MENU BOXES
3.MAKE CUSTOM THEMES FOR AROMA
now going to sleep more later
reserved
COMPLETE GUIDE TO RETURN FROM ANDROID MARSHMALLOW TO LOLLIPOP ON HUAWEI P8 LITE ALE -L21
For all who want to downgrade from android 6 marshmallow to any other lower version (android
5), this and the guide that I personally have made.
BOOTLOADER MUST TO BE UNLOCKED IN ORDER TO WORK OTHERWISE IT IN NOT POSSIBLE TO RETURN.
EVEN IF FOR ME IT'S PERFECTLY WORKED, I WANT TO SAY DTAT I'M NOT RESPONSIBLE FOR ANY DAMAGE
PROVIDED TO YOUR DEVICES. YOU WILL BE ALL TO YOUR RISK
By clarifying this, we begin:
A) ALL THE FILLES NEEDED . recommend downloading everything in a folder on your desktop)
FIRST UNLOCK BOOTLOADER.(LINK I HAVE:http://www.androidiani.com/forum/modding-huawei-p8-
lite/479668-huawei-p8-lite-guida-sblocco-bootloader.html
THENOWNLOAD THESE FILES.
1.official ALE-L21 V100R001C432B052 (and the unified firmware that allows downgrade.)
2.File Fix Ballong Error:
3: Huawei Update Extractor
4.ADB / FASTBOOT
5.adb.drivers.
6. mobile phone usb.
NB: FIRST OF ALL:BACK UP AND BACK UP all your data before doing any procedure (I always say)
B) Smartphone Preparation:
1. usb debugging.
a) Go to phone-and-phone settings-and click 7 times on the 'serial number' until the developer
options are activated.
b) open the developer menu and install it, then also debug usb and fitties in the same
developer menu.
c) exit the menu.
"" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
"" "" "" "" "" "" "
C) Firmware Preparation:
1.Install the huawei update extractor program and open it.
2.IN Profile Leave as well as: UNKNOWN
3. click EXTRACT
4.In UPDATE FILE click on the quadruple with the 3 dots and look for the b052 firmware just
downloaded ... the file should be of type Update.app.
5.MARK(CTRL+ARROW) the following filesCTRL + click)
BOOT: img
CUST.img
recovery.img
system.img
6. Right click on one of them, and click on 'Extract Selected'
7.In the box that appears, click on desktop and then ok.
8.Install the adb / fastboot program this creates a folder, usually on partition C, called adb.
the inside should be 4 files.
9.Copy the 4 files from the desktop, which you removed them with the huawei update extractor
program and paste them into the adb folder.
"" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
"" "" "" "" "" "" "
D) Firmware Restore-Step 1
1. Connect the phone off to PC.
2. Hold down the Volume Down button, press the power button until the phone enters fastboot
mode (the green robot on the display)
3. Let's wait for the driver to install. (A few seconds)
4. Look for the adb folder and click on it, on it-then, in the context menu, on the "open
command window here".
(if you do not enable this function, follow this guide: wikihow.com/Add-an-%22Open-Command-
Prompt-Here-As-Administrator%22-Shortcut-to-the-Context-Menu-in-Windows-7- and-Windows-Vista
5. the cmd.ARE OPENNING
type 'fastboot devices' without quotes, then enter.
6.If the device is correctly crafted, the message goes out:
Example: QLF1N2344b5667N- - - - -fastboot
7.example: Fastboot flash boot boot.img then enter.expect message ok.
8.dimple: Fastboot flash recovery recovery.img then enter and wait ok.
9.example: [COLOR = "Blue"] Fastboot flash cust cust.img [/ COLOR] then enter wait for ok.
10.digitiamo:
Fastboot flash system system.img
then enter and wait for the ok (this will employ at least 2-3 minutes)
11.digitiamo:
Fastboot reboot
then enter
12.We come to the mobile phone and we expect it to start completely - it will take at least 5-6
minutes.
NB: If you encounter problems with IMEI loss, do not pre-emulate. After OTA upgrade to 170,
imei will appear again.
"" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
"" "" "" "" "" "" "
E) Firmware Restore - Step2
surely after the reboot, the device will be named Balong.
To resolve this problem, follow step 2.
1.EXTRACT the file ballong fix.rar.
an UPDATE file will appear: APP
2. In the root of the sd card create a folder with the name '' dload ''. without quotes.
3. Copy this file to the dload folder.
4. Go to settings-updater-menu-click on local update then on APDATE: APP.
The device installs this update in about 2 minutes and restarts after configuring everything
after 5 minutes.
"" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
"" "" "" "" "" "" "
5. After the restart completes, IMEI has not yet appeared, configure a wifi connection and the
OTA 170 update will come.
6.Start and install this update.
At restart, you will have the ALE-L21C432B170 firmware. with IMEI in place and fully
functional.
This guide also ALLOWS the dual sim mode.
FOR ANY CLARIFICATION AND FOR THE ORIGINAL POST, WITH THE DOWNLOADED FILES, GO HERE:
http://contactit.blogspot.it/2016/02/how-to-downgrade-huawei-p8-lite-l21.html
NB:THE ORIGINAL GUIDE WAS MADE IN ITALIAN LANGUAGE .THIS IS A GOOGLE TRANSLATE,SO ,SORRY FOR
ANY TRANSLATION ERROR.HOPE YOU UNDERSTAND ALL THE GUIDE.
I think this is not useful.... We can back to lollipop by flashing rollback transition file and lollipop firmware by dload...
My english is very bad, so i hope you understand.
I make my own apps, and most off the time in fragment activities
On my website i have a php script, that will check if the username and password is correct filled in in the application.
I hace to get back from the website the userID, firstname and email address from the database, this info is stored in a json format like below:
Code:
$result1["rol"] = $rol;
$result1["login"] = $login;
$result1["username"] = $Qusername;
$result1["userid"] = $userID;
$result1["mail"] = $Qmail;
echo json_encode($result1);
my php scipt woks perfectly, only how to get the $result1 back to android app??
I have the following on my website visible
Code:
{"rol":"9","login":"1","username":"christiaan","userid":"9998","mail":"c.***@h***e.nl"}
And I tried to read that in android with:
Code:
val apiResponse = URL(urlW).readText()
val url = URL(urlW)
val urlConnection = url.openConnection() as HttpURLConnection
val text = urlConnection.inputStream.bufferedReader().readText()
tUser.text = text
urlConnection.disconnect()
urlW contains the full link.
I write app in kotlin.
I have it almost working, but now the app crashes when it's an incorrect username or password:
Code:
val urlW = "http://www.*****.nl/mobile.php?username=*****&password=*****"
//webA.visibility = View.VISIBLE
webA.loadUrl(urlW)
// Request a string response from the provided URL.
val stringRequest = StringRequest(
Request.Method.GET, urlW,
{ response ->
// Display the first 200 characters of the response string.
val onlineString = "${response.substring(0, 200)}"
val explodeOnline = onlineString.split("#").toTypedArray()
tUser.text = explodeOnline[1] + " : " + explodeOnline[2] + " \n " + explodeOnline[3] + " : " + explodeOnline[4]
tPass.text = explodeOnline[5] + " : " + explodeOnline[6] + " \n " + explodeOnline[7] + " : " + explodeOnline[8] + " \n " + explodeOnline[9] + " : " + explodeOnline[10]
},
{ tUser.text = "That didn't work!" })
// Add the request to the RequestQueue.
queue.add(stringRequest)