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

Adapter for dual SIM plus SD card for a single SIM G6?

Hi, I have a US model single SIM Moto G6 and want to get an adapter/converter to be able to use 2 SIM's plus the SD card in my phone. I see some out there om eBay and Amazon but without a slot for your SD card, where the longer adapter sticks out of the SIM slot and kept in place around the back of the phone by a good case. Some allow you 3 SIM cards. Know of any that allow 2 SIMs and the SD card? Just got an upgrade to 9/Pie if that matters.Thanks.

How to keep Firestick 4K alive when watching another TV input?

Hi, I have the newer Firestick 4K, plugged into one of my TV's HDMI ports. I also have an OTG cable with a thumbdrive in line with the Firestick so I can have it record thru an app what's streaming to watch later on my PC while I'm using something else on another HDMI input on my TV, usually my PC. When I go check, the Firestick is completely off, blank screen, and find out only a few minutes recorded, This happens whether I use the OTG/thumbdrive, or just have a normal connection of the Firestick into an HDMI port. If I have something on the Firestick, then go to another HDMI port to watch something briefly, then go back to the Firestick, it's still working. If longer, the Firestick shuts off. I tried looking for settings to keep ot awake, and nothing. I even side loaded a Stay Awake type app, and that doesn't help. How do I keep the Firesick awake and active? Thanks.

Factory reset wiped SD card?

