I use a DateRangeSelection in my Smartfilterbar. The problem is that when a value is entered, it can not be deleted anymore on mobile devices. I use sapui5 version 1.32.5 . A workaround would be to implement an extra Button next to the field, and clear it in JavaScript, but thats really ugly.
You can test example on Chrome if you simulate a mobile device.
Related
I am trying to make my webpage mobile friendly. So, I am using Chrome DevTools to design a mobile version of my webpage. I have it the way I want it to look in DevTools. I uploaded it to my website & viewed it on a actual mobile phone & objects are not in the same places as they are in DevTools. I used the iPhone 6 mobile design in DevTools and also view it on an actual iPhone 6. They don't match. Anyone else have this problem? I have read articles about this, but don't know how to fix it. Any ideas? Should I use a different emulator?
This is Chrome DevTools version on iPhone 6:
This is how it really looks on an iPhone 6:
DevTools technical writer here. DevTools is just a simulation of mobile devices. It can't truly simulate an iPhone. So it's always a good idea to check how it actually looks on the devices that you care about (like you did). I don't think there's any bug or issue here. It's just an instance where the DevTools simulation doesn't reflect reality 100%.
Mac users can use Xcode's Simulator (that's the actual name of the simulator) to emulate any Apple mobile device and see exactly how their website will appear on it.
You can use it to open Safari and access your localhost. I used it to fix issues on my website, issues that I could not reproduce in DevTools' device simulator.
Clear the cache for on your browser to ensure that your phone is accessing the most recent updates to your code.
what could be the reason for that, that gwt mobile apps doesnt really work on mobile phone?
iam using a ZTE-Blade Android 2.1 (in germany Base Lutea) mobile phone and i have big problems with gwt-mobile-apps while using this mobile phone.
the gwt-apps are running but there is no reaction when i touch UI like buttons or something.
i must press the button maybe over 100 times to get a reaction.
and that is the case for every gwt mobile app.
Nearly no reaction from UIs like buttons for every gwt-mobile-app.
I wrote a little app in gwt and on the browser on my PC, it works perfect but on my mobile not really.
with other apps like android or jquery-apps, there are no problems.
everything works fine but with gwt-mobile-apps there are no reactions by touching UIs like buttons.
What could be the reason for that?
i really have no idea.
does somebody know this problem and are there similar problems for gwt-mobile-apps on other devices?
i had the same problem on my 2.1 android phone and the only problem is that android 2.1 is to old.
gwtmobile works very nice on younger android devices.
If you look when the developers made the last updates to this framework it shows that they haven't updated it since April 2010.
http://code.google.com/p/gwt-mobile-webkit/
Because of the deversity of mobile devices and browsers it hard to optimze javascript for every type of browser.
You should use a framework which is up to date like jQuery mobile or Sencha Touch 2. They are well focused on this topic.
http://jquerymobile.com/
http://www.sencha.com/products/touch/
Statement of sencha:
"A note about Android support: Due to the overwhelming diversity of physical Android devices on the market, we can only test so many. This support matrix is not intended to be exhaustive, but to give you an idea of the support for Android devices. Your mileage may vary." (http://www.sencha.com/products/touch/features/)
Take a look at m-gwt: http://www.m-gwt.com
This is a mobile library for GWT, that works very nicely.
It uses core GWT concepts (rebinding, clientbundles, ...).
I am wondering how can I open the send SMS application by using a web control of a HTML5 page on Android and iPhone. I want to use the device native SMS sending app, with a prepopulated value from the web.
Further to other answers I can confirm that smsto:555:bodytext does not work on an iPhone running iOS5.
What does work (and I've tested it) on Android is the format:
sms:444?body=hello
Example:
Tap to say hello!
On iPhone the ?body=hello will prevent it working at all, and you should use just sms:555 instead.
sms:555
Example
Tap to text us!
I have tested the below and it works:
Using HTML Anchor tag:
Subscribe
Using JavaScript:
window.open('sms:111?body=SUBSCRIBE', '_self');
With Android 3.0 SDK Google has started exposing API in HTML5 for device access. An example is listed here. It may not be enough for what you seek to do.
I dont know enough about iphone to advise either way.
I have written an app that allows the user to take a photo with the camera capture some other information then attach the photo to an email and send it. But on the Motorola Droid the camera is started but the OK button will not return control to my application. The cancel button is the action that will return control to my app, even the back button does not work either.
Is it more likely that this is a hardware or software problem and does anyone have any suggestions on how to debug and or solve this problem.
Thanks,
If you are using an Intent, this may be the source of the problem. If you are using the API, I would make sure your layout is correct.
It would be helpful to know which level of the Android API you are targeting and which version of Android the Motorola Droid is running. Have you tested this on other devices? In the emulator?
Sorry for the long explanation. Thanks in advance to all who are taking their time.
I am an Ubuntu user who has set up Titanium Developer on a MacMini in order to build an app for the iPhone (and ultimately some other platforms).
Rather than having any local code built in, the app simply points to my website. To do that, all I needed to do was change Titanium's tiapp.xml file to include my website URL. I wrote no other code, nor did I need to include any other files. It simply compiled and ran in the emulator without a hitch.
I've got just one problem: I need to upload files to my website and Apple, as most of you know, has disabled the input field type=file. I've got it working in all other browsers. The action simply calls a php file and passes the file info.
If I didn't have an app, and someone was just manually navigating to my site with the iPhone's Safari browser, I could get around the problem by using CliqCliq, which is a very cool iPhone app. Basically, I use JavaScript window.open() to launch CliqCliq's QuickPic browser in a second Safari window. The user chooses a file; QuickPic uploads it; and the user is returned to the second Safari window that I launched with window.open(). The user closes the window and Safari returns them to the first window (i.e., my website).
The problem is that my website is being shown in my app. (By the way, I don't have my developer license yet, even though I signed up a few weeks ago, and I can't test this in the emulator because I can't install QuickPic into it, I assume.) I wanted to repeat the same steps, described in the previous paragraph, using an iFrame but that didn't seem to work (i.e., the iFrame was blank despite my designating a src). I also tried having a hidden window by using old-fashioned frames and setting the col-width to 0. That also did not work (i.e., Safari, if I recall correctly, opened a separate window).
I'm working a little blind, since I can't test anything on the iPhone, but I figure I have two options: I can either find a way to launch a QuickPic in an iFrame -or- I can find some way to incorporate the Apple toolkit file chooser into the Titanium app.
The problem with the first option -- but again, I don't know until I can try this on the iPhone -- is that I assume both apps (mine and CliqCliq's) could not run at the same time. Even if I had a hidden window, invisible iFrame, etc., the moment it launches QuickPic, I assume my app would quit(?).
The problem with the second option is that I don't have clue as to how to incorporate a file picker into my app by using Titanium (keeping in mind, everyone, that I know very little). Brian at CliqCliq has even offered to give me some code if I can't make Apple's file picker work but again, I'm not sure what to do next.
What do you folks think? What's the best method? And, what's the easiest thing for a simpleton to do?
Thanks.
<input type="file"> is not supported on the iPhone. You'll need to use Titanium's APIs, specifically the Media one (openPhotoGallery or showCamera).
As a side note, Apple reportedly rejects apps that are just a webview displaying a website. You may want to consider putting most of the app code in local storage and using AJAX to fetch content.