Error on dmtracedump

by for android » Fri, 26 Dec 2008 17:10:30 GMT


Sponsored Links
 When trying to read .trace file from dmtracedump tool,I get this error

D:\android-sdk-windows-1.0_r2\tools>dmtracedump myActivity.trace
ERROR: unable to read 458752 bytes from trace file
Cannot read trace.


Whats the reason for this error??any ideas on how to solve it ???

thanks

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



Error on dmtracedump

by for android » Thu, 01 Jan 2009 15:09:21 GMT


 any help....??





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


Sponsored Links


Other Threads

1. New application list

You can now subscribe to the AndAppStore new listings feed via 
feedburner at;

http://feeds.feedburner.com/AndappstorecomNewListings

This will allow you to subscribe using pretty much any one of the 
popular agregators.

Al.
--
http://andappstore.com/

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

2. Simple Maps app crashes...

I'm just starting to play around with Android, and I'm stumped when
working with Google Maps.

The error I'm getting is this: "The application MapsTest (process
maps.google.maps.test) has stopped unexpectedly.  Please try again."

So far, my application is pretty bare-bones, which makes me think that
I'm missing something small, which I really need to resolve before
continuing.

Thanks for any suggestions.  Code listed below.

MapsTest.java:

import android.os.Bundle;
import android.widget.Button;

import com.google.android.maps.MapActivity;

public class MapsTest extends MapActivity
{
        Button refresh;
        @Override
        public void onCreate(Bundle savedInstanceState)
        {
                super.onCreate(savedInstanceState);
                setContentView(R.layout.main);
        }
        @Override
        protected boolean isRouteDisplayed() {
                // TODO Auto-generated method stub
                return false;
        }
}

main.xml:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android" style="@style/body">
        <Button android:id="@+id/refresh" style="@style/refresh" />
        <com.google.android.maps.MapView style="@style/maps"
android:apiKey="bogus" />
</LinearLayout>

style.xml:

<?xml version="1.0" encoding="utf-8"?>
<resources>
        <style name="body">
                <item name="android:orientation">vertical</item>
                <item name="android:layout_width">fill_parent</item>
                <item name="android:layout_height">fill_parent</item>
        </style>
        <style name="maps">
                <item name="android:layout_width">fill_parent</item>
                <item name="android:layout_height">fill_parent</item>
                <item name="android:enabled">true</item>
                <item name="android:clickable">true</item>
        </style>
        <style name="refresh">
                <item name="android:layout_width">fill_parent</item>
                <item name="android:layout_height">wrap_content</item>
                <item name="android:text">@string/refresh</item>
        </style>
</resources>

AndroidManifest.xml:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="maps.google.maps.test"
      android:versionCode="1"
      android:versionName="1.0.0">
    <application android:icon="@drawable/icon" android:label="@string/
app_name">
        <activity android:name=".MapsTest"
                  android:label="@string/app_name">
                  <uses-library
android:name="com.google.android.maps" />
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
    <uses-permission xmlns:android="http://schemas.android.com/apk/res/
android" android:name="android.permission.INTERNET"></uses-permission>
    <uses-permission xmlns:android="http://schemas.android.com/apk/res/
android" android:name="android.permission.ACCESS_COARSE_LOCATION"></
uses-permission>
</manifest>

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

3. write a sample app to stream music

4. Master degree work

5. grid instead of mapview on emulator

6. Can anyone tell me if the Android platform supports Ifrared port ?

7. I need to develop a calendar application using Android.