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

Always Have to Press Left Arrow to Go to Home Screen?

I'm new at this. I just bought a Cat S31 and upgraded the OS to 8.1. I find it really annoying that I have to press the left arrow button every time I want to go back to the home screen.
I posted a question on a Google forum and they said to contact the manufacturer. I did, and they stupidly told me to do a hard reset. I know it wouldn't work, and it didn't. It deleted everything, of course.
I called back and they said that pressing the left arrow button is the only way.

Any thoughts? Is this about the OS or the device?

can't add a weather clock widget to the home screen

ok, so i found my old HTC Desire 510 and decided to mess with it a little bit. So i did a factory reset everything works fine, but now for some reason i can't add a weather clock widget to the home screen or any other panel next to it. It's weird, some widgets can be added with no problem, while others (including the weather clock widget) can't. And yes, i have enough room on the home screen. So what happens is i drag the widget to the home screen (or any other panel) and it shows the "choose your location" screen, so i choose my city and it closes as if everything was done successfully, but there's still nothing on the home screen (the widget doesn't appear). Any ideas?

Incompatibility with Chrome and windows mail

When I open a link in windows mail with Chrome the Chrome icon in the task bar flashes in order for me to tap on it to open the link this is not a typical our usual edge does not do this neither does fire fox is the problem with mail or is it with Chrome I have tried switching default browsers in uninstalling and reinstalling and also resetting each thank you for your cooperation

Can I transfer my email SENT (POP3) folder from old Samsung S7 to new Samsung S20?

I have a situation here, which I am hoping to find a solution for. My carrier is AT&T and I still use POP3 for my email, and my provider is Verizon. My old Samsung S7 has about 3,200 emails downloaded in the Inbox, and my Sent folder has about 500 emails.

I used Samsung’s Smart Switch, and everything was copied, except the above. Again, since this is POP3, and these emails are actually on the phone (not on the IMAP / cloud) I am hoping that there is some way to Export these manually (or via paid software) and get them imported into my Samsung S20.

The crazy thing is that at least 1,200 of the current Inbox emails are still on the Verizon server (from where I download my POP3), but the S20 will not download more than the last 150 on there. I have the setting to limit my emails to 10,000 on it– so I don’t understand why it doesn’t even grab these 1,200.

Any advice is very much appreciated! If it makes any difference, both phones are completely unlocked.

Cant find or remove file

I have a file that only appears in the download directory when posting to a forum or such. Its in the top download selection menu. I have used search programs like sd maid and it cant find the file. It must be in the emulated directory but not accessible. Dont really want to root the phone. Is there a way or program to access the file.[GALLERY=media, 748]Screenshot_20200712-110938_Files by ennisdavis posted Jul 16, 2020 at 8:30 PM[/GALLERY]

Attachments

  • Screenshot_20200712-110938_Files.jpg
    Screenshot_20200712-110938_Files.jpg
    94.5 KB · Views: 287

Apps Possible function for an app?

I'm looking to design an app that will run in the background that will monitor another app so it can pull a name from and absolutely no other information.

What it will be monitoring from the other app is a couple of things.

1) It will listen for a sound from the app it is monitoring.
2) Once the user has clicked an "Accept" button, the app will display a name. That name is what I need to be "copied" and pasted in my app for display.

Unfortunately that is as much information as I can divulge without having an NDA signed. I hope it's enough to get and understanding of what I'm trying to do, or at least to know if that part of it is possible.

Please ask any other questions if you may have and I'll do my best to answer it without going into the realm of requiring an NDA.

Thanks ahead of time!

Whoever said size doesn't matter?! :o

Last week I bought a new phone. There was nothing wrong with the old one, but based on how I now use my phone, I felt that having a larger screen would be nice. It is!

The new phone, a Motorola One Hyper, has a full inch on the old one, a Moto Z² Force--and it's all-screen, so the difference is dramatic. Look at these comparison shots:

Old:

JoyNoelle_desktop_normal_090419.jpg


New:

JoyNoelle_desktop_normal_071620.jpg


Old:

