Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
View Poll Results: Which Flash driver works for you?
Normal 11 55.00%
Alternative 8 40.00%
Alternative 2 1 5.00%
Voters: 20. You may not vote on this poll

Post Reply

[APP v4.0.1][2.1+] CallFlash! Flash alert on Calls, SMS & Instant Messaging apps!

OP spirosbond

12th August 2013, 10:50 PM   |  #1  
spirosbond's Avatar
OP Senior Member
Flag Thessaloniki
Thanks Meter: 630
 
903 posts
Join Date:Joined: Sep 2011
Donate to Me
More
CallFlash:Alert on Call/SMS/IM












CallFlash! Flash alert on Calls, SMS & Instant Messaging apps!

CallFlash controls the flash for calls and other notifications. This way you can be notified by your flash for every notification. It is an opensource project, aiming to keep things simple and functional.

If you want any third party app to be added in the list just email me at bigappledev@gmail.com.

IF THE FLASH DOESN'T TURN ON CHANGE THE FLASH DRIVER FROM PREFERENCES->MODULE DRIVER. THERE ARE THREE AVAILABLE.
Prefer Standard over Alternative and Alternative over Alternative 2. If the flash doesn't turn on with either of these drivers send me an email at bigappledev@gmail.com.

Before rating bad please try all three flash drivers from settings. Samsung devices tend to work with the Alternative driver only. Thanks

*********************
If your phone starts talking after enabling the "Notification Service" this is a Samsung-Talkback issue:
https://code.google.com/p/android/is...etail?id=23105

Unfortunately there isn't much I can do for that. There are many solutions out there. Choose what works for you.
*********************
Problem with Handcent?
Go to Handcent → Settings → Application Settings → Default Messaging application → Disable.
You may also disable "Play animation" in the "Send" settings. (Thanks Todd)
*********************

FEATURES:
- Test mode.
- Three flash drivers. Prefer “Standard” over “Alternative” and “Alternative” over “Alternative 2”.
- Sleeping period.
- Operation modes (flash when on silent, vibration or normal mode).
- Notification flash modes (Time based or Repetitive).
- Flash notification for more instant messaging apps, like viber, facebook messanger, what's up etc...
- Flash only when phone is locked option
- Disable flash on call with volume buttons (may require multiple clicks)
- Donate via viewing an ad.
- New update notification on start
- Option to disable flash if battery is low
- Option to turn screen on when receiving a notification

HOW TO USE:
1. Enable your preferred operation mode and test is using the test buttons.
2. ON Duration: Select the duration (in milliseconds) for which the flash is ON.
3. OFF Duration: Select the duration (in milliseconds) for which the flash is OFF.
4. Set your preferences for calls or message notifications respectively.
5. In order to enable the flash notification on other apps you need to enable the Accessibility Service from Settings->Accessibility->CallFlash Notification Service or from Notification Flash Preferences.

Translate this app
If you want to contribute to the localization of this app you can go here:
http://crowdin.net/project/callflash/invite
Thank you very much for your time and support.

Comments and support at: forum.xda-developers.com/showthread.php?t=2403340

Permissions
This app uses the following permissions:
- android.permission.CAMERA : Needed to control the flashlight in some devices.
- android.permission.FLASHLIGHT : Needed to control the flashlight in most devices.
- android.permission.READ_PHONE_STATE : Needed to detect if the phone is ringing in order to enable the flashlight.
- android.permission.RECEIVE_SMS : Needed to detect if you have received an SMS in order to enable the flashlight.
- android.permission.SYSTEM_ALERT_WINDOW : Needed for alternative flash driver. Some devices such as Galaxy Nexus need an alternative (hack-type) code to handle the flash.
- android.permission.GET_TASKS : In order to detect IM apps.
- android.permission.RECEIVE_BOOT_COMPLETED : In order to initialize the low battery status...

The following permissions are required by the ad libraries (adColony and AdMob). This app has no advertisements, apart from the "Donate" section.
- android.permission.ACCESS_NETWORK_STATE
- android.permission.ACCESS_WIFI_STATE
- android.permission.INTERNET
- android.permission.WRITE_EXTERNAL_STORAGE

