Need Help to use webservices APIs for the following scnerio

by faritha » Wed, 15 Apr 2009 02:06:08 GMT

Sponsored Links
 Could you please help me with the sample code for the following

- I want to load one url but i want to mask all the contents of that
url. And i have to provide my text boxes and buttons.
- If user clicks My button i have to supply that click action to url
button loaded in webview background to do appropriate action.

For example:
- I have to load but i don't want UI of I will
provide my simple UI with username,password and login button.
- If user clicks my UI button i will pass that to "login"
button. It has to open the inbox of that particular user without
displaying the login screen of

Could you please help which class and APIs i have to use for this
example? Please help me with the sample code...


Other Threads

1. Never getting onLocationChanged (in emulator)

I have yet to test this on a real phone.
My problem is this service is supposed to send output to a log, when
the location is changed.
It isn't working, I don't know why. AndroidManifest has permission for
fine, coarse, and mock locations.
I sent locations using  (telnet localhost (port), geo fix 12.2321
12.23232) etc AND via eclipse controls.
The service runs the whole time, but the log never receives info from
the onLocationChanged command, but it DOES receive info from onStart,
onCreate, startUpdates, etc.

My service is started via:
Intent myLocService = new Intent(this, FmiLocationManager.class);


package org.findmydroid;

import android.content.Context;
import android.content.Intent;
import android.location.LocationManager;
import android.location.Location;
import android.location.LocationListener;
import android.os.Bundle;
import android.os.IBinder;
import android.util.Log;
import android.location.Criteria;

public class FmiLocationManager extends Service implements
        private LocationManager locationMan;
        private LocationListener locationLis;

        public void onCreate()
                Log.e("fmi","fmi fmilocationmanager created");
        public void onStart()
                Log.e("fmi","fmi fmilocationmanager started and updates 
        public void onStop()
                Log.e("fmi","fmi location updates stopped");

        public void startUpdates()
                Log.e("fmi","fmi startUpdates in locationmanager called");
                locationMan = (LocationManager) getSystemService
                if (locationMan == null)
                        Log.e("fmi","fmi locationManager is null, bad 
                String provider;
                        provider = LocationManager.GPS_PROVIDER;
                        Criteria bestCrit = new Criteria();
                        provider = locationMan.getBestProvider(bestCrit,true);


        public void stopUpdates()
                if(locationLis != null)

        public IBinder onBind(Intent intent) {
                return null;

        public void onLocationChanged(Location loc) {
        Log.e("fmi","fmi new location received");
        /////////////////////////////?THIS IS WHAT ISN'T EVER

    public void onProviderDisabled(String provider) {

    public void onProviderEnabled(String provider) {


    public void onStatusChanged(String provider, int status,
        Bundle extras) {

2. Clickable Desktop Widget

Hi guys,

i'm implementing a simple Widget that toggles on/off a service on my
App, I've extended a AppWidgetProvider class and succesfully defined
the xml <appwidget-provider> file.

The question is, how can i register a OnClikListener so i know when
the user clicks the widget on the desktop (once its already placed on
it) the OnUpdated(), OnEnabled(), OnDisabled() events are being
correctly called, but i don't know how to register a OnClickListener
sinces there's no activity and therefore i cannot call findViewById().

How is it done for most of the toggle widgets? how have you guys
implemented it?

Thanks in advance

3. Is it possible to load multiple shared library in Android using NDK

4. How can implement EditText on android app widget

5. getdatafilepath(String) from ContentResolver

6. liste activity, selected item not shown

7. How to unsubscribe from the e-mail list