Calendar notification not working - Legend General

Just recently noticed that my calendar music notifications aren't triggering, the alert shows but the tone i selected doesn't play

anyone?
I've logged a call with HTC as I''m still running stock ROM but thought someone here would have a few ideas..

mtrax said:
anyone?
I've logged a call with HTC as I''m still running stock ROM but thought someone here would have a few ideas..
Click to expand...
Click to collapse
I created a test event can copied the system log
Can any one compare with a working phone.
D/AlertReceiver( 323): beginStartingService
D/AlertService( 323): allDay:false instanceBegin=1282114948000 minutes=5 alarmTime=1282114648000
D/BT HS/HF( 146): gsmAsuToSignal=19
D/dalvikvm( 323): GC freed 7567 objects / 442728 bytes in 107ms
D/AlertService( 323): >>>>>>> makeNewAlertNotification <<<<<<<
D/AlertService( 323): >>>>>>> eventId:296 <<<<<<<
D/AlertService( 323): >>>>>>> title:Hello <<<<<<<
I/AlertService( 323): get calendarId:5
I/AlertService( 323): Type:0 Vibrate:true Ringtone:content://media/internal/audio/media/23 <<< New Setting
D/NotificationFlashLightUtility getIncomingCall( 323): load success~~~~~~~~~~
V/AlertService( 323): changeNotificationSound: false
V/AlertService( 323): notification.sound != null: null
V/AlertService( 323): reminderType: 0
I/ActivityManager( 80): Starting activity: Intent { flg=0x10000000 cmp=com.htc.calendar/.AlertActivity }
Click to expand...
Click to collapse

Hi there pal!
I've got the same problem, my notifications don't show up in a notification bar ... any reminding whatsoever ...
I'm running stock rom as well ... if you figure out more I'd be glad for more info.
The think is, I'm just new to the android platform, so I can't really think of anything

