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

New App: Cash Piggy

Hello everyone!

We've just launched Cash Piggy! It's a fun game where you can actually redeem game coins for real money! This is the perfect hipercasual game to play when you're bored on a queue, or waiting someone, and people can actually get some easy money from it!

It's currently released as a testing version, and has over 100 downloads. We're looking for more testers to join this early stage App so we can get as much feedback as possible before the big release!


Download from Google Play
https://play.google.com/store/apps/...g.games.makemoney.app.real.cash.piggybank_new

Phone locks up. UGH!

Out of the blue, my phone recently started locking up, just freezing, everything stops--even the clock. Sometimes, long-pressing the power button for awhile will bring it back to life, but I usually end up having to reboot it....which is something I'm not used to. :o

It's my Motorola One Hyper running Android 11; its most recent security patch is dated May 1, 2021. IIRC, that's around the time this locking-up thing started, but I could be wrong.

Any ideas? I barely use the phone these days--I'm on a nice, big laptop with a 17.3" screen and a full-sized keyboard all day--so it's not a huge problem, but when I *do* need to do something, and it's frozen, it's pretty annoying.

Contacts NOT on Whatsapp - Android

In the following code fragment, a contact list is retrieved which has the ACCOUNT_TYPE="com.whatsapp".

Cursor c = getContentResolver().query(
ContactsContract.RawContacts.CONTENT_URI,
new String[]{ContactsContract.RawContacts.CONTACT_ID,
ContactsContract.RawContacts.DISPLAY_NAME_PRIMARY},
ContactsContract.RawContacts.ACCOUNT_TYPE + "= ?",
new String[]{"com.whatsapp"},
"display_name ASC");

From experimenting with code, I have found that ACCOUNT_TYPE can be several things at once. eg. it can be equal to "com.whatsapp" and "com.google".

When I run a the method c.getCount() on the above cursor, I get 956 contacts. While the same command returns 1305 for "com.google", which is the total number of contacts on the device. All of the contacts are Google contacts while 956 of them are Whatsapp contacts.

I am trying to get the contacts on the device which are NOT Whatsapp contacts. I tried the following:

Cursor c = getContentResolver().query(
ContactsContract.RawContacts.CONTENT_URI,
new String[]{ContactsContract.RawContacts.CONTACT_ID,
ContactsContract.RawContacts.DISPLAY_NAME_PRIMARY},
ContactsContract.RawContacts.ACCOUNT_TYPE + "!= ?",
new String[]{"com.whatsapp"},
"display_name ASC");

Note : != instead of =

This did NOT work.

I tried:

Cursor c = getContentResolver().query(
ContactsContract.RawContacts.CONTENT_URI,
new String[]{ContactsContract.RawContacts.CONTACT_ID,
ContactsContract.RawContacts.DISPLAY_NAME_PRIMARY},
ContactsContract.RawContacts.ACCOUNT_TYPE + "!= ? and " +
ContactsContract.RawContacts.ACCOUNT_TYPE + "= ?",
new String[]{"com.whatsapp,"com.google"},
"display_name ASC");
This did not work either.

Please help..

How can I get a list of contact which are NOT on a specific account type (e.g. Whatsapp)?

Muchos Gracias. Danke. :-)

How to read data(measurements) from Arduino Ethernet Web Server

I am new on android development. I have an Arduino connected to a temperature sensor that sends the measurements via ethernet on a webpage. Arduino acts as a webserver. I want to build an application that will display all the measurements that gathers from the webpage. More specifically I need to keep history of the measurements, and not just keep the last one. Any idea where to start?

No Call recorder for Galaxy A11 ??? please help

is it true that Samsung have deliberately Not allowed call recording for Australia ? -
"https://www.makeuseof.com/record-phone-calls-samsung-galaxy"
- scroll down to illegal to record - the default one is not installed - I tried two 3rd party "call recorder " apps - neither one worked - is there any workaround app that can record ???

I notice alot of them are Only trial - years ago there used to be fully free apps - anyone know some ??

Clearing cache

Hi,
Concerning Samsung A7 tablet with 3Gb ram and running Android 11.
After a few days of use the tablet starts to slow down. Checking available ram shows around 300Mb.
After restarting the tablet ram climbs to 1Gb. I need to repeat this nearly every week.
Questions:
1. Why after restart 'only' 1Gb free, where is the rest ?
2. How can I keep the free ram as high as possible without having to intervene manually.
Thanks for any ideas/reactions.
Andy

Help Mi phone doesn't start/charge after full discharge unless I use original cable

Howdy,

First of all I bought my first Xiaomi phone last week, a Mi 10T Lite, currently with MIUI 12.0.2.

Today the phone got fully discharged so I connected the charger. I'm using the original charger socket but with another/non-original cable (5A, purple colour on sockets) because it's longer. I left it for around 30 minutes like that and I couldn't ever turn it on. The LCD displayed a battery icon with a bolt symbol in it.