Wishlist:
- choose how many times to flash. - Done!
- choose to flash only on silent mode. - Done!
- sleep time. - Done!
- Support other notifications such as facebook, what's up, viber etc... - Comming...
- predefined special flash styles (heart pulse, sos code etc)
- add flash notification for missed calls/notifications.
- vibration on pick up if missed calls/sms/notifications, like sgs4.
- Disable flashing on call if volume buttons are pressed.
- Option to disable flash if screen is on.
- No flash on low battery
- pocket mode
- not flash if phone is laying on its back
- notifications per minute limit

Special thanks to...
- All my beta testers, especially plutoattack and odynik for "renting" me their phones, in order to fix some bugs...
- PuR3v1L for his support and help with the code.
- Myrsinimk for the texts.
- Donors: @popouser @User_99
- Translators: @User_99, @cyberniko, @sossio18, Ryo567

Distributed under: GPLv3

License for the logo:
Creative Commons (Attribution-Noncommercial-No Derivative Works 3.0 Unported)

Cheers
Last edited by spirosbond; 15th July 2014 at 10:30 PM.
The Following 29 Users Say Thank You to spirosbond For This Useful Post: [ View ]
13th August 2013, 10:24 AM   |  #2  
spirosbond's Avatar
OP Senior Member
Flag Thessaloniki
Thanks Meter: 630
 
903 posts
Join Date:Joined: Sep 2011
Donate to Me
More
Before rating bad please try all three flash drivers from settings. Samsung devices tend to work with the Alternative driver only

If your phone starts talking after enabling the "Notification Service" this is a Samsung-Talkback issue:
https://code.google.com/p/android/is...etail?id=23105

Changelog:

v4.0.1
+ fixed bug with translation folder names

v4.0.0
+ Android 4.4.4 Support
+ New translations
+ Various bugfixes
+ No more ads at Support tab.


v3.8.1
+ fixed a bug on releasing wakelock
+ minor code optimization

v3.8
+ "Turn screen on" Preference under Notification settings
+ Updated strings
+ New supported apps

v3.6
+ updated strings/translations
+ fixed problem with WhatsApp
+ new supported apps (Go SMS, Vtok, PHONE for Gvoice)
+ fixed flashing during skype call
+ visual fixes
+ fixed problem with test buttons (v3.6.1)

v3.4
+ Fixed problem enabling or disabling flash switches.
+ UI tweaks.
+ Fixed flash problem during viber call.

v3.3
+ new more compact and native UI.
+ minor bugfixes (visual and not)
+ Happy New Year...!!

v3.2
+ Re-added disable with volume buttons option, under Call Preferences.
+ Reworked some shared preferences save policy.
+ updated some strings
+ updated translations
+ added clock-alarm support (See application list)

v3.0
+ UI Improvements for devices with smaller screens
+ fixed a small bug in first time settings
+ improved some strings
+ Updated translations
+ Code optimization

v2.6
+ fixed one flash bug while receiving a call (thanks Alex)
+ code optimization
+ updated translations
- removed feature: "Disable Flash whith volume buttons" for now... I will fix it soon

v2.4.3 (at Play store)
+ removed flash when screen off option
+ added flash when phone locked option
+ Added support for kik messanger, Imo messenger, I'm+, Line messenger
+ Added disable on low battery option (Preferences->operation mode)
+ fixed a flash lag from 2.4.1-BETA

v2.4.1-BETA:
+ fixed low battery option
+ added boot receiver to set the low battery variable to false.

v2.4-BETA:
+ new apps supported (Bbm, Groove IP, Google voice).
+ added startPreview() at Flash.
+ added option not to flash when battery is off.

v2.2:
+ Handcent SMS added to support list
+ code cleaning and optimization
+ right to left languages support
+ 4.4 KitKat compatibility
+ fixed theme for Gingerbread
+ fixed "up" navigation from the top left (thanks Pur3ev1L)
+ fixed alternative_2 driver (support for xperia devices) (thanks plutoattack)
+ updated translations
+ added version manager via json (thanks winsontan520 / Android-WVersionManager)
+ added ask to rate function (thanks winsontan520 / Android-WVersionManager)