latorante said:
Hi there pal!
I've got the same problem, my notifications don't show up in a notification bar ... any reminding whatsoever ...
I'm running stock rom as well ... if you figure out more I'd be glad for more info.
The think is, I'm just new to the android platform, so I can't really think of anything
Click to expand...
Click to collapse
yours might be a different problem as I see the notifications but it doesn't play the ringtone.
I extracted the syslog using the following App ( http://www.appbrain.com/app/org.jtb.alogcat) you might try using this immediately after you expect your calendar alarm.. to see what message show..

Tell you what, I've done some research on my Legend and it seems, that all calendrs work except the facebook one - the birthday notifications. And thats the one I was interested in...
I'll try the program you posted ...
cheers

Can someone run a quick test for me please?
Set a ringtone on a Calender alert
1. Open the Calendar application.
2. Press Menu then More then Settings.
3. Tap on Reminder settings.
4. Make sure that there is a tick mark on “All calendars.”
5. Tap on Set alerts & notifications and select Alert.
6. Tap on Select ringtone and tap the ring tone that you prefer.
Then set a calender event and when it triggers the ringtone should play.
If could send me the snippet of the system log so I can compare with mine,
thanks

I got a working one:
/AudioHardwareMSM72XX( 57): AUDIO_START: start kernel pcm_out driver.
D/AlertReceiver(12956): beginStartingService
D/AlertService(12956): allDay:false instanceBegin=1282455968000 minutes=5 alarmTime=1282455668000
D/AlertService(12956): >>>>>>> makeNewAlertNotification <<<<<<<
D/AlertService(12956): >>>>>>> eventId:721 <<<<<<<
D/AlertService(12956): >>>>>>> title:Test <<<<<<<
I/AlertService(12956): get calendarId:1
I/AlertService(12956): Type:0 Vibrate:true Ringtone:content://media/internal/audio/media/49 <<< New Setting
D/NotificationFlashLightUtility getIncomingCall(12956): load fail~~~~~~~~~~
V/AlertService(12956): changeNotificationSound: false
V/AlertService(12956): notification.sound != null: content://media/internal/audio/media/49
V/AlertService(12956): reminderType: 0
I/ActivityManager( 79): Starting activity: Intent { flg=0x10000000 cmp=com.htc.calendar/.AlertActivity }
D/MediaPlayer( 79): setDataSource(291, 0, 576460752303423487) pid = 79
D/PVPlayer( 57): setDataSource(31, 0, 11183)
I/AlertActivity(12956): mCursor.count: 1
I/PlayerDriver( 57): OpenCore enable firewall payload
I/ ( 57): OpenCore codec name PVMFOMXAudioDecNode , OMX.PV.mp3dec
W/MediaPlayer( 79): info/warning (1, 44)
I/AudioPolicyService( 57): startOutput(): before lock
W/NotificationService( 79): Notification sound delayed by 1211msecs
I/ActivityManager( 79): Displayed activity com.htc.calendar/.AlertActivity: 1401 ms (total 1401 ms)
I/AudioPolicyService( 57): stopOutput(): before lock
D/BT HS/HF_S( 153): gsmAsuToSignal=5
Click to expand...
Click to collapse
my log seems to vary slightly yours has:
V/AlertService(12956): notification.sound != null: content://media/internal/audio/media/49
where as mine has:
V/AlertService( 323): notification.sound != null: null

Related

idea for a small application... any help?

Ok, when I'm in my office I have poor signal issues that drain my battery and miss calls. If I switch to Roaming Only in my phone settings, then everything is just peachy. Problem is, its a lot of menus to click through every single time I come in to my office (Start, settings, phone, services, roaming, get settings, roaming only).
And then when I'm leaving, I want to turn the romaing settings back to automatic, once again its a lot of clicking.
I would imagine it would not be too difficult to write an app that could toggle that setting. Then it could be one click, or someone could even map the app to a hardware button for the ultimate ease of use.
I'm sure there are others who can see how useful such an app would be. Many of us do something like this all the time.
So, what do you think? Anyone willing to help develop this?
Sounds like a do-able program that would be very useful even for people not in your situation. Of course, I don't know how to, I'm just endorsing this idea.
In for this
GREAT!
Now, who can actually help figuring out how to code this? Can that sort of data even be accessed from standard APIs?
MortScript
Ok folks, until I have the time to find out what actually goes on behind the scenes when roaming settings are changed, I think our best bet is to write a script of keypresses/mouseclicks using mortscript.
Mortscript, in case you didn't know, is a simple batch process program, which lets you assign a series of commands to a script, sort of like a macro.
This will essentially be a script to go through the menus and click through options to do what we would do by hand. It will speed things up a bit, but it won't be as simple as a standalone app.
playing with mortscript now, I'll keep you guys posted.
EDIT: Anyone who wants to take a crack at this as well, by all means, mortscript is free! I'm just learning how to use it now, but if anyone has any experience with it, hit me up with suggestions! Or better yet, write a script and show me how it works!
Can anyone tell me what registry changes are made when you switch from roaming to automatic?
I can't seem to compare registry backups taken with PHM RegEdit (some propietary format, and no export to text option!)
Mortscript to the rescue....
This is still not the most ideal solution, but it works for me.
I wrote two Mortscript scripts that simulate the key taps automatically. The downside to this is that you can't toggle it on/off, you need to run one program to force roam, and another one to put it back to automatic.
USE THESE AT YOUR OWN RISK!
If you have any bugs/questions/comments, let me know.
Requirements
MortScript:
You need to install the mortscript interpreter first.
http://www.sto-helit.de/downloads/mortscript/MortScript-4.0.zip
The zip file attached below contains two .mscr files:
Roam
Roam-NO
Pretty self explanatory what does what. You can rename them if you want, this just works for me.
Dishe said:
I wrote two Mortscript scripts that simulate the key taps automatically. The downside to this is that you can't toggle it on/off, you need to run one program to force roam, and another one to put it back to automatic.
Click to expand...
Click to collapse
If you wanted to, you could write a temp file or reg key to check if the setting is on or off. In fact, the file wouldn't even need any data in it, you could just check for it's existence. That way you only need one script. Hope that helps you out.
I havent been able to find (or pull) the ril.dll file from a Mogul Wm6 installation, but once you have that file, you should be able to dump the exports and use the RIL_* functions by ordinal. This has been done on GSM phones.
I haven't had time yet, but I believe someone has dumped the files from the newest update rom.
Dishe,
I took your script and applied my suggestion to it. I also wrapped it up in a standalone package, so if anyone else wants to run it, they won't need MortScript installed as the exe is in here. If you already have MortScript installed, you can just run the .mscr file instead of the .exe of the same name.
What it will do is run the prog, then check for the existence of the file "roam" in the script path. If it's not there, it will run your roam function and then create the file. If it already exists (meaning you turned on roaming only), then it run your function to turn off roaming and delete the temp file. Hope it helps you out.
EDIT: If for some reason the key presses do the wrong thing, you can just set your phone back to automatic and delete the "roam" file in the script path if it's there, then you're back in business.
EDIT2: Added a longer wait time (5 secs) for the Comm Manager, should allow it to work with more graphic intensive Comm Managers (like the Kaiser 10-button, tested).
Vinny75 said:
I havent been able to find (or pull) the ril.dll file from a Mogul Wm6 installation, but once you have that file, you should be able to dump the exports and use the RIL_* functions by ordinal. This has been done on GSM phones.
I haven't had time yet, but I believe someone has dumped the files from the newest update rom.
Click to expand...
Click to collapse
I know, qouting myself, but.. you don't need the ordinal, you can get the function by name from the dll, so far I am able to use RIL_Initialize and RIL_GetRoamingMode to call my pfResultCallback, but the value I am getting in reutrn isn't making sense, so have to figure that out. I am using a modified tstril util. I can post the changes if anyone wants to take a look.
Got the following for RIL_GetRoaming Mode
Mode Value
Sprint Only 0x00000001
Automatic 0x000000FF
Roaming Only 0x000000FE
Now using RIL_SetRoamingMode, I can set the Sprint Only mode, the other two throw a 0x80004005 HRESULT, I can use 0x00000002 and 0x0000003 (constants defined if you search the internet), and they don't throw an error, but they dont actually change any settings...
You can get tstril from here:
http://wiki.xda-developers.com/index.php?pagename=RIL
Expanded ril.h (not sure how accurate):
http://www.xs4all.nl/~itsme/projects/xda/ril/ril.h
Replace the DoRIL function in tstril.cpp with this code to test:
Code:
typedef HRESULT (*pfnRIL_Initialize)(DWORD, RILRESULTCALLBACK, RILNOTIFYCALLBACK, DWORD, DWORD, HRIL*);
typedef HRESULT (*pfnRIL_GetRoamingMode)(HRIL);
typedef HRESULT (*pfnRIL_SetRoamingMode)(HRIL, DWORD);
//HRIL g_hRIL;
HINSTANCE g_hDLL;
HRESULT g_hResult;
DWORD
DoRIL(LPVOID lpvoid)
{
HRESULT result;
DWORD dwNotificationClasses = 0xFF0000;
LRESULT lresult;
TCHAR szString[256];
SendMessage(g_hwndEdit, LB_RESETCONTENT, 0, 0);
lresult = SendMessage(g_hwndEdit, LB_GETHORIZONTALEXTENT, 0, 0);
SendMessage(g_hwndEdit, LB_SETHORIZONTALEXTENT, 1000, 0);
//result = RIL_Initialize(1, ResultCallback, NotifyCallback,
// dwNotificationClasses, g_dwParam, &g_hRil);
//wsprintf(szString, L"RIL Handle: %08X, result %08X", g_hRil, result);
//SendMessage(g_hwndEdit, LB_ADDSTRING, 0, (LPARAM) szString);
g_hRil = NULL;
g_hDLL = LoadLibrary(L"ril.dll");
//HRESULT hResult = 0;
if (g_hDLL != NULL)
{
pfnRIL_Initialize lpfnRIL_Initialize = (pfnRIL_Initialize)GetProcAddress(g_hDLL, L"RIL_Initialize");
if (lpfnRIL_Initialize)
{
result = (lpfnRIL_Initialize)(1, ResultCallback, NULL /*NotifyCallback*/, 0 /*dwNotificationClasses*/, 0 /*g_dwParam*/, &g_hRil);
if (result == S_OK)
{
wsprintf(szString, L"Initialize RIL Handle: %08X, result %08X", g_hRil, result);
SendMessage(g_hwndEdit, LB_ADDSTRING, 0, (LPARAM) szString);
pfnRIL_GetRoamingMode lpfnRIL_GetRoamingMode = (pfnRIL_GetRoamingMode)GetProcAddress(g_hDLL, L"RIL_GetRoamingMode");
if (lpfnRIL_GetRoamingMode)
{
g_hResult = (lpfnRIL_GetRoamingMode)(g_hRil);
wsprintf(szString, L"GetRoamingMode RIL Handle: %08X, g_hResult %08X", g_hRil, g_hResult);
SendMessage(g_hwndEdit, LB_ADDSTRING, 0, (LPARAM) szString);
}
//pfnRIL_SetRoamingMode lpfnRIL_SetRoamingMode = (pfnRIL_SetRoamingMode)GetProcAddress(g_hDLL, L"RIL_SetRoamingMode");
//if (lpfnRIL_SetRoamingMode)
//{
// g_hResult = (lpfnRIL_SetRoamingMode)(g_hRil, 254);
// wsprintf(szString, L"SetRoamingMode RIL Handle: %08X, g_hResult %08X", g_hRil, g_hResult);
// SendMessage(g_hwndEdit, LB_ADDSTRING, 0, (LPARAM) szString);
//}
}
}
//FreeLibrary(g_hDLL);
}
// while(1) {
// Sleep(100);
//// wsprintf(szString, L"%s",L"...");
//// SendMessage(g_hwndEdit, LB_ADDSTRING, 0, (LPARAM) szString);
// }
return 0;
}
Thanks for the work on those Mort Scripts!
Thank you!
wow, I haven't checked this thread in a while...
Vinny75, I haven't had time to play with this, but it looks like you've been making some progress... how far have you gotten with this?
The following values you should work for the second parameter of the RIL_GetRoamingMode and RIL_SetRoamingMode functions... they appeared to work on my phone
Mode RIL_GetRoamingMode RIL_SetRoamingMode
Sprint Only 0x00000001 0x00000001
Automatic 0x000000FF 0x00000004
Roaming Only 0x000000FE 0x00000005
I found the RIL_SetRoamingMode value in the following Registry Key
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\PhoneSetting\NetworkService]
Vinny75 said:
The following values you should work for the second parameter of the RIL_GetRoamingMode and RIL_SetRoamingMode functions... they appeared to work on my phone
Mode RIL_GetRoamingMode RIL_SetRoamingMode
Sprint Only 0x00000001 0x00000001
Automatic 0x000000FF 0x00000004
Roaming Only 0x000000FE 0x00000005
I found the RIL_SetRoamingMode value in the following Registry Key
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\PhoneSetting\NetworkService]
Click to expand...
Click to collapse
So would editing the registry be sufficient to change the roaming mode of the phone?
Did you compile an app to do this?
slightly off topic, but i think vinny75 might know the answer. id like to modify my alltel-based rom to give sprint only, automatic, roaming only options (alltel gives home only and automatic.) is ril.dll all that is needed from the sprint rom?
Dishe said:
So would editing the registry be sufficient to change the roaming mode of the phone?
Did you compile an app to do this?
Click to expand...
Click to collapse
I just compiled a quick and dirty app to test the values... the source is in my previous posts

