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

Building libraries(MySQL) on new versions of NDK(r18b)

Hello.
I'm new to Android development.
I need to build MySQL for Android. I found a detailed and working guide how to do it for Android NDK r10e. The problem is that I use some kind of framework (Qt 5.12.3) that only works with recent versions of the Android NDK, for example r18b. In this and newer versions, the file structure has been greatly changed, and now I cannot find the headers, libraries and programs I need.

Here are the variables that I need to declare to successfully build all the libraries (libiconv, OpenSSL, MariaDB):
Code:
export ANDROID_NDK_ROOT=/c/android-ndk-r10e
export SR="$ANDROID_NDK_ROOT"/platforms/android-19/arch-arm
export BR="$ANDROID_NDK_ROOT"/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-
export CPP="$BR"cpp
export AR="$BR"ar
export STRIP="$BR"strip
export RANLIB="$BR"ranlib
export LINKER="$BR"ld
export OBJDUMP="$BR"objdump
export CC="$BR"gcc
export CFLAGS="--sysroot=$SR"
export CPPFLAGS="$CFLAGS"
export C_INCLUDE_PATH=$SR/include
export ANDROID_DEV=$SR/usr
export MAKEDEPPROG="$CC -M"
About problem, for example, in the $BR folder there are no more necessary compiler programs, and there are no headers in the $SR folder.
Note: $SR - "sysroot", $BR - common path to binaries in old Anroid NDK versions.

Thanks for help.

Shared Preferences vs Database

Good morning,

I am developing a music player app which will download the music data from my website. The music is proprietary so I want to download links, metadata, etc. When the app starts up. the catalog is downloaded and stored. Based on the complexity, should I store all of this information in a database? If a database, when the app starts up I plan in blowing the database and reloading the data fresh.

Whatsapp Images werden nicht gespeichert

Hallo:)

Meine Kollegin hat folgendes Problem:

Wenn sie Bilder in whatsapp geschickt bekommt werden diese nicht automatisch in der Galerie unter -Whatsapp images gespeichert. Die Häckchen bei whatsapp sind alle gesetzt dass die Bilder/Dateien automatisch heruntergeladen werden. Nomedia Datei beim whatsapp folder wurde auch schon gelöscht. Whatsapp neu installiert. Hat alles nichts gebracht. Kann es evtl daran liegen dass sie eine Speicherkarte hat, der intere Speicher voll ist und dass handy deshalb die Bilder nicht speichert? Wo kann man beim Huawei den Speicherort ändern, falls es daran liegt.
Ich bin über jeden Tipp dankbar um ihr helfen zu können:)

Huawei -Whatsapp Images werden nicht in Galerie angezeigt

Hallo. Meine Kollegin hat folgendes Problem:

Wenn sie Bilder in whatsapp geschickt bekommt werden diese nicht automatisch in der Galerie unter -Whatsapp images gespeichert. Die Häckchen bei whatsapp sind alle gesetzt dass die Bilder/Dateien automatisch heruntergeladen werden. Nomedia Datei beim whatsapp folder wurde auch schon gelöscht. Whatsapp neu installiert. Hat alles nichts gebracht. Kann es evtl daran liegen dass sie eine Speicherkarte hat, der intere Speicher voll ist und dass handy deshalb die Bilder nicht speichert? Wo kann man beim Huawei den Speicherort ändern, falls es daran liegt.
Ich bin über jeden Tipp dankbar um ihr helfen zu können:)

Open Beta 21 & 13 for Oneplus 6 & 6T

OnePlus have just started the Open Beta 21 & 13 OTA roll out for the OnePlus 6 & 6T to test new features and fixes that may or may not, come to future firmware updates. You will only receive this test firmware OTA if you are already on their Open Beta releases.

Changelog

EQWIdwAl.jpg


Android Security patch is still June 2019

Camera version is still 3.0.42

This is the 13th Open Beta release for the 6T in 176 days = 1 update, on average, every 14 days.

