Jquery Mobile - single one page design - Web App Development

Hi everyone, I am developing an android application based on Html5 and jquery Mobile, I want to follow the design of the one single page approach to improve the user experience, you know, the transition between pages is much faster.
The problem is my page is very big now, how I could split my page in smaller ones, but given the user experience of a single page approach? Could I split in html pages and then to do any kind of import?
Any kind of recommendation will be very appreciated.
Thanks so much in advance.
Best regards
David.

ddiegomercado said:
Hi everyone, I am developing an android application based on Html5 and jquery Mobile, I want to follow the design of the one single page approach to improve the user experience, you know, the transition between pages is much faster.
The problem is my page is very big now, how I could split my page in smaller ones, but given the user experience of a single page approach? Could I split in html pages and then to do any kind of import?
Any kind of recommendation will be very appreciated.
Thanks so much in advance.
Best regards
David.
Click to expand...
Click to collapse
Typically, how you would do this is create a HTTP post to the data, and update the DOM like so .
Code:
$.get("url_here", {param: "none"}, function(data){
$("#dom_elem_ID").html(data)
});
The data is passed through the 'data' variable and updated to DOM.
I would recommend using AngularJS routes instead of jQuery get/post.

LingoIO said:
Typically, how you would do this is create a HTTP post to the data, and update the DOM like so .
Code:
$.get("url_here", {param: "none"}, function(data){
$("#dom_elem_ID").html(data)
});
The data is passed through the 'data' variable and updated to DOM.
I would recommend using AngularJS routes instead of jQuery get/post.
Click to expand...
Click to collapse
+1 for updating and managing the dom. Don't keep everything in memory if you don't need it.
Another thing you could think about doing is moving to angularjs (or another framework if you prefer) and making your application responsive throughout. This will ensure that your application will adapt across many devices/form factors and be laid out in the best way for each device.
That's not to say that jquery mobile won't work on a desktop, its just very targeted at mobile devices and will feel strange to some people on a desktop.
Sent from my XT1254

blackangus said:
+1 for updating and managing the dom. Don't keep everything in memory if you don't need it.
Another thing you could think about doing is moving to angularjs (or another framework if you prefer) and making your application responsive throughout. This will ensure that your application will adapt across many devices/form factors and be laid out in the best way for each device.
That's not to say that jquery mobile won't work on a desktop, its just very targeted at mobile devices and will feel strange to some people on a desktop.
Sent from my XT1254
Click to expand...
Click to collapse
2 n 2 Multimedia – Being an established Mobile Application Development Company Singapore, we have assisted our clients (from SMEs to MNCs) build enterprise solutions with varying complexity. We help you deliver sales and customer service to various mobile platforms, such as iOS, Android, Windows and many others. With mobile usage on the rise, simply having a mobile site is insufficient and a mobile application would help most businesses solve real business problems.

Related

It's official: Silverlight, XNA, 'clean break'

