According to the documentation, forge.notification.showLoading() should work on both Android and iOS. I'm using:
forge.notification.showLoading('Getting GPS location.');
right before a forge.geolocation.getCurrentPosition(), how ever it doesn't display anything on Android. On iOS I get the expected result. Am I missing something?
I'm testing on two different 4.4.2 (physical) devices, no notification. The code seems to be working, after a bit I do get the Position, and the code continues (closing the loading spinner on iOS) doing some more stuff. For iOS I'm using the Simulator.
Thanks in advance.
So, the problem was that I wasn't using the right params:
forge.notification.showLoading('title', 'body');
iOS only needs the title, but Android does show both title and body. Hope it helps somebody.
Related
I am learning reactJS and encountered a weird issue in my web application. When I click a textarea/textfields, the page just randomly scrolls up. But this behavior only happens in android browsers and in android webView.
It looks okay in iOS devices.
Anyone knows why this happens? I have followed a number of suggestions like adding preventDefault() or return false; or even window.scrollTo(0) but none of these works for me.
By the way, I'm using the #react-spring/parallax library if that gives some clue.
Appreciate your ideas! and thank you in advance!
I have notification which has buttons. On a button click I want to call an API and just patch its value.
Its something like Whatsapp reply where we don't want the app to launch.
I know we can write native code for android and ios seperately. But it would be really great if i could run a snippet of dart code.
Since you have only asked if you can, yes you can. We did it in our android app a while back. The whole point of flutter engine is not only to render UIs but also to run code inside it without any UIs as well. Use platform channels for communication.
I created a mobile application using android 4.4.2.
I tried to share it using mobizen, and sidesync, in pc, some of the application activity on mobizen doesn't show (black color) but some can see. I tried using sidesync and it's also showing black color. I'm not sure what is wrong with my application. Pls help!
Would love to know if you got this fixed so that I can pass this information along to our App team as a bug fix. I am trying to show our app and upon launch it shows the black screen. It used to work before one of the Mobizen updates.
I have a website that I've just created that has a jquery-ui slider bar link removed
The slider bar doesn't seems to work properly on my phone which is an android - it could affect other mobile browsers too.
Is there a way of fixing this?
Thanks
I've just had a look on my phone and it also doesn't work. However, I have noticed in the past that other JavaScript items (on other sites) also don't work, so I don't think it's a specific problem with your site.
In terms of a workaround, you could check the viewer's user agent and display a different selection method if they're on a phone.
I need to implement Fragmentation concept in my android sample app. If the device is smart phone then when i click on buton it should display the result in another window else if it is tablet then it should display the result in same window. But i don't know how to do it. I got some references code but it works for tablet not for smart phone. when i try to run that same project then it's giving the force close error. So any one have an idea please help me.
Any advise is accepted.
Would highly recommend this tutorial, it describes the concept perfectly and provides a very clear and simple example of implementing Fragments in your application. Hope this helps you.