[APP] Flash Blink v5.6 [UPDATED 15/3/2017] - Get Notified with Camera Flashlight

Search This thread

iKillCypher

Senior Member
Jul 28, 2012
430
600
Added Logs

Crash while receiving SMS ( Sony Xerpia Z ) Yuga STOCK ROM/KERNEL

Code:
E/mm-camera(  369): AXI Output xbarCfg1 = 0
E/mm-camera(  369): AXI Output busWrSkipCfg = 0
E/mm-camera(  369): configure_wm_registers: axi channel write master 0 config
E/mm-camera(  369): AXI Output busUbOffset = 0
E/mm-camera(  369): AXI Output busUbDepth = 843
E/mm-camera(  369): AXI Output buslinesPerImage = 479
E/mm-camera(  369): AXI Output busdwordsPerLine = 39
E/mm-camera(  369): AXI Output busburstLength = 3
E/mm-camera(  369): AXI Output busbufferNumRows = 479
E/mm-camera(  369): AXI Output busrowIncrement = 80
E/mm-camera(  369): configure_wm_registers: axi channel write master 1 config
E/mm-camera(  369): AXI Output busUbOffset = 844
E/mm-camera(  369): AXI Output busUbDepth = 75
E/mm-camera(  369): AXI Output buslinesPerImage = 239
E/mm-camera(  369): AXI Output busdwordsPerLine = 39
E/mm-camera(  369): AXI Output busburstLength = 3
E/mm-camera(  369): AXI Output busbufferNumRows = 239
E/mm-camera(  369): AXI Output busrowIncrement = 80
E/mm-camera(  369): axi_config AXI Configuration success
E/mm-camera(  369): axi_command_ops cmd_type = 1
I/mm_camera-mctl_pp(  369): mctl_pp_cmd: pipe for mctl pp thread is already clos
ed.
E/mm-camera(  369): axi_proc_reg_update: write master 0 is active
E/mm-camera(  369): axi_proc_reg_update: write master 1 is active
I/mm-camera(  369): ispif_client_set_params, Inft typ: 0, CID_mask: 1; VFE inter
face: 0, CSID: 0, Used: 1
D/mm-camera(  369): P [CAMIF]: 1646759118 - sony_camif_frame_start_preview
D/mm-camera(  369): P [CAMIF]: 1646759270 + sony_camif_frame_prepare
D/mm-camera(  369): P [CAMIF]: 1646759392 - sony_camif_frame_prepare
I/caladbolg(  369): 1646759728 cald_hal_qct_camera.c             (5993) 10246 P
[HAL] 1646759698 - Cald_Hal_Qct_If_StartPreview
I/caladbolg(  369): 1646759759 cald_capctrl.c                    (8825) 10246 P
[CAP] 1646759759 - Cald_CapCtrl_FSM_Func_StartPreview
I/caladbolg(  369): 1646759850 cald_capctrl.c                   (11834) 10246 P
[CAP] 1646759820 + Cald_CapCtrl_FSM_Func_Face_StartDone
I/caladbolg(  369): 1646759881 cald_capctrl.c                   (11845) 10246 P
[CAP] 1646759881 - Cald_CapCtrl_FSM_Func_Face_StartDone
I/caladbolg(  369): 1646760003 cald_client.c                      (536)   369 I
[INF] - Cald_Client_ICamera_StartPreview (0)
D/CameraPreview( 9844): SMS
W/ServiceManager(  369): Permission failure: com.sonyericsson.permission.CAMERA_
EXTENDED from uid=10181 pid=9844
W/ServiceManager(  369): Permission failure: com.sonyericsson.permission.CAMERA_
EXTENDED from uid=10181 pid=9844
I/CameraClient(  369): stopPreview: Disable picture related messages
I/caladbolg(  369): 1646771325 cald_client.c                      (941)  1820 I
[INF] + Cald_Client_ICamera_CancelAutoLock
I/caladbolg(  369): 1646771996 cald_client.c                      (959)  1820 I
[INF] - Cald_Client_ICamera_CancelAutoLock (0)
I/caladbolg(  369): 1646772118 cald_client.c                      (546)  1820 I
[INF] + Cald_Client_ICamera_StopPreview
I/caladbolg(  369): 1646772820 cald_capctrl.c                    (8837) 10246 P
[CAP] 1646772820 + Cald_CapCtrl_FSM_Func_StopPreview
I/caladbolg(  369): 1646773736 cald_hal_qct_camera.c             (6003) 10246 P
[HAL] 1646773705 + Cald_Hal_Qct_If_StopPreview
D/mm-camera(  369): P [CAMIF]: 1646773919 + sony_camif_frame_stop_preview
I/mm-camera(  369): ispif_client_set_params, Inft typ: 0, CID_mask: 1; VFE inter
face: 0, CSID: 0, Used: 1
E/mm-camera(  369): axi_command_ops cmd_type = 2
E/mm-camera(  369): axi_proc_unregister_wms: Releasing write master 0
E/mm-camera(  369): axi_proc_unregister_wms: Releasing write master 1
E/mm-camera(  369): axi_proc_unregister_wms: Releasing write master 2
E/mm-camera(  369): axi_proc_unregister_wms: Releasing write master 3
E/mm-camera(  369): axi_proc_unregister_wms: Releasing write master 4
E/mm-camera(  369): axi_proc_unregister_wms: Releasing write master 5
E/mm-camera(  369): axi_proc_unregister_wms: Releasing write master 6
E/mm-camera(  369): axi_command_ops cmd_type = 3
I/mm-camera(  369): ispif_client_set_params, Inft typ: 0, CID_mask: 1; VFE inter
face: 0, CSID: 0, Used: 1
D/mm-camera(  369): P [CAMIF]: 1646793236 - sony_camif_frame_stop_preview
D/mm-camera(  369): P [CAMIF]: 1646793328 + sony_camif_frame_close
D/mm-camera(  369): P [CAMIF]: 1646793786 - sony_camif_frame_close
I/caladbolg(  369): 1646793816 cald_hal_qct_camera.c             (6029) 10246 P
[HAL] 1646793816 - Cald_Hal_Qct_If_StopPreview
I/caladbolg(  369): 1646798455 cald_capctrl.c                    (8841) 10246 P
[CAP] 1646798424 - Cald_CapCtrl_FSM_Func_StopPreview
I/caladbolg(  369): 1646801507 cald_client.c                      (569)  1820 I
[INF] - Cald_Client_ICamera_StopPreview (0)
I/caladbolg(  369): 1646803063 cald_client.c                      (941)   369 I
[INF] + Cald_Client_ICamera_CancelAutoLock
I/caladbolg(  369): 1646803338 cald_client.c                      (959)   369 I
[INF] - Cald_Client_ICamera_CancelAutoLock (0)
I/caladbolg(  369): 1646803368 cald_client.c                      (879)   369 I
[INF] + Cald_Client_ICamera_CancelSnapshot
I/caladbolg(  369): 1646803612 cald_hal_qct_camera.c             (6185) 10246 P
[HAL] 1646803612 + Cald_Hal_Qct_If_StopYuvSnapshot
I/caladbolg(  369): 1646803673 cald_hal_qct_camera.c             (6235) 10246 P
[HAL] 1646803643 - Cald_Hal_Qct_If_StopYuvSnapshot
I/caladbolg(  369): 1646804284 cald_client.c                      (897)   369 I
[INF] - Cald_Client_ICamera_CancelSnapshot (0)
I/libcamera(  369): release: E
I/caladbolg(  369): 1646804314 cald_client.c                      (879)   369 I
[INF] + Cald_Client_ICamera_CancelSnapshot
I/caladbolg(  369): 1646804589 cald_hal_qct_camera.c             (6185) 10246 P
[HAL] 1646804558 + Cald_Hal_Qct_If_StopYuvSnapshot
I/caladbolg(  369): 1646804650 cald_hal_qct_camera.c             (6235) 10246 P
[HAL] 1646804619 - Cald_Hal_Qct_If_StopYuvSnapshot
I/caladbolg(  369): 1646805108 cald_client.c                      (897)   369 I
[INF] - Cald_Client_ICamera_CancelSnapshot (0)
I/libcamera(  369): stopCamera: E
I/caladbolg(  369): 1646805169 cald_client.c                      (372)   369 I
[INF] + Cald_Client_ICamera_ReleaseCamera
I/caladbolg(  369): 1646805321 cald_camctrl.c                    (9837) 10242 I
[INF] + Cald_CamCtrl_Func_PowerDown
I/caladbolg(  369): 1646805413 cald_capctrl.c                    (8743) 10246 I
[INF] + Cald_CapCtrl_FSM_Func_StopCaptureCtrl
I/caladbolg(  369): 1646805443 cald_capctrl.c                    (8745) 10246 I
[INF] - Cald_CapCtrl_FSM_Func_StopCaptureCtrl
I/caladbolg(  369): 1646805566 cald_iqctrl.c                    (14620) 10265 I
[INF] + Cald_IqCtrl_FSM_Func_StopIqCtrl
I/caladbolg(  369): 1646811547 cald_iqctrl.c                     (8983) 10265 I
[INF] + Cald_IqCtrl_FSM_Func_AE_StopAewb
I/caladbolg(  369): 1646812676 cald_iqctrl.c                     (9019) 10265 I
[INF] - Cald_IqCtrl_FSM_Func_AE_StopAewb
I/caladbolg(  369): 1646812737 cald_iqctrl.c                    (11327) 10265 I
[INF] + Cald_IqCtrl_FSM_Func_AF_StopAf
I/caladbolg(  369): 1646813073 cald_iqctrl.c                    (11357) 10265 I
[INF] - Cald_IqCtrl_FSM_Func_AF_StopAf
I/caladbolg(  369): 1646813103 cald_iqctrl.c                    (14682) 10265 I
[INF] - Cald_IqCtrl_FSM_Func_StopIqCtrl
I/caladbolg(  369): 1646813225 cald_hal_qct_camera.c             (5919) 10242 P
[HAL] 1646813195 + Cald_Hal_Qct_If_PowerDown
D/mm-camera(  369): P [CAMIF]: 1646813256 + sony_camif_cam_power_off
I/mm-camera(  369): config_shutdown_pp Camera not in streaming mode. Returning.