"For us, the cost of going from good to great is a clean break from the past. To enable the fantastic user experiences you’ve seen in the Windows Phone 7 Series demos so far we’ve had to break from the past. To deliver what developers expect in the developer platform we’ve had to change how phone apps were written. One result of this is previous Windows mobile applications will not run on Windows Phone 7 Series."
http://blogs.msdn.com/ckindel/archi...e-new-windows-phone-developer-experience.aspx
He also specifically mentions developers in it for learning and fun. I have to think they'll embrace free apps and not charge a dev $99 to submit an app if it's going to be free.
Another softie's blog post on the topic... http://www.artificialignorance.net/...ne-7-series-developers-developers-developers/
Yupe, and all WM5.x, WM6.x applications will NOT run on WP7:
To enable the fantastic user experiences you’ve seen in the Windows Phone 7 Series demos so far we’ve had to break from the past. To deliver what developers expect in the developer platform we’ve had to change how phone apps were written. One result of this is previous Windows mobile applications will not run on Windows Phone 7 Series.
Well, this is just a NEW mobile OS, it is not an upgrade / update of current WM, this kinda expected.
From the article:
ckindle article said:
We took the feedback we gathered from developers, looked at the full potential of Windows Phone 7 Series and landed on 3 basic goals for the platform we’re delivering;
1. Enable end users to be able to personalize their phone experience through a large library of innovative, compelling, games and applications.
2. Enable developers to profit.
3. Advance the “3 screen plus cloud” vision
Click to expand...
Click to collapse
Definitely WP7 is customizable, this is good, but how far the customization will be? For sure, no more Sense UI, TouchFlo kind of customization, nor SpB Mobile Shell.
I hope a "launcher" like still possible? Microsoft mentioned that we can put app as a tile in the start screen. I am wondering if that app would be some kind of app launcher ... icons grid
ckindle article said:
When we talk with developers we hear them talk about three different “currencies”: making money, learning, and recognition. Some developers are in it for the money. They are either literally being paid to write code or they are writing code with the hope it will generate coin.
Click to expand...
Click to collapse
This could mean professional mobile developer who earn and make money for living developing mobile applications.
Give them free tools! free submission charge! That would certainly be more attractive.
ckindle article said:
Other developers tell us they are interested in advancing their knowledge – love of the game. They love learning about computers, programming, games, social connections, etc… So they build software to learn. They profit by being smarter.
Click to expand...
Click to collapse
Does this mean "hobbyist" aka XDA dev?
ckindle article said:
Other developers are clearly motivated by pride. Maybe there’s a bit of money and learning involved, but to these developers being noticed or recognized as doing wickedly epic sh*t is top of the list for how they measure profit.
We think all three “currencies” are valid and important and we are explicitly trying to build the platform and developer experience to support “profit” in each.
Click to expand...
Click to collapse
Or this?
From what I'm reading MS is actually listening to all of us and I think that is a damn good thing.
gogol said:
Definitely WP7 is customizable, this is good, but how far the customization will be? For sure, no more Sense UI, TouchFlo kind of customization, nor SpB Mobile Shell.
Click to expand...
Click to collapse
As far as I know it OEMs are not allowed to add their own UI extension, but I didn't hear it that you can't just add a 3rd party app like Morbid Shell. It's only an app, and you can install apps, can't you!?
RAMMANN said:
As far as I know it OEMs are not allowed to add their own UI extension, but I didn't hear it that you can't just add a 3rd party app like Morbid Shell. It's only an app, and you can install apps, can't you!?
Click to expand...
Click to collapse
It's much more than an app.
@gogol Tiles can also be shortcuts. But I doubt that one tile can link to multiple apps.
seed_al said:
It's much more than an app.
Click to expand...
Click to collapse
I know what Morbid Shell is. But by definition it's an app. You download it from Marketplace or somewhere and install the cab. Sense is not a cab but part of the ROM and you can say part of the OS. That's the difference as I see it.
Catalyst
WP7 is the catalyst that is getting me back into school to learn code. I have a degree in electrical engineering, but with the possibilities unfolding in the mobile OS world today, I want to be apart of that. The Star Trek dream has begun.
Don't expect any Haret.exe this time around.
This has turned into the same crap Apple did, a retarded OS for retards that have no clue in anything, but like the "oh so cool" flashy menus.
I think in regards to haret we are forgetting one very important thing as we compare this to iphone
jailbreak does broaden the possibilities on the iphone so I'm not so sure this is the total end of haret
what if the tiles based home screen is just a today plugin like Sense is, wouldn't we be able to disable it? if so, maybe the devs here @ xda can come with a kickass UI xperience. i've got some great and unique ideas... too bad i'm not a codewarrior.
hyellow said:
what if the tiles based home screen is just a today plugin like Sense is, wouldn't we be able to disable it? if so, maybe the devs here @ xda can come with a kickass UI xperience. i've got some great and unique ideas... too bad i'm not a codewarrior.
Click to expand...
Click to collapse
I'm pretty sure that the start screen on WP7 is definitely not a plug-in of any kind. It's hardcoded to the system and as far as we have been told no one is allowed to write different UI's on top of it. Not to say that it won't be possible. It just won't be carriers and OEM's doing it.
So basically... this means we probably won't be seeing apps like Opera Mobile (or any custom web browsing rendering engine), and things like that, that are really required to be written in native code for speed.
~Johnny said:
So basically... this means we probably won't be seeing apps like Opera Mobile (or any custom web browsing rendering engine), and things like that, that are really required to be written in native code for speed.
Click to expand...
Click to collapse
I don't believe so. These are still apps. MS is creating a single baseline that all developers will be able to use so the platform is uniform and easier to develop for. This will create a stable Windows Mobile experience and hopefully make it more enjoyable for noobs and vets alike without providers and manufacturers messing it up. Opera and Opera Mini are simply applications so they should be able to work once developed for the new UI and OS.
Opera and Opera Mini are simply applications so they should be able to work once developed for the new UI and OS.
Click to expand...
Click to collapse
It's not that simple.
Of course
seed_al said:
It's not that simple.
Click to expand...
Click to collapse
seed_al said:
It's not that simple.
Click to expand...
Click to collapse
Please explain.
Re browsers, you just won't ever get decent performance with managed code, so you need native. Even if you could, porting the whole thing to a new language would just be too expensive. Most people just seriously underestimate how complex browser engines are these days.
Opera Mini, on the other hand, is of course perfectly possible, it's not a browser really.
And I have no problem at all with Opera Mini, except Flash ... but for that, I use SkyFire or YouTube app.
Opera Mini would be my top app to port to WP7 ... because I doubt the new IE is good to use.
vangrieg said:
Re browsers, you just won't ever get decent performance with managed code, so you need native. Even if you could, porting the whole thing to a new language would just be too expensive. Most people just seriously underestimate how complex browser engines are these days.
Opera Mini, on the other hand, is of course perfectly possible, it's not a browser really.
Click to expand...
Click to collapse
vangrieg said:
Re browsers, you just won't ever get decent performance with managed code, so you need native. Even if you could, porting the whole thing to a new language would just be too expensive. Most people just seriously underestimate how complex browser engines are these days.
Click to expand...
Click to collapse
Yep, and Opera have their own engine. They still have not even released their Android port. Opera Mobile on WP7 is not going to happen anytime soon.
Same for lots of other things that heavily rely on native code or are hard to port over.
Sorry, guys. It's just not that simple.

