Cordova Form Posting - Web App Development

I need to be able to send data from a form, to a database, & then output a url with the text's id (ie seursend.net/?id=23). I'm unsure how to do this, and how to set it up using a web-app. So a few questions.
If using PHP, how will the web-app access the PHP?
How can I make the application output a URL?

create an api using php. in plain words just create an action page which receives data as get or post from the web app with no html. the id can be added as a parameter.

jaison thomas said:
create an api using php. in plain words just create an action page which receives data as get or post from the web app with no html. the id can be added as a parameter.
Click to expand...
Click to collapse
Can you give me an example? I'm pretty novice in development.

Related

Form size

Hi, i have a simple chat style sms application i am using on my T-Mobile SDA and i would like to port it to T-Mobile DASH. What should be the Form size so that it would fit the DASH screen?
The screen on a Dash is 320x240 pixels large, and after the browser steals viewing space the user gets about 300x220ish or so in usable space. If you need to do specific testing simply PM me and I would be more than willing to help out and give screen shots on how things look. If you wish to work independently you might want to look into the Microsoft emulators which have been made by Microsoft so people can emulate smart phone devices for testing programs and sites for this exact purpose.
thanks for the quick reply I will try to create blank form and PM you ASAP. I have just bought my excalibur online and havent received it yet so i cant test it on an actual unit.
Is this app a 'replacement' for the messaging account in outlook? Or will the messages continue to go to the existing inbox. Also, is MMS supported? I have waited so long for an app as good as the Palm Messaging beta, created specifically for a smartphone.
Orientation Aware Control
Hey oldsap,
I'm a mobile developer by trade and if you're looking for a flexible way to handle resolutions etc to make you're app a little more portable, take a look at the Orientation Aware Control that microsoft's patterns and practices group created:
http://msdn2.microsoft.com/en-us/library/aa480471.aspx
It can be downloaded from codeplex. Basically, you create a single form and it uses a resource file to store settings for various resolutions (control layout etc). No more need to make multiple copies of a form for each resolution you want to support. Good luck, hope that helps!
- Brian
curtislanham said:
Is this app a 'replacement' for the messaging account in outlook? Or will the messages continue to go to the existing inbox. Also, is MMS supported? I have waited so long for an app as good as the Palm Messaging beta, created specifically for a smartphone.
Click to expand...
Click to collapse
for the time being, ive created this to intercept all incoming sms so that they wont go to the inbox. But i can re-code it so that when a new sms arrives:
1. sms wont go to the existing inbox
2. sms will go to both the application AND inbox
it's not a perfect chat style application but it works well for me.
im still waiting for my DASH to arrive (ordered it from ebay) When i have ported it to DASH, ill post it here
windsorguy13 said:
Hey oldsap,
I'm a mobile developer by trade and if you're looking for a flexible way to handle resolutions etc to make you're app a little more portable, take a look at the Orientation Aware Control that microsoft's patterns and practices group created:
http://msdn2.microsoft.com/en-us/library/aa480471.aspx
It can be downloaded from codeplex. Basically, you create a single form and it uses a resource file to store settings for various resolutions (control layout etc). No more need to make multiple copies of a form for each resolution you want to support. Good luck, hope that helps!
- Brian
Click to expand...
Click to collapse
Thanks for the tip sir. I'll read about this. Im just a newbie programmer and can only create very very simple applications
I would have to say that a threaded SMS app is not simple!
curtislanham said:
I would have to say that a threaded SMS app is not simple!
Click to expand...
Click to collapse
i refer to my application as "simple" compared to PALM's threaded sms because it only uses Textbox instead of XML. It doesnt use colored fonts to distinguish sent and received sms. But it does have other features like save chat window, group sending, sms sent counter, sms filtering, etc

get Form from HTML

Hello,
i have two text fields and one button in my app. I wanna that the texts of these textfiels will appear in a web page, which will get opened when i click the button.
I think, it's possible to get the form of the web page and after its elements to write in.
I develop in c#.
sirair said:
Hello,
i have two text fields and one button in my app. I wanna that the texts of these textfiels will appear in a web page, which will get opened when i click the button.
I think, it's possible to get the form of the web page and after its elements to write in.
I develop in c#.
Click to expand...
Click to collapse
So basically what are you trying to do... from ur app to html?(this is what i understood)
and for what that html will be used will it be a custom webpage or some websites page? if you could explain it would be better.
yes, i wanna write into html from my application. The website is a Custom webpage.
sirair said:
yes, i wanna write into html from my application. The website is a Custom webpage.
Click to expand...
Click to collapse
In that case if the webpage is not from any website. u can create the webpage from your app. i mean write the html with the data from your app.
in case it is a normal website and you want to fill the fields there u may consider using Webbrowser class. I think u can use it for the earlier case also... not sure but u can always experiment.

Facebook - web browser problems

i have an app that i want to post an item on a user facebook.
i have found a method to do this, which on paper works - but on windows mobile it doesnt!
i have code that generates a html document with the relevent java script in it to trigger the FB.UI. This Java code opens up a popup window to enable the post to happen, the problem is that if i open up the generated html document in internet explorer it wont work because it automatically blocks pop-ups. Alternativly if i had a web browser control to my app it works, however the page is zoomed in way too much and theres no scroll bars or anyway of navigating the page!
i appreciate any help or suggestions. Using managed .net code (vb)
well, I've been working oonon a Facebook app and well. . Honestly, the only way to do it is using raw http socket communication with custom UI. the webbrowser object is pathetic at best. if you find another solution i would be very interested in knowing what you did. if you want help with Facebook communication, pm me and ill see what i can do to help

[REQ] Get Notification when New Contact is added to Device on Windows Mobile

I need to set Callback function for New Contact added to Device on Windows Mobile.
I want to get notification when someone adds contacts to mobile device. I am using VS 2008 with C#.
The Microsoft.WindowsMobile.PocketOutlook.ContactCollection has a ListChanged event. But, that will be called only when Contact is added programatically. I want to get notification even if Contact is added directly in Outlook (from device) outside of my application. I have found one useful link (msdn.microsoft.com/en-us/library/ms862902.aspx) but that is in unmanaged code. I don't know how to use it in C#. Can you help me to call it from C#? Kind of creating wrapper?
Hi!
Doing that in C# is not that easy...
You need a c++ lib for the POOM notification and with help of it you can register to the events (outside your software)
Either you search the internet for PoomNotificationHelper by Chris Tacke and try to manage it on your own, or you drop me a PM with your private email address and I can support you...
Have a look at that software, it's my caledar app and uses the libs...
regards
Obelix

[Q] [q] rough instructions

HI
i want to embedd a web browser inside an sms app for android. Shall i make a container of the sms app then add a sub container for the browser, or how to go about this? i need only a rough idea and key points please!!!
thanks
rpanangi said:
HI
i want to embedd a web browser inside an sms app for android. Shall i make a container of the sms app then add a sub container for the browser, or how to go about this? i need only a rough idea and key points please!!!
thanks
Click to expand...
Click to collapse
I think you need to use WebView which has many features like web browser.
Check android docs about it on this link & this link
You can also check this discussion on stackoverflow, I think it will be useful for you.
ok but webview is only for viewing the web and cannot access telephony to send the sms.
Actually what i wanted was to read data from a server and populate an android app and create a listview, then use the list of items and make them clickable for the sms event which i think could only be done by native android programe or i could use phonegap and jquery mobile. but ty anywayz
My next question would be about improving the media players for android.

Categories

Resources