I/mm-camera(  369): vfe_ops_deinit: E
I/MPL-mldl_cfg_mpu:( 1037): mpu3050_resume: Resuming to 000f
I/MPL-mldl_cfg_mpu:( 1037): mpu3050_suspend: suspending sensors to 0000
I/MPL-mldl_cfg_mpu:( 1037): mpu3050_suspend: Will resume next to 000f
W/MPL-9_sup( 1037): 9 axis sensor fusion not available - No compass detected.
D/mm-camera(  369): P [CAMIF]: 1646944268 - sony_camif_cam_power_off
I/caladbolg(  369): 1646945519 cald_hal_qct_camera.c             (5935) 10242 P
[HAL] 1646945519 - Cald_Hal_Qct_If_PowerDown
I/MPL-mldl_cfg_mpu:( 1037): mpu3050_resume: Resuming to 000f
I/caladbolg(  369): 1646996331 cald_iqctrl.c                    (20644) 10242 I
[INF] + Cald_IqCtrl_Delete
I/caladbolg(  369): 1647013726 cald_iqctrl.c                    (20653) 10242 I
[INF] - Cald_IqCtrl_Delete
I/caladbolg(  369): 1647013787 cald_capctrl.c                   (12096) 10242 I
[INF] + Cald_CapCtrl_Delete
I/MPL-mldl_cfg_mpu:( 1037): mpu3050_suspend: suspending sensors to 0000
I/MPL-mldl_cfg_mpu:( 1037): mpu3050_suspend: Will resume next to 000f
I/caladbolg(  369): 1647022851 cald_capctrl.c                   (12104) 10242 I
[INF] - Cald_CapCtrl_Delete
I/caladbolg(  369): 1647023278 cald_camctrl.c                    (9882) 10242 I
[INF] - Cald_CamCtrl_Func_PowerDown
I/caladbolg(  369): 1647025231 cald_client.c                      (396)   369 I
[INF] - Cald_Client_ICamera_ReleaseCamera (0)
I/caladbolg(  369): 1647025780 cald_client.c                     (1999)   369 I
[INF] Cald_Client_Delete
I/caladbolg(  369): 1647026269 cald_server.c                      (943)   369 I
[INF] Cald_Server_ICameraServer_Stop
I/caladbolg(  369): 1647026421 cald_server.c                      (951)   369 I
[INF] Server ref counter = 0
I/caladbolg(  369): 1647026543 cald_server.c                      (955)   369 I
[INF] Server is deleted.
I/caladbolg(  369): 1647027062 cald_camctrl.c                   (19907)   369 I
[INF] + Cald_CamCtrl_Delete
I/caladbolg(  369): 1647028985 cald_hal.c                        (5953)   369 I
[INF] + Cald_Hal_Delete
I/illumination-service(  375): Client disconnected
I/illumination-service(  375): Client disconnected
I/caladbolg(  369): 1647030175 cald_hal.c                        (5966)   369 I
[INF] - Cald_Hal_Delete
I/caladbolg(  369): 1647030297 cald_camctrl.c                   (19914)   369 I
[INF] - Cald_CamCtrl_Delete
I/caladbolg(  369): 1647030816 cald_camctrl.c                   (19907)   369 I
[INF] + Cald_CamCtrl_Delete
W/ActivityManager( 1037): Permission Denial: broadcast asks to run as user -1 bu
t is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS
_FULL or android.permission.INTERACT_ACROSS_USERS
I/caladbolg(  369): 1647037102 cald_hal.c                        (5953)   369 I
[INF] + Cald_Hal_Delete
I/caladbolg(  369): 1647038781 cald_hal.c                        (5966)   369 I
[INF] - Cald_Hal_Delete
I/caladbolg(  369): 1647039239 cald_camctrl.c                   (19914)   369 I
[INF] - Cald_CamCtrl_Delete
I/caladbolg(  369): 1647039513 cald_pal.c                        (5031)   369 I
[INF] PAL_Delete
I/libcamera(  369): stopCamera: X
I/libcamera(  369): release: X
I/CameraClient(  369): Destroying camera 0
W/CameraPreview( 9844): camera released
I/OMXNodeInstance(  369): OMX_FreeBuffer for buffer header 0xb71cadb8 successful

