Re: [android-developers] MySQL Connectivity

2010-09-14 Thread Kostya Vasilyev
ADB and USB settings are accessible from standard Android UI. The former can be read, but not changed by "regular" applications. The latter is often device-specific. This means the user can change it at any time. Relying on either setting for anti-piracy or security is not going to work. Custom f

Re: [android-developers] MySQL Connectivity

2010-09-14 Thread Miguel Morales
Try adding e.printStackTrace() in your catch method. On Sun, Sep 12, 2010 at 12:51 AM, Rosebeat wrote: > Hello, I have this code that I want to make on android. > Here is the PHP code > mysql_connect("localhost","username","password"); > mysql_select_db("game"); > echo "Database has been selecte

[android-developers] MySQL Connectivity

2010-09-14 Thread Rosebeat
Hello, I have this code that I want to make on android. Here is the PHP code '".$_REQUEST['id']."'"); while($b=mysql_fetch_assoc($a)) $output[]=$b; print(json_encode($output)); ?> Here is the android code package org.me.androidapplication21; import android.app.Activity; import android.os.Bu