(N.B. Open Beta is NOT available for the T-Mobile (USA) carrier minority variant firmware)

Apps Caused by: java.lang.NullPointerException . Can someone help

Hey guys whatsup . I´m new here and i want to ask if you could help me with this error message ...


Code:
at android.app.ActivityThread.main(ActivityThread.java:7073)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)
     Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
        at com.example.myapplication2.MainActivity.onCreate(MainActivity.java:47)

Yeah you know i´m already sit over 2 days on this error message cause i can`t find any problem in my Code you know ...
Here are my Files , what I´m doing wrong ? :

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

       Button button = findViewById(R.id.button1);
       button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

                openanmeldung();
            }
        });







        BottomNavigationView navigation = findViewById(R.id.bottomnav);
        navigation.setOnNavigationItemSelectedListener(this);


        getSupportFragmentManager().beginTransaction().replace(fragment_container, new Home_Screen()).commit();


    }

    private void openanmeldung(){
        Intent intent = new Intent(MainActivity.this,AnmeldungButton.class);
        startActivity(intent);
    }


Thats not my whole code but here is a picture too from the debug tool :
I uploaded it .

and here is the file where I have my Button ... :

Code:
 <android.support.v7.widget.CardView

            android:layout_width="match_parent"
            android:layout_height="173dp"
            app:cardCornerRadius="8dp"
            android:layout_marginTop="80dp"
            android:layout_marginLeft="30dp"
            android:layout_marginRight="30dp"
            >

        <Button
                android:text="Mehr infos"
                android:layout_width="120dp"
                android:layout_height="35dp"
                android:id="@+id/button1"
                android:layout_weight="1"
                android:layout_marginTop="130dp"
                android:layout_marginRight="170dp"

                />


        <LinearLayout android:layout_height="match_parent"
                      android:layout_width="match_parent"
                      android:background="@color/maincolor"

                >

        </LinearLayout>

        <TextView android:layout_height="wrap_content"
                  android:layout_width="wrap_content"
                  android:textColor="@color/white"
                  android:text="HPI - 29.06.19"
                  android:textSize="24dp"
                />

        <TextView android:layout_height="wrap_content"
                  android:layout_width="wrap_content"
                  android:textColor="@color/white"
                  android:text="Sitzung: H-E.51"
                  android:textSize="16dp"
                  android:layout_marginTop="40dp"

                />
        <TextView android:layout_height="wrap_content"
                  android:layout_width="wrap_content"
                  android:textColor="@color/white"
                  android:text="Juni22, 2019"
                  android:textSize="16dp"
                  android:layout_marginTop="40dp"
                  android:layout_marginRight="20dp"
                  android:layout_marginLeft="270dp"






                />
            </android.support.v7.widget.CardView>


Here is the file that should open when I click the Button :


Code:
package com.example.myapplication2;


import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;


public class AnmeldungButton extends Fragment {

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return inflater.inflate(R.layout.moreinffos, container, false);
    }
}

Thank you for everyone who help me ....

Attachments

  • Button = null ;.JPG
    Button = null ;.JPG
    103.3 KB · Views: 281

Unsolicited pic download?

My son was using my S9, looking at a website about a game called slimerancher. After he was done, I saw a picture had downloaded to my phone. I looked at it and it was an inappropriate picture of a young girl, not illegal I don't think, no nudity, but from some European child modeling website that caters to pedophiles (there was a studio name on the photo, I looked up info on them). I checked the history, and it shows right in the middle of browsing slimerancher this pic downloaded to my phone. He never went to another site, and was completely baffled by the picture. Anyone know how this could happen? The thought of possibly illegal material being put on my phone without my knowledge is very scary.

Speech-to-text notes

Hi guys, I'm pretty new to speech assistants and speech-to-text apps, hopefully I get some help here
smile.png


I'm looking for a app/assistant to do one simple task for me:

  • speech-to-text todo list note
  • autosave it after/during recording
  • read it for me using machine voice after save (or any time after)

It would also be cool if this app would have some nice typical todo/notes interface and also some function to choose similar words when misheard. But this is not as important as the three points above.

I've tried ListNote app already, but the interface is a little bit confusing for me. I've also tried Voice notes from gawk, but there is no option to choose from similar words when misheard. Anyway, both apps can not read what I dictated, which is pretty important to me. I've also tried some others, all worked more like text file editors and the only one that could play me my note back was just plaing the recording (i my ugly voice
biggrin.png
sad.png
).

Does anybody know about some app or assistant, which works the way I want it to? Some assistant may be better than note apps, but I don't have any experience with these. Please help!

Accessories Android Box to access W10 shared folder

Hi all,

am looking for an Android box that will be able to read JPGs and MP4 on a Windows PC using Wi-Fi. The box will then display them on a TV. There are a lot of android box on the market but am looking for one with an Android OS which will be able to support a File Manager like ES file explorer or another paid App. The App should be able to use it's built-in media player to play the files one after the other.

I know ES file explorer just stops after playing a file and will not automatically read the next files.

Help S10 Plus: Keyboard lags after unlocking screen

Hi there,
After my Galaxy S10 Plus was updated to newest June firmware, I have annoying problem with the keyboard (all kind of keyboard: samsung, google, swipe,…). When I unlock the phone, and immediately (within 1 – 2 seconds after unlocking) type words, the keyboard lags and takes 2 – 3 seconds to appear.
For specific situation, when I am on chat screen, the keyboard is showing up, and then I turn off screen. After the phone is unlocked, the screen is still on chat screen, but keyboard doesn’t show up (like it is forced to disappear when the phone is locked). After that, when I immediately click to input words to continue chatting, the keyboard takes times to appear and shows some lagging.
It doesn’t happen when I wait a little bit after unlocking phone, or when I use phone for a while. I didn’t met this problem before.
I tried several methods like hard reset, clear cache data, etc, but it is ineffective.
Please help me to solve this problem.
Thank you so much.

Charging Fix for CoolUI 8.1

So I've a Coolpad Note 3 Lite and I've installed CoolUI 8.1 Reborn Marshmallow. Everything's fine except the charging. When i start charging there's no indication and the power button stops working. I have to force restart every time by pressing the power button. The site I downloaded from, they said that the battery isn't calibrated and all I have to do is to drain to 0% and switch off and charge to 100%. The problem will be solved but that doesn't work whenever I install it. I need that patch or fix or the original OS without any bugs.

Link : http://t0la.blogspot.com/2017/11/coolui-81-reborn-for-cp8676i02-note-3.html?m=1

Fingerprint Unlock & Google Pay

Hi All

When I wish to make payment using Google Pay, I unlock my Galaxy S5 by fingerprint and hold it over PayWave terminal. Once transaction is completed I close (lock) my phone.

My issue is that, while this works fine, every few transactions, as I hold phone over PayWave terminal, the phone asks me to enter my backup password. Once I enter my fingerprint backup password the phone displays "Try Again" and the PayWave transaction then works fine.

This unnecessary step (since no one else can unlock with my fingerprint) is frustrating. This doesn't seem to happen to others I know.

Since I reverted to unlocking my phone with a PIN, PayWave transactions work every time without requesting my backup password.

However, I would prefer to use fingerprint security.

Has anyone experienced or heard of this issue?

Would appreciate any advice.

Thanks!

Using Home Key to Answer Call on S5

Hi all, I have an Galaxy S5 which is running Resurection Remix 6.0 (8.0 Oreo) and is using the default Google Dialer app. I can't find an option to answer a call using my home key as all the guides online only cover Samsung's One UI stock phone dialer, not Google's. I've checked all the Accessiblity and Phone app settings but can't find an answer. Can anyone help please?

Filter

Back
Top Bottom