[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
AndroidGreece.gr :: View topic - Χειρισμός του Flashlight μέσω της συντόμευσης της εφαρμογής?
AndroidGreece.gr
https://androidgreece.gr/forum/

Χειρισμός του Flashlight μέσω της συντόμευσης της εφαρμογής?
https://androidgreece.gr/forum/viewtopic.php?f=4&t=6864
Page 1 of 1

Author:  dancer_69 [ 09 Dec 2012, 20:32 ]
Post subject:  Χειρισμός του Flashlight μέσω της συντόμευσης της εφαρμογής?


Author:  dancer_69 [ 10 Dec 2012, 18:15 ]
Post subject:  Re: Χειρισμός του Flashlight μέσω της συντόμευσης της εφαρμο

Δε φαίνεται να έχει μεγάλη κίνηση το φόρουμ :cry:

Anyway, το πρόβλημα λύθηκε, με τη δημιουργία ενός service για το φακό, το οποίο εκκινείται/σταματά από την κύρια activity, η οποία δεν εμφανίζει UI.
Υπάρχει βέβαια το πρόβλημα ότι το σύστημα τερματίζει την υπηρεσία πολύ εύκολα, το οποίο ενδεχομένως έχει λυθεί με τη χρήση της μεθόδου startForeground.
Αν κάποιος γνωρίζει κάποια καλύτερη λύση ας με διαφωτίσει.
Επισής υπάρχει ένα ακόμη μικρό ενοχλητικό πρόβλημα. Όταν τρέχει η εφαρμογή, και για μερικά δευτερόλεπτα ώσπου να κλείσει, εξαφανίζονται τα widgets και φαίνεται μόνο η ταπετσαρία. Υπάρχει κάποιος τρόπος να μη γίνεται αυτό?

Author:  cliff [ 12 Dec 2012, 09:19 ]
Post subject:  Re: Χειρισμός του Flashlight μέσω της συντόμευσης της εφαρμο

καλημερα θα το δω και θα σου πω

Author:  jimbrain [ 31 Dec 2012, 11:52 ]
Post subject:  Re: Χειρισμός του Flashlight μέσω της συντόμευσης της εφαρμο

καλημέρα και από μένα,
Καθυστερημένη μάλλον η απάντηση αλλά .... θα σου πρότεινα να σηκώνει ένα activity κυριολεκτικά για τα μάτια του κόσμου
με ένα progress bar μέχρι να ανάψει το φλάς και στη συνέχεια να το κλείνεις. Ενδεχομένως να φαινόταν μόνο ένα "starting flashlight..."
ίσα ίσα για να μην φαίνεται αυτό το κενό μέχρι τη στιγμή εκκίνησης του service.
Μετά μπορείς να το κάνεις finish().
Ελπίζω να βοήθησα.

Page 1 of 1 All times are UTC + 2 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/