Several errors with 1.5 + Linux.

by Gabriel from Argentina » Thu, 30 Apr 2009 12:15:53 GMT


Sponsored Links
 Hi guys, i'm getting these two errors when trying to open a new
project. I already configurated the proper Sun 1.6 java version and
now getting this. Clicking OK i manage to get to the new project main
dialog, but with no targets!

 http://yfrog.com/44screenshotyjgp 

I'm *this* close to return no Windows, but i resist! :)
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Prob with remote service:

I am binding a remote service from an activity and unbind the same on the
onPause of the Activity,when the activity again restarts i bind the service
.It does bind with the remote service and i am also successful in getting
the remote-service method getting executed after the restart.But when
returning a message from the callback-RemoteCallbackList.the
mCallbacks.beginBroadcast returns me 0 clients.Am i missing some thing here
?why am i am getting zero clients when I call mCallbacks.beginBroadcast.??

-----------------------------------------------------------------
@Override
    public void onDestroy() {

        // Unregister all callbacks.
        mCallbacks.kill();

        System.out.println("I am destroyin");

    }
@Override
    public IBinder onBind(Intent intent) {
        if (IRemoteWSService.class.getName().equals(intent.getAction())) {

            return mBinder;
        }
        if (IWSSecondary.class.getName().equals(intent.getAction())) {

            return mSecondaryBinder;
        }

        return null;
    }
private final Handler mHandler = new Handler() {
        @Override
        public void handleMessage(Message msg) {
            switch (msg.what) {

            // It is time to bump the value!
            case ONSUCCES: {

                System.out.println("Remote ONSUCCES");
                // Broadcast to all clients the new value.
                final int N = mCallbacks.beginBroadcast();
                System.out.println("n "+N);
                for (int i = 0; i < N; i++) {
                    try {


mCallbacks.getBroadcastItem(i).onSuccess(successBundle);
                    } catch (RemoteException e) {
                        // The RemoteCallbackList will take care of removing
                        // the dead object for us.
                    }
                }
                mCallbacks.finishBroadcast();
            }
                break;
            // It is time to bump the value!
            case ONERROR: {
                //System.out.println("Remote ONERROR");

                // Broadcast to all clients the new value.
                final int N = mCallbacks.beginBroadcast();
                for (int i = 0; i < N; i++) {
                    try {

                            mCallbacks.getBroadcastItem(i).onError();
                    } catch (RemoteException e) {
                        // The RemoteCallbackList will take care of removing
                        // the dead object for us.
                    }
                }
                mCallbacks.finishBroadcast();

            }
}
}
---------------------------------------------------------

-- 

2. Edit startup apps.

Prends,

Nanya dwonk. 
Ada cara buat edit apps yang running begitu hpnya di start pertama kali?
Soale lumayan lama startupnya en makan memory juga kan mestinya?
Taunya, setiap abis cabut batere trus jalanin Advanced Task Killer, udah 
berderet apps yang udah running. 

TIA yah. 

--~--~---------~--~----~------------~-------~--~----~
=========================
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

3. MovieView's layout in 1024x768 LCD has issue.

4. Exception occurs when launching first activity

5. FileNotFoundException occurs when i try to create a jpeg file in sdcard :(

6. Cara Ubah Themes Magic

7. No Service -- Penerimaan Signal Magic Lemah??