I/OMXNodeInstance(  369): OMX_FreeBuffer for buffer header 0xb71cad00 successful

I/OMXNodeInstance(  369): OMX_FreeBuffer for buffer header 0xb71cac30 successful

I/OMXNodeInstance(  369): OMX_FreeBuffer for buffer header 0xb71caae0 successful

I/OMXNodeInstance(  369): OMX_FreeBuffer for buffer header 0xb71cb3b8 successful

I/OMXNodeInstance(  369): OMX_FreeBuffer for buffer header 0xb71cb290 successful

I/OMXNodeInstance(  369): OMX_FreeBuffer for buffer header 0xb71cb150 successful

I/OMXNodeInstance(  369): OMX_FreeBuffer for buffer header 0xb71caf40 successful

W/AudioFlinger(  369): session id 380 not found for pid 369
I/OMXNodeInstance(  369): OMX_FreeBuffer for buffer header 0xb71cd1e0 successful

I/OMXNodeInstance(  369): OMX_FreeBuffer for buffer header 0xb71cd128 successful

I/OMXNodeInstance(  369): OMX_FreeBuffer for buffer header 0xb71cd058 successful

I/OMXNodeInstance(  369): OMX_FreeBuffer for buffer header 0xb71cced8 successful

I/OMXNodeInstance(  369): OMX_FreeBuffer for buffer header 0xb71cd7a0 successful

