Namespaces
Variants
Actions
(Difference between revisions)

Como capturar o nome do arquivos instantaneamente em Java ME

Jump to: navigation, search
(Created page with 'Category:Java ME (Português)Category:Lang-PTCategory: Exemplos de código Java ME (Português) Original: [[How to get full filename of the snapshot taken in JSR 234…')
 
m (Hamishwillee - Automated change of category from Lang-PT to Unlikely Category. (Moving))
Line 1: Line 1:
[[Category:Java ME (Português)]][[Category:Lang-PT]][[Category: Exemplos de código Java ME (Português)]]
+
[[Category:Java ME]][[Category:Lang-Portuguese]][[Category:Code Examples]]
  
 
Original: [[How to get full filename of the snapshot taken in JSR 234]] (Inglês)
 
Original: [[How to get full filename of the snapshot taken in JSR 234]] (Inglês)

Revision as of 08:15, 14 July 2011


Original: How to get full filename of the snapshot taken in JSR 234 (Inglês)

Embora tendo snapshot usando a JSR-234, o nome do arquivo da imagem salva no sistema de arquivos do telefone é gerado pelo JSR-SE em uma sequência. O MIDlet não tem qualquer controle sobre isso. No entanto, existem casos em que o nome exato é necessário para acessar o arquivo e fazer o tratamento. Neste caso siga este caminho:

1. pasta padrão definida para salvar a imagem

     snapshotControl.setDirectory("c:/pictures/temp/");

2. definir um prefixo de arquivo

     snapshotControl.setFilePrefix("xyz");

Então, depois de abrir um arquivo de conexão com o caminho "c:/pictures/temp/"

Procure o arquivo que contém "xyz" em seu nome.

Desta forma, podemos buscar o arquivo para o tratamento, se necessário.

110 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved