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

Help Mac not holding onto Bluetooth connection from my OnePlus6

Been using a MacBook Pro for 5 years with no Bluetooth problems whatsoever.
Changed the Mac two days ago for a 2019 Macbook Pro.
The Mac can see my OnePlus6 and occasionally the OnePlus can see the Mac but the connection only lasts a second or two before it drops it.
I've done everything possible in the Mac and also cleared all the cache on the OnePlus.
Anybody got any suggestions?

Good/healthy way to charge the phone?

I'm happy to tell that I just ordered a Mi 9t! My first Snapdragon 700 series phone! Because it's brand new I'm very sensitive for it and I want to "baby"(very careful) it. So I wonder what is a good way to charge a phone without damaging it a bit, like should I completely turn it off(holding power button and select off)? Or is it fine that only the screen is off and charge it? I read that you shouldn't make it reach it 100% and 0% because it will damage the battery is it true though?

Use tablet as handsfree for any Android Phone

Hello there,
I would like some suggestions for a project. I have a car with a cassette radio. I want to install a tablet in the car as a head unit. Sound from the tablet will go into a "aux in cassette" that will be permanently inside the tape deck. What I am missing in this entire scenario is... an app that will allow me to connect my phone (android) via BT to the tablet and make/answer calls from the tablet. I will use the 3.5jack for microphone and audio (that will go into the cassette). I tested with "TabletTalk" but I can't seem to get the sound to move from the phone. Besides you need the app on both devices. Also Tethering went through my mind (via OTG) but that would mean the phone is getting charged and .. I kinda wanna keep my battery healthy.

Does anyone know how to use a tablet as a handsfree? (Mr Google does not give me a good answer)
If you need more info I am happy to give.
Thank you for the time.

[Game][Free] Trick Colors 2

Hi,
We made a simple casual puzzle game. All you have to do is tap any one of the boxes colored red, blue and green. If the word reads blue, tap the blue box or if the color of the word is red, tap the red box.
View attachment 144605 View attachment 144606 View attachment 144607
Our friends tried it out and they loved it(maybe they wanted us to be happy) but we need some outside thoughts . We would appreciate it if you could check it out and show it to your friends and tell us what you really think.
Thank you.
Here's the link
https://play.google.com/store/apps/details?id=com.trickcolors2.rodio

Help Galaxy j3 2016 keeps restarting

Phone was working fine so I tried to root it it said I was rooted then I restarted the phone and now it's stuck in a restarting loop that's all it will do . The only other thing it will let me do is go to recovery mode so I tried factory reset and it didn't work. I tried wiping the cache and that didn't work I don't know what else to do hoping for some advice.

Oven cleaning made less toxic

I had to use Easy Off for now. Man, that stuff is strong. I had to go outside for a while. Even with repeated spraying, I couldn't get rid of all the crud. I finally resorted to Soft Scrub with bleach and a razor blade. That at least got most. Then there were the racks. They're a lot cleaner now, but there's still some left. What do I try next?

Help Moto G5s wont start after battery gone flat

If your Moto G5s goes flat there isn't enough charge to boot phone. The phone will boot then shut down & you cant charge it.

