Click here to Skip to main content
14,240,732 members
   

Mobile

 
GeneralRe: Benefits and Risks of using Mobile Apps Pin
David Crow26-May-16 8:12
memberDavid Crow26-May-16 8:12 
AnswerMessage Closed Pin
6-Apr-16 23:54
membermukul chadhaa6-Apr-16 23:54 
AnswerRe: Benefits and Risks of using Mobile Apps Pin
Sadaf Najjar12-Apr-16 3:37
memberSadaf Najjar12-Apr-16 3:37 
GeneralRe: Benefits and Risks of using Mobile Apps Pin
AR150612-Apr-16 5:26
memberAR150612-Apr-16 5:26 
SuggestionMessage Closed Pin
21-Feb-16 4:13
memberMember 1234091921-Feb-16 4:13 
GeneralRe: how can i set link between mobile platform and pc Pin
CHill6021-Feb-16 4:14
protectorCHill6021-Feb-16 4:14 
QuestionReading .dbf files using .NET Compact Framework on Windows Mobile Devices Pin
delphix520-Feb-16 6:07
memberdelphix520-Feb-16 6:07 
QuestionDeveloping open apps Pin
Wombaticus16-Jan-16 7:13
memberWombaticus16-Jan-16 7:13 
know I'm dumb... really... but what am I missing here - (apart form a screw or two...)

I've never developed an app for a mobile device in my life, but every time I look into it, it seems so incredibly... complicated.

For a native app I suppose I can understand that, but there is much talk now of cross-platform "open" apps built using HTML, CSS and JavaScript as single page applications (SPA's) and then bundled up into some kind of wrapper for the various devices. This should be a simple nut to crack - but even this seems to involve a whole load of sledgehammers...

Suppose I want to build a simple app that asks you to enter your name, click a button, and it will say Hello to you.

I could write this as a simple web-page:
<!DOCTYPE html>
<head>
<meta charset="utf-8">
    <title>Hello you</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/ecmascript">
function sayHello(){
    document.getElementById("ur").innerHTML = 'Hello ' + document.getElementById("txt").value;
    document.getElementById("iam").style.display = 'none';
    document.getElementById("youare").style.display = 'inline';
}
function goBack(){
    document.getElementById("txt").value = '';
    document.getElementById("iam").style.display = 'inline';
    document.getElementById("youare").style.display = 'none';
}
</script>
</head>
<body>
    <div id="iam">
        <input type="text" id="txt" style="width:200px;" maxlength="25" /> 
        <input type="button" id="btn" value="Say hello" onclick="sayHello()" />
    </div>
    <div id="youare" style="display:none;">
        <div id="ur"></div>
        <input type="button" id="goback" value="< Back" onclick="goBack()" />
    </div>
</body>
</html>
SO... my question then is: what else (avoiding sledgehammers) do I need to do to wrap this up as an open cross-platform app for smartphones? Or am I barking up the wrong tree (in the wrong forest, even)...?
AnswerRe: Developing open apps Pin
Kunal Chowdhury «IN»28-Feb-16 18:56
mentorKunal Chowdhury «IN»28-Feb-16 18:56 
GeneralRe: Developing open apps Pin
Wombaticus28-Feb-16 20:41
memberWombaticus28-Feb-16 20:41 
GeneralRe: Developing open apps Pin
Kunal Chowdhury «IN»28-Feb-16 21:48
mentorKunal Chowdhury «IN»28-Feb-16 21:48 
QuestionMajor difference between ios and android Pin
royalex8-Dec-15 18:44
memberroyalex8-Dec-15 18:44 
AnswerRe: Major difference between ios and android Pin
Kornfeld Eliyahu Peter8-Dec-15 19:13
mveKornfeld Eliyahu Peter8-Dec-15 19:13 
AnswerRe: Major difference between ios and android Pin
Richard MacCutchan8-Dec-15 22:18
protectorRichard MacCutchan8-Dec-15 22:18 
AnswerMessage Closed Pin
1-Apr-16 21:08
memberDainim1-Apr-16 21:08 
QuestionApplication Test in Window phone Pin
sanket1643-Dec-15 19:39
membersanket1643-Dec-15 19:39 
SuggestionRe: Application Test in Window phone Pin
David Crow4-Dec-15 4:19
memberDavid Crow4-Dec-15 4:19 
AnswerRe: Application Test in Window phone Pin
Kunal Chowdhury «IN»28-Feb-16 18:47
mentorKunal Chowdhury «IN»28-Feb-16 18:47 
GeneralHow to take responsive test on local host? Pin
Member 1216584325-Nov-15 0:33
memberMember 1216584325-Nov-15 0:33 
QuestionRe: How to take responsive test on local host? Pin
Richard MacCutchan25-Nov-15 1:18
protectorRichard MacCutchan25-Nov-15 1:18 
Questionsoftware development cost Pin
Christos green22-Nov-15 1:39
memberChristos green22-Nov-15 1:39 
AnswerRe: software development cost Pin
Richard MacCutchan22-Nov-15 1:42
protectorRichard MacCutchan22-Nov-15 1:42 
GeneralMessage Closed Pin
22-Nov-15 21:17
memberMember 1216007522-Nov-15 21:17 
GeneralRe: software development cost Pin
Kunal Chowdhury «IN»28-Feb-16 18:51
mentorKunal Chowdhury «IN»28-Feb-16 18:51 
AnswerRe: software development cost Pin
Preston Berger14-Jun-16 5:32
memberPreston Berger14-Jun-16 5:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.