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

Populate ListView with two tables in Android

hello,
I have two tables. Arabic and urdu. I want to display select query to listview Line by line (arabic/Urdu).
I Have no issue to display one query to listview but I am failed to multi select from 2 table and populate Listview.

Code:
(Private feedback for you)

I have two tables. Arabic and urdu. I want to list Line by line (arabic/Urdu) for display Arabic i have no issue

Cursor cursor = myDbHelper.Surahbyid(Value);
        // The desired columns to be bound
        String[] columns = new String[]{
                myDbHelper.KEY_AYA,
                myDbHelper.KEY_TEXT,

        };
        int[] to = new int[]{
                R.id.id,
                R.id.aya,


        };

        // create the adapter using the cursor pointing to the desired data
        //as well as the layout information
        dataAdapter = new SimpleCursorAdapter(
                this, R.layout.surah,
                cursor,
                columns,
                to,
                0);


        listView.setAdapter(dataAdapter);

[GAME][FREE] CYBERAGE - 2D Puzzle Platformer

CYBERAGE : 2D puzzle platformer is an adventure game that features over 40 levels, boss fights and challenging puzzles! Join the adventure and help our mighty robot hero defeat its enemies and reach the final boss.

The game features a series of challenging platforming levels, interesting puzzles and unique bosses. Collect all of the collectables (three stars in every level) to finish the game!

Available on android devices.


Download: https://play.google.com/store/apps/details?id=com.brokenwheel.cyberage

Downloaded apps

Hi there,
I have a Galaxy Tab S2 with an extra memory sd-card.
Quite a lot of the apps I have installed can be shifted to the sd-card but every now and then (I presume after updates) they get shifted back automaticaly to the main memory.
Is this normal and is there a way to keep them on the sd-card ?
Kind regards, and stay safe.
Andy

I had this same issue when I had a phone that allowed apps onto the SD card.

Yes, an update will move the app onto the phone.

Frustrating, isn't it?

In reality, half or less of an app goes onto the card.
And an app loses some functionality and speed as well.

So the best thing to do is to leave the apps on the phone if you have the space to do so.

If you don't have enough space, then you really don't have room for all the apps you want.

You can ditch any app that also has a website that is accessible with your browser.
(Facebook, Twitter, Instagram, Uber, etc.)

Also, consider the fact that the lifespan of your SD card is measured in write cycles.

So moving apps back and forth is shortening the useful life of your card.
When they die, it is often quick, without warning, and catastrophic.

Comparison of IMO and DUO

yes it is widely use in Gulf countries.

Gulf countries, really?

Which brings me to the next problem I found with IMO, when I tried installing it. It seems to only accept +1 phone numbers for registration, which is US and Canada, and no way to change it. I'm actually in China, which is +86 phone numbers.
Screenshot_20200504_122245.jpg



So you got Play Store that's in Arabic, but apparently your app/service is only usable in the United States and Canada?

OK

Looking for some suggestions

I found 0 results for all of the criteria you're looking for.

I found 2 that meet all criteria except for wireless charging:
https://m.gsmarena.com/results.php3?nPriceMax=200&fDisplayInchesMin=6.2&chkNFC=selected&sMakers=9

Feel free to play around on that site with different options. In that price range, features are going to be limited. I think your buddy is either going to have to be willing to compromise on some features or pay a higher price for a mid-tier device.

Help Can't hear on calls

I suffered the exact same problem with my S8+. I tried all the tricks and finally took it to a repair shop. They replaced the microphone but that did not fix the problem. Fortunately, they refunded my money and I traded the phone in for a new phone. I wish I had some clever suggestion to try. I hope your results aren't the same as mine... unless you are in the mood to replace your phone. Good luck

Where to get a good replacement battery from?

Yeah, I know the feeling.

I sometimes feel strange adding to an ancient thread, but if I have any info that can help someone, or as in this case I recently just went through a couple of battery replacements- I go ahead and leave the info.

Just in case.


I honestly find it helpful. Theres a good chance the information may help someone else in search of the same answer. The more input the better. :)

Filter

Back
Top Bottom