geo fix in emulator - strange pattern in gps fix timestamps

by f...@zcom.it » Fri, 23 Apr 2010 08:03:50 GMT


Sponsored Links
 Hi,

The problem is that location.getTime() returns UTC timestamp.
You have to convert it in a GMT timestamp.

If you already solved the problem could you please post the solution.
thx

regards Fabi




--



Other Threads

1. Can't access SurfaceFlinger

Hi everyone,
        I am using <uses-permission
         android:name="android.permission.ACCESS_SURFACE_FLINGER" />
to access the SurfaceFlinger.
But I am getting the error
*W/ServiceManager(   59): Permission failure:
android.permission.ACCESS_SURFACE_FLINGER from uid=10036 pid=325
E/SurfaceFlinger(   59): Permission Denial: can't access SurfaceFlinger
pid=325,
 uid=10036*
How to Rectify the above error?
With Regards,
Mr Yuan..

-- 

2. Not receiving webview's onClick and onLongClick events

Trying to receive the onClick and onLongClick event on webview using
below code but it failed to receive the event. Please help me out if
anything is missing  or wrongly implemented to achieve the expected
result.


main.xml
==============================================================

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >

     <WebView
        android:id="@+id/webview"
        android:layout_width="100px"
        android:layout_height="100px"
    />

</LinearLayout>

========================================================================



HelloTest.java

public class HelloTest extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        WebView webview;


        OnClickListener clickListen = new OnClickListener() {
            public void onClick(View v) {
                System.out.println("########################## Inside
CLICK LISTERNAER");
            }
        };

        OnLongClickListener longclickListen = new
OnLongClickListener() {
            public boolean onLongClick(View v) {
                System.out.println("########################## Inside
CLICK LISTERNAER");
                return true;
            }
        };

        webview = (WebView) findViewById(R.id.webview);
        webview.getSettings().setJavaScriptEnabled(true);
        webview.setClickable(true);
        webview.setLongClickable(true);
        webview.setOnClickListener(clickListen);
        webview.setOnLongClickListener(longclickListen);
        webview.loadUrl("http://www.google.com");
   }
}

============================================================================

Manifest file

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.agy.wrt.hellotest"
      android:versionCode="1"
      android:versionName="1.0">
    <application android:icon="@drawable/icon" android:label="@string/
app_name">
        <activity android:name=".HelloTest"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

    </application>
    <uses-sdk android:minSdkVersion="8" />
        <uses-permission android:name="android.permission.INTERNET" />

</manifest>
=======================================================================

--

3. WebView request monitoring

4. libaudio

5. Include .jar file in my project?

6. disable log messages "dataCallback(16, 0x11af10)" when using mCamera.setPreviewCallback(this);

7. Dex not working with spaces in path on the new android platform tools (V8)