• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Update: Messenger Lite: Free Calls & Messages (Version 80.0.1.6.238)

EXTRA INFO
  • Rating: 4.3
  • Installs: 500,000,000+
  • Download Size: Varies with device
  • Version: 80.0.1.6.238
DESCRIPTION
A fast and data-efficient messaging app to reach the people in your life.

Messenger Lite:
- Installs quickly. It's less than 10MB to download!
- Saves data. It loads fast, runs efficiently and uses less mobile data.
- Works everywhere. Reach people when you're in an area with a slow or unstable internet connection.

With Messenger Lite, you can:
- Contact anyone on Messenger, Facebook or Facebook Lite.
- See when people are active and available to chat.
- Message people one-on-one or in groups to catch up or make plans.
- Send photos, links, or express yourself with stickers.
- Make one-on-one voice and video calls for free over Wi-Fi (otherwise standard data charges apply). Talk as long as you want, even with people in other countries!

AsyncTask and Looper

Hello, i'm Mark and i'm writing from Italy.
I have a problem with my application, because at Runtime i have an Exception.
The structure of the project is this:
MainActivity.java->workActivity.java that contains also myClass1 that extends AsyncTask .
In the project i have another class called GetData that contains variable and other methods for Database.

So if i click a button in workActivity then i generate:

myClass1 asyncT = new myClass1 ();
asyncT .execute("");

So the code jump in myClass1 where i have:

public class taskRicercaRicambio extends AsyncTask<String, String, Boolean>
//variable
private GetData getData;
private int counter;
private List<myType> myList;

