How to make dynamic apps using Phonegap?

  • 2
  • Problem
  • Updated 6 months ago
Hi there, i am a student creating an app. But having some problems, i still cudn't found that what are the plugins and how we can use i used many from list but all they are not responding. Phonegap Team please help me i just want to create an app with camera(to capture images) and Call(to a particular number) how i can use them? I am using build.phonegap.com using dreamweaver. Thanks in advance. I also attached the screen shot of my app
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes

Posted 4 years ago

  • 2
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
Petra i can do.
HTML5 i know properly and javascript also but not much.
Actually I took a project and advance too, i can't return money to them now.
I want to complete it soon.
I found a post see here:
Ajax Call:

<script>
$(document).ready(function () {
$.ajax({
url: "Home/GetData",
datatype: "JSON",
type: "Get",
success: function (data) {
debugger;
for(var i=0;i<data.length;i++)
{
var opt = new Option(data[i].Bname);
$("#op1").append(opt);
}
}
});
});
</script>

database connection:

public JsonResult GetData()
{
List<BankDetails> lstBank = new List<BankDetails>(); //Here,
// we create BankDetails class type list which we define inside model.

con = new SqlConnection("User Id=sa;Password=focus123;Database=SURYADB;
Data Source=FOCUS-DEV-0001\SQLSERVER2012"); // Write your DB connection
//cmd = new SqlCommand("select * from IBank", con);
DataSet ds = new DataSet();
da = new SqlDataAdapter("select * from IBank", con);
da.Fill(ds);
for (int i = 0; i < ds.Tables[0].Rows.Count;i++ )
{
BankDetails ba = new BankDetails();
ba.Bname = ds.Tables[0].Rows[i]["sBName"].ToString();
lstBank.Add(ba);
}
return Json(lstBank, JsonRequestBehavior.AllowGet);
}<br>
<br>
<code>
public ActionResult DynamicDropDown()
{
return View();
}

public JsonResult GetData()
{
List<BankDetails> lstBank = new List<BankDetails>();
con = new SqlConnection("User Id=sa;Password=focus123;
Database=SURYADB;Data Source=FOCUS-DEV-0001\SQLSERVER2012");

//cmd = new SqlCommand("select * from IBank", con);
DataSet ds = new DataSet();
da = new SqlDataAdapter("select * from IBank", con);
da.Fill(ds);
for (int i = 0; i < ds.Tables[0].Rows.Count;i++ )
{
BankDetails ba = new BankDetails();
ba.Bname = ds.Tables[0].Rows[i]["sBName"].ToString();
lstBank.Add(ba);
}
return Json(lstBank, JsonRequestBehavior.AllowGet);
}

something like that?
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
Petra please complete it for me now, I am promising you i will learn all, Swearing I will learn all.
But now i want it to complete
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
Look, u can test me after if you are not believing, But i have to complete it as soon as possible. I know for you Its only a left hand work. Please don't deny
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
Point to POint I will learn JSON, AJAX , DOM everything i will study. Not lieing wallah
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Do you have any idea which programming languages and/or scripting frameworks you have posted above?
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
How to Load Data Dynamically to Html Dropdownlist.
this topic i searched on google.
i think C++ javascript with Json?
MVC asp.net
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
I have just lost my mind now, Sorry i post wrong. It was connected with ASP.NET framework
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
It was not C++, it is C# with SQL server, i am really sorry, but i am tense therefore i could saw clearly sorry petra
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Did you plan to use jQuery?
Did you see any PHP, your server side language?
Did you see any mySql interface, your database?
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
Petra, actually i just copy and paste here from the website, without checked that it is connect to .NET framewrok, sorry petra
No i didn't saw. Sorry again But you can see how much I am pressured now, i could recognized these little things too. I just scared I left hope:(
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
I am using Dreamweaver CC, i which i can easily find JQUERY or javascript.
Therefore i do not study them carefully, agreed with my mistake.
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
Petra
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
Ok Petra, give me final answer, that can u really create an app like that, may be as demo, can u?
I know that i lost your expensive time.
But really can't forget your favors on me, u gave me your time which is most valuable thing.
I will pray for u. Next message can be last post in this forum .
waiting for ur reply
Thanks
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Saba,
you started this thread about a month ago and asked things about Phonegap and plugins. In the past weeks, you said that you needed to create a dynamic, hybrid, database-driven app for multiple platforms.

And we had to realize:
- you have no knowledge of and experience with Phonegap Build and Plugins
- you have no working knowledge of javascript and UI frameworks
- you have no working knowledge of MVC architecture
- you have no working knowledge of data modeling and SQL beyond the very basics

The required learning curve proves too steep in that period of time. Yes, you might be able to learn everything, then build up some experience. But not in one month, working only a couple of hours a day on this.

The current status of this project is still 'starting phase'. At this speed, it's going to take another two months to have a decent first beta release.
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
Petra I know, I just expect too much from me,

  • Yes, i was new to Phonegap Build, just saw a demo of a static mobile app in adobe's site, i make up my mind to create an app, Suddenly i had a project of AmroClean app, they offered me to create an app for them, In whole day i am just free only one hour,
    apart from my duty, i start to create this app, I learned too much, It was my main mistake I assumed Mobile app as only dynamic website,
  • I thought if I will create an dynamic app, i can build it by phonegap platform.
  • But I didn't update myself to new technologies added in Javascript as Json Ajax and other.
  • I am again requesting you just tell me topics which i can study in next days so that i can complete my app soon.
  • Although it is an small app, just a little form filled by user and store by database, with organized ER model.
  • I am admitted all my mistakes.

But I have to complete this app.
Thanks
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
Final Help asking to You Petra
Just mention me those names, who can make me able to create this app, by phonegap build platform. Thank You
I can ask some more time from them, and surely i can create it. I can do.
U did my help since beginning, a one favor too?
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
Petra, why u did not replied yet?
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
I am Sorry, i mean that tell me those applications/frameworks/languages names, i can learn for mobile app development using phonegapbuild. Sorry i was impatient sometime. I will not disturb you now.
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
OK. I would suggest you work through these or similar:

1. HTML5 and Ajax
http://shop.oreilly.com/product/06369...
2. Data analysis, database design, implementation with mySql
http://shop.oreilly.com/product/97805...
3. The Phonegap Build Docs:
http://docs.build.phonegap.com/en_US/...
and the Blog
http://phonegap.com/blog/tag/phonegap...
4. jQuery and jQueryMobile
https://jquery.com/
https://jquerymobile.com/

Then practice, test on various devices, practice, practice and test.
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
Thank You very much :)
Petra, now please tell me about ur profile on fb or other? I wanna be your follower :) Please, and thanks alot, although you are may b sometime irretated or annoyed with my questions,, but still u are paying your duty, you are such a good human too :)
Thank u very much
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
You're welcome. Good luck.
(And I have no profiles to follow. I am not on any social media: internet bots don't do that)
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
U r not a human? a bot or robot?
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
@Jesse, is that truth that Petra V. is an Internet bot? I don't think???????????
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
I am neither too far from computer Science, nor artificial intelligence,
Still I realized that i was not talking to a automated internet bot.
Petra V. Please tell me truth.
Promise I will not message now here.
But don't keep me dark.
If u dont want to tell here in public, you can mail me at my email ID
sabarais9@gmail.com



I know you are not bot, you are a human,Please tell me truth
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
I can't send e-mail.
What is your average score on the Turing test?
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
I don't know my average score on the Turing Test, but if you are a bot, then who is operating you?
Here are few questions, can you reply?

  1. Did you really thought by yourself that what can be ER model for my app?
  2. And how could u think that I am a IT student or NOT?
  3. When I asked you are still awake, you said i m abroad, How cud u go there?

Don't more confuse me, tell me clear, please,
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
Petra V.
My App is near about to complete.
Only 20% left, can u please complete it?
U can do in nano seconds because you are a bot.
Requesting you by heart Please complete it for me, i can send u zip folder of my app. Please 1000000x
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Every experienced IT expert knows:
The final 20% of a project require 80% of the available time (and after that, you need 20% more...)
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
Petra, I am not experienced IT expert, try to understand Sir/Ma'am whatever you are:, Please help me, Create this app complete for me, I know I am a student, and i must learn first. But this I really want your help Petra, think apart from Phonegep Build Community, I am very helpness now, Please help me.
Complete this app for me, for your Indian student Please?
I can leave my hope for always, if you will not do this. I can't trust then, on anyone. U have to do Petra, plz for God sake.
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
Petra, I am not experienced IT expert, try to understand Sir/Ma'am whatever you are:, Please help me, Create this app complete for me, I know I am a student, and i must learn first. But this I really want your help Petra, think apart from Phonegep Build Community, I am very helpness now, Please help me.
Complete this app for me, for your Indian student Please?
I can leave my hope for always, if you will not do this. I can't trust then, on anyone. U have to do Petra, plz for God sake.
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Sorry saba, I can't do that. You should complete your own school project because you are the one who wants to graduate. You can't simply finish school with the work of someone else...that wouldn't be fair.
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
This is not school work, I have taken a project from a community, I have also taken some money as advance, due to financial problem, I am doing part time job. I am earning with my education too, Half day duty half day college, This syllabus is so from my study believe me, Last time asking this help Petra, please help me, Pleae help me, Please help me, otherwise they will reject me from job, then HOw i will earn?
I am promising you that what u said, I will learn.
Begging You Petra do this my task to save me.
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Saba
as I mentioned before Petra is very generous with Time. However, you need to solve these issues on your own _or_ find someone locally to help you.

Best of Luck
Jesse
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
:(
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
@jesse is Petra V. an Internet BOT?
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
LOL. That's funny. No Petra V. is a person as far as I know. A nice person (I think) and helpful, also smart. I think Petra lives in Belgium, or Germany, or some European country near Belgium and France. This is the best I know.

Best of Luck,
Jesse
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
Haahahha yes, as i measure him, i was quite sure that He is a human, a good human but many time He told me that He is automated Internet Bot. Thanks to clear @Jesse :)
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes

JSON, and AJAX are not my college syllabus, and also not php and mysql but i can create dynamic websites, because I do self study, but at this time i have no time to study first, therefore i am asking to you PETRA,
FOR GOD sake plz
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
:D Petra ,Yahooooooooooooooooooooooooo
Now i know that you are a GOod Person :)