mobile

Do I have to use J2ME for Blackberry development?

冷暖自知 提交于 2019-12-11 05:35:38
问题 I would like to begin developing for the Blackberry platform and, specifically, the Bold and also the Storm device which is coming out soon. Do I need to get into Java and J2ME or can I develop sites in ASP.NET and just keep utilizing the skills I already have? I am completely new to mobile platform development and have no idea what it will take to target these Blackberry devices. I am hoping to continue to use my ASP skills. 回答1: This question might help you. "Creating a mini-site in asp.NET

Ember Action on mobile device orientation change

♀尐吖头ヾ 提交于 2019-12-11 05:29:23
问题 I've been tasked with taking an ember website and making it responsive to mobile. one of the problems is that they use a component to draw a graph (d3). the graph is not re-rendered when there is a change on the parent container. Not really much of a problem on a desktop display, but on mobile the drawn graph is drastically different between portrait and landscape. I'm wondering if there is a way to attach an ember observer on a window device orientation change, either hrough jquery or

Search for a string from a text file in java script

走远了吗. 提交于 2019-12-11 05:25:29
问题 I am creating a Dictionary app for mobile using Java Script. I have stored Dictionary source in a separate file. My doubt is how to access that file and search for particular string using Java Script. function dic() { var word = document.getElementById("wo").value; var dictionary = new Array("Java","Python","Swift","HTML","PHP"); var flag = 0; for(var i = 0; i < dictionary.length; i++) { if(dictionary[i] == word) { document.getElementById("result").innerHTML = "Element Found"; flag = 1; break

Can you access sim contacts from J2ME?

萝らか妹 提交于 2019-12-11 05:21:59
问题 Hi I am developing a mobile application where I need to access the phonebook of the users, SIM and phone contacts. Is this possible? 回答1: Depends on the handset, some only let you access phone contacts, some do both phone and sim. Make sure you iterate over all the PIMList s supplied by PIM.listPIMLists() , often this method returns two lists, one of which will be phone, the other will be sim. 回答2: Yeah its possible. Look on this discussion on Nokia forum. Here it will be described clearly

JQueryMobile radio buttons with fieldcontain width issue on desktop

隐身守侯 提交于 2019-12-11 05:21:50
问题 I have 4 radio buttons horizontal and they look good on 320X300px (smartphone) but I want it to look good on a desktop or tablet. How do I make the legend text wider or all fit in 2 columns. I have tried using a grid but that seems to do nothing. I suspect that I just need some CSS but I do not know what to do. <div data-role="fieldcontain" > <fieldset data-role="controlgroup" data-type="horizontal" data-ajax="true" class="row_b" > <legend>This is a long question that gets wrapped around in a

button click is only working on Windows & not working on Android mobile sheet

蓝咒 提交于 2019-12-11 05:14:37
问题 I have created an image button in Google spreadsheet and have assigned function, to perform some action. But this button click is only working on windows and not working on Android mobile sheet or mobile browser. what is a workaround for this issue? 回答1: Workaround is to use checkboxes(say, in F1) instead of buttons/Images. Then hook your function, that is supposed to run on button click to onEdit() function. Sample script: function onEdit(e){ const rg = e.range; if(rg.getA1Notation() === "F1

Send img to server

爱⌒轻易说出口 提交于 2019-12-11 05:08:54
问题 I try send image (after capture) to server via mobilephone (android) To do this i use php script (its uploaded on server) And JAVA code to post image. The URL of php script: http://nwstudio.esy.es/AndroidFileUpload/uploads/fileUpload.php On mobile after click button for upload i see only small empty window without text of error or anything (there should be msg about upload) What i do wrong? ;/ PHP: <?php // Path to move uploaded files $target_path = "uploads/"; // array for final json respone

Enable geolocation for local files on Mobile Chrome

半腔热情 提交于 2019-12-11 05:05:57
问题 I have quite similar question to this one, though concerning Mobile Chrome or any other browser that I can install on Android. I've wrote a simple script using HTML5 geolocation feature, but it does not work neither in Mobile Chrome nor Android 4.1 system browser. In first one, my script returns "User denied" error code, though I did not denied anything (and though geolocation is enabled in Chrome settings). In system browser, status remains on "Idle" (startup value), which causes me to thing

Flash builder Mobile AS3 project: Screen DPI, Application DPI, image DPI, center image

有些话、适合烂在心里 提交于 2019-12-11 04:52:02
问题 I wrote a Flash Builder project in AS3. It uses some images to tell the user that it is busy with something. In the first place I wanted to use the SVG file format for these images to keep it crisp as possible. But it doesn't work, errors in shapes or not on the right position. So I decide to use the PNG format. It is working nicely except for one thing: DPI translations done by the compiler. I cannot center the image because the DPI size is recalculated to the size of the screen's DPI and

IOS pin annotation shows initially, then custom images are used after

廉价感情. 提交于 2019-12-11 04:49:23
问题 I have an IOS app that shows the map and lets users select a route from a list. Upon selection, the app draws this route on the map. I am using a custom image for my route points. The first time i run my app and select a route, the default pushpins load on the map. If i refresh my map or select another route, my custom images appear perfectly. It is only on the first run that this is happening. I am using MKAnnotation, not MKPinAnnotationView, and I have made sure there is no code specifying