Android Question what is the correct way to protect my app

Carlos marin

Active Member
Licensed User
Longtime User
hello experts;
My question is the following; I usually use this method for my connection to databases in my applications
query:
B4X:
ExecuteRemoteQuery("SELECT * FROM s_clientes WHERE movil = '" & c.GetString("movil")  & "'", 1) ' ORDER BY categoria
Connection php
B4X:
Sub ExecuteRemoteQuery(Query As String, JobName As String)
        Dim job As HttpJob
        job.Initialize(JobName, Me)
        job.PostString("http://66.77.101.99/solodom_apps/database.php", Query)
End Sub

the problem is when they hack (reverse engineering) my app you see all the code !. what is the correct way to protect my application, not see the query to my database or the php, thanks!

imagen2.png
 
Top