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

Accessories Included AKG USB-C earbuds - telling Left from Right

It's not very easy, lol.

So, they are marked, just above where the wire enters the earbud, on the inside.

The L is embossed, and the R is engraved.
20190901_114246.jpg 20190901_114654.jpg

However, they are almost impossible to see in poor light.

So the EASY way to tell left from right...

The right has the volume controls on and the left has a little raised dot at it's base that you can easily feel.

It has to be said, from a comfort perspective, I actually prefer the earbuds that come with my older Siii or possibly S5.

Help help with alarm clock ringtone

1st this is on a Alcatel One Touch Fierce 7 phone, model 6062W. I have a saved ringtones on the SD card in the phone but I don't know where to find the dir's for the alarm clock ringtone and the phone's ringtone, when someone calls me. Also I heard about an app that can be prog to say the persons name when the phone rings with that persons number. Is there such an animal?

Steve

I want android tv box to stop usb while in sleep mode

hey guys i have android tv box a95x f1 and I have a little usb fan running under it, but i want the fan to only run when being used, i managed to get it to shut down after a certain period of time but even while it's completely powered off the fan still runs, but before if I manually turned it off the fan would stop, now it doesn't matter how I turn it off the fan keeps running

How do I remove Virgin/Bell Bloatware?

I just switched from Virgin Mobile to Freedom on my Samsung Galaxy S10, and I cannot get rid of the apps that were installed with Virgin, even after I reset the phone to factory settings. I cannot uninstall them AT ALL; I can only "disable" them. They just won't get away! It's driving me mad!

Even after a hard reset, those pesky apps won't go away. I backed up my data, before I attempted to reset my phone, so I'm OK with that.

How do I get rid of these apps, for good? Thanks.

Galaxy S5 video camera resolution adjusting App for low resolution?

I want to do pictures and videos in lower resolution than what is available on my phone. Right now, lowest resolution is 2 MB. I want to do 256K pictures and videos to send to text and email without eating up my bandwidth. I do not have unlimited bandwidth! Plus it is faster !

What is a good App for setting my Galaxy S5 phone's camera/video camera's resolution to 256K ? Free would be nice but i can fork out A FEW BUCKS FOR A GOOD App!

Thanks!

Webview; Camera not responding

Creating simple webview where camera is used. All camera works outside of webview. Just looking for some direction here - my eyes are bleeding after a few hours at looking at this. Event log shows no errors and gradle build finishes in 3s. Logcat only shows a memtrack error "couldn't load memtrack module" - which I believe is related to type emulator used.

Looking for some insight

My activity xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"

tools:context="com.app.cameratest_java.MainActivity">

<WebView
android:id="@+id/webview"
android:layout_width="match_parent"
android:layout_height="match_parent" />

</RelativeLayout>

MainActivity java
package com.app.cameratest_java;

import android.Manifest;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import android.webkit.PermissionRequest;
import android.webkit.WebChromeClient;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.provider.Settings;

