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

Help Ringtone not working

My custom ringtone that I have assigned to my phone is not working. It plays a different sound that almost sounds like an error. The correct sound plays when you are selecting it from the Ringtone section in Settings, but when I get a call it plays an error sound. Built-in ringtones work fine.

I am using the Google Pixel 1st generation.

Help

I am have been looking everywhere at 1st I thought it was a voicemail notification icon but it's not does anyone know what this is notifying my bf off?

Attachments

  • 20190510_235402.jpg
    20190510_235402.jpg
    56 KB · Views: 160
  • 20190511_001022.jpg
    20190511_001022.jpg
    55.5 KB · Views: 136

Success!

I just wanted to share that I finally have been able to get the basics of my app up and running, thanks in VERY large part to the help I've received here.

It's nothing much so far: It displays a splash screen and checks to see if you have a valid session token. If you do, it takes you to the home screen. If you don't, it takes you to a login screen, where a valid login will then give you a session token and take you to the home screen.

If I were doing this with HTML/javascript, or Python, or plain Java, not that big a deal, but with the complexities I've discovered in Android development, I'm pretty happy with what I've done.

I now have a full framework, including a number of abstracted and helper classes, to rather quickly develop the rest of my app, and hopefully several more to come!

Again thank you for all the help, and a special shout-out to @LV426 for helping me with my HTTP woes.

S8 camera issues

Hey guys, goping you may have either an answer or a fix. So recently I find the S8 when taking pictures...I will hear the click of the camera, but when I go back to look the picture is not there. Today is was many pictures. And each time I heard the shutter noise...but ended up with no pictures.

This is getting pretty frustrating so I'm hoping you guys have heard of this problem and maybe a fix. Thanks in advance for looking, Andrew.

Apps Problem with APK files

Hello fellow coders!

I am new in app developing and trying to build pretty much my first Android app in a school project.
However I faced some problems and I would like to ask help from people who might know better.

My app uses TCPClient to make a connection to a host server. While I was testing the app in debug with different devices there was no problems with connecting. However after I made a release version and tried it on my device for some reason my app didn't want to connect and it just plain goes down.

After a while I found out how I can check logs to see what the problem is. Apparently it was some kind of socket exception that crashes the app. In debug the app worked though. So I searched some more info and apparently permission to use Internet is automatically on in debug and not in release. So I added that permission and tried to make a new apk file. That still didn't work and I got the same error (even though I am pretty sure that is the reason it didn't work).

Now after reading a bit more about apk files I guess making a new one isn't as easy as I thought. When I made the first one I followed Xamarin's instructions from here: https://docs.microsoft.com/en-us/xamarin/android/deploy-test/release-prep/?tabs=windows and everything went well.
But after making the second (and couple more after that) I realized that it didn't ask the apps keystore password (I guess you should put that every time you make a new apk file). I used the ad hoc route, because I am not intending to put the app in store (the app is for the project client). I just put the apk file to my device and installed it that way.

So I would like to know what exactly should I know if I make a new apk file from a project I have modified somehow? Do I need to make a new version number or something like that to make it work???

Gmail and Outlook not receiving notifications

The device that has the issue is a Huawei Y6, although I read that other devices from different manufacturers are facing the same issue as well. The phone runs Android 9.0 and is brand new pretty much out of the box. The issue is that both Gmail and the Outlook app do not receive notifications even though all possible permissions are on and the battery saving mode is disabled. I tried installing the apps again and what not, the phone still doesn't receive email notifications. It's bugging me not being able to find a solution and was wondering if anyone here has faced anything similar.

Where to buy an android phone?!

I know this might seem like a silly question, but where is the best place to buy an Android phone?

I've always usually got my phone from my network provider, but I might do it differently this time to save money in the long run. I know that if I would want an iPhone (which I don't!), I can go to Apple and buy one directly, but where can I go to get an Android phone like a Huawei P30 Pro for example?

Thanks in advance
Glenn

Hunting for the right case

I need to buy a case that has raised edges along the sides not just on the top and bottom of the phone. For example I have a Spigen Tough Armor for my S8+, it failed to stop my phone from cracking and the break is on the sides where the case is level with the screen. I dont care if I lose some of the screen edges on the side, so long as its protected. You cant really go into a store and try on cases until you find one you like and I'm not trying to aimlessly order online, only to have to return.

Hopefully someone has a case or handful of cases that do offer raised edges along all sides of screen to provide front facing protection for the S8+

Please help.

Help o2 tv

Hello mows me picture in o2 tv reverse zhledunti operator told me that the error in modem tp link td w9960 works well but i don't know the cell phone is in the modem but it is the app but i don't know how i gotta prove that i didn't uninstall and install it but not even restart nor public wifi works on mobile data works setup router i have 2/1 developer is o2 czech republic as home wifi works not in phone samsung galaxy j5 2017 play back look please poimoc thank you for reply Vojtíšek

Missing titles

Just received the Android 9.0 (pie) update from Verizon on my Galazy S8+ a few days ago.
One thing I noticed that in the Google icon, clicking the more icons give a list of various other applets to open.
Small icons only are showing and titles are missing.
Bug or as designed?

Thanks.
Screenshot_20190510-081923_Google.jpg

HUAWEI P10Lite FM Radio

Good day
I have a HUAWEI P10Lite mobile phone, Android ver. 8.0.0, EMUI 8.0.0
I want to ask how do I run FM radio? No WiFi. I will heardphones as an antenna. Do it on this mobile?
Respectively. where to find it in the menu on this mobile. Is there any need for this?

Huawei P10 lite
WAS-LX1 8.0.0.390(C432)
EMUI 8.0.0
Android 8.0.0

