Android Datepicker Crash on Phonegap App - android

I'm working on an application for Android using phonegap
I have the input with type "date" which open android date picker.
But when I am trying to click set the selected date, the app crashes.
Any ideas?

Hi Guys I figured out and fixed the issue. This is the cause of the problem which is mentioned here Invoke native date picker from web-app on iOS/Android
Apparently I had to pick a JS datepicker which looks like the native one to fix the issue. and of course the needed to be changed to "text"
I used mobipick http://mobipick.sustainablepace.net/ - it worked just great!!!

This is not fixed.
FYI this happens with the native datepicker (NO Plugin used). in my case I have 2
if I pick any date for 1 the other doesnt work. it pops up the native datepicker but then if I press set it does nothing and after a while get frozen (static and I can't do anything & have to kill the app)
FYI - the web view (if I browse it from the browser) it works fine but not in the app. I used build.phonegap to build the app

Related

RTL not Support after removing app from recent (killing)

I am working on multi language application which contain Arabic language. I applied locale at 2 places
When change language
In the Splash Screen
At the first time when I change language and restart the application. Its working fine
When I kill the application but pressing back button and launch application again. Its also working fine.
But When I remove application from recent and launch the application, RTL not supported.
Any idea about this issue ? Please help me.
I think RTL and applied local not worked properly after removing application from recent.
Maybe you did not catch the current language so when app load again load a default
language
when lanch app again print language to know which language you init app
After doing lots of R&D I found this. Tried this and issue has been resolved

Not able to set date for native date field on android

I'm trying to set a date on a native android application using with Ruby + Appium + UIAutomator2.
First, Appium desktop doesn't show native datepicker on the inspection field. So, I couldn't try to swipe for the datepicker wheels.
After that I tried
send_keys()
but not a chance.
Finally, I tried the command below with "appium --relaxed-security":
driver.execute_script('mobile: shell', {'command': 'input text', 'args': '04 / 05 / 1990'})
but it didn't work neiether.
How to solve the issue? Thanks
Have you tried using UI Automator Viewer (which is part of Android SDK)?
You can connect a real device or use emulator, start the app, start UI Automator Viewer and grab a screenshot with it. You will be able to see entire screen and inspect it. This will help with creating the selectors for those nasty native elements.
Video tutorial here.

Opening an Android App Link will cause Android System to Crash

I wanted to see if anyone else is running into this issue. I have Android App Links setup for my app and site. Things were working fine, but after I've updated the gradle wrapper and other libraries every time my I try my Android App Link it will cause Android to throw the modal that says...
"Unfortunately, Android System has stopped"
And it will not open my application. However it works when i try to open using the traditional URI scheme deeplink.
Any help will be greatly appreciated. Thank you.
Figured it out.
The issue was that my icon was too big for the device to render on the modal that pops up. Changing that to an appropriate size fixed it.

React-Native app not updating in android device (Windows 10)

I´ve been trying to build my first app with react native but when I change the App.js the changes are not reflected when I run the app on my anroid device.
I even tried putting in comments all code to see if something changes but remains the same.
I´m using react-native-cli: 2.0.1 and react-native: 0.53.3
Sorry if writing wrong but English is not my "native" language :V
My code:
App.js
index.js
Hope you can help me, but I will keep trying.
I realized that when the app is running in a virtual device, the changes are reflected.
For real device, shake your phone to open the debug panel.
Make sure the Enable hot reloading option is switched on.
https://facebook.github.io/react-native/docs/debugging.html
This is not the main problem, but it's better to have a <View></View> component to wrap the Text component. So you can add more component and apply styling later on.

is it possible to create an android 1.5.1 app using Android Studio?

is it possible to create an Android 1.5.1 app using Android Studio?
Yes it is old but still used...
It only has to read 3 different txt files which are located on local network, containing 1 line of text each and display it under each other in portrait view.
Refresh ones a minute should be ok.
And it has to have a dropdown menu so you can choose which number of device it is, so from 1-10 is ok and according that read the txt files which belongs to that device nr.
I can't use a webpage because i cannot create a local server for it. So i need a little app.
To create the txt files i use a windows program.
I use Livecode (since short) but it can't create apps below Android froyo 2.2.
Any help on this would be highly appreciated. As i don't know anything about java.
It's only for local use, nothing commercial or anything
Thanks for any help on this!
You should try using PhoneGap (Cordova) http://phonegap.com which is basically a HTML-Webview, wrapped up in an App, so you can code the whole thing using JavaScript, and it is still a real app.
With this it should be very easy to do that, even if you "don't speak Java".
But to answer your initial question, yes it should be possible to create an Android App for 1.5.1 with Android Studio. You just need to install the right SDK/Packages etc with the SDK Manager.
Have fun coding.

Categories

Resources