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

During the conversation, the interlocutor echoes his voice.

If it's consistent in different places that suggests the phone. The problem suddenly coming on tells you nothing about the source.

Unfortunately I can't suggest anything more detailed. You describe something that only happens when using the phone's mic and earpiece, and only when making cellular calls. That's an interesting combination, since the mic and earpiece are also used in VOIP calls (WhatsApp, Telegram etc) and the cellular connection is unchanged when using a headset or speakerphone mode. So there's not an obvious single hardware component here that's unique to the case where you have a problem. You have checked that it doesn't depend on how you are holding it rather than the input source?

Maybe try in "safe mode", which would eliminate any third party software as the cause if the problem is still there. I doubt it's system software, since that wouldn't have changed 2 days ago, but there will be another update in the next couple of days so you could see whether that makes any difference.

To be honest though, if it's hardware the options may be rather limited: a bad antenna connection or mic connection would be one thing, but an awful lot of the rest is bonded to the motherboard and not designed to be removed.

Charging power limit

My wife and I each have Note 5s and a Tesla Model 3 which puts out 7.5 watts thru each of 2 front USB ports. The car also has two rear USB ports which I believe put out the same power. If I connect all 4 USB ports to a cordless phone charger I plan to buy then theoretically it would deliver 15 W per Note 5. Mine question is how much power can a note 5 take for charging?
You cannot just 'combine' the power output of multiple USB ports the way you're implying, and a wireless charger won't be able to supply the amount of power to meet your expectations anyway. If your intentions are to manually rewire individual USB adapters to provide a single output, note you'll probably being shorting out some circuitry in your Tesla (with the hope that the USB bus inside your car is modular and will just pop a circuit breaker/fuse).

Themes Dark Mode in Shared preferences

I made a dark mode in the settings of my apps and it worked out perfectly BUT I can't save it in SharedPreferences so it will stay how I choose it. I can do a background color in my SharedPreferences but this setting always causes Errors. What do I wrong? I hope someone can help me make it work. Thank you so much. When I run the code like I have it, the App won't even run. When I remove the SharedPreferences Part it works but it doesn't save. Hope someone can help me. I work on it since so many hours and cant solve it, because it is my first app.

here is the code:

Code:
public class Settings extends AppCompatActivity {

    private static final String TAG = "SettingsActivity";
    private RelativeLayout layout;
    private SharedPreferences preferences;
    private Bundle savedInstanceState;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_settings);

        assert getSupportActionBar() != null;
        getSupportActionBar().setDisplayHomeAsUpEnabled(true);

        Spinner spinner = findViewById(DarkMode);

        spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
            @Override
            public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
                Log.e(TAG, "onItemSelected: " + position);
                handleNightMode(position);
            }

            @Override
            public void onNothingSelected(AdapterView<?> parent) {
                Log.e(TAG, "onNothingSelected: ");
            }
        });

    }

    private void handleNightMode(int position) {

        switch (position) {
            case 0:
                Log.e(TAG, "Nothing Selected");
                break;
            case 1:
                Log.e(TAG, "FOLLLOW_SYSTEM");
                AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM);
                getDelegate().applyDayNight();
                break;
            case 2:
                Log.e(TAG, "YES");
                AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
                getDelegate().applyDayNight();
                break;
            case 3:
                Log.e(TAG, "NO");
                AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
                getDelegate().applyDayNight();
                break;
            case 4:
                Log.e(TAG, "AUTO");
                AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_AUTO_BATTERY);
                getDelegate().applyDayNight();
                break;
            default:
                Log.e(TAG, "FOLLLOW_SYSTEM");
                break;
        }

        SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);
        String NightMode = preferences.getString("prefTheme", "NO");
        if (NightMode.equals("YES"))
            AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
        if (NightMode.equals("NO"))
            AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_AUTO_BATTERY);
        else if (NightMode.equals("AUTO"))
            AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_AUTO_BATTERY);
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }
}

Help Multiple Google play developer account termination.

I don't think that posting a plea here for Google to fix this will help at all: we aren't Google, we're just other Android users.

I obviously know nothing about this apart from the few words you have posted. But my first thought is what stories were they pulling from what feeds? If they were pulling from feeds that are spreading disinformation it may be that Google don't accept the argument "the content is nothing to do with me", even if the irony that this is the first excuse of all of the big tech companies, and one Google themselves have used many times, is extremely heavy (hypocrisy in a tech company would be nothing new).

SD Card Help Needed

I had the same problem and i tried and ended up throwing away 3 different sd cards because it was telling me the same thing but was working before in a different phone. I finally got tired of buying sd cards and gave up on it. So if anyone has a solution to this problem that actually works I would love to know what to do.

I had the same problem when I was using cheaper SD cards.

Once I started using SansDisk the problems stopped.

Greyed out photos

I'm having the same problem. I got this phone last year may and started saving my photos taken to the sd card. A few months later within the same year I noticed my pics are grey..some more than others. I would really like some feedback as I've got some really important(to me)stuff on it. And yes, i did back up to the cloud however the same thing happened to the pics in the cloud. Grateful for any assistance.

Attachments

  • 20190826_145548.jpg
    20190826_145548.jpg
    97.1 KB · Views: 175

SQLite to pdf doesnt work

I watched youtube vid for basic example of SQLite to pdf file... but the table was created in the MainActivity instead of the databasehelper. I moved it to the dbhelper class, and the insert data functions work fine, but when I try to create the pdf and display the string in the textView box as well, it crashes...
android studio isn't showing any red for errors and it compiles fine, the mainactivity opens fine, inserting data works fine, its only when I try to create the pdf that it crashes... any help is appreciated!