Accessing CPL applets

I am trying to access some control panel applets from
my application. This works fine for the most applets.
I use the ctlpnl.exe process to display the applets like:
CreateProcess(_T("ctlpnl.exe"), _T("cplmain.cpl,27,0"), NULL, NULL, FALSE, 0, NULL, NULL, NULL, &pi);
For some reason I cannot display the applet for USB to PC connection (ID 27 in WM5, 28 in WM6).
In WM6 I have the same problem with the encryption applet (ID 27). All other applets work. The applet is displayed for 1 second, I can see
the title in the window and then it disappears.
Has anybody made the same experiences? Is there a workaround for this?
Is this a bug in ctlpnl.exe or in WM5/6?
Thanks for any help.
Houser
Try calling it independent of ctlpnl.exe:
Do a LoadLibrary on the .cpl file
Call GetProcAddress to get a pointer to the CPlApplet function
Call CPlApplet with msg == CPL_INIT
Call CPlApplet with msg == CPL_GETCOUNT to get the # of applets supported by the .cpl file
For each applet above (i = 0 to CPL_GETCOUNT - 1), call CPlApplet with msg == CPL_NEWINQUIRE, taking note of the lData value returned.
For the applet you want to launch, call CPlApplet with msg == CPL_DBLCLK, lParam1 == the applet #, lParam2 == the lData value from the previous step.
When you're done, call CPlApplet with msg == CPL_STOP.
I've done this in big Windows, but never on CE -- my read of the MSDN doc suggests it should work on WM 5/6.
Have already tried it this way but not with lData value when
calling CPL_DBLCLK. But the problem is still there. When I want to access
the cplmain.cpl applet with ID 27 (USB to PC connection) it does not work.
The other IDs (<27) work perfectly.
I do not know why! Arghhh!
Houser
Nobody has encounter same problems with CPL applets?
Houser
did you ever figure this out?
I am having same issues
Houser said:
I am trying to access some control panel applets from
my application. This works fine for the most applets.
I use the ctlpnl.exe process to display the applets like:
CreateProcess(_T("ctlpnl.exe"), _T("cplmain.cpl,27,0"), NULL, NULL, FALSE, 0, NULL, NULL, NULL, &pi);
For some reason I cannot display the applet for USB to PC connection (ID 27 in WM5, 28 in WM6).
In WM6 I have the same problem with the encryption applet (ID 27). All other applets work. The applet is displayed for 1 second, I can see
the title in the window and then it disappears.
Has anybody made the same experiences? Is there a workaround for this?
Is this a bug in ctlpnl.exe or in WM5/6?
Thanks for any help.
Houser
Click to expand...
Click to collapse