I/OMXNodeInstance(  369): OMX_FreeBuffer for buffer header 0xb71cd678 successful

I/OMXNodeInstance(  369): OMX_FreeBuffer for buffer header 0xb71cd538 successful

I/OMXNodeInstance(  369): OMX_FreeBuffer for buffer header 0xb71cd328 successful

W/AudioFlinger(  369): session id 381 not found for pid 369
D/SingleLight( 9844): Stoping new Sms Alert
D/AndroidRuntime( 9844): Shutting down VM
W/dalvikvm( 9844): threadid=1: thread exiting with uncaught exception (group=0x4
154d8b0)
E/AndroidRuntime( 9844): FATAL EXCEPTION: main
E/AndroidRuntime( 9844): java.lang.NullPointerException
E/AndroidRuntime( 9844):        at android.view.SurfaceView.updateWindow(Surface
View.java:602)
E/AndroidRuntime( 9844):        at android.view.SurfaceView.access$000(SurfaceVi
ew.java:86)
E/AndroidRuntime( 9844):        at android.view.SurfaceView$3.onPreDraw(SurfaceV
iew.java:175)
E/AndroidRuntime( 9844):        at android.view.ViewTreeObserver.dispatchOnPreDr
aw(ViewTreeObserver.java:837)
E/AndroidRuntime( 9844):        at android.view.ViewRootImpl.performTraversals(V
iewRootImpl.java:1868)
E/AndroidRuntime( 9844):        at android.view.ViewRootImpl.doTraversal(ViewRoo
tImpl.java:1008)
E/AndroidRuntime( 9844):        at android.view.ViewRootImpl$TraversalRunnable.r
un(ViewRootImpl.java:5505)
E/AndroidRuntime( 9844):        at android.view.Choreographer$CallbackRecord.run
(Choreographer.java:749)
E/AndroidRuntime( 9844):        at android.view.Choreographer.doCallbacks(Choreo
grapher.java:562)
E/AndroidRuntime( 9844):        at android.view.Choreographer.doFrame(Choreograp
her.java:532)
E/AndroidRuntime( 9844):        at android.view.Choreographer$FrameDisplayEventR
eceiver.run(Choreographer.java:735)
E/AndroidRuntime( 9844):        at android.os.Handler.handleCallback(Handler.jav
a:730)
E/AndroidRuntime( 9844):        at android.os.Handler.dispatchMessage(Handler.ja
va:92)
E/AndroidRuntime( 9844):        at android.os.Looper.loop(Looper.java:213)
E/AndroidRuntime( 9844):        at android.app.ActivityThread.main(ActivityThrea
d.java:5225)
E/AndroidRuntime( 9844):        at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 9844):        at java.lang.reflect.Method.invoke(Method.java:5
25)
E/AndroidRuntime( 9844):        at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:741)
E/AndroidRuntime( 9844):        at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:557)
E/AndroidRuntime( 9844):        at dalvik.system.NativeStart.main(Native Method)

