Last active 10 months ago
What if the JS API could provide us features like:
Torch(on, off, toggle)
To control the LED lamp in our devices.
Gyro(x, y, z)
Provides the position of the phone in space using the 3 axes.
To be able to send a SMS (this could be achived from a web link already, but it just prepares the message and users must click the send button).
Where you could dial for a call (again, HTML provides a way to prepare for this call, but needs users to press the call button).
Camera(filename, savepath, width, height)
Take a picture and save it locally (kind of temporary folder) and the chance to move it to a location inside our app's folders if path is given, else it will remove files on next run. A sweet feature would be to able to resize the file to a width and/or height, meaning that if I pass just one parameter, the picture is resized keeping the aspect ratio to the value given.
Camera takes a picture with a resolution of 2000 x 1000 pixels. If I set the width to 1000, then the image is resized to 1000 x 500. But, if I set both, width and height, then the image is stretched, losing the aspect ratio. Or maybe give an extra command just for cropping and resizing images.
Save a file out of the app. Eq. Send a picture to the phone's Gallery or a PDF to the documents folder.
Similar to Export. This could provide a way to save a file from a string. This could end up being a TXT, XML, HTML, SVG, etc.
A way to import plain text files as a string.
You will definitely make the app provide more useful features to everyone, giving us the native look we all want/need before moving to Flutter or alike.
Again, a simple alert (like JS) that prompts users to confirm an action.
Boost your offline power with a SQLite database or a simple XML file.
My latest app has been reporting bugs at the Play Store with the error you see on the title of this conversation (signal 5).
Could anyone have any idea of what is happening?
Is it the app, the Play Store, the PHP code?
Thanks in advance!
IMHO, it refers to the content that is kept from your website for the next launch.
Default, tries to check if the web has changed since last visit. Thus, downloading the new content.
High, your app will not show the new changes made in your web. Imagine that you are seeing an offline version of your web. The one that waa downloaded when it first ran.
The remaining option is a data consumer one, as it will download the site every single time you open the app, besides making it extra slow while launching.
I hope it helps!
Well... based on my needs...
If you could implement that, once you touch an input, the keyboard comes out on top of the web rather than resizing the webview... that would be nice! I had to create my own keyboard for my app because, everytime I touched the input or textarea on my HTML, the whole page shrink (as it is responsive) due to keyboard coming out.
A stupid, yet useful, feature could be a QR generator using the JS API. A simple command line with the windows title, the type of content and string parameter and it magically shows a modal dialog with the title, the QR code and a button to close that window.
An option to run as a background app and send notifications to the OS. In a way I can check for a date or time and show a notification, even if they have closed the app.
Splash screens. They need to be more than a simple picture resize to fit the screen. They need to be responsive, animated and load as fast as possible to void the blank screen on slower devices.
Just like JS has its own prompt command, with an ugly banner saying "the page file:// says", can you create a single line input modal window to replace native JS prompt feature?
Including basic samples of codes will help non programmers to power their apps.
Sounds like you are paying attention to users. That is absolutely GREAT! But, internet is full of examples. I'm not planning to make a tutorial out of each option, but (please), place a little example (or a link to another site having the example) like you do in the API documentation. That would be AMAZING and pretty HELPFUL to beginners, like me.
Am I the only one crying for this in this forum? Users could also help amoung us. I'm just thinking outside the box now.
Again... what has happened since 2018? I see no help or documentation yet.
So, if I cannot use things like Cordova's Plug-ins to make use of the camera, microphone, etc. What are the permissions for? How can we use them?
Seriously, this is one of the deepest issues you have for such a tiny and compact application... the lack of tutorials or help about every little option on its user interface. I've been a registered user for more than 2 years already and I'm still wondering what are some features (I'm paying for) useful on this software.
Come on, guys! It's just a person typing some brief info about each option, please... it cannot take two years to accomplish it and you cannot be so busy so as to take a week to do it.
When you create an APK, you are just including a bunch of files inside a ZIP file. So, when you create a new update, several files are overwritten with the same old files. This is what some antivirus are detecting as a virus. When the new app is replacing (a great percentage of) old files with the same old files, it triggers the alarms. That being said, your app shouldn't be a virus, but a false-positive result. It happened to me once.
I just received an email from Google with this news...
By August 3, 2020: new apps must target at least Android 10 (API level 29).
By November 2, 2020: all app updates must target at least Android 10 (API level 29).
Are we ready to face this?
Is there a way I could use a cordova plugin to (let's say) turn on the torch of the phone, take a picture, make a phone call or send a sms?