If xda were based on bootstrap

Hello everyone!
I'm a 17 years old guy, who is trying to be a proffessional designer and developer. For the moment, i'm just an amateur.
My knowledges are: HTML & CSS and i'm trying to expand them it.
So, just for fun, i made a XDA sub-forum based on bootstrap.
http://dm5.com.ar/forum/
I just want to know, what they think. And, in a near future, if a designer can make a usable theme for vBulletin.
PS: Check the user section, and the 'Quick Links' section, it has dropdown.
Looks really nice and clean. I haven't used bootstrap but I hear it is a good base to work from.
When designing the 2013 theme we originally tried to use pure CSS, but the way vBulletin is set up made it very difficult.
We are working on a mobile 2013 theme. If you are interested and want to send a sample, we would love to see it. We have the beginning done but need to flesh it out so that all functions work on a mobile browser. My current thinking is that http://jquerymobile.com/ would be a good way to go.
Keep up the good work, you'll be a developer in no time!
Unfortunately bootstrap, jquery mobile are over bloated..
I wanted to try jQuery Mobile on a mobile site but I've decided that the best way is to build out a mobile template "in-house". The users with poor phones and slow connection will thank you. Both parts saves lot of bandwidth.
I know.. I like the flexibility, functionality, animations of jQuery Mobile but it takes too much precious space (& bandwidth)..
Additionally you can make two mobile interfaces: one for old phones and one for top notch smartphones.
DSF said:
Unfortunately bootstrap, jquery mobile are over bloated..
I wanted to try jQuery Mobile on a mobile site but I've decided that the best way is to build out a mobile template "in-house". The users with poor phones and slow connection will thank you. Both parts saves lot of bandwidth.
I know.. I like the flexibility, functionality, animations of jQuery Mobile but it takes too much precious space (& bandwidth)..
Additionally you can make two mobile interfaces: one for old phones and one for top notch smartphones.
Click to expand...
Click to collapse
Yea, sometimes is better to create a crossbrowser site from scratch.