public class MainActivity extends AppCompatActivity {
private WebView webView;
private static final String TAG;

static {
TAG = "MainActivity";
}
public static final int MY_PERMISSIONS_REQUEST_CAMERA = 100;
public static final String ALLOW_KEY = "ALLOWED";
public static final String CAMERA_PREF = "camera_pref";


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

if (ContextCompat.checkSelfPermission(this, Manifest.permission.CAMERA) != PackageManager.PERMISSION_GRANTED) {
if (getFromPref(this, ALLOW_KEY)) {
showSettingsAlert();
} else if (ContextCompat.checkSelfPermission(this,
Manifest.permission.CAMERA)

!= PackageManager.PERMISSION_GRANTED) {

// Should we show an explanation?
if (ActivityCompat.shouldShowRequestPermissionRationale(this,
Manifest.permission.CAMERA)) {
showAlert();
} else {
// No explanation needed, we can request the permission.
ActivityCompat.requestPermissions(this,
new String[]{Manifest.permission.CAMERA},
MY_PERMISSIONS_REQUEST_CAMERA);
}
}
} else {
openCamera();
}
webView = (WebView) findViewById(R.id.webview);
webView.setWebViewClient(new WebViewClient());

webView.loadUrl("https://yadayada_html?appid=e780e85949a2499a9acd3236a756344e");

WebSettings webSettings = webView.getSettings();
webSettings.setJavaScriptEnabled(true);


webView.setWebChromeClient(new WebChromeClient() {

@Override
public void onPermissionRequest(PermissionRequest request) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
request.grant(request.getResources());

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
int hasCameraPermission = checkSelfPermission(Manifest.permission.CAMERA);
Log.d(TAG, "has camera permission: " + hasCameraPermission);
int hasRecordPermission = checkSelfPermission(Manifest.permission.RECORD_AUDIO);
Log.d(TAG, "has record permission: " + hasRecordPermission);
int hasAudioPermission = checkSelfPermission(Manifest.permission.MODIFY_AUDIO_SETTINGS);
Log.d(TAG, "has audio permission: " + hasAudioPermission);
List<String> permissions = new ArrayList<>();
if (hasCameraPermission != PackageManager.PERMISSION_GRANTED) {
permissions.add(Manifest.permission.CAMERA);
}
if (!permissions.isEmpty()) {
requestPermissions(permissions.toArray(new String[permissions.size()]),111);

}
}
}
}
});
}

public static void saveToPreferences(Context context, String key, Boolean allowed) {
SharedPreferences myPrefs = context.getSharedPreferences(CAMERA_PREF,
Context.MODE_PRIVATE);
SharedPreferences.Editor prefsEditor = myPrefs.edit();
prefsEditor.putBoolean(key, allowed);
prefsEditor.commit();
}

public static Boolean getFromPref(Context context, String key) {
SharedPreferences myPrefs = context.getSharedPreferences(CAMERA_PREF,
Context.MODE_PRIVATE);
return (myPrefs.getBoolean(key, false));
}

private void showAlert() {
AlertDialog alertDialog = new AlertDialog.Builder(MainActivity.this).create();
alertDialog.setTitle("Alert");
alertDialog.setMessage("App needs to access the Camera.");

alertDialog.setButton(AlertDialog.BUTTON_NEGATIVE, "DONT ALLOW",
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
dialog.dismiss();
finish();
}
});

alertDialog.setButton(AlertDialog.BUTTON_POSITIVE, "ALLOW",
new DialogInterface.OnClickListener() {

public void onClick(DialogInterface dialog, int which) {
dialog.dismiss();
ActivityCompat.requestPermissions(MainActivity.this,
new String[]{Manifest.permission.CAMERA},
MY_PERMISSIONS_REQUEST_CAMERA);
}
});
alertDialog.show();
}

private void showSettingsAlert() {
AlertDialog alertDialog = new AlertDialog.Builder(MainActivity.this).create();
alertDialog.setTitle("Alert");
alertDialog.setMessage("App needs to access the Camera.");

alertDialog.setButton(AlertDialog.BUTTON_NEGATIVE, "DONT ALLOW",
new DialogInterface.OnClickListener() {

public void onClick(DialogInterface dialog, int which) {
dialog.dismiss();
//finish();
}
});

alertDialog.setButton(AlertDialog.BUTTON_POSITIVE, "SETTINGS",
new DialogInterface.OnClickListener() {

public void onClick(DialogInterface dialog, int which) {
dialog.dismiss();
startInstalledAppDetailsActivity(MainActivity.this);
}
});

alertDialog.show();
}