MT4G Camera Broken

My camera is not working at all, apps are hanging on a black screen and doing a FC or just FC right away. I have tried multiple apps and roms without any luck. I even tried going back to the unrooted stock rom. It does not have any deep water damage as the damage stickers are still ok, worst things it could have been exposed to was wet countertops and such.
I'm guessing I toasted the camera hardware but does anyone have any ideas?
Thank you
If you know how to use adb (or can go to market and download alogcat) you could open up the camera app while logcat is running and it should show what's happening behind the scenes so if its hardware you should see the word hardware somewhere in there or something like that and vice versa. Another solution could be booting into bootloader and using factory reset as a last resort.
Sent from my HTC Glacier using XDA Premium App
same problem
hello this is my first post, and i have a problem with mine. it seems as if whenever i start the camera app or the camcorder app it shows me a the screen to learn how to use the phone's camera thru a youtube video or skip the step, if i skip the step it goes to a black screen and crashes. i have spent so much time working on this i have even reset the phone to factory settings to no result. i am lost at this point, i downloaded the alog app and heres what i got.
W/dalvikvm( 452): disableGcForExternalAlloc: false
W/libagl ( 256): handle fade alpha 157
D/PowerManagerService( 256): New lightsensor value:90, lcdValue:82
D/PowerManagerService( 256): lightSensorChangedLocked, buttonValue >= 0, mPowerState = 3
W/libagl ( 256): handle fade alpha 139
D/com.android.camera.tutorial.TutorialPage( 977): setupPageTitle function
D/com.android.camera.tutorial.TutorialPage( 977): setupPageTitle function
D/com.android.camera.tutorial.TutorialPage( 977): onStart function
D/com.android.camera.tutorial.TutorialPage( 977): addReflectionOfOrgTurtorialImg function
D/SurfaceFlinger( 256): [DISP] purgatorizeLayer_l 0x865498 4
W/libagl ( 256): handle fade alpha 100
D/SurfaceFlinger( 256): [DISP] purgatorizeLayer_l 0x660268 4
W/libagl ( 256): handle fade alpha 76
D/msm8660.gralloc( 256): HDMI fb_videoOverlayStarted 0
D/msm8660.gralloc( 256): HDMI fb_videoOverlayStarted 0
W/libagl ( 256): handle fade alpha 53
W/libagl ( 256): handle fade alpha 26
W/InputManagerService( 256): [unbindCurrentClientLocked] Disable input method client.
W/InputManagerService( 256): [startInputLocked] Enable input method client.
I/ActivityManager( 256): Displayed com . android.camera/.tutorial.TutorialPage: +319ms (total +453ms)
if you need more of this let me know but that above to me is gibberish right now... please help