To fix
1 Plug in USB charger
2 Hold Vol- ( lower volume button) & power button for 10 seconds or so
3 Now you should boot into Command prompt recover mode. ( see pic of Android bot with his panel open & text beneath him,
4 Look at text. Look for line that states Battery ok (charging) if this is green then phone is charging.
5 Wait 30 minutes or so, you should by now have at-least 10% charge in phone. ( wont show until you start phone)
6 select with volume control buttons option on right near buttons for power & volume, the option Start.

Now phone should boot.

7 leave on charger until phone charged

sqliteOpenHelper...Unique combination of columns?

Hello.

I'm looking for some direction on creating a table that has uses UNIQUE constraints. When adding new rows to my database, I want to make sure I don't add a duplicate value. However, I need to check that the combination of two columns is unique.

for example the column names are as follows.

Code:
KEY_RECORD     KEY_FILE     KEY_TIME     KEY_TEMP     KEY_CONC

KEY_RECORD will repeat over 7 rows, with a the KEY_FILE iterating 1-7 such as

Code:
KEY_RECORD     KEY_FILE     KEY_TIME     KEY_TEMP     KEY_CONC
0001              1
0001              2
...
0001              7
0002              1
0002              2
....

currently I'm creating my DB using sqliteOpenHelper. I do the following.

Java:
private static final String TABLE_CREATE = "CREATE TABLE " + TABLE_RECORDS + "(" + KEY_ID + " INTEGER PRIMARY KEY," + KEY_RECORD + " TEXT," + KEY_FILE + " TEXT," + KEY_TIME + " TEXT," + KEY_TEMP + " TEXT," + KEY_CONC + " TEXT" + " )";

...

@Override
public void onCreate (SQLiteDatabase db)
{

    db.execSQL(TABLE_CREATE);
    db.close();
}

I know if I add the keyword UNIQUE I can make any of the columns unique.

Java:
private static final String TABLE_CREATE = "CREATE TABLE " + TABLE_RECORDS + "(... + " TEXT UNIQUE," + KEY_FILE + ..." + " )"

But how do I do it so that a combination of the two columns must be unique in order to add.

Message from the developers

Hi,

We created this forum to get unique views from you.
Trick Colors 2 is a casual puzzle game developed by Rodio studios (just two people).
Our friends who have tried out the game really liked it(but....). So can you check the game out and give your thoughts on it ?
We would appreciate it if you can.
Thanks a lot.

Here's the link to the game
https://play.google.com/store/apps/details?id=com.trickcolors2.rodio


Here's the link to the trailer

Attachments

  • Screenshot_20190910-222839.png
    Screenshot_20190910-222839.png
    40.1 KB · Views: 75
  • Screenshot_20190910-222805.png
    Screenshot_20190910-222805.png
    38.2 KB · Views: 72

Jetaudio problem with GPS

Hello,

I have the jetaudio + 9.9.0 for android on my Samsung s8 which give entire satisfaction except 1 thing

I start the music and that's work very fine but when i start a gps program at the same time with sound like ( google map, waze , tom tom , mazda gps car ) i have the sound also but when the message is finished the sound does not come back to the jetaudio player

I cannot have the 2 sound together working ( 1 after the other )

Is this something that we can solve in the settings (so many settings ) ,am i the only one, a known bug ?

Many thanks for your help

Sequence of the program running

I am running a fragment that as you switch to it, it queries a MySQL database and populates a spinner.
On choosing an item in the spinner and then pressing a button, I want it to again query the database and extract info corresponding to the item selected.
However, it seems to complete all the steps in the setOnClickListener method first before it returns the results from the query, whose call is also included in the setOnClickListener method.

Below is my method, as well as the code that does the querying of the database.

This is in the onCreateView method and does the initial retrieving of records to populate the spinner.
Code:
if (getUserVisibleHint()) {
    GetTrainingVideosMySql getTrainingVideosMySql = new GetTrainingVideosMySql();
    getTrainingVideosMySql.execute("");
}

This following code also in the oncreateView method, and is when an item has been selected in the spinner, and now the button has been pressed. The objective is to again query the database, set the class string called fileUrl, and then use this fileUrl in vw.setVideoPath(fileUrl):
Code:
btnFetch.setOnClickListener(new View.OnClickListener() {
    @Override
    public void onClick(View view) {
        fileUrl = "";
        GetVideoUrlMySql getVideoUrl = new GetVideoUrlMySql();
        getVideoUrl.execute("");
        vw.setVideoPath(fileUrl);
        vw.start();
    }
});

Below is the method that does the extracting of the information required of the database:
Code:
private class GetVideoUrlMySql extends AsyncTask<String, Void, String> {
    String fileLocation = "";
    @Override
    protected void onPreExecute() {
        super.onPreExecute();
    }

    @Override
    protected String doInBackground(String... params) {
        try {
            Class.forName("com.mysql.jdbc.Driver");
            Connection con = DriverManager.getConnection(url, user, pass);

            Statement st = con.createStatement();
            ResultSet rs = st.executeQuery("SELECT url FROM training.training_videos WHERE id = 1");
            ResultSetMetaData rsmd = rs.getMetaData();

            while (rs.next()) {
                fileLocation = rs.getString(1).toString() + "\n";
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
        return fileLocation;
    }

    @Override
    protected void onPostExecute(String result) {
        fileUrl = fileLocation;
    }

The sequence that I would expect the program flow to take when the button is pressed, is first to get the file URL because of the statement getTrainingVideosMySql.execute(""), which sets fileUrl, then use this fileUrl string as the video required.
Instead, it responds to the button click and runs the method setOnClickListener.
It first sets fileUrl to an empty string, then goes to "protected void onPreExecute()" in "private class GetVideoUrlMySql", then sets the video url to this empty string, tries to start the video, then the doInBackground method, then the onPostExecute method.

I need the onPostExecute method to complete and then set this fileUrl to the video needed before trying to start the video.

Sorry if all confusing how I've explained it.

Help Radio Band Changed while trip abroad

Hi,

my girlfriend runs an German Sony Xperia X Compact on Android 8.0.0.

She traveled for three months in the US and now her phone worked well until it suddenly stoped. Now its stuck on "radio band USA" (A guy at a reapair shop found that out with using *#*#4636#*#*) and she can't get back to the German network.

I tried the factory reset already but that didn't solve the problem.

Is there any other way?

I realy appreciate any help.

Cheers,
Julian

outgoing message sound

I have a new MOTOROLA G6 running pie9 software, outgoing message sound is a very low single beep meaning you need to look at screen for message sent. Using default message app, tried whatsapp and no change contacted Motorola support no resolution. Other forums report same issue phone reviews do not mention problem.

robsie:(

Kyocera Dura Force Pro 2 Bugs

So I'm a long time Kyocera Dura Force user. Love the phone but bought a new one in March from Verizon. Initially it was great then came the shove down your throat updates. Now my phone rings twice over itself, volume turns itself down, if I miss a call display shows I missed 2 calls from the same caller at the same time. Got replacement phone that does the same thing. Verizon tier 3 support duplicated the issue on their same phone. I constantly miss calls because volume turns itself down on ringer and text notifications. Verizon says software update issues since their phone did it too. Kyocera says nothing wrong. I sent my phone in with a video showing the problems, but nothing is wrong they say... Anyone elses Dura Force Pro 2 doing this?

Filter

Back
Top Bottom