My son tried to enter my phone's pass code too many times yesterday and it wiped the device and did a factory reset. I didn't know that was a thing, but now I do! I have no cloud backup.
My question is, I'm trying to recover at least just photos from the SD card (I tried DiskDigger), but it's blank. Does that make sense? Did the factory reset actually wipe the card clean? Any other suggestions or am I just out of luck? Thank you :(

Help with game development

So I have started making a game in Android Studios. So far, all it does is when you click a button, it generates 2 random cards. If you click it again, it generates 2 more random cards replacing where the first ones were. However, even though this seems simple enough, I am getting messages that it skipped 30 frames and is doing too much work on the main thread. How do I fix this? This is also my first time using android forums so is it appropriate to ask questions concerning topics like this?

Barclays Mobile Banking App

Hello, I have a Samsung Tab A 10.1, and I am trying to install Barclays Mobile Banking on it, problem is the app is apparently “not supported”, I found an APK on APKmirror, and it installed and the app worked, but another problem, a phishing tool was attached to the app, where you entered the pin, so I don't know what to do now. Can anyone help me on this problem please.

Always rebuilding

This is something new.

Since I had a recent problem where I had to clean & rebuild, I now have to rebuild every time I make any code change.

Previously, I could make a change, then click the "play" icon (top right), and my changes would be applied.

Now, nothing gets applied. I've checked this by adding obvious log messages where they couldn't be missed, and they don't show up. I have to do Build->Rebuild Project to get my changes to register.

I'm guessing there may be a setting somewhere I messed up, or something like that? How do I get the previous behavior back?

(BTW this is only happening on one of my projects. Others work like they used to)

Using images/hardware profiles: Emulator

When it comes to testing on emulators, how common is for developers to test on different AVDs (actual emulators) build with "different images" and "hardware profiles"? I am referring to `emulator avd create` as in this link http://www.androiddocs.com/tools/devices/managing-avds-cmdline.html#AVDCmdLine (The link is a bit old but it shows the command). Right now all my testing has been focused on a single image/API. What is your testing strategy? Is emulators even in your testing plan?

I am also using this as a reference: http://www.androiddocs.com/tools/devices/index.html

This is probably a better link as it is associated to official documentation:
https://developer.android.com/studio/run/emulator#android_virtual_devices

One of the challenges on using different platform during testing is that, from what I understand, the platform also depends on the build-tools version. I have had issues of platform/build-tools compatibility before but the root cause issue is not 100% clear to me... yet.

Any comments or if you don't mind sharing your experiences. Thank you,

Apps No Device Compatibility

I am seeking to publish an app. I tested the app using my own phone, on which it ran just fine. But in the Google Play Console its not listing any "SUPPORTED DEVICES" in the "Device catalog".

What did I do wrong? How can I fix this?

I have the compile and target SDK version set to 28
The minimum SDK version is set to 19

I was trying to use a bundle instead of an APK

any help would be appreciated
Walt Williams

tmHACK - Defend your nation

Hi, I wanted to present my game, available on the play store.
TmHACK is a hacker attack simulator.
Become the most powerful hacker in the world, help your nation climb the ladder, steal as much money as you can, play on the stock exchange and earn tmCoins.
Challenge your opponents with the crypto challenge! Prepare the most powerful card, challenge an opponent, destroy your Crypto card and win lots of tmCoins.

I am waiting for you on tmHACK.!

Attachments

  • Screenshot_2019-07-25-18-50-59-697_com.garzone6981.tmhack_V18.png
    Screenshot_2019-07-25-18-50-59-697_com.garzone6981.tmhack_V18.png
    822 KB · Views: 151
  • Screenshot_2019-07-29-20-31-04-207_com.garzone6981.tmhack_V18.png
    Screenshot_2019-07-29-20-31-04-207_com.garzone6981.tmhack_V18.png
    575.3 KB · Views: 125
  • Screenshot_2019-07-29-20-30-36-509_com.garzone6981.tmhack_V18.png
    Screenshot_2019-07-29-20-30-36-509_com.garzone6981.tmhack_V18.png
    1,023.7 KB · Views: 114
  • Screenshot_2019-07-29-20-32-28-427_com.garzone6981.tmhack_V18.png
    Screenshot_2019-07-29-20-32-28-427_com.garzone6981.tmhack_V18.png
    942.6 KB · Views: 98

HELP

Hello Guys!
i have Galaxy S7 (SM-G930F)
blocked by FRP
Oreo 8.0.0
Stuck On Samsung Logo
i tried many time to upgrade by many firmware (Binary 5)
After Flash passed with Odin
phone reboot
Erasing...
boot to recovery mode and i have this error :
#fail to open recovery_cause (no such file or directory)#
#Reboot recovery_cause is [unknown]#
No support SINGLE-SKU file-based OTA
Supported OTA
Supported API: 3
dm-verity verification failed...

when i put my phone in Download mode and i tried to root or to flash with TWRP
it shown me this error :
Costum Binary Blocked by frp lock

i tried to Wipe Partiotion & wipe cashe
same problem
i loosed my mind
please help me

Apps Unable to decode stream: java.io.FileNotFoundException

Hai, i have problem with my project. i use calling Json data but i found errror like this :
Code:
E/BitmapFactory: Unable to decode stream: java.io.FileNotFoundException: beasiswa_timur.jpg: open failed: ENOENT (No such file or directory)
MainActivity.java
Java:
public class MainActivity extends AppCompatActivity
        implements NavigationView.OnNavigationItemSelectedListener {
private String TAG = MainActivity.class.getSimpleName();
private ProgressDialog pDialog;
private ListView lv;
private static String url = "https://api.danaberkah.com/v1/home_fundings";
ArrayList<HashMap<String, String>> home_fundings;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    Toolbar toolbar = findViewById(R.id.toolbar);
    setSupportActionBar(toolbar);
    DrawerLayout drawer = findViewById(R.id.drawer_layout);
    NavigationView navigationView = findViewById(R.id.nav_view);
    ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(
        this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close);
    drawer.addDrawerListener(toggle);
    toggle.syncState();

home_fundings = new ArrayList<>();
lv = (ListView) findViewById(R.id.list);

private class GetContacts extends AsyncTask<Void, Void, Void> {

    @Override
    protected void onPreExecute() {
        super.onPreExecute();
        // Showing progress dialog
        pDialog = new ProgressDialog(MainActivity.this);
        pDialog.setMessage("Mohon bersabar...");
        pDialog.setCancelable(false);
        pDialog.show();
    }

    @Override
    protected Void doInBackground(Void... arg0) {
        HttpHandler sh = new HttpHandler();

        // Making a request to url and getting response
        String jsonStr = sh.makeServiceCall(url);
        String JsonStrDonasi = sh.makeServiceCall(donasi_url);
        String JsonStrWakaf = sh.makeServiceCall(wakaf_url);
        String JsonStrTentangKami = sh.makeServiceCall(about_url);
        String jsonStrSyaratKetentuan = sh.makeServiceCall(syaratKetentuanUrl);
        /*Log.e(TAG, "Response from url: " + jsonStr);*/

        /*Home Fundings*/
        if (jsonStr != null) {
            try {
                JSONArray data = new JSONArray(jsonStr);

                // looping through All Contacts
                for (int i = 0; i < data.length(); i++) {
                    JSONObject c = data.getJSONObject(i);
                    String id = c.getString("id");
                    String usr_photo = c.getString("usr_photo");
                    String org_name = c.getString("org_name");
                    String funding_image = c.getString("funding_image");
                    String title = c.getString("title");
                    String end_time = c.getString("end_time");
                    String collected_amount = c.getString("collected_amount");

                    // tmp hash map for single contact
                    HashMap<String, String> contact = new HashMap<>();
                    // adding each child node to HashMap key => value
                    contact.put("id", id);
                    contact.put("usr_photo", usr_photo);
                    contact.put("org_name", org_name);
                    contact.put("title", title);
                    contact.put("funding_image", funding_image);
                    contact.put("end_time", end_time);
                    contact.put("collected_amount", collected_amount);
                    // adding contact to contact list
                    home_fundings.add(contact);
                }
            } catch (final JSONException e) {
                Log.e(TAG, "Json parsing error: " + e.getMessage());
                runOnUiThread(new Runnable() {
                    @Override
                    public void run() {
                        Toast.makeText(getApplicationContext(),
                                "Json parsing error: " + e.getMessage(),
                                Toast.LENGTH_LONG)
                                .show();
                    }
                });

            }
        }
else {
    Log.e(TAG, "Couldn't get json from server.");
    runOnUiThread(new Runnable() {
        @Override
        public void run() {
            Toast.makeText(getApplicationContext(),
                    "Couldn't get json from server. Check LogCat for possible errors!",
                    Toast.LENGTH_LONG)
                    .show();
        }
    });
}
 return null;
}
@Override
protected void onPostExecute(Void result) {
    super.onPostExecute(result);
    // Dismiss the progress dialog
    if (pDialog.isShowing())
        pDialog.dismiss();
                /*
                 *Updating parsed JSON data into ListView
                 */
    /*This HOme Fundings*/
    ListAdapter adapter = new SimpleAdapter(
            MainActivity.this, home_fundings,
            R.layout.list_item_home, new String[]{"usr_photo", "org_name",
            "funding_image", "title", "collected_amount","end_time"},
            new int[]{R.id.icon,
                    R.id.nama,
                    R.id.img_thumbnail,
                    R.id.judul_cardview,
                    R.id.terkumpul_cardview,
                    R.id.tersisa_cardview}
    );
    lv.setAdapter(adapter);
}
}
}
list_item_home.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:card_view="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
    <androidx.cardview.widget.CardView
        android:id="@+id/card"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="3dp"
        android:layout_marginBottom="4dp"
        android:layout_margin="4dp"
        card_view:cardElevation="3dp">

        <RelativeLayout
            android:id="@+id/top_layout"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:id="@+id/linear1">
                <ImageView
                    android:id="@+id/icon"
                    android:layout_width="24dp"
                    android:layout_height="17dp"
                    android:layout_marginLeft="8dp"
                    android:layout_marginTop="5dp"
                    android:src="@drawable/index"
                    android:layout_marginRight="10dp"
                    android:layout_marginBottom="10dp"
                    android:contentDescription="TODO"/>

                <TextView
                    android:id="@+id/nama"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="5dp"
                    android:layout_marginTop="5dp"
                    android:layout_toRightOf="@+id/icon"
                    android:text="danaberkah.com"
                    android:textColor="@color/text_default"
                    android:textSize="13sp" />
            </LinearLayout>

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:id="@+id/linear2"
                android:layout_below="@id/linear1">
                <ImageView
                    android:id="@+id/img_thumbnail"
                    android:layout_width="match_parent"
                    android:layout_height="180dp"
                    android:src="@drawable/beras_murah"
                    android:layout_alignParentEnd="true"
                    android:layout_alignParentRight="true"
                    android:layout_marginEnd="0dp"
                    android:layout_marginRight="0dp"
                    android:scaleType="fitXY"/>
            </LinearLayout>

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:id="@+id/linear3"
                android:layout_below="@id/linear2">

                <TextView
                    android:id="@+id/judul_cardview"
                    android:layout_width="fill_parent"
                    android:layout_height="20dp"
                    android:layout_centerHorizontal="true"
                    android:layout_gravity="bottom"
                    android:textColor="@color/text_default"
                    android:textSize="14sp"
                    android:text="20 Beasiswa Untuk Indonesia Timur"
                    android:textStyle="bold" />
            </LinearLayout>

           <LinearLayout
               android:layout_width="match_parent"
               android:layout_height="wrap_content"
               android:id="@+id/linear4"
               android:layout_below="@id/linear3">
               <TextView
                   android:layout_width="wrap_content"
                   android:layout_height="wrap_content"
                   android:text="Telah Terkumpul Rp."/>

               <TextView
                   android:id="@+id/terkumpul_cardview"
                   android:layout_width="fill_parent"
                   android:layout_height="20dp"
                   android:layout_centerHorizontal="true"
                   android:layout_gravity="bottom"
                   android:layout_marginLeft="8dp"
                   android:layout_marginTop="5dp"
                   android:text="129.000"
                   android:textSize="14sp"
                   android:textColor="@color/text_default"/>
           </LinearLayout>

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:id="@+id/linear5"
                android:layout_below="@id/linear4">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="Berakhir Pada Tanggal : "/>

                <TextView
                    android:id="@+id/tersisa_cardview"
                    android:layout_width="fill_parent"
                    android:layout_height="20dp"
                    android:layout_centerHorizontal="true"
                    android:layout_gravity="bottom"
                    android:layout_marginLeft="8dp"
                    android:layout_marginTop="5dp"
                    android:text="21-02-2019"
                    android:textSize="14sp"
                    android:textColor="@color/text_default" />
            </LinearLayout>

        </RelativeLayout>
    </androidx.cardview.widget.CardView>

</RelativeLayout>
on the display only text data successfully called, but not with the image.

and i have this permission but still not function to display image
Code:
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>


Thanks ..

Huawei watch in a loop

I have issues with my Huawei smart watch, i just doesn't boot up ( its in a loop) neither i am able to do factory reset as it doesn't stay on the reset screen even for 2 seconds. Huawei support has been pathetic and unable to understand the issue. However, i noticed if i keep the charger plugged in for some time, i does turn on but the moment you try doing something it just reboots ( in a loop).
Not under warranty!!

Help Voice recorder File mysteriously disappeared from Phone

Hi all. First-time thread starter to this forum and I need a lot of help. So basically about 3 days ago I created a voice recorder file on my phone. I have created thousands before and this one saved to my phone with no problem. It's a file of me singing and of lyrics for a specific song I am writing, I will call it "File A." The next day I listened to it and upon realizing I wanted to develop some of the ideas on the file, I recorded another file of me playing guitar and singing. When I finished recording the second file, which I will call "File B," I decided to rename it to the same name as the what File A is named since it is going to be the same song. See but If anyone has used voice recorder before they will know that voice recorder will stop you from naming a file the same thing as another file. But this time voice recorder did not do this and the rename menu was allowed to leave and it when back to the normal voice recorder list screen. But upon looking at the voice recorder list I saw that File B's name hadn't been changed and was still Voice 594. I tried to rename it again, and upon remembering that a file cannot have the same name as another file, this time to something similar to File A's name. Again, though, File B's name stayed as Voice 594. Upon seeing that it still had not renamed, I decided to close the app, which I know now was a big mistake. File A, which was of me singing and of lyrics, deleted. After seeing how it had deleted, I went through My Files and searched for it to see if it was hidden somewhere but sadly it was not. I then restarted my phone to see if that would help and after that reset app settings. Sadly they both didn't work and the file was still missing. I learned online that I should run file recovery software on the sd card that my voice recorder files were saved to and see if that helps. Sadly all of the 3 file recovery software I used on my sd card all froze in the middle of checking the sd card. I am pretty sure this is because the sd card has bad sectors or partitions in it and upon putting it through a diagnostic tool, many errors and red marks popped up when diagnosing the sd card. After that, I copied the Lost.DIR folder onto my computer and the voice recorder folder onto my computer and ran file recovery software on them both. They finished but when they did, they did not contain the file I was looking for.

That's pretty much all that has happened since I found out the file was missing. I recorded the file in the afternoon of the 25th, it deleted in the early afternoon of the 26th and I haven't been using my sd card for anything but running file recovery software on since the 26th. What should I do or have I done everything I can? Would really like this file back. Thanks in advance.

anybody here sick of gun violence?

look i'm all for the right to bear arms, but i'm tired of these shootings. i do not want to take your guns away, but we need to more control on who gets guns. we need strict control on where you can get it.

my heart goes out to those terrorized and for those who lost someone at the Garlic Festival in Gilroy.

BUT SOMETHING NEEDS TO BE DONE!!!!!!!

i say death to the NRA!!!!!!!!!!!!!!!!!!

Old threads

Back in the day [when I was staff], we tossed around thoughts on old threads and the wisdom, or lack thereof, of leaving them open for new activity. I thought they should be closed.

My reason then was the same as now: new members reply to a 7-year-old thread, thinking they're offering helpful info, until someone comes along and tells them it's from 7 years ago. Or 4 or 9; you get the idea.

When I'm the someone who enlightens the newbie, I try to be polite and 'ha ha, it's okay!' upbeat. But why don't we just lock threads that are >X years old AND have had no activity for Y years? Or some other criteria.

Even if someone thinks they have the same problem as the OP, the truth is...probably not. They're 5 Android versions newer on 8 year newer hardware. What are the odds it's exactly the same issue, with the same solution [if there was one]?

Thoughts?

Help Why some app icons missing when phone in landscape?

After unlock note8 phone, I rotate phone to landscape and I see the usual 5 icons: phone, message, internet, playstore, camera. Phone still in landscape, I swipe up and then swipe left/right and cannot see all the app icons, about 10 to 20 app icons missing.

When the phone is portrait, I swipe up and I can see all app icons.

Do you experience the same thing? Why lesser app icons is shown when phone is landscape? What is the problem with my phone?

Thanks

Filter

Back
Top Bottom