Skip to content
Browse files

acertados nomes de pacotes, ícones, textos e fluxo final

  • Loading branch information...
1 parent 2d15068 commit b981b9a6070d9786143eeb302667a108e3a462cb @chesterbr chesterbr committed Mar 7, 2011
View
1 .gitignore
@@ -1,3 +1,4 @@
android/.project
android/.classpath
android/bin*
+.DS_Store
View
5 javame/nbproject/project.properties
@@ -22,6 +22,7 @@ dist.jar=SMS-Denuncia.jar
dist.javadoc.dir=${dist.dir}/doc
dist.root.dir=dist
extra.classpath=
+file.reference.javame-res=res
filter.exclude.tests=false
filter.excludes=
filter.more.excludes=**/overview.html,**/package.html
@@ -43,15 +44,15 @@ javadoc.splitindex=true
javadoc.use=true
javadoc.version=false
javadoc.windowtitle=
-libs.classpath=
+libs.classpath=${file.reference.javame-res}
main.class=
main.class.class=applet
manifest.apipermissions=
manifest.file=manifest.mf
manifest.is.liblet=false
manifest.jad=
manifest.manifest=
-manifest.midlets=MIDlet-1: HelloMIDlet, , hello.HelloMIDlet\n
+manifest.midlets=MIDlet-1: SMS-Den\u00fancia,/icon.png,me.chester.SMSDenuncia\n
manifest.others=MIDlet-Vendor: Vendor\nMIDlet-Name: SMS-Denuncia\nMIDlet-Version: 1.0\n
manifest.pushregistry=
name=SMS-Denuncia
View
BIN javame/res/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
224 javame/src/hello/HelloMIDlet.java → javame/src/me/chester/SMSDenuncia.java
@@ -3,15 +3,19 @@
* and open the template in the editor.
*/
-package hello;
+package me.chester;
+import java.io.IOException;
+import javax.microedition.io.Connector;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
+import javax.wireless.messaging.MessageConnection;
+import javax.wireless.messaging.TextMessage;
/**
* @author chester
*/
-public class HelloMIDlet extends MIDlet implements CommandListener, Runnable {
+public class SMSDenuncia extends MIDlet implements CommandListener, Runnable {
private static final int MEIO_CPTM = 0;
@@ -45,7 +49,7 @@
/**
* Forms na ordem que têm que aparecer
*/
- private Form[] FORMS = {getFormTipo(), getFormDentro(), getFormMeio(), getFormLinha(), getFormEstacao(), getFormSentido(), getFormCarro(), getFormPreview()};
+ private Displayable[] FORMS = {getFormTipo(), getFormDentro(), getFormMeio(), getFormLinha(), getFormEstacao(), getFormSentido(), getFormCarro(), getTextBoxSMS()};
/**
* Campos de pergunta na ordem em que estão no array FORMS
@@ -59,28 +63,30 @@
//<editor-fold defaultstate="collapsed" desc=" Generated Fields ">//GEN-BEGIN:|fields|0|
private Command exitCommand;
private Command backCommand;
- private Form formPreview;
- private TextField textFieldSMS;
+ private Command okCommand;
+ private Command enviarCommand;
private Form formTipo;
private ChoiceGroup choiceGroupTipo;
private Form formMeio;
private ChoiceGroup choiceGroupMeio;
- private Form formLinha;
- private ChoiceGroup choiceGroupLinha;
private Form formEstacao;
private ChoiceGroup choiceGroupEstacao;
+ private Form formLinha;
+ private ChoiceGroup choiceGroupLinha;
private Form formDentro;
private ChoiceGroup choiceGroupDentro;
private Form formSentido;
private ChoiceGroup choiceGroupSentido;
private Form formCarro;
private TextField textFieldCarro;
+ private StringItem stringItem;
+ private TextBox textBoxSMS;
//</editor-fold>//GEN-END:|fields|0|
/**
* The HelloMIDlet constructor.
*/
- public HelloMIDlet() {
+ public SMSDenuncia() {
}
//<editor-fold defaultstate="collapsed" desc=" Generated Methods ">//GEN-BEGIN:|methods|0|
@@ -153,35 +159,33 @@ public void commandAction(Command command, Displayable displayable) {//GEN-END:|
// write pre-action user code here
doBack();//GEN-LINE:|7-commandAction|2|92-postAction
// write post-action user code here
- }//GEN-BEGIN:|7-commandAction|3|81-preAction
+ } else if (command == okCommand) {//GEN-LINE:|7-commandAction|3|125-preAction
+ // write pre-action user code here
+ switchDisplayable(null, getTextBoxSMS());//GEN-LINE:|7-commandAction|4|125-postAction
+ // write post-action user code here
+ }//GEN-BEGIN:|7-commandAction|5|81-preAction
} else if (displayable == formDentro) {
- if (command == backCommand) {//GEN-END:|7-commandAction|3|81-preAction
+ if (command == backCommand) {//GEN-END:|7-commandAction|5|81-preAction
// write pre-action user code here
- doBack();//GEN-LINE:|7-commandAction|4|81-postAction
+ doBack();//GEN-LINE:|7-commandAction|6|81-postAction
// write post-action user code here
- }//GEN-BEGIN:|7-commandAction|5|90-preAction
+ }//GEN-BEGIN:|7-commandAction|7|90-preAction
} else if (displayable == formEstacao) {
- if (command == backCommand) {//GEN-END:|7-commandAction|5|90-preAction
+ if (command == backCommand) {//GEN-END:|7-commandAction|7|90-preAction
// write pre-action user code here
- doBack();//GEN-LINE:|7-commandAction|6|90-postAction
+ doBack();//GEN-LINE:|7-commandAction|8|90-postAction
// write post-action user code here
- }//GEN-BEGIN:|7-commandAction|7|67-preAction
+ }//GEN-BEGIN:|7-commandAction|9|67-preAction
} else if (displayable == formLinha) {
- if (command == backCommand) {//GEN-END:|7-commandAction|7|67-preAction
+ if (command == backCommand) {//GEN-END:|7-commandAction|9|67-preAction
// write pre-action user code here
- doBack();//GEN-LINE:|7-commandAction|8|67-postAction
+ doBack();//GEN-LINE:|7-commandAction|10|67-postAction
// write post-action user code here
- }//GEN-BEGIN:|7-commandAction|9|58-preAction
+ }//GEN-BEGIN:|7-commandAction|11|58-preAction
} else if (displayable == formMeio) {
- if (command == backCommand) {//GEN-END:|7-commandAction|9|58-preAction
- // write pre-action user code here
- doBack();//GEN-LINE:|7-commandAction|10|58-postAction
- // write post-action user code here
- }//GEN-BEGIN:|7-commandAction|11|19-preAction
- } else if (displayable == formPreview) {
- if (command == exitCommand) {//GEN-END:|7-commandAction|11|19-preAction
+ if (command == backCommand) {//GEN-END:|7-commandAction|11|58-preAction
// write pre-action user code here
- exitMIDlet();//GEN-LINE:|7-commandAction|12|19-postAction
+ doBack();//GEN-LINE:|7-commandAction|12|58-postAction
// write post-action user code here
}//GEN-BEGIN:|7-commandAction|13|91-preAction
} else if (displayable == formSentido) {
@@ -195,11 +199,23 @@ public void commandAction(Command command, Displayable displayable) {//GEN-END:|
// write pre-action user code here
exitMIDlet();//GEN-LINE:|7-commandAction|16|63-postAction
// write post-action user code here
- }//GEN-BEGIN:|7-commandAction|17|7-postCommandAction
- }//GEN-END:|7-commandAction|17|7-postCommandAction
+ }//GEN-BEGIN:|7-commandAction|17|118-preAction
+ } else if (displayable == textBoxSMS) {
+ if (command == backCommand) {//GEN-END:|7-commandAction|17|118-preAction
+ // write pre-action user code here
+ doBack();//GEN-LINE:|7-commandAction|18|118-postAction
+ // write post-action user code here
+ } else if (command == enviarCommand) {//GEN-LINE:|7-commandAction|19|115-preAction
+ // write pre-action user code here
+ doSend();//GEN-LINE:|7-commandAction|20|115-postAction
+ // write post-action user code here
+ }//GEN-BEGIN:|7-commandAction|21|7-postCommandAction
+ }//GEN-END:|7-commandAction|21|7-postCommandAction
// write post-action user code here
- }//GEN-BEGIN:|7-commandAction|18|
- //</editor-fold>//GEN-END:|7-commandAction|18|
+ }//GEN-BEGIN:|7-commandAction|22|
+ //</editor-fold>//GEN-END:|7-commandAction|22|
+
+
//<editor-fold defaultstate="collapsed" desc=" Generated Getter: exitCommand ">//GEN-BEGIN:|18-getter|0|18-preInit
@@ -219,22 +235,7 @@ public Command getExitCommand() {
//</editor-fold>
//</editor-fold>
- //<editor-fold defaultstate="collapsed" desc=" Generated Getter: formPreview ">//GEN-BEGIN:|14-getter|0|14-preInit
- /**
- * Returns an initiliazed instance of formPreview component.
- * @return the initialized component instance
- */
- public Form getFormPreview() {
- if (formPreview == null) {//GEN-END:|14-getter|0|14-preInit
- // write pre-init user code here
- formPreview = new Form("SMS-Den\u00FAncia", new Item[] { getTextFieldSMS() });//GEN-BEGIN:|14-getter|1|14-postInit
- formPreview.addCommand(getExitCommand());
- formPreview.setCommandListener(this);//GEN-END:|14-getter|1|14-postInit
- // write post-init user code here
- }//GEN-BEGIN:|14-getter|2|
- return formPreview;
- }
- //</editor-fold>//GEN-END:|14-getter|2|
+
@@ -292,20 +293,7 @@ public ChoiceGroup getChoiceGroupTipo() {
}
//</editor-fold>//GEN-END:|45-getter|2|
- //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textFieldSMS ">//GEN-BEGIN:|50-getter|0|50-preInit
- /**
- * Returns an initiliazed instance of textFieldSMS component.
- * @return the initialized component instance
- */
- public TextField getTextFieldSMS() {
- if (textFieldSMS == null) {//GEN-END:|50-getter|0|50-preInit
- // write pre-init user code here
- textFieldSMS = new TextField("", null, 32, TextField.ANY);//GEN-LINE:|50-getter|1|50-postInit
- // write post-init user code here
- }//GEN-BEGIN:|50-getter|2|
- return textFieldSMS;
- }
- //</editor-fold>//GEN-END:|50-getter|2|
+
//<editor-fold defaultstate="collapsed" desc=" Generated Getter: formMeio ">//GEN-BEGIN:|51-getter|0|51-preInit
/**
@@ -350,7 +338,7 @@ public ChoiceGroup getChoiceGroupMeio() {
public Command getBackCommand() {
if (backCommand == null) {//GEN-END:|57-getter|0|57-preInit
// write pre-init user code here
- backCommand = new Command("Back", Command.BACK, 0);//GEN-LINE:|57-getter|1|57-postInit
+ backCommand = new Command("Voltar", Command.BACK, 5);//GEN-LINE:|57-getter|1|57-postInit
// write post-init user code here
}//GEN-BEGIN:|57-getter|2|
return backCommand;
@@ -498,7 +486,8 @@ public ChoiceGroup getChoiceGroupSentido() {
public Form getFormCarro() {
if (formCarro == null) {//GEN-END:|74-getter|0|74-preInit
// write pre-init user code here
- formCarro = new Form("SMS-Den\u00FAncia", new Item[] { getTextFieldCarro() });//GEN-BEGIN:|74-getter|1|74-postInit
+ formCarro = new Form("SMS-Den\u00FAncia", new Item[] { getTextFieldCarro(), getStringItem() });//GEN-BEGIN:|74-getter|1|74-postInit
+ formCarro.addCommand(getOkCommand());
formCarro.addCommand(getBackCommand());
formCarro.setCommandListener(this);//GEN-END:|74-getter|1|74-postInit
// write post-init user code here
@@ -522,6 +511,82 @@ public TextField getTextFieldCarro() {
}
//</editor-fold>//GEN-END:|98-getter|2|
+ //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand ">//GEN-BEGIN:|99-getter|0|99-preInit
+ /**
+ * Returns an initiliazed instance of okCommand component.
+ * @return the initialized component instance
+ */
+ public Command getOkCommand() {
+ if (okCommand == null) {//GEN-END:|99-getter|0|99-preInit
+ // write pre-init user code here
+ okCommand = new Command("Ok", "Ok", Command.OK, 1);//GEN-LINE:|99-getter|1|99-postInit
+ // write post-init user code here
+ }//GEN-BEGIN:|99-getter|2|
+ return okCommand;
+ }
+ //</editor-fold>//GEN-END:|99-getter|2|
+ //</editor-fold>
+
+
+
+
+
+ //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textBoxSMS ">//GEN-BEGIN:|107-getter|0|107-preInit
+ /**
+ * Returns an initiliazed instance of textBoxSMS component.
+ * @return the initialized component instance
+ */
+ public TextBox getTextBoxSMS() {
+ if (textBoxSMS == null) {//GEN-END:|107-getter|0|107-preInit
+ // write pre-init user code here
+ textBoxSMS = new TextBox("Acrescente informa\u00E7\u00F5es sobre o infrator:", "", 260, TextField.ANY);//GEN-BEGIN:|107-getter|1|107-postInit
+ textBoxSMS.addCommand(getEnviarCommand());
+ textBoxSMS.addCommand(getBackCommand());
+ textBoxSMS.setCommandListener(this);//GEN-END:|107-getter|1|107-postInit
+ // write post-init user code here
+ }//GEN-BEGIN:|107-getter|2|
+ return textBoxSMS;
+ }
+ //</editor-fold>//GEN-END:|107-getter|2|
+
+
+
+
+
+
+
+ //<editor-fold defaultstate="collapsed" desc=" Generated Getter: stringItem ">//GEN-BEGIN:|112-getter|0|112-preInit
+ /**
+ * Returns an initiliazed instance of stringItem component.
+ * @return the initialized component instance
+ */
+ public StringItem getStringItem() {
+ if (stringItem == null) {//GEN-END:|112-getter|0|112-preInit
+ // write pre-init user code here
+ stringItem = new StringItem("Na pr\u00F3xima tela, descreva o infrator para ajudar os seguran\u00E7as a identific\u00E1-lo.", null);//GEN-LINE:|112-getter|1|112-postInit
+ // write post-init user code here
+ }//GEN-BEGIN:|112-getter|2|
+ return stringItem;
+ }
+ //</editor-fold>//GEN-END:|112-getter|2|
+
+ //<editor-fold defaultstate="collapsed" desc=" Generated Getter: enviarCommand ">//GEN-BEGIN:|114-getter|0|114-preInit
+ /**
+ * Returns an initiliazed instance of enviarCommand component.
+ * @return the initialized component instance
+ */
+ public Command getEnviarCommand() {
+ if (enviarCommand == null) {//GEN-END:|114-getter|0|114-preInit
+ // write pre-init user code here
+ enviarCommand = new Command("Enviar", "Enviar", Command.OK, 1);//GEN-LINE:|114-getter|1|114-postInit
+ // write post-init user code here
+ }//GEN-BEGIN:|114-getter|2|
+ return enviarCommand;
+ }
+ //</editor-fold>//GEN-END:|114-getter|2|
+
+
+
/**
@@ -622,6 +687,41 @@ public void doBack() {
}
}
+ public void doSend() {
+ class Sender implements Runnable {
+ public void run() {
+ try {
+ // String denuncia = tipoDenuncia + " na linha " + linha.getText() + ". ";
+ // if(dentro.isChecked()) {
+ // denuncia += "Trem sentido " + sentido.getText();
+ // denuncia += " próx. da estação ";
+ // } else {
+ // denuncia += "Estação ";
+ // }
+ // denuncia += estacao.getText() + ".";
+ // if(getTextFieldCarro().getString().length()>0) {
+ // denuncia += " Carro " + getTextFieldCarro().getString() + ".";
+ // }
+ String addr = "sms://" + "12345677";
+ MessageConnection conn = (MessageConnection) Connector.open(addr);
+ TextMessage msg = (TextMessage) conn.newMessage(MessageConnection.TEXT_MESSAGE);
+ msg.setPayloadText("esse tem acentuação");
+ conn.send(msg);
+ } catch (IOException ex) {
+ //getTextFieldSMS().setString(ex.getMessage());
+ ex.printStackTrace();
+ }
+ }
+ }
+ Thread t = new Thread(new Sender());
+ t.start();
+
+
+
+
+ }
+
+
/**
* Recupera o índice do elemento selecionado em um <code>ChoiceGroup</code>.
* <p>
View
169 javame/src/hello/HelloMIDlet.vmd → javame/src/me/chester/SMSDenuncia.vmd
@@ -8,8 +8,8 @@
<Property name="start" typeID="C#MobileDeviceStartEventSource" value="R3"/>
<Property name="resume" typeID="C#MobileDeviceResumeEventSource" value="R4"/>
<Component componentID="3" typeID="C#MobileDeviceStartEventSource">
- <Property name="eventHandler" typeID="C#EventHandler" value="R97"/>
- <Component componentID="97" typeID="C#SwitchDisplayableEventHandler">
+ <Property name="eventHandler" typeID="C#EventHandler" value="R108"/>
+ <Component componentID="108" typeID="C#SwitchDisplayableEventHandler">
<Property name="eventSource" typeID="C#EventSource" value="R3"/>
<Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R44"/>
</Component>
@@ -20,6 +20,9 @@
<Component componentID="86" typeID="C#CallPoint">
<Property name="accessCode" typeID="P#javacode" value="VdoBack();"/>
</Component>
+ <Component componentID="101" typeID="C#CallPoint">
+ <Property name="accessCode" typeID="P#javacode" value="VdoSend();"/>
+ </Component>
</Component>
<Component componentID="6" typeID="C#ControllersCategory">
<Component componentID="7" typeID="C#CommandListener"/>
@@ -36,36 +39,28 @@
<Component componentID="57" typeID="Cjavax.microedition.lcdui.Command">
<Property name="instanceName" typeID="Pjava.lang.String" value="VbackCommand"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
- <Property name="label" typeID="Pjava.lang.String" value="VBack"/>
+ <Property name="label" typeID="Pjava.lang.String" value="VVoltar"/>
<Property name="type" typeID="Pint" value="V2"/>
+ <Property name="priority" typeID="Pint" value="V5"/>
</Component>
- </Component>
- <Component componentID="10" typeID="C#DisplayablesCategory">
- <Component componentID="14" typeID="Cjavax.microedition.lcdui.Form">
- <Property name="instanceName" typeID="Pjava.lang.String" value="VformPreview"/>
+ <Component componentID="99" typeID="Cjavax.microedition.lcdui.Command">
+ <Property name="instanceName" typeID="Pjava.lang.String" value="VokCommand"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
- <Property name="commands" typeID="1C#CommandEventSource" value="A1:3_R19"/>
- <Property name="title" typeID="Pjava.lang.String" value="VSMS-Denúncia"/>
- <Property name="commandListener" typeID="C#CommandListener" value="R7"/>
- <Property name="items" typeID="1Cjavax.microedition.lcdui.Item" value="A1:3_R50"/>
- <Component componentID="19" typeID="C#CommandEventSource">
- <Property name="eventHandler" typeID="C#EventHandler" value="R20"/>
- <Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R14"/>
- <Property name="command" typeID="Cjavax.microedition.lcdui.Command" value="R18"/>
- <Component componentID="20" typeID="C#ExitMidletEventHandler">
- <Property name="eventSource" typeID="C#EventSource" value="R19"/>
- <Property name="mobileDevice" typeID="C#MobileDevice" value="R2"/>
- </Component>
- </Component>
- <Component componentID="50" typeID="Cjavax.microedition.lcdui.TextField">
- <Property name="instanceName" typeID="Pjava.lang.String" value="VtextFieldSMS"/>
- <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
- <Property name="label" typeID="Pjava.lang.String" value="V"/>
- <Property name="itemCommandListener" typeID="C#ItemCommandListener" value="R17"/>
- <Property name="maxSize" typeID="Pint" value="V32"/>
- <Property name="constraints" typeID="Pint" value="V0"/>
- </Component>
+ <Property name="label" typeID="Pjava.lang.String" value="VOk"/>
+ <Property name="longLabel" typeID="Pjava.lang.String" value="VOk"/>
+ <Property name="type" typeID="Pint" value="V4"/>
+ <Property name="priority" typeID="Pint" value="V1"/>
+ </Component>
+ <Component componentID="114" typeID="Cjavax.microedition.lcdui.Command">
+ <Property name="instanceName" typeID="Pjava.lang.String" value="VenviarCommand"/>
+ <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
+ <Property name="label" typeID="Pjava.lang.String" value="VEnviar"/>
+ <Property name="longLabel" typeID="Pjava.lang.String" value="VEnviar"/>
+ <Property name="type" typeID="Pint" value="V4"/>
+ <Property name="priority" typeID="Pint" value="V1"/>
</Component>
+ </Component>
+ <Component componentID="10" typeID="C#DisplayablesCategory">
<Component componentID="44" typeID="Cjavax.microedition.lcdui.Form">
<Property name="instanceName" typeID="Pjava.lang.String" value="VformTipo"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
@@ -87,12 +82,12 @@
<Component componentID="47" typeID="C#ChoiceElement">
<Property name="string" typeID="Pjava.lang.String" value="VDelito"/>
</Component>
- <Component componentID="48" typeID="C#ChoiceElement">
- <Property name="string" typeID="Pjava.lang.String" value="VVandalismo"/>
- </Component>
<Component componentID="49" typeID="C#ChoiceElement">
<Property name="string" typeID="Pjava.lang.String" value="VSom Alto"/>
</Component>
+ <Component componentID="48" typeID="C#ChoiceElement">
+ <Property name="string" typeID="Pjava.lang.String" value="VVandalismo"/>
+ </Component>
<Component componentID="56" typeID="C#ChoiceElement">
<Property name="string" typeID="Pjava.lang.String" value="VOutras"/>
</Component>
@@ -120,12 +115,12 @@
<Property name="label" typeID="Pjava.lang.String" value="VVocê está usando:"/>
<Property name="itemCommandListener" typeID="C#ItemCommandListener" value="R17"/>
<Property name="elements" typeID="1C#ChoiceElement" value="A2:3_R533_R54"/>
- <Component componentID="53" typeID="C#ChoiceElement">
- <Property name="string" typeID="Pjava.lang.String" value="VCPTM"/>
- </Component>
<Component componentID="54" typeID="C#ChoiceElement">
<Property name="string" typeID="Pjava.lang.String" value="VMetrô"/>
</Component>
+ <Component componentID="53" typeID="C#ChoiceElement">
+ <Property name="string" typeID="Pjava.lang.String" value="VCPTM"/>
+ </Component>
</Component>
<Component componentID="58" typeID="C#CommandEventSource">
<Property name="eventHandler" typeID="C#EventHandler" value="R88"/>
@@ -137,29 +132,6 @@
</Component>
</Component>
</Component>
- <Component componentID="65" typeID="Cjavax.microedition.lcdui.Form">
- <Property name="instanceName" typeID="Pjava.lang.String" value="VformLinha"/>
- <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
- <Property name="commands" typeID="1C#CommandEventSource" value="A1:3_R67"/>
- <Property name="title" typeID="Pjava.lang.String" value="VSMS-Denúncia"/>
- <Property name="commandListener" typeID="C#CommandListener" value="R7"/>
- <Property name="items" typeID="1Cjavax.microedition.lcdui.Item" value="A1:3_R66"/>
- <Component componentID="66" typeID="Cjavax.microedition.lcdui.ChoiceGroup">
- <Property name="instanceName" typeID="Pjava.lang.String" value="VchoiceGroupLinha"/>
- <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
- <Property name="label" typeID="Pjava.lang.String" value="VInforme a Linha:"/>
- <Property name="itemCommandListener" typeID="C#ItemCommandListener" value="R17"/>
- </Component>
- <Component componentID="67" typeID="C#CommandEventSource">
- <Property name="eventHandler" typeID="C#EventHandler" value="R89"/>
- <Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R65"/>
- <Property name="command" typeID="Cjavax.microedition.lcdui.Command" value="R57"/>
- <Component componentID="89" typeID="C#CallPointEventHandler">
- <Property name="eventSource" typeID="C#EventSource" value="R67"/>
- <Property name="callPoint" typeID="C#CallPoint" value="R86"/>
- </Component>
- </Component>
- </Component>
<Component componentID="70" typeID="Cjavax.microedition.lcdui.Form">
<Property name="instanceName" typeID="Pjava.lang.String" value="VformEstacao"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
@@ -183,6 +155,29 @@
</Component>
</Component>
</Component>
+ <Component componentID="65" typeID="Cjavax.microedition.lcdui.Form">
+ <Property name="instanceName" typeID="Pjava.lang.String" value="VformLinha"/>
+ <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
+ <Property name="commands" typeID="1C#CommandEventSource" value="A1:3_R67"/>
+ <Property name="title" typeID="Pjava.lang.String" value="VSMS-Denúncia"/>
+ <Property name="commandListener" typeID="C#CommandListener" value="R7"/>
+ <Property name="items" typeID="1Cjavax.microedition.lcdui.Item" value="A1:3_R66"/>
+ <Component componentID="66" typeID="Cjavax.microedition.lcdui.ChoiceGroup">
+ <Property name="instanceName" typeID="Pjava.lang.String" value="VchoiceGroupLinha"/>
+ <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
+ <Property name="label" typeID="Pjava.lang.String" value="VInforme a Linha:"/>
+ <Property name="itemCommandListener" typeID="C#ItemCommandListener" value="R17"/>
+ </Component>
+ <Component componentID="67" typeID="C#CommandEventSource">
+ <Property name="eventHandler" typeID="C#EventHandler" value="R89"/>
+ <Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R65"/>
+ <Property name="command" typeID="Cjavax.microedition.lcdui.Command" value="R57"/>
+ <Component componentID="89" typeID="C#CallPointEventHandler">
+ <Property name="eventSource" typeID="C#EventSource" value="R67"/>
+ <Property name="callPoint" typeID="C#CallPoint" value="R86"/>
+ </Component>
+ </Component>
+ </Component>
<Component componentID="72" typeID="Cjavax.microedition.lcdui.Form">
<Property name="instanceName" typeID="Pjava.lang.String" value="VformDentro"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
@@ -239,10 +234,10 @@
<Component componentID="74" typeID="Cjavax.microedition.lcdui.Form">
<Property name="instanceName" typeID="Pjava.lang.String" value="VformCarro"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
- <Property name="commands" typeID="1C#CommandEventSource" value="A1:3_R92"/>
+ <Property name="commands" typeID="1C#CommandEventSource" value="A2:4_R1253_R92"/>
<Property name="title" typeID="Pjava.lang.String" value="VSMS-Denúncia"/>
<Property name="commandListener" typeID="C#CommandListener" value="R7"/>
- <Property name="items" typeID="1Cjavax.microedition.lcdui.Item" value="A1:3_R98"/>
+ <Property name="items" typeID="1Cjavax.microedition.lcdui.Item" value="A2:3_R984_R112"/>
<Component componentID="92" typeID="C#CommandEventSource">
<Property name="eventHandler" typeID="C#EventHandler" value="R95"/>
<Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R74"/>
@@ -256,26 +251,70 @@
<Property name="instanceName" typeID="Pjava.lang.String" value="VtextFieldCarro"/>
<Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
<Property name="label" typeID="Pjava.lang.String" value="VNúmero do Carro"/>
+ <Property name="commands" typeID="1C#ItemCommandEventSource" value="A0:"/>
<Property name="itemCommandListener" typeID="C#ItemCommandListener" value="R17"/>
<Property name="maxSize" typeID="Pint" value="V32"/>
<Property name="constraints" typeID="Pint" value="V0"/>
</Component>
+ <Component componentID="112" typeID="Cjavax.microedition.lcdui.StringItem">
+ <Property name="instanceName" typeID="Pjava.lang.String" value="VstringItem"/>
+ <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
+ <Property name="label" typeID="Pjava.lang.String" value="VNa próxima tela, descreva o infrator para ajudar os seguranças a identificá-lo."/>
+ <Property name="itemCommandListener" typeID="C#ItemCommandListener" value="R17"/>
+ </Component>
+ <Component componentID="125" typeID="C#CommandEventSource">
+ <Property name="eventHandler" typeID="C#EventHandler" value="R126"/>
+ <Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R74"/>
+ <Property name="command" typeID="Cjavax.microedition.lcdui.Command" value="R99"/>
+ <Component componentID="126" typeID="C#SwitchDisplayableEventHandler">
+ <Property name="eventSource" typeID="C#EventSource" value="R125"/>
+ <Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R107"/>
+ </Component>
+ </Component>
+ </Component>
+ <Component componentID="107" typeID="Cjavax.microedition.lcdui.TextBox">
+ <Property name="instanceName" typeID="Pjava.lang.String" value="VtextBoxSMS"/>
+ <Property name="codeGenerated" typeID="Pboolean" value="Vtrue"/>
+ <Property name="commands" typeID="1C#CommandEventSource" value="A2:4_R1154_R118"/>
+ <Property name="title" typeID="Pjava.lang.String" value="VAcrescente informações sobre o infrator:"/>
+ <Property name="commandListener" typeID="C#CommandListener" value="R7"/>
+ <Property name="string" typeID="Pjava.lang.String" value="V"/>
+ <Property name="maxSize" typeID="Pint" value="V260"/>
+ <Component componentID="115" typeID="C#CommandEventSource">
+ <Property name="eventHandler" typeID="C#EventHandler" value="R122"/>
+ <Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R107"/>
+ <Property name="command" typeID="Cjavax.microedition.lcdui.Command" value="R114"/>
+ <Component componentID="122" typeID="C#CallPointEventHandler">
+ <Property name="eventSource" typeID="C#EventSource" value="R115"/>
+ <Property name="callPoint" typeID="C#CallPoint" value="R101"/>
+ </Component>
+ </Component>
+ <Component componentID="118" typeID="C#CommandEventSource">
+ <Property name="eventHandler" typeID="C#EventHandler" value="R119"/>
+ <Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R107"/>
+ <Property name="command" typeID="Cjavax.microedition.lcdui.Command" value="R57"/>
+ <Component componentID="119" typeID="C#CallPointEventHandler">
+ <Property name="eventSource" typeID="C#EventSource" value="R118"/>
+ <Property name="callPoint" typeID="C#CallPoint" value="R86"/>
+ </Component>
+ </Component>
</Component>
</Component>
<Component componentID="13" typeID="C#ResourcesCategory"/>
<Component componentID="21" typeID="C#DatabindingCategory"/>
</Component>
</Document>
<FlowScene version="1">
+ <Node componentID="107" descriptorID="componentNode107" x="339" y="760"/>
+ <Node componentID="101" descriptorID="componentNode101" x="495" y="688"/>
<Node componentID="44" descriptorID="componentNode44" x="199" y="111"/>
- <Node componentID="65" descriptorID="componentNode65" x="203" y="343"/>
- <Node componentID="51" descriptorID="componentNode51" x="200" y="263"/>
<Node componentID="72" descriptorID="componentNode72" x="199" y="187"/>
- <Node componentID="14" descriptorID="componentNode14" x="186" y="663"/>
- <Node componentID="86" descriptorID="componentNode86" x="418" y="392"/>
- <Node componentID="70" descriptorID="componentNode70" x="191" y="506"/>
+ <Node componentID="51" descriptorID="componentNode51" x="200" y="263"/>
+ <Node componentID="2" descriptorID="componentNode2" x="17" y="15"/>
<Node componentID="74" descriptorID="componentNode74" x="197" y="584"/>
<Node componentID="73" descriptorID="componentNode73" x="195" y="428"/>
- <Node componentID="2" descriptorID="componentNode2" x="17" y="15"/>
+ <Node componentID="86" descriptorID="componentNode86" x="418" y="392"/>
+ <Node componentID="70" descriptorID="componentNode70" x="191" y="506"/>
+ <Node componentID="65" descriptorID="componentNode65" x="203" y="343"/>
</FlowScene>
</VisualDesign>

0 comments on commit b981b9a

Please sign in to comment.
Something went wrong with that request. Please try again.