I've been looking into this for a while and i just want to know if some experienced devs can list the options i have.
Basically what I need is to convert a Wordpress website with all it's plugins to mobile Android/IOS application. No additions, just as is.
I know there are lot of plugins that offer to do that. however I'd like to know my options
The app is basically the same as the website with the exact same functions, just accessed via the app icon.
Is there an easy way to "show" a website on an app? like passing the link, or using the app as some sort of browser maybe?
What are my options?
The best what you can do is you can use PWA which will wrap your Wordpress website and create App launch icon easily. You have existing plugins even in Wordpress, that's what I've found:
https://wordpress.org/plugins/progressive-wp/
Another plus is that you can later add support for offline mode, notifications etc.
Related
Helle everyone,
I'm wondering if there is a possible way to share a text On my Facebook profile, even while using the codenameone simulator.
I did my researchs but all what I find is the share using the "ShareButton" component which only works when you launch the app with an actual device.
Greetings.
The share button doesn't really know about facebook. It places the text into a special OS hook which offers you venues where to share that data. That's great because that means it can work for other social networks seamlessly and it uses the native OS to do the posting. Zero setup.
Desktops don't have an API like that. If you want to explicitly share to facebook you can just do something like this which will launch the browser:
Display.getInstance().execute("https://www.facebook.com/sharer/sharer.php?u=" + Util.encodeUrl(textToShare));
I'm a newbie android developer and we have a website that sells some stuff (using a payment gateway), you can also login on the site using credentials, facebook, or google+ login. Now we have a need for an android and iOS app. What is the best approach to port the site functionalities to Android or iOS app? What are the issues I need to consider when I choose one approach? What would be the best approach: native, hybrid (phonegap, xamarine etc.) or using wrapped (using webview as far as I know)? I'm especially interested in the user login part (because I want the user to be able to login to his account if it exists and if not to create it using the website API endpoint - this is how I imagine it), how to solve that when choosing between these approaches? Any suggestions (answers, comments, links, books) would be helpful.
Thanks
My sugestion is to do native, always can reach more performance in multi thread ,high concurrency transactions and heavy applications.
For android, you can build from source an application, and export the html/css content to the smartphone using android.webkit.WebView. Take a look:
https://developer.android.com/reference/android/webkit/WebView.html
I think is a excellent solution for your problem.
Good day,
I have a project on building mobile app that read and write data to a smart card (java card),
in form of text as a storage using a USB connector to an android mobile phone to communicate with the card.
But i know Ionic (cordova/ Javascript) does not have a plugin to read/write with smart card
My research show that it can only be done with java, But i do not want to design the app from ground up
using a native language cos i have loved working with ionic - cordova.
i need a help on ways to make this work, i dont want to believe that it is not possible,
i need a resources, technic, materials that i can use to make this possible.
Thanks
If you cannot find a preexisting solution then you would have to plugin your own for the platforms you require. There seems to be an NFC plugin which can form a starting point on how to build such a thing.
You could use the seek-for-Android project as base to build your own API. In the simplest form you could just decide to make a port: basically copying the API into Cordoba.
Note that all this may not be easy. Good luck.
Hello I am new to android programming, I haven't started writing the code for my app idea yet but I am in planning and learning the Android OS. I was wondering if there is a way that I could pull data from a site such as a wiki from wikia.com and format it in an android app and how would I go about doing this?
I want to pull data such as the information under the different sections, for example take a band history such as The Beatles, I want to pull the History section, Discography, stuff like that and format it to look good in my app. Is there a way to do this? Thank you in advance.
You have a few options.
APIs
Scraping/reformatting the site
If a website has an API you can simply use that to query the website and get the data you need. If not you'll be forced to download the html and scrape out the relevant information.
Scraping is considered a legal gray and most websites don't appreciate it, especially if you plan on redistributing the content of the site.
I have read the Blackberry documentation and it is possible to push a notification from a webapp. I am planning to create a Blackberry application that compliments to our webapps. But I am still left in the middle whether to develop a webapp or native Blackberry app. I have also look at how a webapp runs on Blackberry browser and it looks smooth.
From your experience does the native app offer something that the webapp doesn't? Bonus question, is Facebook and Twitter app on Blackberry a native app or a webapp? If it is a webapp, is it possible to make a launcher for the application on Blackberry?
Thanks for your help.
Facebook and Twitter are on both types. The web apps are just a website formatted for a small screen so anything you do in say asp.net will show on a blackberry web app if you program it to. The native app just feels like part of my phone. You can save data on the phone so if your app is a relating to news or something that would be stored I can read it offline or slow connectivity (camping, rural areas, etc...). It can also interact with other feature that blackberry offers such as contacts, email, media player, etc...
If you would like to save anything for the user to view without pinging the internet a native app would be preferred.
It's possible to create a launcher but I haven't created one so I'm not sure of the details. I would assume it's just an app that opens the browser to your URL.
One more thing about a web app would be if your application stores users settings (twitter auth key, etc...) they would need to be stored on your server and not the users phone adding more expense and maintenance.
Good Luck.
Widget is not supported for device software less than 5 , you combine both of web and native development by using browser field ,but you need to consider that its Java Script support is poor
Let's not forget that the blackberry browser is really bad as well. I don't know any BB users who would want to use a web application because of that.
When it comes to native apps, you have some choice however and you are not restricted to java (depending on which OS version you want to target). In addition to the mentioned Java, you can use Widget (link for resources) that behaves like a native app, but can be accessed like a web app.
I was just at innoTech and they had a whole session on this topic. But instead of recaping it let me just post the funny video they showed at the end which sums it all up.
Mobile Dev Rap Battle: Native Code vs. Web Apps