I swapped the cable for the original one (orange colour on sockets) and instead of a bolt symbol, it displayed 2% and I managed to turn it on.

After it was on, I swapped the cables again and it's charging normally.

What the heck?

TLDR: Phone doesn't charge if using a cable other than the original one but only when it's fully discharged. After turning the phone on, it charges just fine.

Thoughts?

Looking to switch from Cricket wireless to Ting Mobile in the US.

Cricket uses AT&T towers and the area of my work is horrendous, Wi-Fi is not an option when I'm at work.
So far I've read that Ting uses TMo and Verizon towers so I'm hoping that solves my issue....
My existing phone is compatible with Tings networks..

Gmail App pre-filling email address

Hi,

I have recently changed to a new job. Over the years in my previous job I would often send myself an email from my personal email to my work email to remind me to do something when I next got back to the office.

I have removed my old work email address from my contacts, it doesn't auto populate when using the Gmail on a browser however when using the gmail app on my phone, my old email address keeps popping up as a suggestion. I've tried clearing the cache, I've even tried signing into my gmail on my partners phone incase its something that's stored on the phones memory, however it keeps populating with my old work email address. I don't want it to be there as an option because I will do the same thing with my new job, but I don't want to accidentally send reminders to my old email address that I no longer have access to.

Can anyone help?

Apps Checkbox to show/hide textview

Hi,
I am trying to create a small app as part of my learning experience in Android.
I got this code to show and hide a text using a checkbox
How can I control 2 different text with one checkbox (show one text and hide another and vice-versa)
Can someone please help me to make this work

Code:
Import ...
public class MainActivity extends AppCompatActivity {

    private TextView txtHelloWorld;

   @Override
    protected void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.activity_main);
       CheckBox checkBoxVisibility = findViewById(R.id.checkBox_visibility);
       txtHelloWorld = findViewById(R.id.txtHelloWorld);
       boolean isChecked = checkBoxVisibility.isChecked();
       updateTextVisibility(isChecked);
       checkBoxVisibility.setOnClickListener(v -> {

           boolean isChecked1 = ((CheckBox)v).isChecked();
           updateTextVisibility(isChecked1);
       });
   }
    private void updateTextVisibility(boolean isChecked) {
        if (isChecked) {
            txtHelloWorld.setVisibility(View.VISIBLE);
        } else {
            txtHelloWorld.setVisibility(View.INVISIBLE);
        }
    }
}

New Chinese Solitaire - brain challenge

Game Link:
https://play.google.com/store/apps/details?id=com.indigo.game.production.ChineseSolitaire
This game can train brain power, memory, and future control. This game must use your all-round ability to solve the problem. The later levels will be more versatile and harder!! Challenge yourself, train yourself, and see how many levels you can pass!!!
How to play:
Make the number at the top of the card equal to the number of the previous card. When all the cards also conform to this logic, you can pass the level. There will be other special function cards that will change the card number on the way. You need to make the changed number Only with this logic can you pass the level!!!
Special card set:
Add and subtract numbers above
Add and subtract numbers below
The number above is equal to the number below
The number below is equal to the number above
Up and down digital exchange
Hurry up and download and try!!! If you have any questions or bugs, you can email or leave a message in the comment area, we will bring players the best gaming experience!!
螢幕擷取畫面 2021-06-28 154237.png 螢幕擷取畫面 2021-06-28 154705.png 螢幕擷取畫面 2021-06-28 155327.png 螢幕擷取畫面 2021-06-28 155551.png 螢幕擷取畫面 2021-06-28 155624.png 螢幕擷取畫面 2021-06-28 155451.png

Attachments

  • 螢幕擷取畫面 2021-06-28 155409.png
    螢幕擷取畫面 2021-06-28 155409.png
    124.7 KB · Views: 250

searching for a new device/carrier

I recently became fed up with an old device and service and made the decision to upgrade. However I cannot seem to find a carrier that will give this device the time of day. It seems this device is not VoLTE capable (even though apparently some variants are, and I have a toggle for it in the settings).

So this thread is to ask: what device and/or carriers should a guy look at?

wants:
-external sd card capable phone with modern-ish specs and a few roms to play with
-unlimited talk/text + however much data I can get my hands on for moderate usage

It doesnt seems like a tall order, but Ive been looking at the cheap NMVO retailers for service plans because of the low cost, and the most popular brands all say my Pocophone is not compatible.

I am willing to buy a new device if I must, but I would just like some roundabout suggestions for good non-dinosaur devices that support VoLTE or carriers in the US that arent requiring VoLTE. Thanks

Help Getting name announcements in SMS Messages

All of a sudden my Samsung is announcing the names of people who are texting me. Actually it seems to be more than just text messages, even Facebook Messenger notifications are being announced with a name! I never set this up, it just started happening since earlier this week. I don't want this behaviour, for privacy reasons. How do I stop this?

Phone: Samsung A8
OS: Android 9

Filter

Back
Top Bottom