W/qdhwcomposer(  381): Excessive delay reading vsync: took 49 ms
D/dalvikvm( 1037): GC_FOR_ALLOC freed 1332K, 24% free 50835K/66068K, paused 144m
s, total 145ms
I/dalvikvm-heap( 1037): Grow heap (frag case) to 53.113MB for 2536936-byte alloc
ation
I/CrashMonitor( 4730): CrashMonitorServiceBroadcastReceiver: Forwarding intent:
android.intent.action.DROPBOX_ENTRY_ADDED tag: data_app_crash
I/CrashMonitor( 4730): CrashMonitorService: Service started...
I/CrashMonitor( 4730): CrashMonitorService: action: android.intent.action.DROPBO
X_ENTRY_ADDED
I/CrashMonitor( 4730): CrashMonitorService: Service stopped...

as for whatsapp and alarm no flash light is displayed regardless weather screen is display or not

no logs nothing..

flashblinks works fine for CALL
 

iKillCypher

Senior Member
Jul 28, 2012
430
600
Hi @faiyyaz Im testing the latest version on playstore.. it seems like 3rd party application now works fine but flash dont stop when you open the application to read the message at all... and maybe set it to a strict limit of 3 secs for each message receive like what you did last time..
 

faiyyaz

Inactive Recognized Developer
Sep 21, 2010
578
641
PUNE
faiyyaz.xyz
Hi @faiyyaz Im testing the latest version on playstore.. it seems like 3rd party application now works fine but flash dont stop when you open the application to read the message at all... and maybe set it to a strict limit of 3 secs for each message receive like what you did last time..

