Get real date - Android Studio

I need some code to get the real date.
Not like "Calendar Cal = Calendar.getInstance();" . This one will get only the current date from the device. User can change that easy.

Softt said:
I need some code to get the real date.
Not like "Calendar Cal = Calendar.getInstance();" . This one will get only the current date from the device. User can change that easy.
Click to expand...
Click to collapse
I think this option can solve your problem : Cant link here (10 posts limits ), just type Time to google and parse it.

semsturgut said:
I think this option can solve your problem : Cant link here (10 posts limits ), just type Time to google and parse it.
Click to expand...
Click to collapse
i don't know how to make my program to search on google and get time if this is what you mean...
Can you help me with the code?

Softt said:
i don't know how to make my program to search on google and get time if this is what you mean...
Can you help me with the code?
Click to expand...
Click to collapse
Check this : stackoverflow.com/questions/13064750/how-to-get-current-time-from-internet-in-android
Or simple-way is search time on google or yahoo parse html code with using JSoup or TagSoup html parser libraries.

semsturgut said:
Check this : stackoverflow.com/questions/13064750/how-to-get-current-time-from-internet-in-android
Or simple-way is search time on google or yahoo parse html code with using JSoup or TagSoup html parser libraries.
Click to expand...
Click to collapse
awesome thanks 6

Related

[Q] master key security

i want to know what is master key security
or
how to make use of it
mhmod222 said:
i want to know what is master key security
or
how to make use of it
Click to expand...
Click to collapse
You will faster gather information about that from searching, google-ing than waiting for someone to explain you here.
http://www.androidcentral.com/making-sense-latest-android-security-scare
i tried but i didn't understand
mhmod222 said:
i tried but i didn't understand
Click to expand...
Click to collapse
You did not read this part of that link I gave you?
All apps on your Android are signed with a cryptographic key. When it’s time to update that app, the new version must have the same digital signature as the old or it won’t overwrite. You can't update it, in other words.
Click to expand...
Click to collapse
I think it is not something that we can get use of, it is just some bug or something like that.

Can this app be made?

thanks all sorted
Hi
I did this quickly if you want to try : https://github.com/midsylen/SMSResponse
Midsylen said:
Hi
I did this quickly if you want to try
thankyou midsylen, how do i load it do i place the folder on my phone and run the .bat file???
Click to expand...
Click to collapse
marky351 said:
Midsylen said:
Hi
I did this quickly if you want to try
Click to expand...
Click to collapse
thankyou midsylen, how do i load it do i place the folder on my phone and run the .bat file???
Click to expand...
Click to collapse
You would need to compile it in Android Studio and then sideload the compiled APK file! I can try and do this for you in the next day or so once I finish my last exam. Let me know if you still have questions.
Midsylen said:
Hi
I did this quickly if you want to try
shimp208 said:
You would need to compile it in Android Studio and then sideload the compiled APK file! I can try and do this for you in the next day or so once I finish my last exam. Let me know if you still have questions.
Click to expand...
Click to collapse
thanks that would be great, i'll try myself first also but if u have any spare time it would be much much appreciated
Click to expand...
Click to collapse
Oh i thought you had some dev skills so I just made the required classes but the app isn't really usable if you build it, you can't choose the phone number from the app for example. When I'll have some time i'll try to do a more usable app where you can put the number of the contact.
i dont use android studio but cant he just edit the line where it says private static final String PHONE_NUMBER = "+1234567890"; to what ever the phone number is he needs to use
nucleisoft said:
i dont use android studio but cant he just edit the line where it says private static final String PHONE_NUMBER = "+1234567890"; to what ever the phone number is he needs to use
Click to expand...
Click to collapse
Could though it's not much work to add in a input field for putting in the number.
composed it and modified it a little to get it working thankyou for all your help guys

Problems cearting ZUK account at developer.zuk.com