[Q] Delay in displaying in-call screen?

My phone takes 4-5 seconds to display the in-call screen. It also takes 1-2 seconds before the ringtone sounds. The first thing that happes is vibration.
I am using Wbaws kang with the kernel. This happens on other cm7s also. I don't use ics as it is too bugy for me. Basically this happens when the phone ring:
Vibration starts > After 1-2 seconds ringtone sounds > Afteer 3-4 seconds the in-call ui shows up.
Very rarely my ringtone sounds warped.(But that happens only if i leave my phone unused for a few days)
Plz help. Thanks.
Here's a logcat:
Code:
I/AudioService( 8397): AudioFocus requestAudioFocus() from AudioFocus_For_Phon
e_Ring_And_Calls
I/HeadsetService( 8576): Phone status idle: enable DSP.
I/Effect-BassBoost( 8387): New strength: 0
I/Effect-Equalizer( 8387): Setting band 2 to 0
I/Effect-Equalizer( 8387): Setting band 2 to 1
I/Effect-Equalizer( 8387): Setting band 2 to 2
I/Effect-Equalizer( 8387): Setting band 2 to 3
I/Effect-Equalizer( 8387): Setting band 2 to 4
I/Effect-Equalizer( 8387): Setting band 2 to 5
I/Effect-Equalizer( 8387): Setting loudness correction reference to 100.000000 d
B
D/AccelerometerListener( 8482): enable(false)
V/AudioManager( 8482): shouldVibrate, group: d393035d-ea71-4f2a-bdbd-b65f6bf298f
1 mode: DEFAULT
I/power ( 8397): *** set_screen_state 0
E/Sensors ( 8397): mSensors[2]->enable(0, 1)
I/AKMD2 ( 160): akmd2 : Compass Opened.
D/szipinf ( 8397): Initializing inflate state
D/StatusBarService( 8462): Notification has fullScreenIntent; sending fullScreen
Intent
I/ActivityManager( 8397): Starting: Intent { act=android.intent.action.MAIN flg=
0x10840000 cmp=com.android.phone/.InCallScreen } from pid -1
D/AudioHardwareInterface( 8387): setMode(RINGTONE)
D/szipinf ( 8462): Initializing inflate state
I/InCallScreen( 8482): onCreate()... this = [email protected]
4e28
I/AudioHardwareMSM72XX( 8387): set device to SND_DEVICE_SPEAKER device_id=0
I/AudioHardwareMSM72XX( 8387): Enabling post proc features with mask 0x0000
W/AudioFlinger( 8387): write blocked for 269 msecs, 2 delayed writes, thread 0xc
a48
D/dalvikvm( 8482): GC_EXTERNAL_ALLOC freed 293K, 47% free 3236K/6087K, external
0K/0K, paused 187ms
D/dalvikvm( 8462): GC_CONCURRENT freed 426K, 49% free 3116K/6023K, external 369K
/512K, paused 4ms+15ms
D/dalvikvm( 8482): GC_EXTERNAL_ALLOC freed 29K, 47% free 3286K/6087K, external 1
85K/514K, paused 62ms
W/ResourceType( 8482): getEntry failing because entryIndex 65 is beyond type ent
ryCount 1
I/power ( 8397): *** set_screen_state 1
E/Sensors ( 8397): mSensors[1]->enable(4, 1)
I/ActivityManager( 8397): Start proc com.cyanogenmod.cmparts for broadcast com.c
yanogenmod.cmparts/.intents.LEDNotificationReceiver: pid=9016 uid=1000 gids={300
2, 3001, 3003, 1015}
D/dalvikvm( 8389): GC_EXPLICIT freed 11K, 51% free 2672K/5379K, external 0K/0K,
paused 156ms
D/szipinf ( 9016): Initializing inflate state
D/SurfaceFlinger( 8397): Screen about to return, flinger = 0xfce18
D/dalvikvm( 8389): GC_EXPLICIT freed <1K, 51% free 2672K/5379K, external 0K/0K,
paused 241ms
I/ActivityThread( 9016): Pub com.cyanogenmod.cmparts.provider.Settings: com.cyan
ogenmod.cmparts.provider.SettingsProvider
V/AudioManager( 8482): shouldVibrate, group: d393035d-ea71-4f2a-bdbd-b65f6bf298f
1 mode: DEFAULT
D/dalvikvm( 8389): GC_EXPLICIT freed <1K, 51% free 2672K/5379K, external 0K/0K,
paused 185ms
D/dalvikvm( 8482): GC_EXTERNAL_ALLOC freed 146K, 44% free 3426K/6087K, external
1038K/1074K, paused 96ms
I/ActivityManager( 8397): Displayed com.android.phone/.InCallScreen: +2s456ms
No one knows? Plz help.
Sent from my Htc One V using Tapatalk
this lag may be due to lots of apps running in the background it happens sometimes with me.
try resetting the phone.
saaransh9 said:
this lag may be due to lots of apps running in the background it happens sometimes with me.
try resetting the phone.
Click to expand...
Click to collapse
I have a task killer with auto kill level set to highest so I never have too many apps running, still it happens to me everytime.
QuantumFoam said:
I have a task killer with auto kill level set to highest so I never have too many apps running, still it happens to me everytime.
Click to expand...
Click to collapse
Woow task killer with auto kill lvl hight Oo its the worst thing for drain the battery.
The best is to use an app like autostarts which disable the launching off app when you turn on your phone, and maybe you can use a taskiller if your phone become slow
Send from my ZTE Blade!
Gokh said:
Woow task killer with auto kill lvl hight Oo its the worst thing for drain the battery.
The best is to use an app like autostarts which disable the launching off app when you turn on your phone, and maybe you can use a taskiller if your phone become slow
Send from my ZTE Blade!
Click to expand...
Click to collapse
I used system tuner pro and disabled most applications on startup. But I have like 350 apps so I need a task killer
Thanks for replying guys! But I already use task killers(manually) and I keep my free memory at about 280MB. I usuallyu have nothing running in the background. And I already use RomToolbox to disable auto-start for almost all useless apps.
I am quite conservative that way, but still have lag
It makes me sad that I basic use of phone(maikng calls) is slow.Can kernels help with this?
use task managers which can can the auto kill values for your phone at per your requirement.

