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

4g status goes away with wifi enabled.

Your phone uses one of two ways for online access, either WiFi or cellular. They are both wireless signals but are two completely different types of wireless connectivity.
-- WiFi signals are relatively weak with an effective range of a few hundred feet or so. Your home router emits the WiFi signal for your home network. Your router is connected to your ISP's modem and the modem is what is indirectly connected to the Internet. WiFi is often identified as 2.4 GHz or 5 GHz, both being direct references to the bandwidth frequency each on occupies (i.e. channel 11 in 2.4GHz is 2462 megahertz, channel 1 is 2412 megahertz)
-- Cellular signals are pretty robust and have a coverage range of a few miles. They are emitted by cellular towers/cellular access points scattered everywhere. All of those are fed their signals by nation-wide cellular networks, and those are indirectly connected to the Internet. Cellular can be differentiated by progression levels -- 2G, 3G, 4G/LTE, 5G -- a marketing abbreviation for 2nd Generation, 3rd Generation, etc.

Some people mistakenly merge both together since both are wireless and oddly because there's a common letter G in those identifiers but in reality they are two very different types of wireless connectivity. If you do prefer to consider both the same, that makes your problems with online connectivity a lot harder to fix.
In your instance, there's not really a problem. It's a just a typical way smartphones work -- when your phone is receiving both a good WiFi and a good cellular signal, the preference is to prioritize WiFi over cellular. Just disable WiFi or disable mobile data in accordance to what your need. (disabling mobile data doesn't cut off cellular connectivity, it just stops any active data exchanging over cellular. A very low bandwidth cellular connection still remains so you still can receive and send phone calls, and SMS texts.)

Apps MySQL connect and query

Hello dear helpers,
I'm new to app development and with the help of a youtube tutorial I started an app that should connect to an SQL server and query data, but now I get an error that I can't sort and hope for help from you.

Code MainActivity.java:
Java:
package com.huth.system;

import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.TextView;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;

public class MainActivity extends AppCompatActivity {
    Connection connect;
    String ConnectionResult = "";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }
    public void GetTextFromSQL(View v)
    {
        TextView tx1 = (TextView) findViewById(R.id.textView);
        TextView tx2 = (TextView) findViewById(R.id.textView2);
        try {
            ConnectionHelper connectionHelper = new ConnectionHelper();
            connect = connectionHelper.connectionclass();
            if(connect!=null)
            {
                String query = "SELECT * FROM `app`.`app_user` where id='1';";
                Statement st = connect.createStatement();
                ResultSet rs = st.executeQuery(query);

                while (rs.next()){
                    tx1.setText(rs.getString( 1));
                    tx2.setText(rs.getString( 2));
                }
            }
            else
            {
                ConnectionResult = "Check Connection";
            }
        }
        catch (Exception ex){
            Log.e("error2", ex.getMessage());
        }
    }
}
Code ConnectionHelper.java:
Java:
package com.huth.system;


import android.annotation.SuppressLint;
import android.os.StrictMode;
import android.util.Log;

import java.sql.Connection;
import  java.sql.DriverManager;

public class ConnectionHelper {
    Connection con;
    String uname, pass, ip, port,database;
    @SuppressLint("NewApi")
    public Connection connectionclass(){
        ip= "*******************";
        port = "*****************";
        uname = "*************";
        pass = "****************";
        database = "************";

        StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
        StrictMode.setThreadPolicy(policy);
        Connection connection = null;
        String ConnectionURL  = null;
        try{
            Class.forName("net.sourceforge.jtds.jdbc.Driver");
            ConnectionURL = "jdbc:jtds:sqlserver://"+ ip + ":"+ port+";"+ "databasename="+ database+";user="+uname+";password="+pass+";";
            connection = DriverManager.getConnection(ConnectionURL);
        }
        catch (Exception ex){
            Log.e("error", ex.getMessage());
        }
        return connection;
    }
}
error massage:
E/error: I/O Error: Unknown packet type 0x63


pls help me :)

Busybox....HELP PLEASE! What/why/how is it installed on my device without my knowledge or permission

I can certainly attest to the annoyances and concerns of modern hardware given I was recently forced to upgrade from my beloved Thunderbolt to a modern phone, but there's no recourse anyway. You can't find a 'simple' flip phone since they're nowadays just smartphones with KaiOS and have embedded all the privacy-hating Google apps like a modern Android smartphone. No carrier today will reactivate a RAZR, Droid, or BlackBerry Curve today. I know the older networks still exist in my state, but carriers refuse to cooperate even if you offered them a lot of money. Believe me, I tried. Unlike the AMPS shutdown this isn't mandated by the FCC just carrier arrogance and futurists who refuse to live in a world where someone still prefers to use a decade-old smartphone.

TL;DR "Going back to basics" is not as possible today. Modern phones flip/basic/dumb/smart all have the same data-gathering going on.

tcl 20xe questions

