[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 μέσω της συντόμευσης της εφαρμογής?
View unanswered posts | View active topics It is currently 17 Apr 2024, 01:21



Reply to topic  [ 4 posts ] 
 Χειρισμός του Flashlight μέσω της συντόμευσης της εφαρμογής? 
Author Message

Joined: 18 Feb 2010, 15:30
Posts: 10
Post Χειρισμός του Flashlight μέσω της συντόμευσης της εφαρμογής?


09 Dec 2012, 20:32
Profile

Joined: 18 Feb 2010, 15:30
Posts: 10
Post Re: Χειρισμός του Flashlight μέσω της συντόμευσης της εφαρμο
Δε φαίνεται να έχει μεγάλη κίνηση το φόρουμ :cry:

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


Last edited by dancer_69 on 12 Dec 2012, 13:38, edited 1 time in total.



10 Dec 2012, 18:15
Profile
User avatar

Joined: 12 Jul 2011, 18:34
Posts: 125
Post Re: Χειρισμός του Flashlight μέσω της συντόμευσης της εφαρμο
καλημερα θα το δω και θα σου πω

_________________
x8
Αναλαμβάνω κατασκευή Android εφαρμογών...Πμ or Mail me
Θες και Εσυ να γινεις Android Developer?


12 Dec 2012, 09:19
Profile

Joined: 09 Oct 2012, 13:04
Posts: 2
Post Re: Χειρισμός του Flashlight μέσω της συντόμευσης της εφαρμο
καλημέρα και από μένα,
Καθυστερημένη μάλλον η απάντηση αλλά .... θα σου πρότεινα να σηκώνει ένα activity κυριολεκτικά για τα μάτια του κόσμου
με ένα progress bar μέχρι να ανάψει το φλάς και στη συνέχεια να το κλείνεις. Ενδεχομένως να φαινόταν μόνο ένα "starting flashlight..."
ίσα ίσα για να μην φαίνεται αυτό το κενό μέχρι τη στιγμή εκκίνησης του service.
Μετά μπορείς να το κάνεις finish().
Ελπίζω να βοήθησα.


31 Dec 2012, 11:52
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.