Transition from Android to Web App?

Namaste my fellow developers.
I am a rather young developer, who started off with Android and have developed about 10-15 apps till today out of which 2 are up on Google Play.
Just to increase my knowledge and sector I was planning to make a shift into web apps. I did learn Java specifically for Android but want to get my hands on the other platforms as well. So my questions, Sirs and Madams, are:
1.Technically, How is Android and Web Apps different?
2.Should I make the transition?
3.How do i start? (some resources would be helpful)
All and Every feedback would be appreciated. Thank YOU!
hi karantrehan, my two cents on the matter
1. you can think of a web app as a web site running inside an Android Webview, with all its files (html, images, javascripts, css, ...) bundled inside the app. The enclosing app just launches an Activity with a webview, everything else is done by html and javascript (although you can bind java code to javascript function to exploit Android's APIs).
2. It depends: I think web apps are a viable choice in two situations:
you're a web developer that want to build an app without having to learn Android
you want to build a cross-platform app, reaching Android, iOS, WP without learning every single language
Otherwise, I would not advise it, I don't see particular advantages... unless you want to learn something new!
3. for the Android integration part, take a look here: developer.android.com/guide/webapps/webview.html
For the html/css/js part.... well, web development is as old as the web itself, there are tons of guides out there Don't miss some helpful projects like jQuery Mobile.
karantrehan said:
Namaste my fellow developers.
I am a rather young developer, who started off with Android and have developed about 10-15 apps till today out of which 2 are up on Google Play.
Just to increase my knowledge and sector I was planning to make a shift into web apps. I did learn Java specifically for Android but want to get my hands on the other platforms as well. So my questions, Sirs and Madams, are:
1.Technically, How is Android and Web Apps different?
2.Should I make the transition?
3.How do i start? (some resources would be helpful)
All and Every feedback would be appreciated. Thank YOU!
Click to expand...
Click to collapse
1. Web Apps are made using multiple languages. Front-side/Client-side, they are developed in HTML, CSS, and JavaScript. Out of the three, JavaScript is the only programming language. HTML is a markup language, and CSS is used for UI and UX. You could also use the Dart language. Dart is a new client-side language developed by Google. Currently, however, no major browser supports it (not even Google Chrome), and so in the end, it gets compiled into JavaScript.
Server-side (backend), there are a multitude of programming languages you could use. Java (through JSP), PHP, Ruby on Rails, Python. Typically you're using PHP and SQL for anything in regards to a database.
Web Apps can be hosted in a browser, or you can submit them into App Stores using things like Apache Cordava.
2. As a developer of any sort, you should always improve and learn new languages. Its better for marketability, improves your skillset, and overall can make you a better developer. So, in the end, the choice is up to you. I would highly recommend you to do so.
3. There are tons of resources available. You can search for tutorials on google or youtube. When I got started, I used w3schools to learn HTML, CSS, and PHP. I would really recommend using YouTube as well if you are a visual learner like me.
1. Like reProgrammed said, web apps are a bit different in that there's a couple of layers to them as opposed to Android apps. The back-end logic that does your database fetches and such is programmed in PHP, Python, ASP.NET (C#/VB.NET), etc. The front-end website, the pages and stuff you interact with, are done with primarily (X)HTML, CSS, and JavaScript. And for databases you've got SQL Server or MySQL, mainly.
2. Absolutely. I'm a developer myself, professionally and as a hobby, and it's never a bad idea to learn a new language or framework or environment. It'll make you a better developer and can get you jobs, or foot in the door, if that's your profession.
3. I don't really have many resources. However, in the past I've used:
W3Schools
MSDN (for C#)
Stack Overflow
Google
And then there's always books. They can get outdated but they can be great resources. I still sometimes refer to my "Android for Dummies" book when I'm working on my Android app, even though I Google search more often. Hope that helps.

How to create an Android app using HTML, CSS and JavaScript

Hello, I have a question on Android development. Personally, I know web development but I do not know JAVA programming because I am not into software development.
I want to develop an android app by using HTML5, CSS3 and JQuery Mobile. The app will be simple, it will be just an app on poetry where users will click some categories and read poems, and also search. That's all. It will be free, no registration, no ads and no server side. I want to use JQuery Mobile for this or even pure HTML5 and CSS3. In fact, HTML and CSS will be used of course.
Bear in ind that I am NOT converting an existing website into an app, but rather creating an app through HTML, CSS and JavaScript. So, the Web View tool is not appropriate here.
My questions are:
1/ Can we really create an APK with obly HTML, CSS or JavaScript?
2/ If we can create, what software (which is free) can I use to create the APK by compiling/converting my web pages?
Thank!
ali20142014 said:
Hello, I have a question on Android development. Personally, I know web development but I do not know JAVA programming because I am not into software development.
I want to develop an android app by using HTML5, CSS3 and JQuery Mobile. The app will be simple, it will be just an app on poetry where users will click some categories and read poems, and also search. That's all. It will be free, no registration, no ads and no server side. I want to use JQuery Mobile for this or even pure HTML5 and CSS3. In fact, HTML and CSS will be used of course.
Bear in ind that I am NOT converting an existing website into an app, but rather creating an app through HTML, CSS and JavaScript. So, the Web View tool is not appropriate here.
My questions are:
1/ Can we really create an APK with obly HTML, CSS or JavaScript?
2/ If we can create, what software (which is free) can I use to create the APK by compiling/converting my web pages?
Thank!
Click to expand...
Click to collapse
You'll need to go through the (sometimes painful) installation of Eclipse/Android Developer Tools and the Android SDK...
https://developer.android.com/sdk/installing/bundle.html
After that you can then do exactly what you are asking for with this...
http://cordova.apache.org/
I'm using that technology to create professional apps (as in, commercial apps for customers) using HTML5 & CSS, Javascript, jQuery and I opt for Bootstrap over jQuery Mobile as it's a lot lighter, but jQuery Mobile works fine with it too.
There's also PhoneGap, but that's just a rebranding of Cordova at the moment. They may branch out in different directions at some point, but at the moment there's no difference. The only advantage to PhoneGap is that you can point it at your source on GitHub and it will build online for you. Very handy if you want to do pure online development, but a bit messy.
Thank you for replying. I think I will try with the PhoneGap and Eclipse as you suggested. I have other questions:
1/ Even the APK will be developed using just HTML, CSS and JavaScript, how to notify the user an update is available through a notification method? I am not asking for tutorials, but just the steps.
2/ As you know, to view the source code of a website, a user will right click and view. As the APK will be developed using client side languages, will they be able to view the source codes in any other way apart decompiling?
ali20142014 said:
Thank you for replying. I think I will try with the PhoneGap and Eclipse as you suggested. I have other questions:
1/ Even the APK will be developed using just HTML, CSS and JavaScript, how to notify the user an update is available through a notification method? I am not asking for tutorials, but just the steps.
Click to expand...
Click to collapse
Your best bet is to let Google Play Store do all that for you. It means paying for a developer account, but it's not expensive and it means that people can get your app from the Play Store, which looks a lot more credible than a link and instructions how to allow 3rd party apps. Also, you push an update to the Play Store, and that pushes the update to all your users. You can't really ask for better than that.
ali20142014 said:
2/ As you know, to view the source code of a website, a user will right click and view. As the APK will be developed using client side languages, will they be able to view the source codes in any other way apart decompiling?
Click to expand...
Click to collapse
They can't do anything as simple as "View source" as all the files are embedded in the application, but they can decompile it and get at your source that way, but there's nothing to stop someone doing that with an APK anyway. They best thing would be to develop your app till your happy with it, and then obfuscate the crap out of the html, css & js files. Sure someone could decompile the app and get your source, but they'd really struggle to do anything with it.
Have a play with it and see if it's any good for you. It really does make it simple for a developer with web experience to make apps.
Also, if this is of any use, I made a guide for developing and building Phonegap Android apps purely online, without any SDK or IDE installation. It's not ideal as debugging would be a nightmare. I mostly made it as reference for myself, but check it out anyway...
http://johncmolyneux.blogspot.co.uk/2014/05/how-to-build-android-apps-online.html
Sorry for the late reply. Can I know where is the APK file is stored?
ali20142014 said:
Sorry for the late reply. Can I know where is the APK file is stored?
Click to expand...
Click to collapse
/data/app/packagename-1.apk
You tube is your friend
Just do a youtube search with these key words "html5 webview android" and you should be able to find everything you need to know on how to build your html5 powered app
Google offers a "ProGuard" solution on how to mask your code by obfuscation. Good luck!
You can also use phonegap build to build your web apps without using eclipse.
You can't make an app using HTML and all these web developing languages but you can simply make a responsive website (I hope you know that) and then integrate that website into the android app. You may also add something like that once a user opens app once his app will connect to your website and then download the files offline for future offline use.
You can make fully functional games and apps with HTML + Javascript. Once you learn a the basic's you can use the framework I posted here to make a quiz game. As you learn more you can make small puzzle games and action games but that takes time to learn. Start by using this framework to build a game.
http://forum.xda-developers.com/showthread.php?t=2785378
And if you dont know how to use eclipse then use phonegap build it will build the game for you and the 1st game is free with their service.
Sorry, just saw this now... i could have saved you a bit of hassle
If you really dont want to make a deep dive and stay with your current skills theres a really great way to do so (no, im not involed in the project and wanna advertise it i just use it and love it).
Theres really great tool from Intel, named Intel XDK. This thingy lets you easyly use either the Intel based framework (thats really fast and depending on how you "build" the app at the end you get native code, not just an simple AKP that displays content in a webview.).
The above mentioned Cordova is also a build option, so if you already learned about that, you can still use it in here. You can also make the userinterface of your app in a drag&drop IDE that saves you TONS of time.
Check here for some easy examples:
http://app-framework-software.intel.com/components.php
The very best comes at the end, you dont have to care ONE BIT about installing anything on your machine, all build stuff is done on Intel servers. You code the app, decide on a way to build it (Cordova, Android, iOS or whatever) and you get an APK out of it. Whats more, you can test/debug directly on device, in browser or any other possible way.
If you dont want to learn the appfraework (whats is basically just like jquery, you dont really have to "learn" it if your familiar with javascript) or use other known frameworks like jQuery mobile. Best is, you can still use the IDE-Designer even with jQuery. So you can for example choose jquerymobile framework and but in a nvigation layout just with drag&drop. Of course you als have a standard Code-View with autocompletion and all if you want.
Take alook, its awesome...
The reason why i post this here that tere is one flaw (in my opinion), the documentation is not the best (its there of course, full API guides and all) and the Intel foum is not really active, since noone really knows about it it seems. If more ppl use it the community could be great and starters have a really easy tool at hand to get into the world of mobile-development.
Hi,
You can create an Android app using the HTML, CSS, JavaScript by PhoneGap. PhoneGap is a free and open source framework that allows you to create mobile apps using standardized web APIs for the platforms you care about. You can learn it at: phonegap.com
Good luck!
Website 2 APK Builder
The all new Website 2 APK Builder for Windows is now available at sourceforge.
as i'm new and can't post external links,
so i'm unable to provide a link of it,
try searching "Website 2 APK Builder" on Google.
Just Launched Yesterday,
that's all.
Easy to use,
Generates ad-free apps.
and available for offline use.
Give it a try.
Oboy
oboy
If you're planning on making a update thingy like that basically use github for that where you have a text file and test for the version every time the app launches with window.onload in JS
ali20142014 said:
Hello, I have a question on Android development. Personally, I know web development but I do not know JAVA programming because I am not into software development.
I want to develop an android app by using HTML5, CSS3 and JQuery Mobile. The app will be simple, it will be just an app on poetry where users will click some categories and read poems, and also search. That's all. It will be free, no registration, no ads and no server side. I want to use JQuery Mobile for this or even pure HTML5 and CSS3. In fact, HTML and CSS will be used of course.
Bear in ind that I am NOT converting an existing website into an app, but rather creating an app through HTML, CSS and JavaScript. So, the Web View tool is not appropriate here.
My questions are:
1/ Can we really create an APK with obly HTML, CSS or JavaScript?
2/ If we can create, what software (which is free) can I use to create the APK by compiling/converting my web pages?
Thank!
Click to expand...
Click to collapse
I'm not sure if it's still a question for you but maybe try to search some helpful articles on this subject? They are usually easy to read and you'll an understanding of what you need to do.
we can create an APK with only HTML, CSS or JavaScript through new frameworks
CODENAME ONE
This cross platform framework enables in growing industry-based totally applications. The level underpins fast application development. The designer can compose code in Java and the software may be attempted and showed with Codename One’s test system devices and check mechanization devices. The system bolsters well known IDEs like NetBeans, Eclipse, and IntelliJ idea. The maximum captivating detail about its collect server is that the designer can fabricate local iOS applications simply as nearby windows packages with out a Mac gadget or windows pc. The degree is usually recommended for creating iOS applications.
You may ask your suggestion from App Development Company in Bangalore which helps in developing innovative apps according to your ideas

Use Apache Cordova?

Hey everyone! In response to a recent suggestion by a colleague, I've determined Cordova may be the best course of action for my current project. The reason we determined this, is because what I'm developing is already a web-app, that is complete, in which I can make a responsive style for mobile browsers & use Cordova to use a webview to access the app. So I'm looking for advice from experienced developers to see if this would be a viable option.
Let me start by giving you a run-down of the project. The project is called SecurSend. It is a private messaging platform that allows the user to submit sensitive information, without the worry of being monitored or keylogged. The end-user will compose a message which will generate a unique URL to the content, the recipient will receive this URL, and when accessing the content, it is permanently destroyed from the server. I don't currently have the site live, or it'd be much easier to show you, but the premise is security.
There is no current mobile theme for the site, however, it wouldn't be too difficult to implement. For something like this, do you feel Cordova would be the best option? Also, if you have any advice on Cordova, I wouldn't mind!
AutonomousHC said:
project is called SecurSend. It is a private messaging platform that allows the user to submit sensitive information, without the worry of being monitored or keylogged. The
Click to expand...
Click to collapse
re: the app:
thinking some combo of xmpp + OTR and webrtc might do it
(OTR adds end-to end encryption to xmpp and as browser support for webrtc improves there's peer-to-peer udp possibilities in webrtc)
Re Cordova:
. not yet sure but from looking at some javascript-based apps I've seen done with it what I've seen of it looks like an easier place to start for installable web apps (curious too)
Yes cordova is great for this. The only thing Cordova is not great at is high performance games but that is changing soon.
wowbro said:
Yes cordova is great for this. The only thing Cordova is not great at is high performance games but that is changing soon.
Click to expand...
Click to collapse
This sounds like an interesting concept, but I have heard you don't get the full native experience with Cordova (the UI seems different than that of native applications).
Do buttons and dialogs look the same as native apps?
Can you, for example, create transparent action bars, or side bars?
Or, notifications or watch faces for Android Wear?
wowbro said:
Yes cordova is great for this. The only thing Cordova is not great at is high performance games but that is changing soon.
Click to expand...
Click to collapse
Alternatively, you could use Steroids.js which has most native features built-in -- even Native UI components, MAPS API, Camera API, etc.
Cordova can achieve this, but as stated before, you will suffer some performance issues (especially Android 4.4 and lower)
I believe that doing web apps is the best for trying new ideas on all major platforms. The effort is very low compared to native development and performance is sufficient.
Ionic Framework has great performance and is continuously improving.
Though I wouldn't recommend web apps for games I recently released an open source zombie game called zland (zland.io).
Maybe React Native could be interesting for you as well. You will get true native performance.
With React Native you can share a code base between platforms but have to rewrite platform dependent thinks.
They recently released it for Android so you can deploy to both iOS and Android.
I estimate the effort somewhere between web apps and native apps.

Categories

Resources