v2.1:
+ added more catch blocks
+ added background to everyone
+ added driver type to bugsense
+ fixed opengl problem on galaxy nexus with background image

v2.0.3.1:
+ fixed a crash at screen off dialog. Sorry

v2.0.3:
+ added catch block on cam.getParameters() to avoid crashes
+ implemented savePreferences thread to avoid StackOverflowError. Added that onPause() to make code faster.
+ Added some more hardcoded texts to string resources.
+ removed unused libraries
+ added paypal donation method
+ added warning dialog on "flash only if screen off" preference.
+ fixed sleep preferences first time crash
+ removed unused BootReceiver

v2.0.2:
+ fixed flashing during a viber call.
+ remove export flag from notification service (Possible fix of some FCs)
+ Updated translations
+ new gradle build

v2.0.2-BETA:
Beta version are only available here, because are in need of testing before they are published at play store.
+ added french language.
+ fixed a crash at donate section after returning from an ad.
+ added some hardcoded text to strings.
+ stop flash when a volume button is pressed when receiving a call
+ removed unnecessary libraries.
+ option to flash only if screen is off (at preferences->Operation Mode).

v2.0.1:
NOW ON PLAY STORE!!
+ Fixed a small bug with sleeping periods
+ added adMob
+ added greek and german support
+ fixed a hardcoded string to follow localization
+ added more supported apps
+ disabled Logs for speed improvements

v2.0:
+ Out of BETA! Woohoooo.
+ added first time settings.
+ added new how to.
+ added animations.
+ Fixed issues at first time settings.
+ New ads at "Donate" section. adColony HD videos!!
+ improved some graphics.
+ added graphics support for various screens.

v1.6-BETA:
+ Added bugsense to help me tracking bugs
+ Added Donate panel with some ads
+ small string fixes
+ fixed flashing on other events (false positive)
+ optimized ad functionality

v1.4-BETA:
- Fixed msgFlashDuration value
- Faster flash response
- Added more supported apps
- Speed Optimizations
- Improved text typing method on main panel
- Fixed Crash when trying to flash while user has camera open.
- New supported apps

v1.2-BETA:
- added description to accessibility settings
- removed boot broadcast receiver
- added support to more applications
- fixed Notification service
- added filter for useful apps
- added preference to quick enable/disable accessibility settings

v1.0-BETA:
- Changed to BETA Woowww
- Changed app's name
- Edited Strings
- Fixed issues with Galaxy Nexus and other devices.
- Added preference buttons.
- Added Module types(Type 1 - Standard, Type 2 - Alternative).
- Added option for sms flash. Time based or repetitive option.
- Removed UI elements.
- UI optimizations
- Code optimizations and fixes.

v0.31-Alpha:
- optimized flash toggle to run faster.
- added link to this thread at "About"
- ...still problem getting it work for Galaxy Nexus and some other devices... please report.

v0.3-Alpha:
- Choose when to flash (silent,vibration,normal modes).
- Choose sleep period.

v0.2-Alpha:
-Initial release

Last edited by spirosbond; 15th July 2014 at 10:36 PM.
The Following User Says Thank You to spirosbond For This Useful Post: [ View ]
14th August 2013, 01:07 AM   |  #3  
dimeim's Avatar
Senior Member
Flag Greece
Thanks Meter: 26
 
197 posts
Join Date:Joined: Mar 2011
Creative idea, works well on Nexus 4, stock 4.3.

I'm assuming the "Flash duration" you have for SMS notifications is the the max amount of time the flash will blink for a new message. This isn't reflected during the "Test".

Also, don't know if it's your setting or an Android default but I like how the sliders change the values in increments of 10 and not 1.

Lastly, I am kinda concerned about making my flash blink. Any chance of damaging it?

Looking forward to new versions
Last edited by dimeim; 14th August 2013 at 04:14 AM.
The Following User Says Thank You to dimeim For This Useful Post: [ View ]
14th August 2013, 03:59 AM   |  #4  
Senior Member
Flag algiers
Thanks Meter: 19
 
