When is SDK based on cupcake getting released

by David Turner » Tue, 03 Mar 2009 21:25:10 GMT


Sponsored Links
 While I can't tell when the Cupcake SDK will be publicly available, I'm very
surprised by
your statement that "debugging and make are very slow on ubuntu".

What is exactly your setup, and what kind of slowness do you experience ?





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



When is SDK based on cupcake getting released

by Shadakshari Hiremath » Tue, 03 Mar 2009 21:54:47 GMT


 I have core 2 duo processor at 2.8GHz and 2GB RAM. Ubuntu is running
in VM Player under windows XP. In ubuntu DDMS is needed to be run
manually and attached for debugging. This attach takes time. Step and
step into using F5 and F6 keys takes longer.
In windows SDK debugging is integrated in ADT plugin and no need to
start DDMS manually. Step and step into are very quick to respond.
Build is also very quick in windows SDK.

However I am not sure whether the sluggishness is due to running
ubuntu inside VM player.





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


Sponsored Links


When is SDK based on cupcake getting released

by David Turner » Tue, 03 Mar 2009 23:09:30 GMT


 




Why is that ? The Eclipse plugin should work just fine under Ubuntu.



It certainly is. And what amount of RAM/disk space did you allocate to your
virtual machine.
A reasonable explanation might be that there isn't enough RAM for the VM to
run everything
appropriately.





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



When is SDK based on cupcake getting released

by Anonymous Anonymous » Wed, 04 Mar 2009 08:04:04 GMT


 Hi David

I also have a similar problem and using a pure ubuntu laptop (no vmplayer),
but attaching via DDMS taking much time (.. i mean "...the launching
activity step), is there any tweak for this? btw am working on cupcake
branch.

Thanks








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



When is SDK based on cupcake getting released

by Shadakshari Hiremath » Thu, 05 Mar 2009 15:16:24 GMT


 Hi David,

I have installed the ADT plugin in eclipse europa on ubuntu. I am
working on open source version cupcake. Eclipse is now asking to
configure the android.jar file path. But, I couldn't find this file in
compiled version cupcake. Please provide the path details and
instructions if any required to build android.jar using cupcake source
code.

BR,
Shaddu







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



When is SDK based on cupcake getting released

by Shadakshari Hiremath » Fri, 06 Mar 2009 14:48:40 GMT


 This question is forwarded to Android-Platform discussion forum as the
question is more relevant to that forum.








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



Other Threads

1. Error Receiving Broadcast Null in [IntentReceiver] (Very Easy)

Hello everyone,

Well, I have a MapActivity and I refresh my location with an intent
receiver that receives intents from the location manager. This is my
basic code:

@Override
public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        update();
        setupForGPSAutoRefreshing();
    }
        @Override
        public void onFreeze(Bundle icicle) {
            this.unregisterReceiver(this.myIntentReceiver);
            super.onFreeze(icicle);
        }
        @Override
        public void onResume() {
            super.onResume();
            this.registerReceiver(this.myIntentReceiver,
this.myIntentFilter);
        }
    @Override
    protected void onDestroy() {
        super.onDestroy();
        locationManager.removeUpdates(new Intent("NotSpecialIntent"));
        this.unregisterReceiver(this.myIntentReceiver);
    }
        class MyIntentReceiver extends IntentReceiver {
        @Override
        public void onReceiveIntent(Context context, Intent intent) {
            UpdateList.this.update();
        }
    }
        private void setupForGPSAutoRefreshing() {
        List<LocationProvider> providers =
this.locationManager.getProviders();
        LocationProvider provider = providers.get(0);
        this.locationManager.requestUpdates(provider, 1000, 10, new
Intent(MY_LOCATION_CHANGED_ACTION));
        this.myIntentReceiver = new MyIntentReceiver();
    }
private void update() {
//some code
}

I have a problem where once in a while it shows the error message :
Error receiving broadcast null in [intentreceiver].

This is my LogCat:

