mobile

Android 4.2 - Environment.getExternalStorageDirectory().getPath() behaviour

筅森魡賤 提交于 2019-12-21 04:57:10
问题 I've been developing an android application, before the last update to 4.2, I used Environment.getExternalStorageDirectory().getPath() which returned me /storage/sdcard0/, but since the update I now get /storage/emulated/0. I've been reading about the multiuser capabilities on Android 4.2 and I'm guessing that's where the 0 comes from, however, I still don't know how to get to the path I was using before the update. 回答1: This is your path, so just use it. Do not think it over. Paths changed

What is a good toolkit for developing Blackberry applications?

孤人 提交于 2019-12-21 04:51:16
问题 Looking for a toolkit/SDK for general Blackberry development or application toolkits. Anything like an MVC framework? 回答1: My understanding is that blackberry's OS is Java ME - based, and that there's a decent development kit for them. I presume you have already looked over everything here... you can find a lot of information, including the development kit download link. Regarding model-view-controller, there's no particular framework to my knowledge, but I don't see why you wouldn't be able

What is a good toolkit for developing Blackberry applications?

天大地大妈咪最大 提交于 2019-12-21 04:51:09
问题 Looking for a toolkit/SDK for general Blackberry development or application toolkits. Anything like an MVC framework? 回答1: My understanding is that blackberry's OS is Java ME - based, and that there's a decent development kit for them. I presume you have already looked over everything here... you can find a lot of information, including the development kit download link. Regarding model-view-controller, there's no particular framework to my knowledge, but I don't see why you wouldn't be able

WriteableBitmap memory leak in Windows Phone 8

隐身守侯 提交于 2019-12-21 04:49:16
问题 I'm having a memory leak whenever I create any instance of a WriteableBitmap . I've tried multiple suggestions on stackoverflow and other forums, but nothing is working. The basic flow of my test app is this: Select an image with the PhotoChooserTask Use the Stream from the PhotoResult object to create a WriteableBitmap . That's it. Nulling the variables and calling GC.Collect() only solves part of the problem. It keeps the app from allocating memory until the app crashes, but even though the

Mobile website html element too wide

跟風遠走 提交于 2019-12-21 04:13:55
问题 I'm designing a mobile version of my website, which should be like a mobile application. The problem is that there is a strange width to my html element in my mobile browser. I have tried setting body and html to width:480px; and the content is 480px but even then there is a lot of whitespace next to the content (estimated at about 300px). The effect of this is also that the website is not zoomed to the content but to the content + the whitespace and you first have to zoom in to properly use

html5 video on Android 4: play fullscreen then redirect to another webpage - not working

家住魔仙堡 提交于 2019-12-21 03:42:41
问题 I'm designing an html5 page for Android 4 smartphones with a single 3gpp (or mp4) video that has to autoplay fullscreen when opened; when video ends should redirect to another url . Some googling told me that autoplay is no more allowed on Android 4, so I chose to display a poster image the user has to click to start the video. Then: fullscreen mode is invoked video should automatically start (was indeed started by user clicking on poster image) when video finish to play Android should exit

On Safari Mobile 10.3 sticky footer can be scrolled off the screen

喜夏-厌秋 提交于 2019-12-21 03:25:12
问题 Our mobile web application has sticky bottom navigation like the one you often find in iOS applications, and after Safari 10.3 release on landscape only it is possible to scroll sticky navigation (footer) off the screen. Even though it is position: fixed and set bottom: 0 it also wasn't possible on older Safari versions. Styles for sticky nav / footer are following: footer { position: fixed; height: 50px; left: 0; right: 0; bottom: 0; background: rgba(255, 0, 0, 0.7); } DEMO to try on phone

Application for BlackBerry beginners [closed]

六眼飞鱼酱① 提交于 2019-12-21 03:16:06
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . Which kind of application would anyone suggest to start working on/developing for a novice BlackBerry who has hardly spent 4-5 days

RESTful web service using oAuth for mobile application

早过忘川 提交于 2019-12-21 02:50:10
问题 I am building an application that consists of two main parts: Web application with rest API. Mobile application(android, iPhone). The Web application has a database that stores data about users (like posts, events and similar). The Mobile application uses the web application's REST api to access that data, but to do that I need some kind of authentication (user must authenticate itself in order to access/modify his data). I know that this could easily be done in such way that the mobile

Downsides of using Appcelerator Titanium (or equivalent)?

。_饼干妹妹 提交于 2019-12-21 02:27:18
问题 At our company there is a huge push for cross-platform (iOS and Android) development. Appcelerator Titanium is being considered (and seems to be the only thing that's being considered) to achieve multi-platform development without extra development time. Everyone here can think of reasons to use Titanium. For reasons against using Titanium I guess the performance of the resulting "native" app from Titanium may not be as good as an app written in Objective-C for iOS. How significant would the