123 posts
Join Date:Joined: Nov 2012
Not working on LG optimus 3d p920 please make It work..thanks

Sent from my LG-P920 using xda app-developers app
The Following User Says Thank You to chewingum16 For This Useful Post: [ View ]
14th August 2013, 04:06 AM   |  #5  
tenorntex's Avatar
Senior Member
Flag Dallas
Thanks Meter: 344
 
603 posts
Join Date:Joined: Dec 2010
Works great on Galaxy S3. 4.2.2 Illusion 2.1 ROM.
The Following User Says Thank You to tenorntex For This Useful Post: [ View ]
14th August 2013, 04:35 AM   |  #6  
wwonka69's Avatar
Senior Member
Thanks Meter: 39
 
233 posts
Join Date:Joined: Jan 2011
Works Great on my Verizon S3 running Rootbox 4.2

I was thinking maybe you could make it so you could choose how many times it would flash. such as just making it flash twice or 3 times.
Just a thought.

Nice Job.

Peace
The Following User Says Thank You to wwonka69 For This Useful Post: [ View ]
14th August 2013, 05:36 AM   |  #7  
Member
Thanks Meter: 27
 
86 posts
Join Date:Joined: Feb 2008
Works well on my sprint note 2 running slim bean.

Sent from my SPH-L900 using Tapatalk 4
The Following User Says Thank You to kroewe For This Useful Post: [ View ]
14th August 2013, 06:37 AM   |  #8  
JohnnyEpic's Avatar
Senior Member
Thanks Meter: 474
 
932 posts
Join Date:Joined: Apr 2011
Fantastic on my Sprint s3 (work) running The Peoples Rom.

Great job dev.

Sent from my SPH-L710 using xda premium
The Following User Says Thank You to JohnnyEpic For This Useful Post: [ View ]
14th August 2013, 02:08 PM   |  #9  
spirosbond's Avatar
OP Senior Member
Flag Thessaloniki
Thanks Meter: 630
 
903 posts
Join Date:Joined: Sep 2011
Donate to Me
More
Thanks for the first feedback guys! I really appreciate it.

Quote:
Originally Posted by dimeim

Creative idea, works well on Nexus 4, stock 4.3.

I'm assuming the "Flash duration" you have for SMS notifications is the the max amount of time the flash will blink for a new message. This isn't reflected during the "Test".

True, test doesn't stop unless you stop it.

Quote:
Originally Posted by dimeim

Also, don't know if it's your setting or an Android default but I like how the sliders change the values in increments of 10 and not 1.

Lastly, I am kinda concerned about making my flash blink. Any chance of damaging it?

Looking forward to new versions

Damaging flash is an issue indeed, but only when you lower the on time very much. I might add a lowest value constrain in order to be sure. Although I've never heard anyone bricking his flash.

Quote:
Originally Posted by chewingum16

Not working on LG optimus 3d p920 please make It work..thanks

Sent from my LG-P920 using xda app-developers app

I think I know what is the problem. Galaxy Nexus devices have the same issue too. Can you tell me if something works? Call test, Message Test, Call receive etc??

Quote:
Originally Posted by wwonka69

Works Great on my Verizon S3 running Rootbox 4.2

I was thinking maybe you could make it so you could choose how many times it would flash. such as just making it flash twice or 3 times.
Just a thought.

Nice Job.

Peace

Nice one. I will add it to the wishlist.

Thanks
Last edited by spirosbond; 14th August 2013 at 02:10 PM.
14th August 2013, 07:25 PM   |  #10  
SystemErrorOne's Avatar
Recognized Contributor
Flag Jacksonville
Thanks Meter: 326
 
481 posts
Join Date:Joined: Jun 2011
More
Hey there ive been reading up on your progress with caller flashlight and i think your doing a great job.

I do graphics & some UI design so... I saw the opportunity and made an icon for you. I hope you like it tell me what you think!

https://docs.google.com/file/d/0Byxl...it?usp=sharing

The Following User Says Thank You to SystemErrorOne For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
call, call alert, callflash, flashlight, message alert
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes