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

Cant run Tapped out on Poco.

Well this is pretty much the only game I'm playing but now when I got myself Pocopfone I was able to run it only once when I just installed it... Now, as soon as I launch it, it kinda loads up and just closes instantly with a message that it closed and option to report... Was trying to add permissions and disabling game mode boost and stuff, even reinstalled but now it even closes when game is downloading additional files to run even... Any ideas? Thnx!

Huawei Mate 20 Lite vs. Samsung Galaxy S10e

Huawei Mate 20 Lite which has better battery life (3750mAh), but it's a little too big for me (158.2 x 77.2) VS. Samsung Galaxy S10e which has less battery (3100mAh), but it's smaller which is better for me (142.2 x 69.9).

Other than the battery and size, I like both phones equally, but I'm looking for something long-term because I'm not huge on phones and don't want to get a replacement every other year. I've had my current phone for years, but I have to replace it because I dropped it in the toilet and the battery drains faster than the speed of light, oops.

I also don't want the phone to lag or freeze.

Intermittent error

I created a complex game that works fine most of the time but once every 40 or so rounds it will mess up. I'm trying to see if there is a bug so I play the game in the same exact order to recreate the problem but sometimes there is a problem and sometimes there isn't a problem. I've never had a program do this before. Can anybody shed some light on what might be causing the problem? I can recreate the problem but its random. I checked out all the code that is involved but there isn't a problem. Just Most of the time the code works flawlessly and sometimes it doesn't. Weirdest thing I've ever seen.

--calmchess

Help Dual boot

Hello first off as I'm new to the forum.

So I'm a bit of a loss in trying to install windows 10 and android x86_64-8.1-r1, iv got windows installed but I'm struggling to get android installed

My system is uefi
Dell optiplex 390 i3
Bios A14
Hdd 1tb, 500gb and 250gb
4gb ram

Any one have any recommendations on whats going on please or any other ways of dual boot for android

Thanks

Android Dev Documentation

As I've been trying to learn Android development, I have been noticing that the documentation seems to be rather lacking. Specifically, I'm finding out of date or inaccurate information.

For example, at https://developer.android.com/training/basics/network-ops/connecting#HeadlessFragment they have this example code:
Code:
private class DownloadTask extends AsyncTask<String, Integer, DownloadTask.Result> {

     ...
     /**
     * Wrapper class that serves as a union of a result value and an exception. When the download
     * task has completed, either the result value or exception can be a non-null value.
     * This allows you to pass exceptions to the UI thread that were thrown during doInBackground().
     */
    static class Result {
        public String mResultValue;
        public Exception mException;
        public Result(String resultValue) {
            mResultValue = resultValue;
        }
        public Result(Exception exception) {
            mException = exception;
        }
    }
- but this results in an error Inner classes cannot have static declaration

And the Volley overview at https://developer.android.com/training/volley/ has this:
Code:
dependencies {
    ...
    compile 'com.android.volley:volley:1.1.1'
}
- but compile is deprecated and was scheduled for removal end of 2018.

I ran into a similar issue at the very beginning, when the Create an Android project guide had information on the older Android Studio version, so it didn't match the latest version that I had installed. (This page has since been updated)

Almost everywhere I look, the information seems to be out of date, inaccurate, or incomplete. So I'm wondering what your suggestions are for where to look for accurate and up-to-date information and tutorials.

Thanks in advance!

HTTP vs localhost

I just learned that you can't use localhost on the emulator, since it's actually a separate device (so localhost from the emulator is the emulator). I found a suggestion to use 10.0.2.2:8080, but that didn't do any good, and I couldn't find much more.

So I'm wondering, how do you do HTTP requests against your dev system?

Android

My phone started freezing every 10-15 mins and everytime it does that I have to hold the home button to get into that menu where you can see all running apps (idk how it's called but you guys know what i'm talking about) and then get into the app again so it will unfreeze

It freezez in apps, games, or even on the 'desktop' when I open it. When it does that, it doesn't respond to any touuching, and if there are videos playing they are stopped

Did anyone have this issue before? How can I fix it? Thanks

Launcher pro plus apk market problem...

I for some reason, even though i PURCHASED it from the play store, it won't let me download it, but whats more, I cant even FIND it or the launcher, any more... i just installed it a couple months ago, and lost it on a reset, so i assume it got removed in one of those ban waves going around... if someone needs proof I bought it, I think I still have my receipt, if someone asks for it, and looking at a thread here, i found a post similar to this, from long ago I assume, and it was closed due to talk of piracy... i dont want to be a pirate, but would like to know how to get the product I purchased, downloaded... what a time to forget to backup my purchased apps... might have it on another phone, but all my other devices that may have it, need USB-C charging cables, which i dont currently have available...

Help SD files disappear after a while

I have a Samsung Galaxy Note 4 - going to get the Note 10 later this year, but until then, I want the SD card to work correctly in my Note 4. This issue only started a few weeks ago - otherwise it had been working fine for about a year. When I take the card out of the phone and put it in my computer, it works 100% - no issues. I did a chkdsk on it, no errors. It NEVER fails in the computer and all my files are there. With the SD card in the phone, once the files disappear, the only way to bring them back is to go to Settings, Storage, SD Card (which shows as being there), and tap Unmount. The card unmounts without issue, then I click SD card again and it mounts it - no issue. Then I tap Format and format the card - no issues. At that point for about the next 5 minutes or so I can access everything on my SD card - all the files are there, even though I just "formatted" the card. I can view the photos, share them, transfer them, everything - no problem. But after a few minutes, everything is "gone" again and I have to go through the entire process over again - very annoying. Obviously SOMETHING is causing a glitch with how the phone sees the mounted space - but only after several minutes have gone by. Has anyone had this issue and solved it?

Using Scrollview i cannot get the PROCEED button placed at bottom

I have an issue using scroll view below are the cases

**CASE 1**

when i don't use scrollview i get the layout like [ this][1] and this is the layout i need.
Problem with this approach is when the device resolution is low 412 x 732 or below i cant see the whole content of the layout for that reason **i need scrollview**

**CASE 2**

if i use scroll view i get the view like this [this][1] and [this][2] this which is perfect and what i need for 412 x 732 or below but the problem occur when i see the layout in higher resolution 1080x1920 i get [this][3]

what is need is in **CASE 2** for higher resolution device the PROCEED button should touch the bottom with bottomPadding=20dp just like **CASE 1** image

I Really appreciate if someone give me suggestion to acquire the layout that work for both the devices having high and low resolution



[1]: https://i.stack.imgur.com/OIkFd.png
[2]: https://i.stack.imgur.com/JPRHe.png
[3]: https://i.stack.imgur.com/21OMe.png

**Layout**

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@color/backgroundColor">

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="USER AGREEMENT"
android:textColor="@android:color/white"
android:gravity="center"
android:id="@+id/userAgereement"
android:layout_marginTop="20dp"
android:textSize="@dimen/textSize"/>

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Beijing Pinnacle Global &amp; Alex Edu\n(BPGE &amp; Alex Edu)"
android:textColor="@android:color/white"
android:gravity="center"
android:layout_marginEnd="5dp"
android:layout_marginStart="5dp"
android:id="@+id/belowHeadingText"
android:layout_marginTop="20dp"
android:textSize="@dimen/endSize"/>

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Today's Date : 25th of August, 2019"
android:textColor="@android:color/white"
android:gravity="center"
android:layout_marginTop="20dp"
android:id="@+id/date"
android:textSize="@dimen/endSize"/>

<View
android:id="@+id/line"
android:layout_width="270dp"
android:layout_gravity="center"
android:layout_marginTop="4dp"
android:background="@android:color/white"
android:layout_height="1dp">

</View>

<ImageView
android:layout_marginTop="20dp"
android:layout_width="171dp"
android:layout_height="239dp"
android:layout_gravity="center"
android:clickable="true"
android:id="@+id/imageView"
android:foreground="?attr/selectableItemBackgroundBorderless"
android:src="@drawable/useragreemnet"/>

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="You Are Going To Sign The User Agreement\nKindly, Provide Us Your Details"
android:textColor="@android:color/white"
android:gravity="center"
android:id="@+id/belowImageText"
android:layout_marginTop="20dp"
android:textSize="@dimen/endSize"/>

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"

android:layout_gravity="center"
android:layout_marginTop="20dp"
android:layout_marginBottom="20dp">

<android.support.v7.widget.CardView
android:layout_width="230dp"
android:layout_height="@dimen/buttonHeight"

android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
app:cardBackgroundColor="@color/functionalityColor"
app:cardCornerRadius="@dimen/cornerRadiusForButtons"

app:cardElevation="@dimen/elevation">

<Button
android:id="@+id/proceed"
android:layout_width="match_parent"
android:layout_height="@dimen/buttonHeight"
android:layout_marginBottom="20dp"
android:background="@android:color/transparent"
android:clickable="true"
android:foreground="?attr/selectableItemBackgroundBorderless"
android:gravity="center"
android:onClick="onClick"
android:text="PROCEED"
android:textColor="@android:color/white"
android:textSize="@dimen/buttonTextSize" />
</android.support.v7.widget.CardView>

</RelativeLayout>

</LinearLayout>

in layout i removed the scrollview and i get the layout that is good for high resolution device but with the low resolution i do not get the whole content to see because i need to scroll down

dimens.xml


<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">

<dimen name="design_navigation_icon_size" tools:override = "true" >30dp</dimen>


// cornor radius for all button
<dimen name="cornerRadiusForButtons">5dp</dimen>

// cornor radius for all edit texts and text views and card views

<dimen name="cornerRadiusForEdittexts">5dp</dimen>

// elevation for cardView

<dimen name="elevation">15dp</dimen>

// this is the heading text size heading of all activities

<dimen name="textSize">35sp</dimen>

// used only once in userprofile below circleimageview

<dimen name="belowHeadingSize">23sp</dimen>

// this is the text that is present in the activity

<dimen name="endSize">17sp</dimen>

// button heights

<dimen name="buttonHeight">50dp</dimen>




// this is button text size

<dimen name="buttonTextSizeMain">25sp</dimen>

// donot know where does this use

<dimen name="buttonTextSize">30sp</dimen>





// width size of text view and edit texts

<dimen name="widthEditText">290dp</dimen>

// toolbar main title

<dimen name="toolbarTitle">18sp</dimen>

// toolbar subtitle

<dimen name="toolbarSubtitle">14sp</dimen>


// custom upper and lower cornors of the alert diloge etc


<dimen name="customUpperLowerCorners">5dp</dimen>



</resources>

Unable to use Gallery error

Using a Samsung Galaxy s7 and using the classic messaging app. When an image is sent and the image is tapped to be enlarged, this message loads....
"Unable to use Gallery. Tap SETTINGS, go to App info > Permissions, then allow the following permissions and try again:
SMS"

But, from everywhere I see SMS is enabled.
I have cleared cache in both the gallery and message app, but error is still there.

Any ideas?
Thanks in advance

Help Looking for a custom ROM

I have the same tablet and play final fantasy brave exvius. I just got the new Razor Phone 2 which runs the game better than the tablet. I bought them only 1 month apart. I assume its all the adware and unnecessary software. Has anyone created an image for this tablet with all the unnecessary software not on it? Thanks

Import from Passdroid

I'm looking for some help. I've been using Passdroid for a long time. I want to switch to a different password app, but I can not find one that will import the xml file. I have saved it unencrypted and it still won't import. I've tried to many apps to list and I have to many passwords to transfer manually.

Anyone have any ideas? Passdroid is driving me crazy. Every time I go to another screen, it locks. I have the option unchecked and it continues to do it. I'm tired if logging in everytime I move away from it.

Cubot P20 Fake Camera Spec

Hi I bought a Cubot P20 from amazon and all was well untill I started to take pictures I noticed that covering the second camera has no difference at all in picture quality. It also has no 4g and complete different spec camera then advertised. I'm going to receive a refund from Amazon but no response from Cubot over 4 working days very odd What do you think I will add pictures and a video sorry about the focus lol Thanks. :)
Pictures in comment sorry couldn't add here

Android forums privacy

Is browsing through the internet like I normally do on a daily basis and stumbled upon this that took me by surprise because I wasn't aware something like this had ever happened.

https://www.zdnet.com/article/android-forums-hacked-1-million-user-credentials-stolen/

Did anyone get down to the source of this and find out how it happened? , because I'm curious to find out how and why it happened and what steps was taken to prevent a privacy breach like this to happen again in the future?

Filter

Back
Top Bottom