Hello all!
I recently bought the ZUK Z2 and wanted to unlock the bootloader. So i followed the guide on this site, wich redirects you to developer(dot)zuk(dot)com/bootloader where you have to create an account.
But when i want to sign up, the first thing you have to fill in is your phone number, but whatever i try it always end up with a red border meaning it is not correct.
Does anyone have experience with this? Are there any suggestions?
I've tried:
- 06########
- CountryCode06########
- CountryCode 06########
- Country code 6########
- Country code6########
- etc.
Thanks for your help in advance!
iHaveZukZ2 said:
Hello all!
I recently bought the ZUK Z2 and wanted to unlock the bootloader. So i followed the guide on this site, wich redirects you to developer(dot)zuk(dot)com/bootloader where you have to create an account.
But when i want to sign up, the first thing you have to fill in is your phone number, but whatever i try it always end up with a red border meaning it is not correct.
Does anyone have experience with this? Are there any suggestions?
I've tried:
- 06########
- CountryCode06########
- CountryCode 06########
- Country code 6########
- Country code6########
- etc.
Thanks for your help in advance!
Click to expand...
Click to collapse
Sign up with email. There's an option for that.
chtsarts said:
Sign up with email. There's an option for that.
Click to expand...
Click to collapse
Unfortunetly, when i fill in a email address the outlining also turns red. When i continue anyway, the error is "Input Error, Please Try Again"
EDIT:
Here is a screenshot:
postimg (dot) org/image/m7l5567cl/
^I'm new so i can't post links, so i have to do it this way
iHaveZukZ2 said:
Unfortunetly, when i fill in a email address the outlining also turns red. When i continue anyway, the error is "Input Error, Please Try Again"
EDIT:
Here is a screenshot:
postimg (dot) org/image/m7l5567cl/
^I'm new so i can't post links, so i have to do it this way
Click to expand...
Click to collapse
I have read somewhere that you must not use gmail or hotmail
chtsarts said:
I have read somewhere that you must not use gmail or hotmail
Click to expand...
Click to collapse
I also tried tempmail but that didn't work either. That would be understandable though, because sometimes the site blocks those weird domain names.
Do you have any suggestion for an email provider?
Not sure but try yahoo
chtsarts said:
Not sure but try yahoo
Click to expand...
Click to collapse
I tried that too, but no luck. Perhaps it is not Chinese stuff only?
Altough i've seen multiple people on here with a custom ROM, i would be surprised if all of them would be Chinese.
From purely my experience and not to offend anyone. My ID had . in between for example [email protected], what I realized was that even if you type [email protected] i.e, without the . website would accept it. Try it out and it may workout, I think its to do with the period before the @ symbol.
anupsnair said:
From purely my experience and not to offend anyone. My ID had . in between for example [email protected], what I realized was that even if you type [email protected] i.e, without the . website would accept it. Try it out and it may workout, I think its to do with the period before the @ symbol.
Click to expand...
Click to collapse
Thanks for your insights!
I tried with a period somewhere before the @, but unfortunately it didn't work. But atleast i now know that a gmail account should work.
iHaveZukZ2 said:
Thanks for your insights!
I tried with a period somewhere before the @, but unfortunately it didn't work. But atleast i now know that a gmail account should work.
Click to expand...
Click to collapse
You can make a Lenovo account, and this is valid for zuk page.
Enviado desde mi A0001 mediante Tapatalk
Reggae1402 said:
You can make a Lenovo account, and this is valid for zuk page.
Enviado desde mi A0001 mediante Tapatalk
Click to expand...
Click to collapse
OMG thank you! Creating a Lenovo passport and then you can log into the Chinese site using the same username + password
(solved)zuk account error
hi guys use this account
Email: [email protected]
password: zukaccount!
trust me it will work
Balraj3priya said:
hi guys use this account
Email: [email protected]
password: zukaccount!
trust me it will work
Click to expand...
Click to collapse
where will i signin in that chineese page
ansar47u said:
where will i signin in that chineese page
Click to expand...
Click to collapse
The website does not seem to be working atm.
Please request for the bootloader unlocking via email to [email protected].
Dont forget to include the serial number of your phone.
digitalguy13 said:
The website does not seem to be working atm.
Please request for the bootloader unlocking via email to [email protected].
Dont forget to include the serial number of your phone.
Click to expand...
Click to collapse
Hello, IE is the only browser that works
I am getting an email but no attachment, please help.
Shinichi Kudo said:
I am getting an email but no attachment, please help.
Click to expand...
Click to collapse
Unlock IMG is downloaded from the blue link now
not receiving an email.. have tried almost every way

Error in getting bootloader unlock code

