Making txtweb txtApps in 5 steps
I would like to divide this post for developing txtApps into 5 steps to make the simple things more simpler. So it goes here:
Step 1:
Get registered to txtweb.com and click the “Create txtApp” link after login.Step 2:
Select keyword and enter other details. In the “I want to enter AppSite url” enter http://abc.com/ (We will change this later!) and enter contact information then finish.
Step 3:
Develop the code that generates HTML output, as required by txtWeb plateform. You can choose any technology of your interest. I took up php as a development language for my first app for humancalculator.in to send random puzzles with answer. You can try out it by sending @humancalc to 9243342000. I don’t used any database to store these puzzles and answers instead I preferred XML to store these, because I don’t want to take a overload on me to keep checking MySQL is always up or not!
Code looks something like:
//Include your txtWeb app key in the head section of your app response
echo “
“;
/*intermediate code not included*/
echo “
“;
?>
XML structure used is:
Step 4:
Host your application somewhere. I prefer fun.ggbecause you can get a sub-domain their ( if you don’t have in case) and get some space (that saves me from setting up NS) with MySQL too, in case you want to add some DB functionality for your app. I am a fileZilla fan-boy when it comes to FTP file-transfer.
Step 5:
So, let me assume that you successfully deployed your web app at http://example.com/. Change “I want to enter AppSite url” from http://abc.com/ (as entered in Step 2) to http://example.com/. Now its up. Publish your application and launch.
For more trips and tricks you can head to tutorials section of txtWeb. Let me know if you are facing problem via comments I would try to help you 🙂
Happy App Making!!
xcelent..
anant, please share your .net code outlines here as you have already developed apps in .net and Ajith joseph has requested same..
Can you write one example in .Net? Thanks in advance.
<%@ Page Language="C#" %>
<%@ Import Namespace="System.Xml" %>
<%@ Import Namespace="System.Data" %>
…
….
….
…..
…
<%XmlTextReader xtr = new XmlTextReader("http://news.amarujala.com/rss/breaking-news.xml");
hi dude its gr8 to meet u, i'm interested in creating a chat app, i don't know php lang i can manage c/c++ will it possible to write code with c/c++..? and also explain lil about —> "code that generates html output" what does it mean? i mean where to write code, its not getting to me clearly in that txtweb.com tutorials plz help me out…
Hello, Kanth great to know that you are willing to develop a chat app.
Using c/c++:
These languages offer no great interface to develop web-apps. Whilst there exists Wt framework in C++ to develop web-apps but it's very hard to find a good web-host for same. So, prefer to use a language that is great on web-apps.
"Code that generates HTML output":
It
Nice work pradeep, well done, keep it up !!
oh thanks Pradeep thanks for ur rply ill try it out…
can u plz help me ,its very urgent.
earlier i decided to make txtweb based app and filled the synopsis for the same in clg.but now picture is that my vacations are going to over and i have nothing to show:(
Hi, Ankit great to know that you choose a innovative platform to work upon for final year project.
But as txtweb describes itself is- "it's an sms extension to existing applications."
My team too used txtweb for final year project! But it was not sole. We did our project on eRation and gave it an sms extension via txtweb for getting latest notices of shops of particular
Hello Pradeep,
Can you please help me in getting started with txtWeb. I know a bit of Android/Core Java. However I am confused that to develop a simple application- say I pass 2+3 and it should return 5. what all I have to do
Do I need to create a website first and then develop a Java application?
How can I create this simple application using Java.
If I get
Hi, vivek nice to hear from you. You can use jsp or servlets and host them somewhere and follow this step by step tutorial. OR you can follow tutorials on txtweb.com. They have also provided a sample application. You can refer to that.
Hi.. I heard abt it today.. I work in dot net technology (c#, asp.net) but i am not expert (2 years exp). I am not sure if this is for experts or novices like me ? I know very little abt web services. Should I take this up ?
yes, you should apply your wits at same. My friends who are students like me have developed an app in asp for news.
hi pradeep i didnt find that much turorials on txtweb can u help me how to take paramets from a user.. directly at the time of sending the service message… like (@reone.r )
txtweb send parameters to your application via GET i.e. appended to your app-url. you can get them like this in php:
msg=$_GET['txtweb-message']
Hi! I know only HTML,CSS & JAVASCRIPT. Can I make apps using them. If yes, Please give me an example. Thanks in advance. 🙂
No, you need to learn a server side scripting language like php or asp.net
Oh! Thank you for your valuable information. 🙂
Hi pradeep,
Thanks for this post 😉
i have created a app with PHP and its working fine!
How to add sub category to same app in PHP.??
Ex: Main app is @cricbuzz
Categories: @cricbuzz schedule
@cricbuzz stats (How to add Categories like this)
Hi Satish, these words (schedule and stats) are passed as txtweb-message parameter to your app, fetch them and do whatever you want according to the provided parameter
Pradeep please please help me…
i have been assigned to create an app for college event…
users must text @niemech they will get an welcome reply after that they will be presented with 3 options a)send a for event list
b)send b for paper presentation topics
etc
how to do this app in html
please please help me.
found this but i
Hi Rebirth Wiley, you are consulting the exact document needed there.
Just think like: Make it as an usual web app.
hi.. pradeep.. can u help me.. to create cricket score app.. shoul i write total code.. i didnt understand tutorial
plese help me .. im a big fan of cricket.. so i would like to have app.. how should write code to send score
Great to know you are big fan of cricket.
Hey Shiva Goud, you may use RSS of any site for cricket scores, parse them and send html response to txtweb 🙂
can u send me tatal code for cricket app..
I was able to find good information from your content.|
Thanks for every other excellent article. The place else may just anyone get that kind of info in such a perfect means of writing? I’ve a presentation subsequent week, and I am on the search for such info.
http://medrol4mgdosepack.nu/#6545 medrol,
Hey there! Someone in my Facebook group shared
this website with us so I came to give it a look.
I’m definitely loving the information. I’m book-marking and will be
tweeting this to my followers! Superb blog and brilliant
design.
I relish, result in I discovered exactly what I used to be having a look for.
You’ve ended my four day long hunt! God Bless you man.
Have a great day. Bye