JoyNoelle_Whistle_110919.jpg


New:

JoyNoelle_Whistle_071620.jpg


So who's the Einstein that said size doesn't matter?! :o

Why does the app code generate an empty contact?

Hello, I'm new here.
The code below retrieves the user's contacts and displays them. However, it seems to also generate an empty contact. It should not generate or retrieve any empty contacts. Why does it generate the empty contact and how do I fix this issue?

The code has been tested in Android Studio using a Pixel in the Emulator. The Emulator does not generate the empty contact. We have tested the code on Galaxy physical hardware and an empty contact is present.

Any help is welcomed.

public class AddContactsActivity extends BaseAppCompatActivity {

private static final String TAG = "AddContactsActivity";

private IndexFastScrollRecyclerView recyclerContacts;
private ContactsAdapter mAdapter;
private EditText mEditSearch;
private TextView mTxtCancel;
private ArrayList<ContactInfo> mAllContacts = new ArrayList<>();

private Toolbar mToolbar;

public static void startActivity(Context context, boolean fromNewUser) {
Intent intent = new Intent(context, AddContactsActivity.class);
intent.putExtra("NewUser", fromNewUser);
context.startActivity(intent);
}

public static void startActivityForResult(Activity activity, int requestCode) {
Intent intent = new Intent(activity, AddContactsActivity.class);
intent.putExtra("NewUser", false);
activity.startActivityForResult(intent, requestCode);
}

@override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_add_contacts);

mToolbar = (Toolbar) findViewById(R.id.toolbar);
setSupportActionBar(mToolbar);
// if (!getIntent().getExtras().getBoolean("NewUser")) {
getSupportActionBar().setHomeAsUpIndicator(R.drawable.ic_back);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
// }

mEditSearch = (EditText) findViewById(R.id.search_bar);
mTxtCancel = (TextView) findViewById(R.id.txt_cancel);
mEditSearch.addTextChangedListener(new TextWatcher() {
@override
public void beforeTextChanged(CharSequence s, int start, int count, int after) {
}

@override
public void onTextChanged(CharSequence s, int start, int before, int count) {
filterContacts(s);
}

@override
public void afterTextChanged(Editable s) {

}
});

mEditSearch.setOnFocusChangeListener(new View.OnFocusChangeListener() {
@override
public void onFocusChange(View v, boolean hasFocus) {
if (hasFocus) {
mTxtCancel.setVisibility(View.VISIBLE);
}
}
});

mTxtCancel.setOnClickListener(new View.OnClickListener() {
@override
public void onClick(View v) {
mEditSearch.setText("");
hideSoftKeyboard();
mEditSearch.clearFocus();
mTxtCancel.setVisibility(View.GONE);
}
});

recyclerContacts = (IndexFastScrollRecyclerView) findViewById(R.id.contact_recycler);
//recyclerContacts.setIndexTextSize(12);
recyclerContacts.setIndexBarTextColor(String.format("#%X", ContextCompat.getColor(this, R.color.mainColor)));
recyclerContacts.setIndexBarColor(String.format("#%X", ContextCompat.getColor(this, R.color.white)));
recyclerContacts.setIndexbarMargin(0);
recyclerContacts.setHasFixedSize(true);
RecyclerView.LayoutManager layoutManager = new LinearLayoutManager(this, LinearLayoutManager.VERTICAL, false);
recyclerContacts.setLayoutManager(layoutManager);
recyclerContacts.setItemAnimator(new DefaultItemAnimator());

// recyclerContacts.addOnItemTouchListener(new RecyclerView.OnItemTouchListener() {
// @override
// public boolean onInterceptTouchEvent(@NonNull RecyclerView rv, @NonNull MotionEvent e) {
// return false;
// }
//
// @override
// public void onTouchEvent(@NonNull RecyclerView rv, @NonNull MotionEvent e) {
//
// }
//
// @override
// public void onRequestDisallowInterceptTouchEvent(boolean disallowIntercept) {
//
// }
// });
// recyclerContacts.addOnItemTouchListener(
// new RecyclerItemClickListener(this, recyclerContacts, new RecyclerItemClickListener.OnItemClickListener() {
//
// @override
// public void onItemClick(View view, int position) {
// int number = mAdapter.getSelectedCount();
// boolean retValue = mAdapter.onClickItem(position);
// if (!retValue) {
// if (number >= 5) {
// showErrorDialog("No more than 5 contacts can be added.");
// }
// }
// Log.d(TAG, String.valueOf(position));
// }
//
// @override
// public void onLongItemClick(View view, int position) {
// Log.d(TAG, String.valueOf(position));
// }
// })
// );