For my Honor 4x (Che2-L11).
If I create id in "uniportal.huawei.com", I can't log in to "emui.huawei.com". But if i register from "emui.huawei.com" and wait 14 days, I still can't get the code... What to do ?? Please do tell...
Moonim Hossain said:
For my Honor 4x (Che2-L11).
If I create id in "uniportal.huawei.com", I can't log in to "emui.huawei.com". But if i register from "emui.huawei.com" and wait 14 days, I still can't get the code... What to do ?? Please do tell...
Click to expand...
Click to collapse
Here are the instructions. You first have to register and then go to the unlock request page. It should give you the code right away if you have registered your Huawei user account. If there is some kind of region block you can use VPN.
Some places on the internet it says that you have to write and ask them to send you the code, but that is old information. It is a fully automated procedure now. You don't need to ask them.
Bob1900 said:
Here are the instructions. You first have to register and then go to the unlock request page. It should give you the code right away if you have registered your Huawei user account. If there is some kind of region block you can use VPN.
Some places on the internet it says that you have to write and ask them to send you the code, but that is old information. It is a fully automated procedure now. You don't need to ask them.
Click to expand...
Click to collapse
Now I can't get into unlock request page (with or without VPN)... What to do ??
Thanks Bob1900 for your response...
Moonim Hossain said:
Now I can't get into unlock request page (with or without VPN)... What to do ??
Thanks Bob1900 for your response...
Click to expand...
Click to collapse
Here, try this link. But remember, first register and log in with Huawei ID.
Moonim Hossain said:
For my Honor 4x (Che2-L11).
If I create id in "uniportal.huawei.com", I can't log in to "emui.huawei.com". But if i register from "emui.huawei.com" and wait 14 days, I still can't get the code... What to do ?? Please do tell...
Click to expand...
Click to collapse
huawei has messed up with the update we are not able to get bootloader unlock code with the website always says error even you give the correct details contact their support once they might help you.
Bob1900 said:
Here, try this link. But remember, first register and log in with Huawei ID.
Click to expand...
Click to collapse
No way now bro . His info is correct but honor is now playing with him
gopinaidu77 said:
No way now bro . His info is correct but honor is now playing with him
Click to expand...
Click to collapse
Lol that was what I am saying yesterday on other thread . Do you have any contacts from Honor?
miststudent2011 said:
Lol that was what I am saying yesterday on other thread . Do you have any contacts from Honor?
Click to expand...
Click to collapse
Well i know one who manages beta tests in US. All info i get is just collected from that intellectual.
gopinaidu77 said:
Well i know one who manages beta tests in US. All info i get is just collected from that intellectual.
Click to expand...
Click to collapse
Can he get in touch with Honor and tip them about the issue?
miststudent2011 said:
Can he get in touch with Honor and tip them about the issue?
Click to expand...
Click to collapse
He can , i will talk to him when he is online
gopinaidu77 said:
He can , i will talk to him when he is online
Click to expand...
Click to collapse
Did you talk bro?
Sent from my Honor 8 using XDA Labs
adriansticoid said:
Did you talk bro?
Click to expand...
Click to collapse
No , he isnt online since last day
Any response from him?
No bro .
Let's wait more.
Sent from my Honor 8 using XDA Labs
ya thats only the option right now

[REQUEST] IMS OTP_Cracker.zip

https://forum.xda-developers.com/showpost.php?p=76295818&postcount=20
Click to expand...
Click to collapse
Last year there was a post about a Java program to crack the OTP needed to access IMS settings on Samsung devices after the Oreo update.
Example of it being used successfully:
https://forum.xda-developers.com/showpost.php?p=77371984&postcount=2
Click to expand...
Click to collapse
Example of outraged users (in Korean):
https://r1.community.samsung.com/t5/갤럭시-S/해외판-단말기도-국내에서-VoLTE-되도록-해-주세요/td-p/400161
Click to expand...
Click to collapse
However, the link to that file has long since been broken, as evidenced by the comments in the original post. And I can't find it uploaded anywhere else, save for some dodgy Chinese websites I neither have the authorization nor the linguistic ability to navigate. I was wondering if anyone could share the original ZIP, or could upload the source code (assuming it's a simple algorithmic calculation). Ty in advance ^^

Categories

Resources