@Override
public void onRequestPermissionsResult(int requestCode, String permissions[], int[] grantResults) {
switch (requestCode) {
case MY_PERMISSIONS_REQUEST_CAMERA: {
for (int i = 0, len = permissions.length; i < len; i++) {
String permission = permissions;

if (grantResults == PackageManager.PERMISSION_DENIED) {
boolean
showRationale =
ActivityCompat.shouldShowRequestPermissionRationale(
this, permission);

if (showRationale) {
showAlert();
} else if (!showRationale) {
// user denied flagging NEVER ASK AGAIN
// you can either enable some fall back,
// disable features of your app
// or open another dialog explaining
// again the permission and directing to
// the app setting
saveToPreferences(MainActivity.this, ALLOW_KEY, true);
}
}
}
}

// other 'case' lines to check for other
// permissions this app might request
}
}

@Override
protected void onResume() {
super.onResume();
}

public static void startInstalledAppDetailsActivity(final Activity context) {
if (context == null) {
return;
}

final Intent i = new Intent();
i.setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
i.addCategory(Intent.CATEGORY_DEFAULT);
i.setData(Uri.parse("package:" + context.getPackageName()));
i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
i.addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);
i.addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
context.startActivity(i);
}

private void openCamera() {
Intent intent = new Intent("android.media.action.IMAGE_CAPTURE");
startActivity(intent);
}



@Override
public void onBackPressed(){
if (webView.canGoBack()) {
webView.goBack();
} else {
super.onBackPressed();
}
}
}


Manifest xml

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.app.cameratest_java">

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.permission.LOCATION_HARDWARE"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/>


<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>

</manifest>

Help Best ROM or way to remove Google tracking

I got a Samsung Galaxy Tab S4 (SM-T830) and I want to increase its privacy.

I would prefer to install LineagoOS on it but I cannot find a ROM that is compatible with my device. I would consider another ROM that is compatible with the device as long that is does not install or require GAPPs.

What can one do to remove Google apps and spyware from a Tab S4 and make the device a "privacy friendly device?"

Help Unsure what this issue is called

Hey all, unfortunately I don't know what this problem is called, so I was unsure how to search for it.

But it's basically when I partially touch the screen (example, if my thumb just barely touches the edge of the screen,) and then with my other hand try to tap on another area of the screen, the tap does not register.

Maybe its a common "problem" since it doesn't seem to be specific to any phone, I've run into it on Galaxy phones, iPhones, Pixel and now the Note10 (its a little more prominent on the note because of the curved edges.)

I dunno, hopefully this post makes sense.. lol.

Internal Mem Opt Zone 3

Im having memory issues. I can generally free up 2gig of Internal mem by clearing out the cache and browser cache.

In the last week however. With the caches emptied I cannot get above 1.3 free. So whats up with the 700meg I cant find. Any suggestions. Is there another area in the phone thats a memory hog that I can delete temp files that are taking up space.

Help Different notification sounds for each app?

Is there a way to set different apps to use different Notification sounds?

I have a Galaxy S6 with Android 7.0. And I keep getting notification sounds with no way of knowing which app is alerting me (even after sweeping down from the top of the screen.)

It would be great if I could set a different notification sound for every app so I'd know who/what was trying to reach me simply by the sound (the way I do with different ringtones.)

If this feature does not already exist, it should.

can I add my google account without frp lock?

So I've rooted my phone (samsung galaxy core prime) but if I add a google account, and if I turn off my phone it trips the frp lock. "custom binary blocked by frp lock".

The only way to fix this is to flash the original firmware back on to the phone, which I did and then started the process of rooting again, except this time I haven't added my google account to be safe.

is there any way to add a google account without also turning frp lock on? Thanks.

How to populate database records in spinner

I am using web service. I have a student application. The API returns JSON array containing student Id, FirstName, LastName and Class. In Update section I want that In spinner Students FirstName and LastName must be displayed. When the user selects any student then user should be able to update the fields as required. So how should I display database records in spinner

Code:
public class UpdateActivity extends AppCompatActivity {
        Spinner spinner;
        ArrayAdapter adapter1;
    String url1="http://192.168.1.6/student/web/studentrecords";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate ( savedInstanceState );
        setContentView ( R.layout.activity_update );
        spinner = (Spinner) findViewById ( R.id.spinner1 );
    }
}

Filter

Back
Top Bottom