Wow. Why isn't the 1.5 emulator working...

by dapaintballer331 » Wed, 15 Jul 2009 06:58:41 GMT


Sponsored Links
 After weeks of trying to get my service to run on boot & an interval
via AlarmManager I finally found out the problem. Can anybody help me?

If my workspace is for sdk 1.5, the service NEVER RUNS ONCE.
If my workspace is for sdk 1.0, USING THE 1.0 EMULATOR, NOT THE 1.5
EMULATOR, it works perfectly.

Is this a known bug? Why is it only working on the old SDK? Is there
an additional permission I need?
--~--~---------~--~----~------------~-------~--~----~



Wow. Why isn't the 1.5 emulator working...

by Mark Murphy » Wed, 15 Jul 2009 07:11:25 GMT


 


BOOT_COMPLETED events and AlarmManager definitely work on Android 1.5. I
have the code to prove it:

 http://commonsware.com/AdvAndroid/ 

(click on Source Code, look in the ZIP file for the SystemServices/Alarm
project)

If you want, compare your implementation with mine, and report back what
difference you think may explain the behavior -- that would get us a lot
closer to determining if this is a "known bug".

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Warescription: Three Android Books, Plus Updates, $35/Year

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


Sponsored Links


Other Threads

1. Where to find developmet tablet

Hello all,
I'm looking for a development tablet for loading my own build. I'm
developing my Launcher and Media Player and i made some modifications
on framework. I can test this works on Nexus One it is ok but how can
I test my works on tablet. Can you suggest me where (or how) can i
find development tablet. It comes with kernel source, platform
(vendor) sources and image loading procedures (tools).
I have already checked Beagleboard but it doesn't suitable for my
needs. I need a complete tablet environment.
Touch Book (https://www.alwaysinnovating.com/home/index.htm ) looks
very good.
Do you know another alternatives for my requirements.

Best regards

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. query about LOCAL_LDLIBS

Hi All,

Its like, I need to use some prebuilt android modules' libs(.so
and .a) while building system.img.
I am trying to link those libs using LOCAL_LDLIBS where they are
required and surpassed their building through source code and
Android.mk.

My current situation is:
I want to include prebuilt static lib as a whole in a shared lib.
So in shared libs' Android.mk, I have tried these syntax:

(1) LOCAL_LDLIBS += -L$(SOME_MACRO)/some_dir -Wl,--whole-archive -
llibabc.a -Wl,--no-whole-archive

(2) LOCAL_LDLIBS += -L$(SOME_MACRO)/some_dir -Wl,--whole-archive -labc
-Wl,--no-whole-archive

(3) LOCAL_LDLIBS += -Wl,--whole-archive -l$(SOME_MACRO)/some_dir/
libabc.a -Wl,--no-whole-archive

but they all don't work and linking errors are thrown while building
shared lib.

Please help.

- Naruka

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Best way to scale for different screen resolutions/dimensions?

4. get all applications supporting a specific format.

5. Forwarding ranges of ports to the Android emulator

6. Larger screen support

7. Problem with reading contacts on Samsung Galaxy Europa