Hi @iKillCypher, Thanks for testing the App. Do you mean you want to stop the flash after certain time?? I just increased the auto shut time to a higher value so that you can customize the number of flash as required. ;)
 

iKillCypher

Senior Member
Jul 28, 2012
430
600
well yeah but the only issue it does not stopped after a certain time when we done opening the application.. example message incoming via whatsapp or telegram(whatsapp alternative) the flash keep on going...

even when we done open the application or read the message... the only issue is go to flash blink application and pressing the torch will stop the flash...

I will try my best to test it out fully before reporting any bugs to you..
 

faiyyaz

Inactive Recognized Developer
Sep 21, 2010
578
641
PUNE
faiyyaz.xyz
I have been working on a new version for flash blink. Basically on performance and a few more add ons ;) Give me more ideas or suggestions if you have.. :)
 

DJ_SpaRky

Senior Member
Oct 22, 2011
438
119
Groveland, FL
Well I tried this on my Nexus 5 running OmniROM (4.4.4). It flashed while the phone was ringing, but it stopped the phone call from coming to the front and I was never able to answer the call. Had to uninstall to be able to answer calls. Seemed like a good idea, just doesn't seem to work in my case.

EDIT: found that the issue was the "Non-Intrusive" setting in the KitKat dialer, works when disabled. I prefer it enabled. Thanks anyway.
EDIT2: Enabled the "Accessibility" settings and re-enabled the "Non-Intrusive" setting, everything seems to be working now.

Sent from Omicron Persei 8 via Planet Express.
 
Last edited:

xethjeh