i have the home screen set up with the app drawer but i still do not see the normal apps icon the one that has the 9 dots in it. but i put that nova on it and that seems to be doing the job. she may have swiped that icon off the system as one said. when she answers the phone she touches the phone icon and swipes it so hard and fast that she about sends the phone across the room. it seems she sees others do that and copies them. i set up the phone icon in the app drawer so all she has to do is tap it and it answers the phone or to send a message tap that message icon. just linkt the other apps. thanks

Help Android lagging

This is the app in question: https://play.google.com/store/apps/details?id=ru.omdevelopment.ref.biblebg.free
I currently have Avast Antivirus Free and Malwarebytes installed, should I uninstall them?
Thank you for the link for the uncensored Telegram, by the way

Most likely the app sends your personal data somewhere.
In fact, most religious type apps report your activities.

The solution is to block internet access for these apps, however, any app that also uses Google Services will also convey information with Google- who then sells it to whomever.

And yes, I would ditch the security apps.
Aside from giving a false sense of security, they do nothing better than that- and sometimes worse.
They consume battery and memory, report your information to whomever, and are unneeded anyway.

Google one backup - override idle time?

I clicked the question mark and there was a feedback link, so I told them to add an option for backing up even when not idle. My whole phone is only 30GB, so the free one would suit me fine! I don't really need the photos backed up anyway, since I take photos on a day out, then come home and put them on the computer for sorting and editing.
i would go here and submit your issue and see if they can help you:
https://support.google.com/googleone/gethelp

E46 media unit satnav/Problem NOW SOLVED

Thanks Denny, will have a go at that now, as it's an app I have not heard of.
Hi In the end it just boiled down to going into audio settings, change "switch" ,to "manual" and then adjust audios to work in conjunction with sat nav,for example audio level on sat nav was raised to 7,but changed to 0 on phone and 4 on music.This allows phone calls to be taken without interruption, plus music is just audible when sat nav audio is activated.

Retail mode

I got phone from a friend of a friend, hard to track him down.I don't know from where the phone came, so I can't return it.I have heard that there is a way to disable retail mode regardless.I just don't exactly know how.

From what I understand there are no secret passwords or whatever. Samsung retail demo phones are loaded with a special firmware that's hard-coded, often to play a promo video after a certain period of inactively, and to show a permanent R in the notification area. Plus the bootloader is locked as well, so no chance of flashing a different ROM. The intention being to make them worthless to anyone who shouldn't have one, and worthless for fencing and/or sale.

As I've already stated, these showroom devices are supposed to be returned to Samsung, etc. who'll presumably just destroy and recycle them.

How does phone tracking by police work?

Wow very good explanation. Tyvm sir . Wish i could know in India, network providers how long retain location infos of a cell phone user and what the police are allowed to ask to network providers :(
How long providers do retain information is hard to know, but how long they are required to (the minimum time they will retain it) should be knowable: laws should, after all, be a matter of public record. It's just knowing what to look for. Since storing data costs money it's quite possible that networks will delete it once they are not required by law to keep it, but that will be up to them.

What they can ask, again if it's the police this should also be a matter of public record (regulations relating to other security services may be more secretive). Of course that does assume that the network sticks to the law and only gives the police what they are legally required to.

Complete reset

Need more information other than Mediatek tablet please.
Serial number, etc...
I've read many of the replies; with regard the MediaTek T906 - 10" tablets for which I thank you, none of those replies has mentioned success in upgrading from KitKat 4.4.2 to anything else, so my expectations are minimal. I also have one of these MediaTek T906 - 10" tablets; and as you have asked for a bit more information which I offer; model number MediaTek T906 version v1.1 /// android version 8.1 (a monster fib') 4.4.2 keeps appearing implying strongly that it's KitKat 4.4.2 /// custom-built version T906_D3_31 pin /// I bought it in 2019 for use as a larger monitor for my camera work in the studio; it does that work well, but I would like to start using it as a Kindle which involves downloading an app' however I note the comments made by numbers of people on this thread that KitKat 4.2.2 firmware does not support most modern apps and is spoken of as being "probably impossible to upgrade to any later operating system". If I hear from you; wonderful; if I don't this remains a very engaging blog... An expert stating clearly that something cannot be upgraded/fixed is still a very real contribution thank you.......

Help Wifi control

Thanks for all the help! I'm still trying to get the best from my new phone. I am having lots of trouble with why everyone els'e phone only loses 2% battery in their mornings and I still lose 20%, so that I wake it up at 80%-85% battery and it has a 5000 one in it. I have 44 apps in my drawer and about 4 of them are disabled because I most likely will never use them. I have no chat apps because phone calls and texts are enough for me. I do have three music programs, and extra maps programs for locating buses and trains. I have only 4 under 40MB games to play that are all offline, so I don't know what's draining my battery. thanks very much for any ideas. Have a good day :) PS It's been great weather for bikes out!
i always leave my phone charging overnight. never had any issues. it might diminsh battery lige over time, but i only keep my phones for 2-3 years....never really long term.

Filter

Back
Top Bottom