@override
protected void onPreExecute() {
super.onPreExecute();
// instruction for GUI thread...like progressDialog...}

@override
protected Boolean doInBackground(String... strings) {
int counter = 0;
myList = new LinkedList<myType>();
getData = new GetData(); // THIS LINE CAUSE EXCEPTION
Thread t1 = new Thread(new Runnable() {
@override
public void run() {
Thread.currentThread().setName("myName");
//... other instruction...
});
t1.start();
try {
t1.join(5000);
} catch (InterruptedException e) {
e.printStackTrace();
}
if(t1.isAlive()){
t1.interrupt();
}
return true;
}

@override
protected void onPostExecute(Boolean s) {
//..do something with UI thread.......}

Why this line getData = new GetData(); give me an exception ?
If i put it in onPreExecute() method all work perfectly. No error.
But if not, i want to understand why the debugger show me :
java.lang.RuntimeException: Can't create handler inside thread Thread[AsyncTask #2,5,main] that has not called Looper.prepare()

Why i cannot instatiate an object of GetData Class in the background method ?
Why is asking me for a looper ? I haven't any GUI component to update.


UPDATE
I found the bug.
In the doInBackground method i create a GetData object, but inside the constructor of GetData i create another object of type myClassBug and this class extends AppCompatActivity.
As soon as i delete the extends, all works ok.

I couldn't understand why he asked me a Looper if I don't have to update the UI... I suppose it's for this reason.
Hope this helps other user !

How To How to Turn Off the Galaxy S20 Ultra

There are 4 ways to turn off the Samsung Galaxy S20 Ultra.

The easiest way to turn off the Galaxy S20 Ultra:

  • Press and hold the side button and volume down button for 3 seconds
  • Select either "Power Off" or "Restart"
The most popular way to turn off the Galaxy S20 Ultra:
Most people don't like how the "Power Button" launches Bixby when they first use their phone. They want the "Side Key" to launch the traditional Power Menu when they press and hold. If you would prefer to turn your Galaxy S20 Ultra off by pressing and holding ONLY the side button, you can change the Bixby button to do just that:
  • Press and hold the side button and volume down button for 3 seconds
  • Press the "Side Key Settings" button at the bottom
  • From the "Press and hold" section select "Power off menu"
  • You can now press and hold the side key to turn off the S20 Ultra
You can also access these Side Key Settings through the full device settings:
Settings > Advanced Feature > Side Key

Turn off your phone with your voice:
You can also turn off your phone with your voice using Bixby:
  • Wake Bixby by pressing and holding the Side Key
  • Keep holding the Side Key and say, "Turn off the phone"
  • Release the button when you're finished speaking
If you've changed your Side Key settings, use whatever method you've selected to launch Bixby (such as double pressing the side key).

Turn off your phone from Quick Settings:
Samsung has also included a "Power Off" option in the notification shade:
  • Swipe down from the top of the screen
  • Tap the power button in the top right corner
  • Select "Power Off" or "Restart"
There you have it- all 4 methods to turn off the Galaxy S20 Ultra! And to turn the device back on you simply press and hold the Side Key (in case you were wondering).

Help best way to recover data off broken phones?

Unfortunately any post asking about recovering data attracts pushing various "data recovery tools". If you look at the account you usually find that the person either had only made one post or that all of their posts are saying the same thing. I've yet to see independent evidence of any of these things working.

Can you see the screen on phone 3? If so then as long as it supports USB OTG you can plug a mouse into an OTG adapter and use that to control the phone. Then you can back the photos up in several ways: email to yourself, upload to your favourite cloud service, or just unlock it, set the default USB connection method to file transfer or MTP (should be an option in Developer Options menu - click repeatedly on the "build number" in the software information to enable that menu) then unplug the OTG adapter, plug in a USB cable and copy over USB to a computer. Or even pair a bluetooth mouse then use that, freeing up the USB socket.

Phone 2 is probably a lost cause, but can you describe exactly what happens if you try to boot it up?

Phone 1 you might be able to get data off if you could see anything. Do you know whether it supports any form of wired screen mirroring (USB-C to HDMI or maybe MHL)? If it does then you can mirror the display to a TV to see what it's doing, then if touch works you can control it and set up some sort of cloud backup or WiFi transfer. If touch isn't working that's more difficult: I have recovered data from a phone in that state, but unlocking the phone and backing stuff up when having to swap between MHL (so I could see where I was) and MHL (so I could use a keyboard or mouse to control it) took a lot of patience. Once I got a bluetooth mouse paired with it it became a lot easier. If it's just the screen then repair is an option, provided you can ensure that the repairer doesn't factory reset the phone (official service centres often do that as a matter of procedure, but it obviously defeats the point here).

CoreIRC - a modern IRC client with DCC file transfers

CoreIRC is a chat client I decided to build due to not being satisfied with the options available on the Play Store. It features a modern design with the ability to be connected to multiple SSL or regular connections simultaneously, and receiving files over DCC.

CoreIRC also implements quite a number of IRCv3 features including SASL authentication through any of the Plain, External or SCRAM-SHA-256 mechanisms, and the following IRCv3 specs: cap-notify, account-notify, away-notify, chghost, echo-message, extended-join, invite-notify, multi-prefix and userhost-in-names. Support for more specifications will be added in the feature, with the ultimate goal being implementation of the full set of IRCv3 specs.

Here is a comprehensive list of features available.
<ul style='margin-top:0; margin-bottom:0;'>
<li dir='ltr'> Background connectivity</li>
<li dir='ltr'> Command autocomplete</li>
<li dir='ltr'> Channel list</li>
<li dir='ltr'> Chat message storage</li>
<li dir='ltr'> CTCP ACTION, CLIENTINFO, DCC, FINGER, PING, TIME and VERSION</li>
<li dir='ltr'> DCC (for receiving files)</li>
<li dir='ltr'> Ignore lists</li>
<li dir='ltr'> IRCv3 CAP 302, cap-notify, and SASL authentication</li>
<li dir='ltr'> IRCv3.1 account-notify, away-notify, extended-join, multi-prefix</li>
<li dir='ltr'> IRCv3.2 chghost, echo-message, invite-notify, userhost-in-names</li>
<li dir='ltr'> mIRC colour support</li>
<li dir='ltr'> Modern design</li>
<li dir='ltr'> Network editor with multiple servers</li>
<li dir='ltr'> Nick autocomplete</li>
<li dir='ltr'> Proxy connection</li>
<li dir='ltr'> Raw commands using /quote</li>
<li dir='ltr'> Robust notification rule sets (for each configured network)</li>
<li dir='ltr'> SSL support</li>
<li dir='ltr'> Timestamps</li>
</ul>

CoreIRC is currently available from the Play Store at https://play.google.com/store/apps/details?id=co.aureolin.coreirc.

HCE random deactivation

Hello, I'm working on an HCE application being used with a TRF7970A RFID reader. The HostApduService gets deactivated when the link between the Android phone and the NFC reader is broken or when another HCE service is selected by the NFC reader. My service keeps deactivating randomly, with the two rules mentioned above unviolated.

Didn't find class "java.nio.file.Paths"

I recently update my app and when I run again I got the error java.lang.ClassNotFoundException: Didn't find class "java.nio.file.Paths" this is an extract of my build.gradle file:

android {
compileSdkVersion 28
defaultConfig {
applicationId "xxx.xxxxx.xxxx"
minSdkVersion 21
targetSdkVersion 28
versionCode 12
versionName "9.1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

the error is when I try to create a file with:

File(Environment.getExternalStorageDirectory(), filename)

Do not disturb allow apps

I've just discovered this annoyance too while attempting to set an exception for a critical notification that I want in all circumstances. How annoying. I have a couple that I'd set previously that don;t seem to actually work despite them still showing as priority exceptions.
Have you done the update to Oreo 8.1 from late 2018? I haven't because I was afraid of what it would break but if it reinstates the feature, I'd be willing to try it.

Attachments

  • 2020-03-25_00-16-35 No DND override option on Motorola G5 with Android 7 Nougat.jpg
    2020-03-25_00-16-35 No DND override option on Motorola G5 with Android 7 Nougat.jpg
    156.2 KB · Views: 92

Filter

Back
Top Bottom