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

Getting Parse Image

I am very sorry for the double but I can't edit my post:

My code:

Java:
@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_user_profile);

        linearLayout = findViewById(R.id.mLinearLayout);


        Intent intent = getIntent();

         String username = intent.getStringExtra("username");

        ParseQuery<ParseObject> query = new ParseQuery<ParseObject>("Image");


        query.whereEqualTo("username", username);

        query.orderByDescending("createdAt");

        query.findInBackground(new FindCallback<ParseObject>() {
            @Override
            public void done(List<ParseObject> objects, ParseException e) {
                if (e == null && objects.size() > 0) {
                    for (ParseObject object : objects) {
                        ParseFile file = (ParseFile) object.get("image");

                        file.getDataInBackground(new GetDataCallback() {
                            @Override
                            public void done(byte[] data, ParseException e) {
                                if (e == null && data != null) {
                                    Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0,data.length);
                                    ImageView imageView = new ImageView(getApplicationContext());

                                    imageView.setLayoutParams(new ViewGroup.LayoutParams(
                                            ViewGroup.LayoutParams.MATCH_PARENT,
                                            ViewGroup.LayoutParams.WRAP_CONTENT
                                    ));

                                    imageView.setImageBitmap(bitmap);

                                    linearLayout.addView(imageView);
                                }
                            }
                        });
                    }
                }
                else{
                    Log.e("NO OBJECTS FOUND","NO OBJECTS FOUND");
                }
            }
        });

        }

Is there a phone with the features I loved, but much more powerful?

I am now using an LG V30, my faithful replacement for what I thought was the greatest phone for me ever, the Motorola Moto X Pure. If I had ever found a way to even hack at the hardware and just make it faster, I'd have never deviated from the Motorola Moto X pure.
Here's why:

Motorola Moto Voice had customizable commands for ANYTHING I wanted to do. Period.
Unlock Phone? Check
Take a picture? Check.
Read my messages? Check.
Play a youtube video? Check
Customizable security Password? Check.
Bluetooth remote shutter compatible? Check.

Why, you might ask, if it was so dammed great, did I give it up.
Speed and power. It started with 3 GB RAM, and some now-ancient specs: and started slowing down and I had to put her down. But it was a phone with all the features I want, just not the power and speed.

Motorola Moto X Pure ("Style" in the U.S.) Specs
OS Android 5.1.1 (Lollipop), 6.0, upgradable to 7.0 (Nougat)
Chipset Qualcomm MSM8992 Snapdragon 808 (20 nm)
CPU Hexa-core (4x1.4 GHz Cortex-A53 & 2x1.8 GHz Cortex-A57)
GPU Adreno 418

Even the 21 MP camera worked better for my job at grabbing license pates at a distance, in the dark, than my newer LG V30. (I work security and make nightly patrols and take plate numbers of visiting cars in our facility)

So, is there a camera that can be operated totally hands free, all by voice command including the unlock command, all by voice, and all customizable that has at least 8GB RAM, a recent chipset, and a really good camera?
(Preferably some proprietary voice command program like Moto Voice. I Fu**ing HATE google for not letting me customize my commands, and making me say their cursed name anytime I want something)

Thanks for listening to my niche rant, about some old-ass phone

PM

LG V20

The batteries will usually say what the properties are on the batteries themselves.

The trick is if the connections are the same, and in the same location, and if the size and shape of the batteries are the same.

The best way I have found to get a perfect replacement battery is to enter the model number of the battery into my browser, and disregard any info about whatever phone(s) it is supposed to fit.

But, there is the chance that you could be able to use this info as a cross reference.

Filter

Back
Top Bottom