Senior Member
Apr 20, 2010
70
3
Prague
Looking a few days for hte app of this kind, which works with HTC One M8. Is there someone, who get this to work with incoming calls? Everything works good except calls:(
 

faiyyaz

Inactive Recognized Developer
Sep 21, 2010
578
641
PUNE
faiyyaz.xyz
Looking a few days for hte app of this kind, which works with HTC One M8. Is there someone, who get this to work with incoming calls? Everything works good except calls:(

Hi xethjeh,

Is your phone dual SIM? If yes, then please put the SIM which you desire to get flash notifications in the default Mobile slot. Android supports to notify only for one SIM at a time.
 

xethjeh

Senior Member
Apr 20, 2010
70
3
Prague
Hi xethjeh,

Is your phone dual SIM? If yes, then please put the SIM which you desire to get flash notifications in the default Mobile slot. Android supports to notify only for one SIM at a time.

Hi, unfortunately I have single SIM phone and so far eveybody cant get call flashlight notification on for HTC M8.
 

RAXXer

Member
Sep 11, 2008
26
4
Madrid
Working flawlessly in a Samsung Galaxy Core GT-i8260 (Stock Android 4.1.2)!!!

Wonderful app for devices without notification led in order to get an optical notification.
The only functionallity I would dare to suggest adding would be a "missed notification" for third party apps; and the possibility to regulate this missed (call-sms-or whatever) in a way to simulate more closely a notification led (blinking every five or ten seconds; not only in minutes or in milisecons range)
I'm a little puzzled by the zero miliseconds setting in blink duration... anyway in test mode it blinks... Regarding battery saving, which would be the most economical blink duration? In a first view it would seem the shortest blink the less consumption, but... it's that correct?
Regards
 
Last edited:

sto1911

Member
Jan 14, 2011
28
5
The only functionallity I would dare to suggest adding would be a "missed notification" for third party apps; and the possibility to regulate this missed (call-sms-or whatever) in a way to simulate more closely a notification led (blinking every five or ten seconds; not only in minutes or in milisecons range)
Regards

+1

This is the most lightweight app to set up flash notifications and I also miss the things you wrote.
Too bad it seems your suggestion has not been implemented since.

Are there any similarly light apps out there with these capabilities?
 

pedrohxn

Senior Member
Jan 2, 2016
92
60
Firstly, thank you!
Amazing, easy to use, well designed and useful app!

I wonder if there is any way to change the default configurations for the 3rd party apps.
I'm asking because I like fast flashes:
2 flashes
50ms on
50ms off

And with the actual sliders are pretty hard to set 2 flashes and 50ms...

Thanks!
 
  • Like
Reactions: MinasM81

Top Liked Posts

  • There are no posts matching your filters.
  • 149
    Firstly i saw few people asking for an application which can notify them with camera/led flashlight when incoming call. So i thought i would make one ;)

    Flash Blink was born March 20th 2012, and the first of it's kind! Now its all new, used and loved by android users all over the world. Now available on play store!

    Flash Blink intimates you about any incoming notifications on your android device by triggering the flash light LED present behind the screen of your device.
    So now you can get notifications through camera flashlight! It includes for the following:
    *Incoming calls
    *Sms
    *Alarm
    *Third Party Applications

    You can also use the application as a torch,includes torch widget far fast access.

    Please test your phone's capabilities with the torch button.
    If the flash fires, you are all set.

    Preview

    xdaTorchOn240.png
    xdasettings240.png


    >>Features:
    -Simple and easy to use interface.
    -Includes Torch and Torch widget.
    -Viewable torch button in the dark.
    -Flash notification for:
    ~Incoming call
    ~Sms
    ~Alarm
    ~Third party applications.
    -Repeat Flash notification if you have missed call or unread sms. (stops after 1 hour)
    -Customize flash rate for each application.
    -Customize time and blink rate of flash for call,SMS and Alarm.
    -Profile Mode to disable Flash for specific time.
    -Screen On Mode so as to save battery.

    # Incoming Call Flash
    1) When a call arrives, the flash sparks.

    # SMS Flash
    1) Flash Blinks, when SMS arrived.
    (Using other SMS app like Handcent/GoSMS, behavior may not work. It can work it by selecting the app in Third party application list)

    # Third Party Application Flash
    1) Notification for third party Application should be enabled in Settings->General Setting of Flash Blink along with [Accessibility] service
    in phone settings.
    2) Flash blinks, when there is notification for the selected App.
    3) Long press the Selected App to customize flash rate.

    # Profile Mode
    1) Disable Flash for specific time.

    # Missed Call / Unread SMS Flash
    1) Flash is repeated at specific intervals [ max 1 hour]

    DOWNLOAD​


    13
    Changelog:

    What's New
    v5.3

    -Phone Face Down Mode: Allow flash only when phone is upside down.
    -Ringer Mode: Detect Ringer Mode to avoid flash.
    -Shake Mode: Shake device for torch.
    -Major improvement in performance.
    -Fixed the force close issue for Third-Party Applications.
    -Increased time for Third-Party Apps flash to a Min. Configure the
    Number of flash in settings for each.
    -Increased Flash-On, Flash-Off time interval
    to 1000 and number of flashes to 500.
    Alot more dont remember.. ;)

    v5.2
    -Fixed random flash behaviour for calls.
    -Individual flash rate settings for call,sms and alarm.
    -Added missed call/unread sms alert flash rate.
    -Increased the limit for flash count from 200 to 500.
    -Support for Tablets, LG nexus 4 and samsung galaxy ace 2.
    -Corrected German translations. [Thanks User_99]
    -Improved performance.
    -Added FAQ.

    v5.1
    - Rearranged settings, each to its own category.
    - Improvised sms [ stop flash after message is as soon as read]
    - Active call flash [ No flash during active call.].
    - Flash Test Button for call/sms/alarm and for third party application.
    - Battery Saver Mode. [ No flash below certain battery level.]
    - Mute Flash for Call and Alarm.
    - Performance tweaks, fixed widget crash.
    - Flash Support for Contacts with filtering.
    - Translations:
    German[Daniel S(Dtrieb), User_99], Slovene [Orglce].

    v4.2.2.1

    -Fixed the force close seen in android 4.2.2.

    v4.2.2
    -Flash for 3sec feature added.
    -Supports Third Party Apps WHATSAPP for now
    -Profile Settings Added. Now u can set time interval in a day when u dont want flash to Flash.
    -Added new feature to Flash Settings.
    -Alot more cant remember, :p

    v4.2.1
    -fixed for Incoming call. [Now works]

    v4.2
    -Supports more phones only for Torch [ Will do for other features soon. Sorry]
    -Added option to set flash interval n time for a flash to be more customized
    -New Interface.
    -Sms Feature now works even when screen is on, but to turn it off we need to read that messages n not just by clearing the notification. [ if the screen is off and a new sms arrives the flash will stop when the screen is turned on.This will help to save battery :p ]
    -Alarm flash works for all default alarms set [Note for ICS n few phones the flash will turn off when u dismiss it[ those who have deskclock.apk] for others when u turn off ur screen the flash will stop. Will Improve it soon.



    v4.0
    -Improved interface
    -Support for Android v2.1 and Higher
    -Fixed issues of getting black/white screen on load for htc phone's
    -Haptic feedback Using torch feature
    -Hit menu button for more options

    v3.2
    -added a feature for enable alarm feature
    -bugfix
    -support for LG revolution n few more
    -fixed blackscreen issue on Load [ which occurred for few phones ]

    v3.0
    -App Remade
    -Bug Fix like lights stays on even after call received, and many more as per the Log cat received dont rem ;)
    -support few Motorola Devices
    -New GUI
    -Now Works for Alarm.

    v2.1
    -SMS notification fixed [notifes when new smsm arrives and the screen is off,n stops blink when screen turned on]
    -SMS flash blink after notification stops blinking after approx 2min. [Auto turnoff]

    v2.0
    -Improved GUI
    -Added a feature to Control the Blink Rate during notification
    -logcatfix + new email for error feedback [flashnotificationxda@gmail.com]
    -minor tweaks

    v1.3
    -fixed flash light remaining on after Call receiving.
    -added send Logcat feature [install's 3rd party which is pretty good]

    v1.2
    -fixed issue's for few users who's camera flash dint work on incoming call but torch did. [please report if not]
    -sms notification,but doesnt fully work (working on it )

    v1.1
    -Now can me disabled/enabled with the checkbox [ Thanks D4 For poiting me in correct direction ;) ]

    v1.0
    -initial release
    5
    Good work faiyyaz thank you:)
    4
    New Release is up for download ;)
    Features added
    -support few Motorola devices
    -Works for Alarm Now
    -Bugfix etc

    Sorry for delay, in the cuming release will support few more Device's. :)
    4
    Congrats, it seems cool, btw why the analog clock? :p

    This are sources to my crappy app, wich I made on request
    http://xdaforums.com/showthread.php?t=1535428&page=2

    If you need any help, feel free to ask me.

    btw faiyyaz, for CheckBox thing, checkout the android guidelines, is always useful.
    http://developer.android.com/reference/android/preference/CheckBoxPreference.html

    And I also recommend you StackOverflow, google it :)