Deploying from my PC to iPhone

Deploying from my PC to iPhone

  
Hi All,

I am completely new to your platform but it looks great.

I have installed Agile on my own machine and want to build Apps for my iPhone.

How do I get the app from my PC to my iPhone?

Thanks,

Mark
Hi Mark,

The mobile apps built by the platform are not native iOS apps, they are mobile HTML apps.

To use them you'll need to navigate to the URL where they are hosted in the Safari browser on your iPhone.

You'll need to build your app using Service Studio and deploy it.

Are you using the Community Edition? If so you'll probably have the entire platform installed in your local PC. For testing purposes if your iPhone is on the same network (via Wifi) as your PC you should be able to test your apps by navigating to the IP of your PC slash the name of your eSpace.

If you want to access the app while you're out on the go you'll need to make provisions for your PC to be accessible remotely, or you'll need to look at somewhere to host the app. Have a look on these forums, there's a number of people who use Amazon AWS to host their apps.

If you have any other questions let me know and I'll see if I can assist.

Cheers,
Richard
You might want to check out the free training videos which are available here:

http://www.outsystems.com/academy/

That'll give you an overview of how the platform works and how to get up and running with it.

And here's the link to the forum post discussing hosting solutions for the Community Edition:

http://www.outsystems.com/forums/discussion/9985/online-hosting-for-your-community-edition/
Hi Richard,

Much appreciate the responses.

You are correct - I do have everything on my local PC.

In truth, all I want to do is write a few simple web apps for my sons and allow them to access them from their phones (iOS and Android devices). Really "low brow" stuff!  Just :

Create few screens with a simple database.  Compile.  Push to a server.  Run and go.

That's it.

Via WiFi, I have tried http://PCNAME/eSpaceName

Is that correct? Or is something missing?

How do I deploy to a host service?  How does the database get pushed / deployed also?

As you can see, I have a "few" questions!!  (They are easy though.)

Any further help, much appreciated too.

Many  thanks,
Mark
Hi Mark,

Yes, you are correct. Are you able to access that URL from your pc? If you can access on your pc but you can't on a phone connected to the same wifi network then you might have a firewall blocking that on your pc. Check the windows firewall on control panel (you might need to disable it or open an exception for the web server)

Cheers,
Tiago Simoes
Thanks Tiago.

I have created an Amazon Machine Image and when I connect to the cloud server using the Amazon host address and the u/n & p/w it says:

"there was an error contacting '<<host name>>' " "host not found"

(BTW, I used the tutorial on the site to setup the AMI but there is no Outsystems template AMI to use when a search is done on AWS.)

I have been able to use mstsc to connect to my newly-created cloud service and copy across the file OutSystems-AgilePlatform-Full-Setup.exe.  So I know it has been setup ok and the login credentials are correct.

Any ideas why Service Studio cannot connect to the cloud server?

Thanks,

Mark
Hi Mark,

It might be worth checking the windows firewall settings on the cloud server; it could be blocking your connections.

Try disabling the firewall and connecting and see if that works. If it does you can then turn it back on and try to enable the correct ports. I'm sure they'll be documented somewhere - I just don't know where off the top of my head!

Cheers,
Richard
Hi Mark

I'm guessing here but I've seen this before. 
In service studio make sure you use only the server name or IP address. 
Do no use http:// or even any espace name. 

Cheers
Hi Richard & Rui,,

Thanks for the assistance.

No http or espace names being used.

I'll take a look at the Windows Firewall. It seems to be a firewall problem but I wouldn't have thought it could be mine as I haven't permissioned mstsc specially and yet that seems to be ok with the host name Amazon provided.

Thanks,

Mark
Turned off Windows Firewall and still no joy.

Will try again another day!
Hi Mark,

Did you mange to get anywhere with this? Has the AWS instance got a publically accessible IP address (an elastic IP) assigned to it?

Richard
Hi Richard, Thanks for follow-up. Will try again over next day or two. Thanks, Mark
Richard Pearson wrote:
Hi Mark,

Did you mange to get anywhere with this? Has the AWS instance got a publically accessible IP address (an elastic IP) assigned to it?

Richard
 
 Hi Richard,

Setting an EIP has locked me out completely using both the Agile Platform and mstsc.  Now neither are working.

Aaarrggghhh!

Regards,

Mark

(P.S. And to rub salt into the wound, I am now paying Amazon fees every day without the benefit of using the platform or getting the AMI to work.  I have created a new instance but no joy either.)
Hi Mark,

Unfortunately I've never used AWS myself so I'm relying purely on google.

This article: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/authorizing-access-to-an-instance.html

Seems to describe how to authorize access to an instance which I presume is what's needed.

I also found this documentation which may be of interest:

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/LaunchingAndUsingInstancesWindows.html

Good luck!

Thanks,
Richard
Hi,
Nice tips Richard..
I was wondering if we can use PhoneGap to do this?
This way you could have a icon on your mobile phone(hybrid), instead of accessing by link.
Please give some feedback..In not very experienced on mobile applications and I would like to know also how to perform this kind of tasks.

Kind Regards,
Gonçalo M.
Hi Gonçalo,

I suspect you could use PhoneGap to wrap a standard website however I must admit that technology is new to me.

The Mobile eSpace provided by Outsystems seems to work fine though across different types of mobile phones. I must admit I haven't used it extensively but if you architect your application in a certain way it is easy to have core business logic in one eSpace and have both a standard web eSpace and a mobile eSpace reference it to provide two alterntiave interfaces to the same data and functionality.

Thanks,
Richard