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

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!

Screen shutting down by itself

Hi All!
Since two days ago my S8 is getting its screen shutting down.
The touch screen still working, sounds, videos, etc.
In order to get the screen back, I have to press Power twice to get back to Lock Screen, than unlock and get back to whatever I was doing.

Fun fact, if my phone is being charged, I have zero issues. Doesn't matter the source...car charger, Xbox, normal cable, etc.
It only occur when the phone is not being charged.

I have done:
Safe Mode, Wipe Cache, and Factory Reset. In all scenarios the screen still have the same behavior.

Also, the LED indicator is always solid blue when the phone is unlock/being used.
No water damaged occurred or high impact accident.

What am I supposed to do?

I'm am donating to charity

For the 1st time ever im donating 5% of sny donstion i recive to help fund my projects to charity.

The most one i want to donate to is charities with kids with disbilities and as well children living witj cancer to help researcher find a way to cure and get rid of cancer permenantly

If you have GamerROM Orion on the Nexus 6 you will now see a new option called Donate in the "OTA Updates" app where you can click and donate however we highly require you to pre sign into your paypal to be sble to donate for some odd reason the app will not recgonize the full url so i had to shorten it using bit.ly to get it working, ill find other ways to get it without signing in but it works.

However if your interested in me reaching my goal of $50,000 to donate to charity and if we reach that goal $48,000 will go into both charities leaving $2,000 for my servers to stay online longer will you help me reach the goal to help those in need? You can also donate below:

Donate to charity: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TCJKHJH9FG9SJ&source=url

[Game][Beta] Bubble Bash

My new game, Bubble Bash, is now available on the google play store. It is currently in the Beta testing stage. I would greatly appreciate any feedback and hope that you enjoy it. It is my first game and was very time consuming as I did not use a game engine and there were a lot of learning curves. It is an arcade game and involves hitting a ball into bubbles using a paddle. I am aware that there is a lot of room for improvement for the UI and gameplay and I am very open to incorporating any ideas from feedback into the game.

I find that the game can be kinda exhilarating if you really challenge yourself. It is a good game for improving focus and hand-eye coordination as these qualities are required to be good at it. I wanted to make it interactive for users and have incorporated gyroscopic controls for the paddle angle as well as touch motion for moving the paddle on the screen.

Google Play Link: https://play.google.com/store/apps/d...com.bubblebash

Attachments

  • Screenshot_2019-05-07-19-54-58.png
    Screenshot_2019-05-07-19-54-58.png
    116.6 KB · Views: 158

Divider is not displayed in Spinner in Dialog.

------------------------------------------------- manifests


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

<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />


<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />

<application
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="fec.raderapp.MainActivity"
android:label="@String/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>

</manifest>


---------------------------------------------------------------------style.html

<resources>

<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:dropDownListViewStyle">@style/SpinnerStyle</item>
</style>

<style name="SpinnerStyle" parent="Widget.AppCompat.ListView.DropDown">
<item name="android:divider"> @color/titleColor</item>
<item name="android:dividerHeight"> 0.5dp </item>
</style>
</resources>



----------------------------------------------------- Spinner in Dialog

<LinearLayout
android:id="@+id/_Palett_Event_Layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:minWidth="25px"
android:minHeight="25px"
android:eek:rientation="horizontal">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:eek:rientation="vertical"></LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:eek:rientation="vertical">

<Spinner
android:id="@+id/_Palett_Spinner"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent"
android:eek:verlapAnchor="false"
android:popupBackground="@color/menuColor"
android:spinnerMode="dropdown"
android:theme="@Style/SpinnerStyle" />
</LinearLayout>
</LinearLayout>





The current code.

It can not be expressed only in Spinner in Dialog.
Why is this happening?

Abstracting Async?

I have an Async private inner class that I'm implementing on every Activity, that gets HTML from a URL. With the exception of the URL, it's the same in every Activity.

I'm wondering how to go about abstracting it so that i can just pass in the URL and get the response back. I'm having two problems with this: 1) I need a context to pass to the requestQueue, and 2) I need a way to get the data back.

I have tried implementing the code a standalone Async class but I keep getting errors trying to pass the context (says the context can't be applied to HTMLLoader). The next thought I had was to implement a regular class, then to use an Async class in the Activity, get the context from there, and pass that in - but I get the same error, just in the activity's async class instead.

I'm going to have a few activities needing to access various URLs so I don't want to keep repeating the same private inner class over & over. It might work, but it's not a clean solution. It's probably something about Java or Android that I don't know, but unfortunately, I don't know what it is I don't know... Any suggestons appreciated.

Here's the inner class code:
Code:
private class HTMLLoader extends AsyncTask<Void, Void, Void> {
    @Override
    protected Void doInBackground(Void... params) {
        try {
            Thread.sleep(2000);
        }
        catch (java.lang.InterruptedException interruptedException) {

        }
        RequestQueue queue = Volley.newRequestQueue(SecondActivity.this);
        String url = "http://10.0.2.2";

        StringRequest stringRequest = new StringRequest(Request.Method.GET, url,
                new Response.Listener<String>() {
                    @Override
                    public void onResponse(String response) {
                        mTextBox.setText(response);
                        mProgressBar.setVisibility(View.INVISIBLE);
                    }
                }, new Response.ErrorListener() {
            @Override
            public void onErrorResponse(VolleyError error) {
                String err = error.toString();
                mTextBox.setText(err);
                mProgressBar.setVisibility(View.INVISIBLE);
            }
        });
        queue.add(stringRequest);
        return null;
    }
}

Android Auto random volume changes and chimes

Greetings,

Samsung J7 Prime - SM-J72711
Android 8.1.0
Baseband - J727T1UVS5BSC2
Kernal - 3.18.14-14133265-QB22566678
Build - M1AJQ.J727T1UVS5BSC2
Ford Sync 3

Problem #1 - Volume goes up and down while streaming music (Amazon, iHeart).
It's similar to when Waze lowers the volume to deliver a message.
I tried the following:
Uninstalled Waze, still happens.
Disabled all app notifications, still happens.
If I bypass AA and stream via bluetooth the volume does not change.

Problem #2 - Chimes while speaking on phone.
Just loud enough to be annoying. It's a 4 note chime. Happens at random intervals only while speaking on the phone.
I have tried the following:
Bypass AA and speak via bluetooth, no chimes.

The former has been happening for months, the later is a new issue.

I have searched and searched for solutions, must not be common problems because I can find very little info these.

tia

I need help

Hy. Can someone help me from support because I have a little problem whit my phone. As ushually I download a new actualisation for my android and my phone after the actualisation wants from me password, ok but I tape the password to my phone and it was wrong. I know that password but my phone dont accept it. please have someone an idea what to do. I have in that phone my working stuff and i dont want to lose it.

Filter

Back
Top Bottom