(sorry for my eng.)

Unable to upload APK to playstore since apk contains large .so files.

Our android apk size is around 230 MB. While analyzing apk, it contained lib with .so files around 200 MB and around 20 MB of resources. Since Expansion Files does not support .so files, I tried splitting the apk based on ABI configuration. Even that resulted in 2 APKs of > 100 MB each. What other solutions can I try to reduce apk size and upload apk ?

Apps NetworkStatsManager querySummaryForDevice strange results

I want to get the mobile data consumption for a given range of date (1, 2, 5, 10 or 15 minutes) with the querySummaryForDevice method of NetworkStatsManager.

This is my code:

Java:
public static long getTotalTrafficInRange(Context context, Date fromDate, Date toDate) throws UsageStatsNotActiveException, NoPermissionException
{
   boolean usageStatsActive = doIHavePermission(context);

   if (!usageStatsActive) {
       throw new UsageStatsNotActiveException(context);
   }

   long total = 0;

   TelephonyManager tele = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
   if (ActivityCompat.checkSelfPermission(context, Manifest.permission.READ_PHONE_STATE) != PackageManager.PERMISSION_GRANTED) {
       throw new NoPermissionException(Manifest.permission.READ_PHONE_STATE);
   }
   String actualSubscriberId = tele.getSubscriberId();

   NetworkStatsManager networkStatsManager = (NetworkStatsManager) context.getSystemService(Context.NETWORK_STATS_SERVICE);

   Date from = ConvertDateToCalendar(fromDate);
   Date to = ConvertDateToCalendar(toDate);

   //Total
   NetworkStats.Bucket bucket;
   try {
       bucket = networkStatsManager.querySummaryForDevice(ConnectivityManager.TYPE_MOBILE, actualSubscriberId, from.getTime(), to.getTime());

       if(bucket != null){
           total = (bucket.getRxBytes() + bucket.getTxBytes());
       }

   } catch (RemoteException e) {
       e.printStackTrace();
   }

   return total;
}

I tried to convert my date in calendar and back again in Date with this code:

Java:
public static Date ConvertDateToCalendar(Date date)
{
   Calendar fromDateCalendar = Calendar.getInstance();
   fromDateCalendar.setTime(date);

   Calendar calendar = Calendar.getInstance();
   calendar.set(Calendar.YEAR, fromDateCalendar.get(Calendar.YEAR));
   calendar.set(Calendar.MONTH, fromDateCalendar.get(Calendar.MONTH));
   calendar.set(Calendar.DAY_OF_MONTH, fromDateCalendar.get(Calendar.DAY_OF_MONTH));
   calendar.set(Calendar.HOUR_OF_DAY, fromDateCalendar.get(Calendar.HOUR_OF_DAY));
   calendar.set(Calendar.MINUTE, fromDateCalendar.get(Calendar.MINUTE));
   calendar.set(Calendar.SECOND, fromDateCalendar.get(Calendar.SECOND));
   calendar.set(Calendar.MILLISECOND, fromDateCalendar.get(Calendar.MILLISECOND));

   return calendar.getTime();
}

This is the fromDate and toDate:

Java:
//this date is new Date() minus 1,2,3,5,10 or 15 minutes, not more then this values
   fromDate = new Date(PersistentHelper.getLastDateUsedForCalculateData(context));

   //Calculate toDate
   Calendar calendar = Calendar.getInstance();
   calendar.setTime(new Date());
   if(!userChangeDateManually || !userChangeZone) {
       calendar.set(Calendar.SECOND, 0);
   }
   calendar.add(Calendar.MILLISECOND, -1);

   toDateWS = calendar.getTime();

But totalBytes returned by getTotalTrafficInRange it's not real. If I have my phone in WIFI for 1 hour and then call my function with fromDate 15 minute ago, it return a very long value and not 0 as expected.

There is a limit for the range date of the querySummaryForDevice method of NetworkStatsManager? No clue found in documentation.

Anyone notice this weird behaviour?

Phone lock

I've noticed that when i first got this phone whenever i would press the power button to turn it off then turn it back on it would be locked. Now whenever i do it it stays unlocked unless its been off for a sertain amount of time. I was wondering if there is a way to put it as it was before?

Mini Speedy Racers [FREE] [Game]

Take a look at our New Game #MiniSpeedyRacers is exciting and fun to play racing game, here is the description:

Join the Mini Speedy Racers league and compete against crazy mini mad drivers in this extremely fun and entertaining racing game.

This is not your typical serious racing game, no this is a different kind of racing game. Pick your racer, select your track, and speed up! You can bump against other mini speedy racers, pick up tricks to make fun of them, pick up turbos to speed up, and just make sure to cross the finish line ahead of all them to celebrate.

The game includes many good-looking retro style racers, challenging tracks, several nice cartoonish environments, and many tricks.

If you like racing and have a good laugh while doing it, then this game is for you! Don’t waste time, download it and have fun! "

Here is the link to the Play Store, and the game is FREE:

https://play.google.com/store/apps/details?id=com.fierrostudios.minispeedyracers

Take a look and let us know what you think!

Racers_0_960x540.png

Just A Noob! But a total DIY noob!

What's up fellow Android users!!

Honestly, I'm not exactly sure what took me so long to FINALLY join but I'm HERE NOW!

I'M NO HACKER FYI. But I do have a few neat Android tricks up my sleeves and I know there are MANY others out there who know plenty more!!

So I'd like to build my network here and learn from EACH OTHER!:

SOUND GOOD?!

I'll be doing DIY Android stuff here too!

Filter

Back
Top Bottom