Delphi Spring will come, Android encounter XE7 I was also drunk, Hello world

Source: Internet
Author: User

Looking back on the past, from Delphi 7 to now. Always feel get mad bland not fire. During the forum poured out countless, did not fall dead, a large number of procedural apes turned to c#,java,php.

Delphi's development efficiency is obvious to all, has not bear to give up. Delphi had finished overnight. Conversion of fixed assets. Import from Access data to MSSQL data. The experience was written from 6 o'clock in the afternoon, in addition to eating and urinating. Sit until 10 o ' Day the next morning. The thing that clapped his chest to promise the client finally did. Copy is used. It is convenient to use, do not need to hang a lot of execution libraries like VB.

after the completion of an integration software developed with XE in the previous period. Also spent about 2 months of spare time, work finished put on the network, really want for the vast number of small business staff to develop a query software. Choose the development platform, the discovery of an epoch-making heavyweight tool-Delphi XE7.

Why Choose XE7? Very easy, I will Delphi, efficient, I do not develop low-level things, I just business-oriented, have Android, have iOS. There are 64 bits. It's been a very important thing for me.

All right, that's all. Started, I want to add a mobile app for my software, from there, of course, is the demo, haha, you guessed wrong, Hello world.

Loaded XE7, exempt, good guy, big dozens of g, my poor solid-state drive AH. The installed friends noticed that at least 40G of space was released. What, you're still XP. XP you don't get mixed up. It's all Win7.

All say, put the end of a bar, Sao years!

All right, open up!

Start the program and create a new project, which I don't have to talk about when choosing a program. Choose Multi-device-application:



Then put the controls on, Third kind. Edit. Button,listbox:


Write the code:

Unit unit1;interfaceuses  system.sysutils, System.types, System.uitypes, system.classes, System.variants,  FMX. Types, FMX. Controls, FMX. Forms, FMX. Graphics, FMX. Dialogs,  FMX. Listview.types, FMX. ListView, Fmx.stdctrls, FMX. Controls.presentation,  FMX. Edit, FMX. Layouts, FMX. Listbox;type  TForm1 = Class (Tform)    edit1:tedit;    Button1:tbutton;    Listbox1:tlistbox;    Procedure Button1Click (sender:tobject);    Procedure Formshow (sender:tobject);  Private    {Private declarations}    I:integer;  Public    {public declarations}  End;var  form1:tform1;implementation{$R *.fmx}procedure Tform1.button1click (sender:tobject); begin  ListBox1.Items.Add (edit1.text+ ' (' +inttostr (I) + ');  I: = I+1;end;procedure tform1.formshow (sender:tobject); begin  I:=0;end;

The most critical step do not forget, now the simulator is very slag, do not want to use the simulator, not go through. Plug in your phone directly. Laughed at Millet:

Plug in the choice of development platform and mobile phone, mobile phone do not forget to open the development mode, how to open, their own Niang go:


All right, just do it. In Android, allow the installation, OK, the program worked:



Delphi Spring will come, Android encounter XE7 I was also drunk, Hello world

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.