Android FTP

by dario » Thu, 30 Jul 2009 01:21:12 GMT


Sponsored Links
 hello I whant to make android simple FTP client, but I cant use any
FTP sdk , can someone to tell me how to make connection to ftp on
android

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Refreshing running activity from a background service

Hi,
I'm creating a prototype for a messaging application. Here's what I've
got so far:
1. Main list activity which show the list of received messages from
the database (public class MainAcitvity extends ListActivity)
2. On the first run the activity starts a background service in the
onCreate():
        startService(new Intent(this, MessageSyncStarter.class));

3. The MessageSyncStarter service registers a repeating alarm like
this:
        Intent intent = new Intent(this,
MessageSyncBroadcastReceiver.class);
        PendingIntent pendingIntent = PendingIntent.getBroadcast(this,
REQUEST_CODE, intent, 0);
        mAlarmManager = (AlarmManager)
getSystemService(ALARM_SERVICE);
 
mAlarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP,
SystemClock.elapsedRealtime() + FIRST_RUN, INTERVAL, pendingIntent);

4. The MessageSyncBroadcastReceiver is the entry point to handle
network communication, fetch messages from server and put them into
database:
        public void onReceive(Context context, Intent intent) {
                SynchronizeMessages(context);
        }

Everything works fine. The thing I don't get is - how to perform UI
refresh in the main activity (if it's on the foreground) when
MessageSyncBroadcastReceiver gets its job done?
That is: what is the correct way to let my activity know that it needs
to refresh the list.

Also: what is the correct approach to construct an applications like
this, when a background process is needed to perform a regular syncing
work and notify all interested activities to refresh their views?

Thanks.
Ilja.

-- 

2. Need to buy 15 Nexus One Unlocked

Hello,

I'm a developer and I recently got a grant approved to buy hardware
for an Android developer class.
I'd like to get my hands on 15 Nexus 1's.  The limit listed is 10. Is
there anyone I can contact?

Can I get the Nexus S unlocked at Best Buy does anyone know?

Thanks for any assistance.

Josh Beck

-- 

3. Unable to get RILD/RILC or hardware level logs

4. [WTShare] Desire DATA2SD, unlimited internal storage and moro I/O

5. [WTA] Word, Excell, Powerpoint Editor di Android

6. [WTS] Aksesoris Samsung Galaxy S,Tab,Nexus S,HTC Series (Desired HD,Desire,Desire Z,Wildfire,Nexus 1,HD7)

7. Nanya Android gadget harga USD 600