Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Foreign Languages > Italian Forum
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

camera non funziona sempre da verticale

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-02-2012, 10:17 AM
fifiddu70's Avatar
Senior Member
 
Join Date: Jan 2012
Location: Partanna ( TP ) Italy
Posts: 194
Send a message via Skype™ to fifiddu70
Default camera non funziona sempre da verticale

ciao a tutti, altra quesito, ho creato un nuovo progetto, usando la libreria camera, in sostanza ho messo un panel e gli ho messo la cam + un pulsante per accenderla, ed un pulsante per lo scatto, voglio che questi mi funzioni in orizzontale, e fin qui tutto ok, unico problema e che quando lancio il debug il telefono si trova in verticale, la cam non si inizializza sempre, a volte funziona a volte no, mentre se prima del debug il telefono si trova in orizzontale, allora l'applicazione funziona regolarmente, ma ogni tanto mi da errore nell'inizializzazione, qualcuno sa dirmi perchè?
Reply With Quote
  #2 (permalink)  
Old 02-02-2012, 10:40 AM
Filippo's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 977
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Ciao Filippo,

prova a metter nel pulsante per lo scatto questa funzione: "phone1.SetScreenOrientation(0)"

Code:
Sub pulsante_Click
    phone1.SetScreenOrientation(
0)
    ...
    ...
End Sub
Ciao,
Filippo
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #3 (permalink)  
Old 02-02-2012, 12:10 PM
fifiddu70's Avatar
Senior Member
 
Join Date: Jan 2012
Location: Partanna ( TP ) Italy
Posts: 194
Send a message via Skype™ to fifiddu70
Default

stasera al rientro dal lavoro provo il tuo suggerimento, come sempre gentilissimo se ci sei stasera ti faccio sapere. ciao
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where is the image of the camera? (Camera whitout library) Der Mond Basic4android Updates and Questions 4 12-14-2011 03:14 PM
App che funziona mentre il telefono è spento Albert1996 Italian Forum 9 09-13-2011 08:31 PM
Ligne verticale sur graphique ciginfo Basic4android Updates and Questions 6 09-03-2011 09:02 PM
New Camera library - v1.00 Erel Additional libraries and official updates 16 05-20-2011 10:13 PM
CCD Camera Library/DLL? willisgt Questions (Windows Mobile) 2 11-01-2007 07:09 PM


All times are GMT. The time now is 11:42 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0