WARN/ActivityManager(1768): finishReceiver called but active receiver
is different
DEBUG/dalvikvm(2628): Exception Ljava/lang/RuntimeException; from
ActivityThread.java:492 not caught locally
DEBUG/dalvikvm(2628): Exception Ljava/lang/RuntimeException; from
ZygoteInit.java:1553 not caught locally
DEBUG/AndroidRuntime(2628): Shutting down VM
WARN/dalvikvm(2628): threadid=3: thread exiting with uncaught
exception (group=0x4000fdf8)
ERROR/AndroidRuntime(2628): Uncaught handler: thread Main exiting due
to uncaught exception
ERROR/AndroidRuntime(2628): java.lang.RuntimeException: Error
receiving broadcast null in
[EMAIL PROTECTED]
ERROR/AndroidRuntime(2628):     at android.app.ActivityThread
$PackageInfo$ReceiverDispatcher.run(ActivityThread.java:492)
ERROR/AndroidRuntime(2628):     at
android.os.Handler.handleCallback(Handler.java:455)
ERROR/AndroidRuntime(2628):     at
android.os.Handler.dispatchMessage(Handler.java:78)
ERROR/AndroidRuntime(2628):     at android.os.Looper.loop(Looper.java:
91)
ERROR/AndroidRuntime(2628):     at
android.app.ActivityThread.main(ActivityThread.java:3052)
ERROR/AndroidRuntime(2628):     at
java.lang.reflect.Method.invokeNative(Native Method)
ERROR/AndroidRuntime(2628):     at
java.lang.reflect.Method.invoke(Method.java:356)
ERROR/AndroidRuntime(2628):     at android.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:1547)
ERROR/AndroidRuntime(2628):     at
android.os.ZygoteInit.main(ZygoteInit.java:1445)
ERROR/AndroidRuntime(2628):     at
android.dalvik.NativeStart.main(Native Method)
ERROR/AndroidRuntime(2628): Caused by: java.lang.NullPointerException
ERROR/AndroidRuntime(2628):     at android.app.ActivityThread
$PackageInfo$ReceiverDispatcher.run(ActivityThread.java:476)
ERROR/AndroidRuntime(2628):     ... 9 more
INFO/Process(1768): Sending signal. PID: 2628 SIG: 3
INFO/dalvikvm(2628): threadid=7: reacting to signal 3
INFO/dalvikvm(2628): DALVIK THREADS:
INFO/dalvikvm(2628): "Main" prio=5 tid=3 NATIVE
INFO/dalvikvm(2628):   | group="main" sCount=1 dsCount=0 s=0
obj=0x40010450
INFO/dalvikvm(2628):   | sysTid=496 nice=0 sched=0/0
handle=-1096958724
INFO/dalvikvm(2628):   at android.os.BinderProxy.transact(Native
Method)
INFO/dalvikvm(2628):   at
android.app.ActivityManagerProxy.handleApplicationError(ActivityManagerNative.java:
1441)
INFO/dalvikvm(2628):   at
android.os.RuntimeInit.crash(RuntimeInit.java:250)
INFO/dalvikvm(2628):   at android.os.RuntimeInit
$UncaughtHandler.uncaughtException(RuntimeInit.java:56)
INFO/dalvikvm(2628):   at
java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:853)
INFO/dalvikvm(2628):   at
java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:850)
INFO/dalvikvm(2628):   (break frame)
INFO/dalvikvm(2628):   at android.dalvik.NativeStart.main(Native
Method)
INFO/dalvikvm(2628):   (break frame)
INFO/dalvikvm(2628): "Thread-7" prio=5 tid=15 WAIT
INFO/dalvikvm(2628):   | group="main" sCount=1 dsCount=0 s=0
obj=0x40045d78
INFO/dalvikvm(2628):   | sysTid=2643 nice=0 sched=0/0 handle=1407376
INFO/dalvikvm(2628):   at java.lang.Object.wait(Native Method)
INFO/dalvikvm(2628):   - waiting on <0x157a80> (a java.lang.Object)
INFO/dalvikvm(2628):   at java.lang.Object.wait(Object.java:195)
INFO/dalvikvm(2628):   at
com.google.googlenav.map.MapService.run((null):-1)
INFO/dalvikvm(2628):   at java.lang.Thread.run(Thread.java:896)
INFO/dalvikvm(2628):   (break frame)
INFO/dalvikvm(2628): "Binder Thread #2" prio=5 tid=13 NATIVE
INFO/dalvikvm(2628):   | group="main" sCount=1 dsCount=0 s=0
obj=0x4001d5d8
INFO/dalvikvm(2628):   | sysTid=2642 nice=-10 sched=0/0 handle=1356416
INFO/dalvikvm(2628):   at android.dalvik.NativeStart.run(Native
Method)
INFO/dalvikvm(2628):   (break frame)
INFO/dalvikvm(2628): "Binder Thread #1" prio=5 tid=11 NATIVE
INFO/dalvikvm(2628):   | group="main" sCount=1 dsCount=0 s=0
obj=0x4001a448
INFO/dalvikvm(2628):   | sysTid=2641 nice=-5 sched=0/0 handle=1352992
INFO/dalvikvm(2628):   at android.dalvik.NativeStart.run(Native
Method)
INFO/dalvikvm(2628):   (break frame)
INFO/dalvikvm(2628): "JDWP" daemon prio=5 tid=9 VMWAIT
INFO/dalvikvm(2628):   | group="system" sCount=1 dsCount=0 s=0
obj=0x400b4370
INFO/dalvikvm(2628):   | sysTid=2633 nice=0 sched=0/0 handle=1349688
INFO/dalvikvm(2628):   at android.dalvik.NativeStart.run(Native
Method)
INFO/dalvikvm(2628):   (break frame)
INFO/dalvikvm(2628): "Signal Catcher" daemon prio=5 tid=7 RUNNABLE
INFO/dalvikvm(2628):   | group="system" sCount=0 dsCount=0 s=0
obj=0x400b80c0
INFO/dalvikvm(2628):   | sysTid=2632 nice=0 sched=0/0 handle=1338576
INFO/dalvikvm(2628):   at android.dalvik.NativeStart.run(Native
Method)
INFO/dalvikvm(2628):   (break frame)
INFO/dalvikvm(2628): "HeapWorker" daemon prio=5 tid=5 VMWAIT
INFO/dalvikvm(2628):   | group="system" sCount=1 dsCount=0 s=0
obj=0x40071370
INFO/dalvikvm(2628):   | sysTid=2629 nice=0 sched=0/0 handle=1335976
INFO/dalvikvm(2628):   at android.dalvik.NativeStart.run(Native
Method)
INFO/dalvikvm(2628):   (break frame)
INFO/dalvikvm-heap(1768): GC! (5453ms since last GC)
INFO/dalvikvm-heap(1768): GC old usage 61.1%; now 3.064MB used /
5.064MB soft max (7.565MB real max)
INFO/dalvikvm-heap(1768): GC freed 16323 objects / 2038732 bytes in
174ms
INFO/dalvikvm-heap(1768): GC! (5697ms since last GC)
INFO/dalvikvm-heap(1768): GC old usage 62.3%; now 3.158MB used /
5.158MB soft max (7.565MB real max)
INFO/dalvikvm-heap(1768): GC freed 15746 objects / 1991104 bytes in
124ms
WARN/ActivityManager(1768): Timeout of broadcast
BroadcastRecord{406abdd8 android.intent.action.LOCATION_CHANGED}
WARN/ActivityManager(1768): Receiver during timeout:
BroadcastFilter{406952d0 android.app.IIntentReceiver$Stub
[EMAIL PROTECTED]
INFO/dalvikvm-heap(1768): GC! (5632ms since last GC)
INFO/dalvikvm-heap(1768): GC old usage 62.6%; now 3.232MB used /
5.232MB soft max (7.565MB real max)
INFO/dalvikvm-heap(1768): GC freed 15266 objects / 2018920 bytes in
195ms
INFO/dalvikvm-heap(1768): GC! (5706ms since last GC)
INFO/dalvikvm-heap(1768): GC old usage 63.1%; now 3.305MB used /
5.305MB soft max (7.565MB real max)
INFO/dalvikvm-heap(1768): GC freed 15275 objects / 2017732 bytes in
568ms
WARN/ActivityManager(1768): Timeout of broadcast
BroadcastRecord{406abdd8 android.intent.action.LOCATION_CHANGED}
WARN/ActivityManager(1768): Receiver during timeout:
BroadcastFilter{406952d0 android.app.IIntentReceiver$Stub
[EMAIL PROTECTED]
INFO/dalvikvm-heap(1768): GC! (6083ms since last GC)
INFO/dalvikvm-heap(1768): GC old usage 63.6%; now 3.378MB used /
5.378MB soft max (7.565MB real max)
INFO/dalvikvm-heap(1768): GC freed 15035 objects / 2019596 bytes in
154ms
WARN/ActivityManager(1768): Timeout of broadcast
BroadcastRecord{406abdd8 android.intent.action.LOCATION_CHANGED}
WARN/ActivityManager(1768): Receiver during timeout:
BroadcastFilter{406952d0 android.app.IIntentReceiver$Stub
[EMAIL PROTECTED]
INFO/dalvikvm-heap(1768): GC! (5999ms since last GC)
INFO/dalvikvm-heap(1768): GC old usage 63.6%; now 3.421MB used /
5.421MB soft max (7.565MB real max)
INFO/dalvikvm-heap(1768): GC freed 14717 objects / 2052788 bytes in
153ms
INFO/dalvikvm-heap(1768): GC! (6116ms since last GC)
INFO/dalvikvm-heap(1768): GC old usage 63.2%; now 3.431MB used /
5.431MB soft max (7.565MB real max)
INFO/dalvikvm-heap(1768): GC freed 14673 objects / 2086340 bytes in
155ms
WARN/ActivityManager(1768): Timeout of broadcast
BroadcastRecord{406abdd8 android.intent.action.LOCATION_CHANGED}
WARN/ActivityManager(1768): Receiver during timeout:
BroadcastFilter{406952d0 android.app.IIntentReceiver$Stub
[EMAIL PROTECTED]
INFO/dalvikvm-heap(1768): GC! (5822ms since last GC)
INFO/dalvikvm-heap(1768): GC old usage 63.1%; now 3.431MB used /
5.431MB soft max (7.565MB real max)
INFO/dalvikvm-heap(1768): GC freed 14708 objects / 2089480 bytes in
157ms
INFO/dalvikvm-heap(1768): GC! (6009ms since last GC)
INFO/dalvikvm-heap(1768): GC old usage 63.1%; now 3.431MB used /
5.431MB soft max (7.565MB real max)
INFO/dalvikvm-heap(1768): GC freed 14688 objects / 2096792 bytes in
164ms
WARN/ActivityManager(1768): Timeout of broadcast
BroadcastRecord{406abdd8 android.intent.action.LOCATION_CHANGED}
WARN/ActivityManager(1768): Receiver during timeout:
BroadcastFilter{406952d0 android.app.IIntentReceiver$Stub
[EMAIL PROTECTED]

What am I doing wrong here?

Thanks,
Noam.
--~--~---------~--~----~------------~-------~--~----~

2. Open for Tutorial Requests

Pocket Journey would never have made it without all the tutorials and
discussions people have posted. I've created a few tutorials myself,
but wanted to make an offer to help some of you as the deadline nears.

I just posted an announcement video & screenshots of Pocket Journey:

www.pocketjourney.com/androidVideo.do

If there's anything on the video or screenshots that you find of
interest, let me know & I'll do my best to get another tutorial out to
help you.

The few tutorials I've created already cover some of the coding
techniques shown in the screenshots:

www.pocketjourney.com/androidTutorials.do

Of course, a major effort of Pocket Journey has been getting a
community of content created to populate the application along with
server-side data feeds to send the information.  That tutorial would
have to be about partnering and marketing.  ; - )

Anthony
--~--~---------~--~----~------------~-------~--~----~

3. TextView as button in m3

4. Problem with EasyEclipse Mobile Java?

5. Faxing with android

6. copyWindowBitmap don't work

7. Wii-mote into Android