[Problem] Creating future notifications using TimePicker and DatePicker

Hi!
i'm not sure if this is te correct board but here is a BIG problem with an application that i'm developing for android.
I want to take the data from a DatePicker and TimePicker to set an AlarmManager entry to senda system notification.
Code:
Calendar cal=Calendar.getInstance();
cal.set(Calendar.DAY_OF_MONTH, datePicker.getDayOfMonth());
cal.set(Calendar.MONTH, datePicker.getMonth());
cal.set(Calendar.YEAR, datePicker.getYear());
cal.set(Calendar.HOUR, timePicker.getCurrentHour());
cal.set(Calendar.MINUTE, timePicker.getCurrentMinute());
long millis=cal.getTimeInMillis();
Intent intent=new Intent(CalendarView.this,AvisoReceiver.class);
PendingIntent mAlarmSender=PendingIntent.getBroadcast(CalendarView.this,23454546, intent,0);
AlarmManager alm=(AlarmManager)getSystemService(ALARM_SERVICE);
alm.set(AlarmManager.RTC_WAKEUP, millis,mAlarmSender);
The problem is that i'm not getting notifications, so , my receiver isn't being invocated, but when i set the alarm 3 seconds after i get my notification .
rafuru said:
Hi!
i'm not sure if this is te correct board but here is a BIG problem with an application that i'm developing for android.
I want to take the data from a DatePicker and TimePicker to set an AlarmManager entry to senda system notification.
Code:
Calendar cal=Calendar.getInstance();
cal.set(Calendar.DAY_OF_MONTH, datePicker.getDayOfMonth());
cal.set(Calendar.MONTH, datePicker.getMonth());
cal.set(Calendar.YEAR, datePicker.getYear());
cal.set(Calendar.HOUR, timePicker.getCurrentHour());
cal.set(Calendar.MINUTE, timePicker.getCurrentMinute());
long millis=cal.getTimeInMillis();
Intent intent=new Intent(CalendarView.this,AvisoReceiver.class);
PendingIntent mAlarmSender=PendingIntent.getBroadcast(CalendarView.this,23454546, intent,0);
AlarmManager alm=(AlarmManager)getSystemService(ALARM_SERVICE);
alm.set(AlarmManager.RTC_WAKEUP, millis,mAlarmSender);
The problem is that i'm not getting notifications, so , my receiver isn't being invocated, but when i set the alarm 3 seconds after i get my notification .
Click to expand...
Click to collapse
Have you recorded any logs at the alarm time too see if the callback is giving any errors.
Pvy

Categories

Resources