Android Question [Resolved] [ExternalStorage] LongClick!!

ivanomonti

Expert
Licensed User
Longtime User
ciao a tutti, sto usando questa libreria ExternalStorage ma ho bisogno di inviare il documento o la foto selezionata in stampa, ma vedo che il longclick non viene intercettato in quanto la listview prende solo il click dalla sua icona open

1) il longclick si può fare intercettare?
2) nel caso di no come posso far diventare la mia app predefinita?


hello all, i'm using this ExternalStorage library but i need to send the selected document or photo to print, but i see that the longclick is not intercepted as the listview only takes the click from its open icon

1) can the longclick be intercepted?
2) if not how can I make it my default app?
 

teddybear

Well-Known Member
Licensed User
What do you mean that the longclick is not intercepted? is it that ItemLongClick event was not fired?
or try using xcustomlistview.
it is better to get the question if you post a small project
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
Ivano, tu parli del progetto di esempio, non della libreria.
Il progetto contiene:

Ivano, you are talking about the example project, not the library.
The project contains:
B4X:
Private Sub ListView1_ItemClick (Position As Int, Value As Object)
    Dim f As ExternalFile = Value
'etc
Puoi aggiungere o usare questo al posto di ListView1_ItemClick:
You can add or use this instead of ListView1_ItemClick:
B4X:
Private Sub ListView1_ItemLongClick (Position As Int, Value As Object)
 
Upvote 0
Top