get an image from mysql in a pc

by Neri Martinez » Fri, 20 May 2011 09:30:37 GMT

Sponsored Links

this proyect has 2 parts:

1) in a pc is a mysql server running. I wanna do a program that save an
image into mysql (i read that i have to use blob fields)
2) from my android device, i want to get that image from mysql (that was
uploaded by the program in the pc)

another question: is php the only way to connect and android device to mysql
server running in a pc via WIFI?

thanks !

Neri M. Martinez
Ingeniero en Sistemas de Computacin


Other Threads

1. Jeruk Forum New Tutorial


i just update and edit tutorial Milestone di

ada tutorial Moving Dalvik-Cache ke partisi /cache...

main2 kesana yak..thank youuuu...

"Indonesian Android Community [id-android]" 

2. notifyDataSetChanged() on an adapter composed of child adapters?


I have an adapter class composed of several child adapters. Looks like

  public class TestAdapter extends BaseAdapter {

    ArrayLIst<Adapter> mChildAdapters;

    public void addAdapterChild(Adapter adapter) {

it works ok, running into a problem though if one of the child
adapters calls notifyDataSetChanged(). It looks like the notification
is never brought upwards to TestAdapter. For example, my child adapter
has a thumbnail image in each row, and I download them asynchronously.
When the image download is complete, the adapter will call
notifyDataSetChanged() so that the view is refreshed and the thumbnail
is shown. Works fine stand-alone.

When in this parent adapter, no refresh occurs. I can do this to fix
it, but am worried about an infinite cycle of updates:

  public void addAdapterChild(Adapter adapter) {


  private DataSetObserver mDataSetObserver = new DataSetObserver() {
    public void onChanged() {

so as long as this parent adapter is the one that calls
notifyDataSetChanged(), the refresh occurs and the thumbnails are



3. Jeruk Forum New Tutoria

4. HTC Tattoo 2nd include memory card 4G

5. getting bitmap of a textview

6. tcpdump permission denied

7. pre-order bener ga ya?