API Demos APK not running in Zoom Board

by tamal123 » Tue, 14 Apr 2009 19:23:23 GMT


Sponsored Links
 Hi,
I am trying to run API-Demos.apk in the zoom board. But it seems, the
APK is not getting installed properly. I have compiled  the CodeBase
using Eclipse, and source is been taken from Android SDK 1.0.
I have compiled the code using eclipse. The apk is working fine in
emulator. But in zoom board no icon itself is getting installed. Can
you please help.

Please let me know, how can i run the application on zoom board.

Thanks,
Tamal Tanu Biswas

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

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



Other Threads

1. Help Using

Please can someone give me some help geetting this to worj.
I get 
03-18 18:09:13.002: ERROR/AndroidRuntime(365): Uncaught handler: thread main 
exiting due to uncaught exception
03-18 18:09:13.080: ERROR/AndroidRuntime(365): 
android.view.WindowManager$BadTokenException: Unable to add window -- token 
null is not for an application
and i dont know why.
My code is below and i'm using 
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/ColorPickerDialog.html
Any help would be great.
Thank you in advance.

package com.example.android.livecubes.cube1;
import com.example.android.livecubes.R;

import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.PreferenceActivity;
import android.preference.PreferenceScreen;
import android.preference.Preference.OnPreferenceClickListener;
import android.util.Log;

public class CubeWallpaper1Settings extends PreferenceActivity
    implements SharedPreferences.OnSharedPreferenceChangeListener
    , ColorPickerDialog.OnColorChangedListener{

final String LOG_TAG="Fetch";
OnPreferenceClickListener opcl;
CubeWallpaper1Settings ochp;
    @Override
    protected void onCreate(Bundle icicle) {
        super.onCreate(icicle);
         getPreferenceManager().setSharedPreferencesName(
                CubeWallpaper1.SHARED_PREFS_NAME);
        addPreferencesFromResource(R.xml.settings);
        
        Preference test = findPreference("colorPicker");
        test.setOnPreferenceClickListener(overrider);
        ochp = this;
        
getPreferenceManager().getSharedPreferences().registerOnSharedPreferenceChangeListener(
        ochp);
    }

    
    @Override
    protected void onResume() {
        super.onResume();
    }

    @Override
    protected void onDestroy() {
        
getPreferenceManager().getSharedPreferences().unregisterOnSharedPreferenceChangeListener(
                this);
        super.onDestroy();
    }

    public void onSharedPreferenceChanged(SharedPreferences 
sharedPreferences,String key) {
     
    Log.v(LOG_TAG,"KEY: " +key);        
    }

   
public void colorChanged(int color) {
Log.v(LOG_TAG,"Color changed: "+ color);
 }
 public OnPreferenceClickListener overrider = new 
OnPreferenceClickListener() {
@Override
public boolean onPreferenceClick(Preference preference) {
Log.v(LOG_TAG,"Pref: "+preference.getKey());
new ColorPickerDialog(getApplicationContext() , ochp, 0).show();
return true;
}
};
}

-- 

2. About certificate on Android Platform.

Hi.

I have some question regarding security certificate on Android
platform.


1.Which certificate the Android platform support?
(Entrust certificate,Geotrust certificate and Verisign certificate)


2.1024-bit key or 2048-bit key ?


Reply me.


Regards.
S.K.Moon.


-- 

3. Error While booting Android_2.2_r1.1

4. APK abbreviations

5. (Updated) WTS: Motorola Defy 2nd (blm genep 1minggu)

6. How to make webview answers onmousedown immediataly when touched?

7. Twitter ERROR 401 Authentication credentials are missing