An special invitation foro you

by Luna estelar » Thu, 03 Sep 2009 02:22:38 GMT


Sponsored Links
 I invite you to know one the best adult personals website. Offering
you photo galleries, home porn videos,
and private chat rooms. You can sign up in few seconds. What are you
watting for?

 http://getiton.cubicsite.info 

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



Other Threads

1. WebView default zoom controls not working in 2.1 - what am I doing wrong

I'm using WebView to display some content in my application, and for
the application help.  I'd like to support zoom so that folks with
small screens or aging eyes will be able to magnify the text etc.

So, I used the recommended code from the WebView docs (and many
examples).  Here is how it looks in my HelpActivity.java:

     public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.help);

        WebView helptext = (WebView)findViewById(R.id.helpText);
 
helptext.loadData(getResources().getText(R.string.helpTextPlaceholder).toString(),
"text/plain", "utf-8");
        WebSettings ws = helptext.getSettings();
        ws.setSupportZoom(true);  // not sure if this is needed
        ws.setBuiltInZoomControls(true);

But when I run the app on my phone (HTC Eris), multitouch gestures are
ignored and the zoom controls appear.
But the device supports multitouch gestures for zoom in other
applications, so I know the hardware works.

Suggestions appreciated!

...nz

-- 

2. BroadcastReceiver called but PhoneStateListener not called

Hi All,

While debugging the code below, BroadcastReceiverCustom is being
called but PhoneStateListenerCustom is not. Please help.

For now I and doing required action in BroadcastReceiverCustom only,
but maynot be best place to do it.
Any suggestions why PhoneStateListener not being called??
Already spent lot of time for possible reasons, no idea??
Manifest file is all correct with correct permissions.
I see no runtime exceptions.
Please help.

BroadcastReceiverCustom.java

public class BroadcastReceiverCustom extends BroadcastReceiver {

private static final String TAG = "BroadcastReceiverCustom";

        @Override
        public void onReceive(Context context, Intent intent) {

                Log.v(TAG, "WE ARE INSIDE!!!!!!!!!!!");

                TelephonyManager telephony =
(TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE);
            PhoneStateListenerCustom phoneStateListenerCustom = new
PhoneStateListenerCustom();
            telephony.listen(phoneStateListenerCustom,
PhoneStateListener.LISTEN_CALL_STATE);
        }
}

PhoneStateListenerCustom.java

public class PhoneStateListenerCustom extends PhoneStateListener {

private static final String TAG = "PhoneStateListenerCustom";

public void onCallStateChange(int state, String incomingNumber){

                        Log.v(TAG, "WE ARE INSIDE!!!!!!!!!!!");
                switch(state){
                        case TelephonyManager.CALL_STATE_RINGING:
                                Log.d(TAG, "RINGING");
                                break;
                }

                        super.onCallStateChanged(state, incomingNumber);

        }
}


Manifest file

      <uses-permission
android:name="android.permission.READ_PHONE_STATE" />


        <receiver android:name=".BroadcastReceiverCustom">
                <intent-filter>
                        <action
android:name="android.intent.action.PHONE_STATE" />
                </intent-filter>
                </receiver>

-- 

3. [Ginger Bread][Webkit] Preloaded Flash is not working

4. file name limitations in assets?

5. manifest intent filter not matching new scheme

6. graphics in android widgets

7. Marathi or Hindi Keyboard