checkAndAskPermission(Manifest.permission.READ_CONTACTS, LegalEqualizerApp.READ_CONTACTS_REQUEST_CODE, permissionDelegate);
}

private void contactClickHandler(int pos) {
int number = mAdapter.getSelectedCount();
boolean retValue = mAdapter.onClickItem(pos);
if (!retValue) {
if (number >= 5) {
showErrorDialog("No more than 5 contacts can be added.");
}
}
Log.d(TAG, String.valueOf(pos));
}

private void filterContacts(CharSequence filter) {

if (filter.length() > 0) {
ArrayList<ContactInfo> contacts = new ArrayList<>();
for (int i = 0; i < mAllContacts.size(); i++) {
String name = mAllContacts.get(i).name.toLowerCase();
if (name.contains(filter.toString().toLowerCase())) {
contacts.add(mAllContacts.get(i));
}
}
mAdapter = new ContactsAdapter(contacts, mAdapter.getSelectedContacts());
mAdapter.setOnContactItemListener(new ContactsAdapter.OnContactListItemActionInterface() {
@override
public void onContactItemClicked(int position) {
contactClickHandler(position);
}
});
recyclerContacts.setAdapter(mAdapter);
} else {
mAdapter = new ContactsAdapter(mAllContacts, mAdapter.getSelectedContacts());
mAdapter.setOnContactItemListener(new ContactsAdapter.OnContactListItemActionInterface() {
@override
public void onContactItemClicked(int position) {
contactClickHandler(position);
}
});
recyclerContacts.setAdapter(mAdapter);
}
}

private Delegate.PermissionDelegate permissionDelegate = new Delegate.PermissionDelegate() {
@override
public void granted(int requestCode) {
super.granted(requestCode);
mAllContacts = getAllContacts();
mAdapter = new ContactsAdapter(mAllContacts, null);
mAdapter.setOnContactItemListener(new ContactsAdapter.OnContactListItemActionInterface() {
@override
public void onContactItemClicked(int position) {
contactClickHandler(position);
}
});
recyclerContacts.setAdapter(mAdapter);
}

@override
public void denied(int requestCode) {
super.denied(requestCode);
showDialog(getString(R.string.title_permission), getString(R.string.permission_contact));
}
};

private ArrayList<ContactInfo> getAllContacts() {

showProgress(getString(R.string.please_wait));

List<String> contacts = loadLegalContacts();

ArrayList<ContactInfo> allContacts = new ArrayList<>();

Cursor phones = getContentResolver().query(ContactsContract.CommonDataKinds.Phone.CONTENT_URI, null, null, null, ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME + " ASC");

while (phones.moveToNext()) {
String id = phones.getString(phones.getColumnIndex(ContactsContract.CommonDataKinds.Phone.CONTACT_ID));
String name = phones.getString(phones.getColumnIndex(ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME));
String phoneNumber = phones.getString(phones.getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER));
if (phoneNumber != null) {
phoneNumber = phoneNumber.replace("(", "");
phoneNumber = phoneNumber.replace(")", "");
phoneNumber = phoneNumber.replace("-", "");
phoneNumber = phoneNumber.replace(" ", "");
phoneNumber = phoneNumber.replace("+", "");
}
ContactInfo info;
if (contacts.contains(id)) {
info = new ContactInfo(id, name, phoneNumber, true);
} else {
info = new ContactInfo(id, name, phoneNumber);
}
boolean isNew = true;
for (int i = 0; i < allContacts.size(); i++) {
if (TextUtils.equals(allContacts.get(i).name, name)) {
isNew = false;
break;
}
}

if (isNew) {
allContacts.add(info);
}
}
phones.close();

