The LA.Store Developer Guide explains the components and code behind LA.Store and is intended for developer who want to create their own App-Store client solution.
The LA.Store application is a client application that connects to LA.Centers Cloud to list App-Stores and applications. Developers have two options to customize and/or create their own store client solution.
- Getting the source of LA.Store
- Using the TLAStore component in a project
Getting the source of LA.Store
The source of all applications created and published by LA.Center are provided with the LA.Source Browser app. To get the source for LA.Store:
- Download and install LA.Store
- Start LA.Store and scroll to the LA.Source Browser app.
- Click on the “Launch” button.
- In LA.Source Browser check mark LA.Store Project in the list.
- Click on the “Download” button.
Extract the project and use LA.Developer to customize LA.Store. You are allowed to change it any way you like and distribute it royalty free as long you add “Powered by LA.Center” in your About box.
Using the TLAStore component in a project
The TLAStore component provides all methods to list App-Stores and launch applications.
The work flow would be the following.
- List App-Stores
Example Pascal: var store: TLAStore; i: int; begin store := TLAStore.Create(nil); store.ListStores; for i := 0 to store.StoreCount -1 do ShowMessage(store.stores[i].StoreName); end;
- List Apps in a Store
Example Pascal: var i: int; begin store.Stores.ListApplications(’’); for i := 0 to store.Stores.ApplicationCount -1 do ShowMessage(store.Stores.Applications[i].AppName); end;
- Launch the Application
Example Pascal: begin ... store.Stores.Applications.RunApplication; end;
You can always examine the source of LA.Store for more details and/or contact firstname.lastname@example.org if you need assistance for creating your own App-Store client.
Publishing your Applications
Please read the Getting Started with LA.Developer documentation “Live.Services Section” about publishing your applications on LA.Store.