Here is my mainactivity and dbhelper files:

Code:
import androidx.annotation.RequiresApi;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.graphics.Paint;
import android.graphics.pdf.PdfDocument;
import android.os.Build;
import android.os.Bundle;
import android.os.Environment;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import android.widget.Button;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import static android.Manifest.permission.READ_EXTERNAL_STORAGE;
import static android.Manifest.permission.WRITE_EXTERNAL_STORAGE;

public class MainActivity extends AppCompatActivity {

    mySQLiteDBHandler sqlLiteDBHandler;
    EditText editTextSerialNumberInsert;
    EditText editTextSerialNumberFetch;
    EditText editTextInsert;
    TextView textViewDisplay;
    Button btnInsertUpdate;

    SQLiteDatabase sqLiteDatabase;
    
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        sqlLiteDBHandler = new mySQLiteDBHandler(null,null,null,1);
        ActivityCompat.requestPermissions(this,new String[]{READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE}, PackageManager.PERMISSION_GRANTED);

        sqLiteDatabase = sqlLiteDBHandler.getWritableDatabase();

        editTextSerialNumberInsert = findViewById(R.id.editText1);
        editTextInsert = findViewById(R.id.editText2);
        editTextSerialNumberFetch = findViewById(R.id.editText3);
        textViewDisplay = findViewById(R.id.textView1);
        btnInsertUpdate = findViewById(R.id.btn_insert);
        InsertUpdateData();
    }
    
    public void InsertUpdateData() {
        btnInsertUpdate.setOnClickListener(
                new View.OnClickListener() {
                    @Override
                    public void onClick(View v) {
                        boolean isUpdate = sqlLiteDBHandler.insertUpdateData(editTextSerialNumberInsert.getText().toString(),
                                editTextInsert.getText().toString());
                        if(isUpdate == true)
                            Toast.makeText(MainActivity.this,"Data Updated",Toast.LENGTH_LONG).show();
                        else
                            Toast.makeText(MainActivity.this,"Something went wrong!",Toast.LENGTH_LONG).show();
                    }
                }
        );
    }
    
    @RequiresApi(api = Build.VERSION_CODES.KITKAT)
    public void CreatePDF(View view){
        String query = "Select Text from PDFTable where SerialNumber=" + editTextSerialNumberFetch.getText().toString();
        Cursor cursor = sqLiteDatabase.rawQuery(query,null);
        try{
            cursor.moveToFirst();
            textViewDisplay.setText(cursor.getString(0));
        }
        catch (Exception e){
            e.printStackTrace();
            textViewDisplay.setText("uh-oh..");
            return;
        }

        PdfDocument pdfDocument = new PdfDocument();
        PdfDocument.PageInfo pageInfo = new PdfDocument.PageInfo.Builder(300,600,1).create();
        PdfDocument.Page page = pdfDocument.startPage(pageInfo);

        page.getCanvas().drawText(cursor.getString(0),10,25, new Paint());
        pdfDocument.finishPage(page);

        String filePath = Environment.getExternalStorageDirectory().getPath()+"/Download/"+editTextSerialNumberFetch.getText().toString()+".pdf";
        File file = new File(filePath);

        try {
            pdfDocument.writeTo(new FileOutputStream(file));
        } catch (IOException e) {
            e.printStackTrace();
        }
        pdfDocument.close();
    }
}


AND THIS IS THE mySQLiteDBHandler.java file:

Code:
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import androidx.annotation.Nullable;
import static android.content.ContentValues.*;

public class mySQLiteDBHandler extends SQLiteOpenHelper {
    public static final String DATABASE_NAME = "PDFDatabase.db";
    public static final String TABLE_NAME = "PDFTable";
    public static final String COL_1 = "SerialNumber";
    public static final String COL_2 = "Text";

    public mySQLiteDBHandler(@Nullable Context context, @Nullable String name, @Nullable SQLiteDatabase.CursorFactory factory, int version) {
       super(context, name, factory, 1);
    }
    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL("create table " + TABLE_NAME +" (SERIALNUMBER TEXT,TEXT TEXT)");

    }
    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
    }

    public boolean insertUpdateData(String serialnumber,String text) {
        SQLiteDatabase db = this.getWritableDatabase();
        ContentValues contentValues = new ContentValues();
        contentValues.put(COL_1,serialnumber);
        contentValues.put(COL_2,text);
        db.update(TABLE_NAME, contentValues, "SERIALNUMBER = ?", new String[] {serialnumber});
        return true;
    }
}

Android auto help

I HATE ANDROID AUTO in my new 2020 chevy. I hate having to use a usb cable. All I want to do is take my phone call, make a phone call and be notified of texts. GM got sucked into android auto and apple auto and it sucks. Hell, now my text messages are broadcast load and clear even if I am in a store. What the heck.

Is a HALF-STITCH of Gear360 video possible?

If you watch a Gear360 video before the two fish-eye circle frames are stitched, you realize that it is easier and more enjoyable to watch the front and back views simultaneously rather than rotating the 360 sphere view that results from stitching. I would like to stitch ONLY the left edge of the one circle to the right edge of the right circle creating a flat video showing both front and rear views in the same frame.

I like to put my Gear360 on a selfie stick and walk through a scene. Merging the front and rear camera views of the Gear360 makes for a great way to give the viewer much more information than requiring him/her to rotate the scene in a 360 viewer.

So, is there a way to only stitch half of a two-camera 360 view so I remains a normal video file that does not require a 360 viewer? [GALLERY=media, 377]Half-stitch by NYCPaull posted May 2, 2020 at 10:58 AM[/GALLERY]

Filter

Back
Top Bottom