hideProgress();

return allContacts;
}

@override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.done, menu);
return super.onCreateOptionsMenu(menu);
}

@override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home:
if (getIntent().getExtras().getBoolean("NewUser")) {
showConfirmDialog(getString(R.string.setting_item_signout), getString(R.string.message_signout), new Delegate.DialogDelegate() {
@override
public void complete(int result) {
super.complete(result);
if (result == RESULT_OK) {
FirebaseManager.signOut();
//MainActivity.startActivity(SettingsActivity.this);
finish();
}
}
});
} else {
finish();
}
break;
case R.id.done:
if (saveLegalContacts()) {
if (getIntent().getExtras().getBoolean("NewUser")) {
Home2Activity.startActivity(AddContactsActivity.this);
} else {
setResult(RESULT_OK);
}
finish();
}
break;
}
return super.onOptionsItemSelected(item);
}

@override
public void onBackPressed() {
if (getIntent().getExtras().getBoolean("NewUser")) {
showConfirmDialog(getString(R.string.setting_item_signout), getString(R.string.message_signout), new Delegate.DialogDelegate() {
@override
public void complete(int result) {
super.complete(result);
if (result == RESULT_OK) {
FirebaseManager.signOut();
finish();
}
}
});
} else {
super.onBackPressed();
}
}

private boolean saveLegalContacts() {
if (mAllContacts.size() > 0) {
List<String> contacts = mAdapter.getSelectedContacts();
if (contacts == null || contacts.size() == 0) {
showErrorDialog(getString(R.string.error_no_contacts));
return false;
} else {
Set<String> set = new HashSet<>();
set.addAll(mAdapter.getSelectedContacts());
return SharedPrefUtil.getInstance().saveStringSet("LegalContacts", set);
}
} else {
return true;
}
}

private List<String> loadLegalContacts() {
List<String> contacts = new ArrayList<>();
Set<String> set = SharedPrefUtil.getInstance().getStringSet("LegalContacts");
if (set != null) {
contacts.addAll(set);
}

return contacts;
}

}

possible Spyware found

hey guys i download a app but didn't get what I thought I was getting, what I was trying to get was apk pure but but it ended up being apk file Manager i got some pictures of some further Information, also i was getting random game apps being installed Tha wasn't done by me, i really hope this is just adaware and not spyware

Asking / requesting OnePlus (from 3 - up models) info gift for my son... PLEASE

Hello, i am looking for somebody kind, to help me make a gift to my son.
It is about that promotion / collaboration between Fortnite and OnePlus.
On this website.. oneplus . c o m / uk / fortnite / emote ( without any spaces ) if you own and verify your phone via IMEI and PCB code, it generates a unique code (a funny indian dance) to be used inside the Fortnite game.
So if someone own a OnePlus phone and doesn't play Fortnite, please help make my son happy by gifting him a code.. PLEASE
You are informed better than I am, and you can check any info about this on OnePlus website or all over the internet talking about this

pm. please
Thankyou in advance for your kindness.

Android Auto Astra 16 plate

Hello anyone had problems with Android Auto working intemittetly ??
I havea 16 plate Astra and galaxy S8

I can get it work no problem, but only on occasions.

Changed leads about 5 times, but same issue, sometimes works prefeectly, but then maybe wont work for a couple days, then works again.
Unit recognises phone being plugged in every time but doesn't change over to Android Auto, remains on projection.

Any advice appreciated

Changing phone number on Whatsapp

OK
My situation is - I own two mobile number, and I used number A to register whatsapp and used it. I then changed to number B because I needed to
contact someone on whatsapp but I don't want him to know my number A.
He has my number B only

But he has not sent me even one line of message on Whatsapp yet,
if I now change the number back to number A, would he still be able to send
me message on Whatsapp? or would he able to find out my number A?

I hope you guy understand my situation. Thanks a lot

Filter

Back
Top Bottom