Id
int64
21.6M
75.6M
PostTypeId
int64
1
1
AcceptedAnswerId
int64
21.6M
75.2M
ParentId
int64
Score
int64
-14
71
ViewCount
int64
5
87.5k
Body
stringlengths
1
26.6k
Title
stringlengths
20
150
ContentLicense
stringclasses
2 values
FavoriteCount
int64
0
0
CreationDate
stringlengths
23
23
LastActivityDate
stringlengths
23
23
LastEditDate
stringlengths
23
23
LastEditorUserId
int64
-1
21.3M
OwnerUserId
int64
127k
21.3M
Tags
sequencelengths
1
5
21,584,304
1
21,585,336
null
-2
456
I would like to develop an app that will be used for measuring irregular shapes on your android device's touch screen. For example, I have a MotoG3 phone and its screen dimensions are 142.1 x 72.4 x 11.6 mm. I place an eraser of dimensions 15mm* 16mm* 12mm on my phone. I want to build an app which will sense the object placed on its screen and give the dimensions of the object or sense the area covered by the object on the phone. May I know the Mathematical formula/algorithm to get the full area of the touch screen space?
How to measure the area of a touch path in android?
CC BY-SA 3.0
null
2014-02-05T17:31:40.043
2017-02-14T01:37:16.647
2017-02-14T01:37:16.647
2,179,189
2,179,189
[ "android", "mobile-development" ]
23,366,378
1
null
null
1
260
I have developed applications in J2ME and for Android. I am planning to learn and develop hybrid applications using HTML5/JavaScript/jQuery or AngularJS. Is there a place where I can get information on the different frameworks and how hybrid architecture should be used? Any books for beginners in hybrid development?
Beginner help-Hybrid mobile app development
CC BY-SA 3.0
null
2014-04-29T13:40:49.560
2016-05-06T10:35:16.123
2016-05-06T10:35:16.123
6,299,045
3,585,487
[ "mobile", "architecture", "frameworks", "hybrid", "mobile-development" ]
29,285,714
1
null
null
1
1,804
I'm looking to build some kernel source code, and I keep seeing "AOSP Toolchain". I know that AOSP is the Android Open Source Project, but I'm wondering what exactly is the "toolchain"?
What is the AOSP Toolchain?
CC BY-SA 3.0
null
2015-03-26T18:03:32.733
2015-03-26T18:28:37.803
2015-03-26T18:17:32.110
1,283,845
1,283,845
[ "java", "android", "android-source", "mobile-development" ]
29,548,145
1
null
null
0
669
i am searching for a way to extend my native iOS App (written in Objective-C) with HTML5/CSS/JS So i could write parts of my App´s Code in HTML like a basic shop or similar where code in HTML already exists. But i don´t want to destroy the great native like look and feel or make users think they left the app and entered a scaled-down version of Safari or similar. So they won´t even feel they are on external HTML on the net. I want a HTML page inside my App but with full advantages of device like animations, transitions, preloading, no borders. Maybe even make use of device functions like accessing camera, sound and so on. How could this be done if possible? thanks in advance
Embedd HTML5 inside native iOS Application
CC BY-SA 3.0
null
2015-04-09T20:17:32.137
2015-04-13T22:58:16.670
null
null
3,228,274
[ "ios", "objective-c", "xcode", "html", "mobile-development" ]
29,750,741
1
null
null
0
45
I would like to build an app and collect some events from the app, and then show some event statistics like frequency, duration etc. I`ve just investigated the aws Cognito web service, but it stores only a set of key-value pairs of a limited total size. I can build, of course, my own REST web service on the top of the database and store all my events there. But I wonder if there are some aws web service(s) that I can leverage to build such a solution. (In case if someone familiar with Azure, it would be nice to see the possible solution there too!) Any ideas, suggestions?
How to collect the mobile app data using AWS service(s) or other solutions?
CC BY-SA 3.0
null
2015-04-20T14:32:07.483
2015-04-22T11:58:35.167
null
null
920,580
[ "web-services", "azure", "amazon-web-services", "mobile-development" ]
29,833,731
1
29,846,222
null
3
1,358
I've got an searcharea where I've used ``` <form><input name="search"/></form> ``` which enables and shows the search button on iOS mobile keyboard. My question is now, how can i find this search button in code so that i could add an onclick="(callFunction)" for example like i would be able to do if I had created an button myself. Any help or input highly appreciated, thanks!
How to call the iOS search button with javascript/Jquery?
CC BY-SA 3.0
0
2015-04-23T20:30:51.037
2015-04-24T11:29:16.217
2015-04-24T10:01:58.287
7,036,527
7,036,527
[ "javascript", "jquery", "html", "mobile-development" ]
29,928,665
1
null
null
7
3,866
I have a website that works perfectly in any browser. Now I want to use the Web@Work browser from MobileIron to use this website as a boorkmark to create a basic iOS application packaged thanks to MobileIron. The basic presentation of Web@Work is here: [https://www.mobileiron.com/en/products/webwork](https://www.mobileiron.com/en/products/webwork) I would like to find a way to develop with Web@Work locally, like that I would be able to track bugs easily.
How to test with Web@Work from MobileIron in a development environment?
CC BY-SA 3.0
0
2015-04-28T19:54:28.613
2017-04-25T12:27:18.423
null
null
1,398,755
[ "mobile-development" ]
29,938,430
1
null
null
4
10,970
Is it possible to identify currently attached mobile network and network operators programmatically on Android? If it is possible please provide code samples Thank you.
How to detect Network operators programmatically on Android?
CC BY-SA 3.0
0
2015-04-29T08:35:56.453
2018-10-24T01:04:29.773
null
null
2,059,231
[ "android", "mobile-development" ]
30,332,165
1
null
null
11
42,392
I have a samsung note pro 12.2 and was wondering how I could inspect element on the browser without connecting to a computer? I understand for smaller devices this makes sense to connect to a computer but for a tablet this size or even a 10 inch, the real estate of the screen would allow me to have an efficient workflow. If this is possible, I would be able to design on the go making it so much easier than carrying around my laptop. Perhaps there is a special browser to use?
Inspect element on Android without connecting to computer
CC BY-SA 3.0
0
2015-05-19T17:21:38.407
2016-10-01T09:34:51.103
2015-05-22T21:05:59.037
76,337
3,903,296
[ "android", "google-chrome", "browser", "inspect-element", "mobile-development" ]
30,365,302
1
null
null
0
594
Hi there i am working on a Applock.I am using a service to check top activity I use package and class name from ActivityManager getRunningTasks(); If this app is blocked I cover it with my own activity.But the is floating apps like LG - QSLIDE apps. Is there anyway to handle(block/lock)these apps as floating apps comes up over my blocking screen.Please guide me in right direction.
How do I block/lock floating apps programmatically
CC BY-SA 3.0
null
2015-05-21T05:32:40.640
2015-05-21T06:15:58.250
2015-05-21T06:15:58.250
1,591,011
1,591,011
[ "android", "mobile-development" ]
30,453,525
1
30,453,728
null
0
610
I have created my iOS application using Xcode but it works fine with iPhone 6 , but when I try to simulate in any other device the UI gets misaligned. How do I make the application to fit correctly to all the iPhone devices ?
How do I make my iOS application resize correctly to all iphone devices?
CC BY-SA 3.0
null
2015-05-26T08:35:54.807
2015-05-26T09:49:41.297
2015-05-26T09:49:41.297
1,680,090
2,513,947
[ "ios", "objective-c", "swift", "mobile", "mobile-development" ]
30,466,919
1
null
null
1
777
im using jquery mobile framework for my phonegap project but as jqmobile make a lot of modification on the HTML i faced many problem and i want to change it to a verry tiny css mobile framework that support RTL direction . why i want to use mobile css frameworks ? because i want to apply the navigation bar (left and right) and a fixed header for iOS(6.0+) , android(2.2+) , wp8 and blackberry in the same way so i didn't find a good framework that support that except jquery mobile.
best tiny css mobile framework that support rtl
CC BY-SA 3.0
null
2015-05-26T19:10:15.840
2015-11-21T19:36:14.397
null
null
4,651,909
[ "jquery", "cordova", "jquery-mobile", "mobile", "mobile-development" ]
30,980,592
1
null
null
2
836
``` try { ConnectivityManager connectivityManager = (ConnectivityManager) appContext.getSystemService(Context.CONNECTIVITY_SERVICE); Method iMthd = ConnectivityManager.class.getDeclaredMethod( "setMobileDataEnabled", boolean.class); if (iMthd != null) { iMthd.setAccessible(false); iMthd.invoke(connectivityManager, enable); } } catch (Exception e) { e.printStackTrace(); } ``` Upto kitkat above mechanism is working properly but in lollipop it is not worked out is there any other way to achieve this.
Enable or Disable Mobile Data in Lollipop
CC BY-SA 3.0
0
2015-06-22T12:57:44.483
2015-06-22T13:20:26.803
null
null
3,396,895
[ "android", "reflection", "mobile-development" ]
31,003,699
1
null
null
3
140
We have a mobile app that is our main product. We need to provide a different price (not just currency conversion) for it for each country store. As we found out (please let me know if this is wrong), the only way to do this is to upload the app separately on each country store (i.e. separate apps). Is there an easy way to manage these uploads to the 10+ stores we're targeting. By managing I mean uploading the release itself on all needed country stores as well as monitoring all apps KPIs like number of installs.
Managing multiple mobile apps for each country store
CC BY-SA 3.0
null
2015-06-23T13:09:06.830
2015-06-23T13:53:19.770
null
null
5,040,345
[ "android", "ios", "mobile-development" ]
31,170,648
1
null
null
0
78
I'm developing a mobile app using sencha touch 2.4. I've installed everything correcting using following code. sencha -sdk /path/to/sencha-touch-2-sdk generate app MyApp /path/to/www/myapp Now I want to open it in my browser using localhost/myapp/ but it is a blank page... I want this to be loaded.. ![sencha touch[1](http://i.stack.imgur.com/GugI0.png)]
localhost page is not loading sencha touch framework while using wamp server
CC BY-SA 3.0
null
2015-07-01T20:05:13.913
2015-07-10T08:12:15.270
null
null
4,998,047
[ "sencha-touch", "senchatouch-2.4", "mobile-development" ]
31,340,142
1
31,345,877
null
1
32
I'm not sure what I'm trying to do is possible but here goes... I'm looking to create a library of services to use within MvvmCross applications, the majority of services will probably use plugins either written by me or a third party. Rather than having to get the applications using the service library to go and get all the individual NuGet packages for these plugin dependencies i'd prefer if either, 1) The plugins could be built into the library assembly. 2) Or I could supply all the plugins required by the library in a single NuGet package so that this is the only one the app has to pull in to use the library. My question is can plugins be wrapped up like this?
Providing A Container for MvvmCross Plugins
CC BY-SA 3.0
null
2015-07-10T11:56:03.643
2015-07-10T16:29:21.123
null
null
3,617,723
[ "c#", "nuget", "mvvmcross", "mobile-development" ]
31,495,791
1
31,553,836
null
0
74
We've just successfully created an accessibility app for android (think screen reader) that works across all applications without needing to first launch a specific app, via the [accessibility service](http://developer.android.com/guide/topics/ui/accessibility/services.html#manifest). Is it possible to create an equivalent headless service for Windows Phone? UIAutomation is available for WinRT but I don't think it's available for Windows Phone 8.1 or 10 in the same way. How could I achieve something like this?
Is it possible to create a headless accessibility tool for windows phone?
CC BY-SA 3.0
null
2015-07-18T21:33:21.997
2015-07-22T04:24:09.787
2015-07-19T20:29:33.903
127,018
127,018
[ "windows-phone-8", "windows-phone-8.1", "mobile-development" ]
31,603,886
1
null
null
0
60
I've recently completed an Android app in Xamarin and am now working through creating an iOS application. I'm not sure if I've missed something extremely basic here, but I'm having trouble understanding how you transition from one screen to another. In the MultiScreen demo app, this is achieved with a navigation controller and segue. I also saw the code sample which shows you to do this manually, calling the: ``` NavigationController.PushViewController(YourView, true); ``` And this works fine assuming you want to be able to navigate between the two. The first thing my users see is a login screen. If the user successfully logs in, I want to send them to a home screen. As you can imagine, it makes no sense that you would 'go back' to the login page. I've seen it is possible to hide the navigation bar, but I just wanted to check first... Is there an alternative way to transition to the home page without using a NavigationController ? Thank you in advance.
Xamarin iOS transitioning between interfaces
CC BY-SA 3.0
null
2015-07-24T06:42:49.827
2015-07-27T07:05:06.607
2015-07-24T06:55:56.807
785,212
913,298
[ "ios", "xamarin", "mobile-development" ]
32,481,545
1
null
null
0
46
i want to make listView with this type of expose animation when user clicks on any item. like The first time each user visits the All Apps screen, a semi-transparent overlay appears. Please suggest me a way or any related example. sample image: [http://developer.android.com/design/media/help_cling.png](http://developer.android.com/design/media/help_cling.png)
How to Achieve Expose effect in android
CC BY-SA 3.0
null
2015-09-09T13:56:58.637
2015-09-09T16:54:32.647
null
null
5,271,887
[ "android", "android-listview", "android-animation", "onitemclicklistener", "mobile-development" ]
32,554,078
1
null
null
0
757
I have added compile `com.instabug.library:instabugsupport:1+` to dependency in build grade and synced with gradle files, added ``` Instabug.initialize(this, "your_app_token_here"); ``` after `setcontentview` in my `MainActivity`. However `this` is being underlined as an error. What am I not doing or doing wrong?
How to initialize instabug for android?
CC BY-SA 3.0
null
2015-09-13T20:10:07.087
2020-01-28T13:53:19.790
2020-01-28T13:53:19.790
-1
1,227,161
[ "java", "android", "android-studio", "mobile-development", "instabug" ]
32,909,537
1
null
null
0
30
I have to implement a reminder - make the note, then store it in local DB and then make the notification when time comes. I have no experience in mobile development so I'm asking what's better - to implement some time manager that will invoke notifications instantly or store the notifications "as is" to let them be activated by themselves. What is good approach? EDIT: I forgot to mention, that I use Xamarin and I've already implemented cross-platform notifications, but now the problem is to choose right way to store and handle them
Mobile Notifications Maintaining: implement own TimeManager or use notifications built-in fireTime manager?
CC BY-SA 3.0
null
2015-10-02T14:31:40.857
2015-10-02T17:12:17.550
2015-10-02T17:12:17.550
5,362,493
5,362,493
[ "android", "ios", "notifications", "paradigms", "mobile-development" ]
33,568,751
1
null
null
0
361
I have question to iOS Developers. Does anybody know if Apple iOS Api allows to add new commands to build in iOS Voice Control engine. I noticed that Voice Control can control phone application using names, nicknames from address book. It can also play music list from default iOS music player app. I would like in my app to register new voice commands for this Voice Control engine and handle some actions based on recognized commands. I was searching in developer documentations but can't find anything like that. Am I missing something?
Registering new voice commands from my app to iOS Voice Control engine
CC BY-SA 3.0
null
2015-11-06T14:12:25.113
2019-09-05T11:01:40.130
2019-09-04T09:20:02.300
3,825,084
752,775
[ "ios", "iphone", "uiaccessibility", "mobile-development", "voice-control" ]
33,929,283
1
null
null
0
21
I have an android application which I would like to design for the pocket phone and I noticed that the emulators differ in sizes when setting up avd. Do I create an avd that is the size of the pocket phone and which size is it? How do I create an avd to do pocket design testing on it?
Which emulator/avd is best suited for pocket design
CC BY-SA 3.0
null
2015-11-26T01:38:02.777
2015-11-26T01:44:11.533
2015-11-26T01:44:11.533
995,891
3,658,131
[ "android", "mobile-development" ]
33,945,405
1
33,964,274
null
0
480
I'm developing an application with the superb ionic framework, and i'm stuck with my preferences page. I know how to load the camera plugin and everything needed to make the camera work. My problem is that I need to have a toggle button in my preferences page where user can activate or deactivate the camera usability setting for this app. Anyone know where I can find info or documentatioon on how to acccess the actual app settings of the device. Thanks ! [](https://i.stack.imgur.com/YTnl3.png)
How to know if camera is enabled on the device using ionic framework?
CC BY-SA 3.0
null
2015-11-26T18:56:38.560
2015-11-27T20:52:47.890
2020-06-20T09:12:55.060
-1
1,861,422
[ "cordova", "ionic-framework", "ngcordova", "mobile-development" ]
34,047,623
1
null
null
0
122
Can I open a new Chrome window with Device Mode automatically enabled, either via the JS launching the new window, or some code on the destination page?
How to force Chrome Device Mode?
CC BY-SA 3.0
null
2015-12-02T16:17:55.520
2015-12-02T17:51:53.000
null
null
2,410,460
[ "google-chrome", "mobile-development" ]
34,061,554
1
null
null
1
2,310
I need to get parent block height, I guess I must use Dimensions. But how can I do that? Thanks
How to get parent block height using react-native?
CC BY-SA 3.0
null
2015-12-03T08:55:49.050
2015-12-03T09:19:27.617
null
null
5,334,001
[ "javascript", "android", "ios", "react-native", "mobile-development" ]
34,084,391
1
34,084,756
null
2
1,637
I'm trying to create 3 TextInputs in one row, but when I write flexDirection: 'row' it doesn't work (I don't see any text inputs on device). ``` var SampleApp = React.createClass({ render: function() { return ( <View style={styles.container}> <View style={styles.textInputWrapper}> <TextInput style={styles.textInput} placeholder='Month' placeholderTextColor="#d3d3d3" /> </View> <View style={styles.textInputWrapper}> <TextInput style={styles.textInput} placeholder='Day' placeholderTextColor="#d3d3d3" /> </View> <View style={styles.textInputWrapper}> <TextInput style={styles.textInput} placeholder='Year' placeholderTextColor="#d3d3d3" /> </View> </View> ); } }); var styles = StyleSheet.create({ container: { flex: 1, flexDirection: 'row' } }); ```
How to create TextInputs in one row? (React Native)
CC BY-SA 3.0
null
2015-12-04T09:01:23.747
2015-12-04T09:21:19.383
2015-12-04T09:09:07.890
5,334,001
5,334,001
[ "javascript", "android", "ios", "react-native", "mobile-development" ]
34,088,496
1
34,091,277
null
15
39,762
I am using TouchableHighlight, but I can change only background color using underlayColor. But how to change other content?
How to change image and text color when clicking using react-native?
CC BY-SA 3.0
0
2015-12-04T12:31:41.433
2019-08-21T20:26:29.983
null
null
5,594,626
[ "javascript", "android", "ios", "react-native", "mobile-development" ]
34,115,249
1
34,116,417
null
0
208
When I open the Android SDK manager, there are so many checkboxes. Checking all of them will take up too much hard disk space. What are the minimum packages to choose for Android SDK manager to save disk space? I would like to use ionic framework to develop for Android phones. My phone is based on Android 5.1
What are the minimum packages to choose for Android SDK manager for ionic development?
CC BY-SA 3.0
null
2015-12-06T07:52:21.400
2015-12-06T10:34:43.397
2015-12-06T07:57:47.553
1,709,088
1,709,088
[ "android", "ionic-framework", "android-sdk-tools", "mobile-development" ]
34,160,997
1
null
null
3
1,364
I need to create content slider [](https://i.stack.imgur.com/uC8GD.png) I already created it using Horizontal ScrollView, but how to create logic for left and right arrows? Thank you.
How to create content slider's arrows (React-Native)?
CC BY-SA 3.0
0
2015-12-08T16:26:48.723
2017-08-08T12:34:08.333
null
null
5,334,001
[ "javascript", "android", "ios", "react-native", "mobile-development" ]
34,181,158
1
null
null
0
967
i am developing a simple program that should create a notification with some data when the mobile battery is low. the application is working fine, but I must open the app by myself at first or if the phone was switched off and on, and if the user closed the app from the currently running apps menu it will close too. How can i make it like truecaller for example so that after the user opens it after the installation it will continue working forever ?
Android: run always in background
CC BY-SA 3.0
null
2015-12-09T14:22:55.027
2015-12-09T14:27:22.450
null
null
2,214,019
[ "android", "service", "mobile-development" ]
34,434,520
1
34,435,251
null
2
1,519
How to create dropdown menu using react-native? How to show/hide content?
How to show/hide content using react-native?
CC BY-SA 3.0
null
2015-12-23T11:19:46.363
2015-12-23T12:01:07.903
2015-12-23T11:53:40.177
1,755,598
5,594,626
[ "javascript", "react-native", "mobile-development" ]
34,533,043
1
34,533,562
null
0
620
I built a basic app in React Native. I implemented the Navigator object and I can push a view to another view. A few questions: 1. How do I pass data from the 2nd view to the 1st view when the 2nd view is dismissed? 2. How do I know that the 1st view gained focus again? I added listeners in the Navigator so the Navigator knows about the "willfocus" but the navigator can't communicate with the view... Thanks for the help!
React Native - pass data between views
CC BY-SA 3.0
0
2015-12-30T16:12:59.220
2015-12-30T16:46:18.423
null
null
1,221,855
[ "android", "ios", "react-native", "mobile-development" ]
34,740,641
1
null
null
1
355
I just downloaded Xamarin studio but when I try to compile the code it gets this error: ``` C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\ Microsoft.AppXPackage.Targets(9,9): Error APPX1639: File 'Windows.props' not found. See http://go.microsoft.com/fwlink/?prd=12395&pver=1.0&plcid=0x409&ar=MSDN&sar=PlatformMultiTargeting&o1= C:\Program Files (x86)\Microsoft SDKs\Portable\v12.0&o2=Portable for more information. (APPX1639) (ToDo) ``` I already installed the sdk for Windows 10, and tried to repair the app but nothing happened.
Xamarin Studio Build Error File 'Windows.Props' not found
CC BY-SA 3.0
null
2016-01-12T10:05:56.343
2016-01-16T09:42:42.163
2016-01-16T09:42:42.163
1,115,897
5,706,839
[ "xamarin", "xamarin-studio", "mobile-development" ]
34,850,049
1
null
null
2
144
Basically what I want is the addition of few buttons such as '@outlook.com', '@gmail.com', '@yahoo.com', etc in the android keyboard how can I acheive this in Ionic or if there is any other way let me know. [](https://i.stack.imgur.com/bP3J8.png)
How can I modify the android keyboard in ionic app
CC BY-SA 3.0
0
2016-01-18T08:22:09.020
2016-01-20T10:31:55.057
2020-06-20T09:12:55.060
-1
1,731,136
[ "android", "keyboard", "ionic-framework", "mobile-development" ]
34,855,203
1
34,865,761
null
0
61
I'm using AngularJS Sdk from Strongloop to develop the mobile application with ionicframework. In between the development progress, i failed to use the mongodb function from angular. I always get the unexpected result without any error message. Hope can get some help. Thanks. ``` var feed$ = Feed.find({ filter : { $or : [{ accountId : "569a9fc898e6f58b0329eefc" }, { accountId : "569a9fa098e6f58b0329eefb" }] } }); ```
Strongloop not able use mongodb function
CC BY-SA 3.0
null
2016-01-18T12:48:03.817
2016-01-18T23:06:22.293
null
null
2,543,494
[ "angularjs", "ionic-framework", "loopbackjs", "strongloop", "mobile-development" ]
34,869,075
1
34,871,359
null
3
127
I'm a beginner in Codename One & I have to consume a web service . I have done this successfully in android native development using . So is there a way to access .Net web service in Codename One ? -------------------------------------------------------------------------------------------------------- ``` <soap:envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:soap='http://www.w3.org/2003/05/soap-envelope' xmlns:xsd='http://www.w3.org/2001/XMLSchema'> <soap:body> <getcommonalldataresponse xmlns='http://tempuri.org/'> <getcommonalldataresult> <xs:schema xmlns:msprop='urn:schemas-microsoft-com:xml-msprop' xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:msdata='urn:schemas-microsoft-com:xml-msdata' xmlns='' id='NewDataSet'> <xs:element msdata:usecurrentlocale='true' msdata:isdataset='true' name='NewDataSet'> <xs:complextype> <xs:choice maxoccurs='unbounded' minoccurs='0'> <xs:element name='Table' msprop:refcursorname='REFCursor'> <xs:complextype> <xs:sequence> <xs:element name='NAME' type='xs:string' minoccurs='0' msprop:oradbtype='126'> </xs:element> </xs:sequence> </xs:complextype> </xs:element> </xs:choice> </xs:complextype> </xs:element> </xs:schema> <diffgr:diffgram xmlns:msdata='urn:schemas-microsoft-com:xml-msdata' xmlns:diffgr='urn:schemas-microsoft-com:xml-diffgram-v1'> <newdataset xmlns=''> <table diffgr:id='Table1' msdata:roworder='0'> <name> 'Kasthuriarachchi' </name> </table> </newdataset> </diffgr:diffgram> </getcommonalldataresult> </getcommonalldataresponse> </soap:body> </soap:envelope> ``` What I wan to get is String data ('Kasthuriarachchi') inside [name] tag.
Consume .NET web service in Codename One
CC BY-SA 3.0
0
2016-01-19T05:26:47.063
2016-11-22T18:10:39.420
2016-01-21T03:48:17.020
2,881,604
2,881,604
[ "android", "ios", "windows-phone", "codenameone", "mobile-development" ]
34,911,990
1
null
null
0
26
I have problems with getting `new Date();` to work properly in a mobile app (Cordova/Phonegap). Some suggested that iPhones and Androids requires specific format other then the one used by default by Javascript, like this one: mm/dd/yyyy hh:mm:ss. Thing is, my app needs to receive from the client its current time (now) and then send it to the server. How can I make `new Date();` so it comes out with mm/dd/yyyy hh:mm:ss format? As I see Date() can't accept a format as argument.
Javascript new date format for current time with Cordova
CC BY-SA 3.0
null
2016-01-20T22:37:43.910
2016-01-21T05:27:43.287
2016-01-20T22:44:26.223
2,668,136
2,078,200
[ "javascript", "cordova", "date", "meteor", "mobile-development" ]
35,018,343
1
null
null
0
2,602
Ive got a bug that only shows up in mobile chrome browser on my iphone - iOS8. Whats odd is that the same bug doesn't show up in iOS8 safari on the same phone. I want to debug the issue in the chrome browser but can only find info on debugging safari, is there a way to debug ios Chrome ?
Debugging website on iOS chrome
CC BY-SA 3.0
null
2016-01-26T16:05:56.623
2016-07-13T22:16:23.420
null
null
1,183,150
[ "debugging", "testing", "mobile-development" ]
35,152,549
1
35,338,858
null
11
805
What is 'Evolutionary Development Methodology' means in the context of Mobile Development (Android)? Is there any similarity to 'Object Oriented Methodology' as well? Does someone have an example piece of code?
What is 'Evolutionary Development Methodology'?
CC BY-SA 3.0
0
2016-02-02T11:44:23.050
2016-10-20T20:57:34.597
2016-02-13T19:55:08.083
2,397,253
2,595,748
[ "android", "oop", "object-oriented-analysis", "mobile-development" ]
35,217,963
1
null
null
6
1,676
I am developing a compass that can point from my current location to other location of the object. Currently I am following this link: [Point to location using compass](https://stackoverflow.com/questions/5092845/point-to-location-using-compass/5374701#5374701) I feel that pointing between my current location to the object isn't correct. Can anyone help me how to develop compass that can point from my current location to other location of the object?
Point to location using compass Swift
CC BY-SA 3.0
null
2016-02-05T06:51:13.570
2019-02-20T22:01:23.193
2017-05-23T12:33:00.993
-1
4,276,767
[ "ios", "swift", "mobile", "compass", "mobile-development" ]
35,336,643
1
null
null
1
264
Htc device crashes with using MediaRecorder for recording screen of the device. When i stop recording on the home screen of device, i dont the issue. But when i stop recording on any app screen, it crashes the surfaceflinger library. Here the code to setup the recorder : ``` mMediaRecorder = new MediaRecorder(); mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.SURFACE); mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4); mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT); mMediaRecorder.setVideoEncodingBitRate(700 * 1000); mMediaRecorder.setVideoFrameRate(30); mMediaRecorder.setVideoSize(recordDisplayWidth, recordDisplayHeight); mMediaRecorder.prepare(); mMediaProjection.createVirtualDisplay(mFragment.getActivity().getLocalClassName(), recordDisplayWidth, recordDisplayHeight, mScreenDensity, DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR, mMediaRecorder.getSurface(), null, null) mMediaRecorder.start(); ``` The recording starts successfully, but when i do mMediaRecorder.stop(), surfaceflinger crashes. Here is the log for the crash : ``` 02-10 11:35:01.180 4807-9696/? D/OMX-VENC-720p﹕ close m_pipe_in(27) 02-10 11:35:01.180 4807-9696/? D/OMX-VENC-720p﹕ close m_pipe_out(28) 02-10 11:35:01.180 4807-9696/? D/OMX-VENC-720p﹕ omx_video: Waiting on Msg Thread(0xB8932770) exit 02-10 11:35:01.180 4807-9702/? D/OMX-VENC-720p﹕ omx_venc: message thread stop 02-10 11:35:01.180 4807-9696/? D/OMX-VENC-720p﹕ omx_video: Waiting on Async Thread(0xB8842140) exit 02-10 11:35:01.187 4807-5131/? E/BufferQueueProducer﹕ [GraphicBufferSource] dequeueBuffer: BufferQueue has been abandoned 02-10 11:35:01.189 4804-4804/? E/SurfaceFlinger﹕ [ui.SettingsActivity] dequeueBuffer: no buffer, bailing out --------- beginning of crash 02-10 11:35:01.190 4804-4804/? A/libc﹕ Fatal signal 11 (SIGSEGV), code 1, fault addr 0x30c6 in tid 4804 (surfaceflinger) 02-10 11:35:01.198 4807-9703/? E/OMX-VENC-720p﹕ WRNING:ioctl VEN_IOCTL_CMD_READ_NEXT_MSG failed 02-10 11:35:01.199 4807-9703/? D/OMX-VENC-720p﹕ omx_venc: Async Thread exit 02-10 11:35:01.199 4807-9696/? D/OMX-VENC-720p﹕ Calling close() on venc ion device fd = 24 02-10 11:35:01.199 4807-9696/? D/OMX-VENC-720p﹕ Successfully destroyed venc ionlock 02-10 11:35:01.199 4807-9696/? D/OMX-VENC-720p﹕ m_etb_count = 0, m_fbd_count = 0 02-10 11:35:01.199 4807-9696/? D/OMX-VENC-720p﹕ Exiting OMX Video Encoder ... 02-10 11:35:01.199 4807-9696/? D/OMX-VENC-720p﹕ Destroy C2D instance 02-10 11:35:01.200 4807-9694/? D/MediaCodec﹕ ~MediaCodec 02-10 11:35:01.200 4807-9694/? I/MediaCodecSource﹕ encoder (video) stopped 02-10 11:35:01.200 4807-4807/? D/MPEG4Writer﹕ Video track source stopped 02-10 11:35:01.200 4807-4807/? D/MPEG4Writer﹕ E android::status_t android::MPEG4Writer::Track::stop(): pthread_join Video track 02-10 11:35:01.200 4807-4807/? D/MPEG4Writer﹕ L android::status_t android::MPEG4Writer::Track::stop(): pthread_join Video track, result=0 02-10 11:35:01.200 4807-4807/? D/MPEG4Writer﹕ Video track stopped 02-10 11:35:01.200 4807-4807/? D/MPEG4Writer﹕ Stopping writer thread 02-10 11:35:01.200 4807-4807/? I/MPEG4Writer﹕ Obtain lock in stopWriterThread 02-10 11:35:01.200 4807-9705/? D/MPEG4Writer﹕ 0 chunks are written in the last batch 02-10 11:35:01.200 4807-4807/? D/MPEG4Writer﹕ Writer thread stopped 02-10 11:35:01.200 4807-4807/? D/MPEG4Writer﹕ MPEG4Writer destructor 02-10 11:35:01.200 4807-4807/? D/MPEG4Writer﹕ Video track stopping 02-10 11:35:01.201 4807-4807/? D/MediaPlayerService﹕ addBatteryData 02-10 11:35:01.201 4807-4807/? D/MediaPlayerService﹕ addBatteryData E 02-10 11:35:01.201 4807-4807/? D/MediaPlayerService﹕ addBatteryData X 02-10 11:35:01.201 5241-5241/? D/IMediaRecorder﹕ stop(299) return 02-10 11:35:01.201 5241-5241/? D/MediaRecorderJNI﹕ process_media_recorder_call 02-10 11:35:01.201 5241-5241/? D/MediaRecorderJNI﹕ native_reset 02-10 11:35:01.201 5241-5241/? D/MediaRecorderJNI﹕ getMediaRecorder E 02-10 11:35:01.201 5241-5241/? D/MediaRecorderJNI﹕ process_media_recorder_call 02-10 11:35:01.201 5241-5241/? D/MediaRecorderJNI﹕ release 02-10 11:35:01.201 5241-5241/? D/MediaRecorderJNI﹕ setMediaRecorder E: mr = null 02-10 11:35:01.201 5241-5241/? D/MediaRecorderJNI﹕ setMediaRecorder X 02-10 11:35:01.201 4807-5058/? D/IMediaRecorder﹕ BnMediaRecorder::onTransact(), code=1, 02-10 11:35:01.201 4807-5058/? D/StagefrightRecorder﹕ Destructor 02-10 11:35:01.201 4807-5058/? D/StagefrightRecorder﹕ stop 02-10 11:35:01.202 4807-5058/? V/MediaPlayerService﹕ Delete media recorder client 02-10 11:35:01.202 5241-5241/? D/IMediaRecorder﹕ release(329) return 02-10 11:35:01.203 4966-5419/? I/DisplayManagerService﹕ Display device removed: DisplayDeviceInfo{"ui.SettingsActivity": uniqueId="virtual:com.fiberlink.maas360.android.control,10137,ui.SettingsActivity,0", 720 x 1280, 60.0 fps, supportedRefreshRates [60.0], density 480, 480.0 x 480.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, state ON, owner com.fiberlink.maas360.android.control (uid 10137), FLAG_PRIVATE, FLAG_PRESENTATION} 02-10 11:35:01.292 287-287/? I/DEBUG﹕ *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 02-10 11:35:01.292 287-287/? I/DEBUG﹕ Build fingerprint: 'htc/m7_google/m7:5.1/LMY47O.H6/536258:user/release-keys' 02-10 11:35:01.292 287-287/? I/DEBUG﹕ Revision: '3' 02-10 11:35:01.292 287-287/? I/DEBUG﹕ ABI: 'arm' 02-10 11:35:01.292 287-287/? I/DEBUG﹕ pid: 4804, tid: 4804, name: surfaceflinger >>> /system/bin/surfaceflinger <<< 02-10 11:35:01.292 287-287/? I/DEBUG﹕ signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x30c6 02-10 11:35:01.296 4966-5143/? W/NativeCrashListener﹕ Couldn't find ProcessRecord for pid 4804 02-10 11:35:01.303 4807-5046/? D/AudioStreamOutALSA﹕ write:: buffer 0xb8930680, bytes 1024 02-10 11:35:01.307 287-287/? I/DEBUG﹕ r0 b6f664f5 r1 b6f70e40 r2 b6f664f5 r3 00000068 02-10 11:35:01.307 287-287/? E/DEBUG﹕ AM write failure (32 / Broken pipe) 02-10 11:35:01.307 287-287/? I/DEBUG﹕ Write to AM fail, close AM fd 02-10 11:35:01.307 287-287/? I/DEBUG﹕ r4 b871f8b0 r5 b871df18 r6 becbd808 r7 0000308a 02-10 11:35:01.307 287-287/? I/DEBUG﹕ r8 becbd810 r9 becbd84c sl b85e36b8 fp 00000000 02-10 11:35:01.307 287-287/? I/DEBUG﹕ ip b6582f34 sp becbd7b8 lr b6f32f65 pc b657b60a cpsr 60070030 02-10 11:35:01.308 287-287/? I/DEBUG﹕ backtrace: 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #00 pc 0000360a /system/vendor/lib/egl/eglsubAndroid.so 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #01 pc 0000b474 /system/vendor/lib/egl/libEGL_adreno.so (egliSyncBackBuffer+252) 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #02 pc 0007ef8b /system/vendor/lib/egl/libGLESv2_adreno.so (rb_surface_sync_for_resolve+34) 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #03 pc 0007eff5 /system/vendor/lib/egl/libGLESv2_adreno.so (rb_perform_rendering_target_sync+40) 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #04 pc 0007f26b /system/vendor/lib/egl/libGLESv2_adreno.so (rb_setup_resolve+22) 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #05 pc 0007f459 /system/vendor/lib/egl/libGLESv2_adreno.so (rb_perform_resolve+192) 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #06 pc 0007f73b /system/vendor/lib/egl/libGLESv2_adreno.so (rb_resolve+398) 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #07 pc 00084729 /system/vendor/lib/egl/libGLESv2_adreno.so (rb_surface_swap+216) 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #08 pc 00065747 /system/vendor/lib/egl/libGLESv2_adreno.so (gl2_surface_swap+74) 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #09 pc 000572bd /system/vendor/lib/egl/libGLESv2_adreno.so (oglSwapBuffer+176) 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #10 pc 00013840 /system/vendor/lib/egl/libEGL_adreno.so (qeglDrvAPI_eglSwapBuffers+408) 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #11 pc 0000791c /system/vendor/lib/egl/libEGL_adreno.so (eglSwapBuffers+16) 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #12 pc 000129f5 /system/lib/libEGL.so (eglSwapBuffers+320) 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #13 pc 0000ece5 /system/lib/libsurfaceflinger.so 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #14 pc 0001ae71 /system/lib/libsurfaceflinger.so 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #15 pc 0001a031 /system/lib/libsurfaceflinger.so 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #16 pc 0001932f /system/lib/libsurfaceflinger.so 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #17 pc 0001909d /system/lib/libsurfaceflinger.so 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #18 pc 00012d2f /system/lib/libutils.so (android::Looper::pollInner(int)+522) 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #19 pc 00012e39 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+92) 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #20 pc 00016479 /system/lib/libsurfaceflinger.so 02-10 11:35:01.308 287-287/? I/DEBUG﹕ #21 pc 00018c21 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::run()+8) 02-10 11:35:01.309 287-287/? I/DEBUG﹕ #22 pc 00000b4d /system/bin/surfaceflinger 02-10 11:35:01.309 287-287/? I/DEBUG﹕ #23 pc 000125ed /system/lib/libc.so (__libc_init+44) 02-10 11:35:01.309 287-287/? I/DEBUG﹕ #24 pc 00000c08 /system/bin/surfaceflinger 02-10 11:35:01.380 4966-5124/? D/WifiController﹕ battery changed pluggedType: 2 02-10 11:35:01.570 4807-5046/? D/AudioStreamOutALSA﹕ write:: buffer 0xb8930680, bytes 1024 02-10 11:35:01.661 4966-5123/? E/WifiStateMachine﹕ handleMessage: E msg.what=131143 02-10 11:35:01.661 4966-5123/? E/WifiStateMachine﹕ processMsg: ConnectedState 02-10 11:35:01.661 4966-5123/? E/WifiStateMachine﹕ processMsg: L2ConnectedState 02-10 11:35:01.662 4966-5123/? E/WifiStateMachine﹕ WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=5.25 rxSuccessRate=4.65 targetRoamBSSID=00:00:00:00:00:00 RSSI=-64 02-10 11:35:01.662 4966-5123/? E/WifiStateMachine﹕ startDelayedScan send -> 23 milli 20000 02-10 11:35:01.662 4966-5123/? E/WifiStateMachine﹕ WifiStateMachine CMD_START_SCAN with age=40009 interval=30000 maxinterval=300000 02-10 11:35:01.662 4966-5123/? E/WifiStateMachine﹕ WifiStateMachine CMD_START_SCAN try full band scan age=40009 interval=30000 maxinterval=300000 ``` Can some please help. This does not happen on devices other than HTC.
HTC devices crash with MediaRecorder
CC BY-SA 3.0
null
2016-02-11T10:24:49.233
2017-08-21T18:56:46.700
2017-08-21T18:56:46.700
4,032,703
4,733,389
[ "android", "crash", "mediarecorder", "mobile-development", "htc-android" ]
35,391,616
1
null
null
3
1,060
So, we started using gitflow workflow with our server side as well as mobile development. It works out really well with server side code, since there is test coverage and with build automation, feature branches get merged into development branch as soon as they are tested ok. Unlike mobile development, since the changes are live as soon as you wish to (no time to deploy apart from build and testing), you can quickly test if there are any bugs in code you pushed and quickly make changes. So this workflow works out really great for server side development. However we are facing issues with mobile development with this workflow. With gitflow workflow, we have three persistent branches, namely development, staging and master. Code on master branch goes to our play store app, we have another closed beta google play store app for staging which is available only to our team members and we use crashlytics beta to distribute latest development branch code only to developers from our team. Whenever someone starts working on new feature, that person creates feature branch forked from master (previously we used to fork it from development) and once the feature is ready, creates a pull request into development. Everyday, we review pull requests and ones that are ok are merged into development. Now there are two major issues that we are facing with this workflow. One is that suppose we merged some feature into development and later figured out that there are lot of bugs in it. Now it can’t be pushed further, whole development cycle is stuck because that code is already merged with development. This is the reason we started forking feature branches from master rather than development as at least individual feature branches will have fully working code. One way is that each feature can be separately distributed to team members to test and only then will be merged to development but it's very cumbersome. So can this problem be solved with a different workflow? Another problem is with conflicts in code. Since base code with every feature branch is from master branch and it has to be merged with development, there are lot of conflicts nowadays. Earlier when we used to fork from development, we used to regularly merge development branch with feature branches people are working on so there were no conflicts but can’t do that anymore. So now to fix conflicts, we create another temporary branch from feature branch with which we merge dev code, fix conflicts and put that as pull request which is again little cumbersome. This all looks like problem of gitflow workflow not suiting well for mobile development. Is there a better workflow for mobile development that people have adopted or even some practices that can be followed to solve these problems?
Git workflow for mobile development
CC BY-SA 3.0
null
2016-02-14T12:16:45.550
2016-10-20T18:24:30.633
null
null
2,839,624
[ "git", "workflow", "git-flow", "mobile-development" ]
35,746,670
1
35,746,924
null
1
362
I would like to ask for a guide on how can I develop cross platform applications using Xamarin in Centos 6. I spent the whole day following this: [Install Mono and Monodevelop on CentOS 5.x/6.x](https://stackoverflow.com/questions/16900575/install-mono-and-monodevelop-on-centos-5-x-6-x) So I can install Mono and Monodevelop. But now, I am blocked because I can't understand how I am going to use this tools so I can create Android and iOS applications. Can I do Xamarin development in Centos 6? If yes, I would also like to ask for good resources because it seems that there are very few tutorials for Xamarin especially in Centos.
Xamarin development on Centos 6
CC BY-SA 3.0
null
2016-03-02T12:02:39.567
2016-03-02T12:13:27.610
2017-05-23T11:59:31.440
-1
5,845,213
[ "c#", "xamarin", "mono", "cross-platform", "mobile-development" ]
35,790,560
1
35,792,949
null
0
107
I used command: 'react-native run-ios' and I have a message "Build Succeeded", but when I can find app to install on my iphone?
Build app for ios (react-native)
CC BY-SA 3.0
null
2016-03-04T07:40:22.570
2018-09-06T11:52:11.827
null
null
5,334,001
[ "javascript", "ios", "iphone", "react-native", "mobile-development" ]
35,840,757
1
null
null
0
84
For web apps / interfaces, we use HTML5. What is the equivalent of this in the mobile environment? I'm looking at Sketch as a WYSIWYG solution to designing mobile interfaces but what is the underlying mark-up / technology behind it?
What is the mark-up language used for designing interfaces / applications in mobile?
CC BY-SA 3.0
null
2016-03-07T10:02:00.447
2016-03-07T15:45:01.400
null
null
511,659
[ "ios", "mobile", "mobile-development" ]
36,032,520
1
null
null
0
390
I am using listView with TextInputs, on ios when TextInput focused it's behind keyboard. How to fix it? Sample code: [http://rnplay.org/apps/8baZSA](http://rnplay.org/apps/8baZSA)
on ios when TextInput focused it's behind keyboard (react-native)
CC BY-SA 3.0
null
2016-03-16T10:10:11.807
2016-03-17T13:38:02.760
2016-03-17T13:38:02.760
5,334,001
5,334,001
[ "ios", "react-native", "mobile-development" ]
36,035,434
1
36,056,344
null
0
104
I'm trying to set TextInput 'ref' from value. Example: ``` var testtest = 'testvalue' <TextInput ref=testtest autoCapitalize="none" autoCorrect={false} autoFocus={false} placeholderTextColor="#b8b8b8" color="#b8b8b8" multiline={true} onFocus={(() => this.onFieldFocus(testtest))} style={styles.textInput} /> ``` But it doesn't work.
How to set 'ref' from value?
CC BY-SA 3.0
0
2016-03-16T12:16:04.363
2016-03-17T09:25:49.903
null
null
5,930,192
[ "javascript", "reactjs", "react-native", "mobile-development" ]
36,069,559
1
36,069,717
null
1
4,429
First off, I know very little about android development, I am just getting started. What is the Minimum SDK choice that you get when creating a project in android studio? Is there a downside to using an older one? And if I follow a tutorial is it essential that I use the same one so I can follow along? Thanks.
What is the Minimum SDK and which one should I choose
CC BY-SA 3.0
null
2016-03-17T19:06:49.977
2016-03-17T19:15:21.460
null
null
5,931,189
[ "android", "android-studio", "mobile-development" ]
36,131,574
1
null
null
0
102
I am using ListView to render my data on page. How to scroll ListView row to top of the screen (visible) when it clicked? Thank you.
How to scroll ListView row to top of the screen?
CC BY-SA 3.0
null
2016-03-21T12:52:44.133
2016-03-21T12:52:44.133
null
null
5,334,001
[ "javascript", "reactjs", "react-native", "mobile-development" ]
36,289,258
1
null
null
2
444
I recently learned how to build a mobile application using Ionic and needed a backend so I decided to use the Backand framework. I am developing in Visual Studio and everything works great when run from the emulator, and all service calls work perfectly, however when I attempt to perform the same service (POST) operations from an Android Device I get the following error. Refused to connect to 'https: //api.backand.com/1/objects/player/'; because it violates the following Content Security Policy directive: "default-src 'self' data: gap: [https://ssl.gstatic.com](https://ssl.gstatic.com) 'unsafe-eval I found a similar issue in which the solution was that I may need to reference the servers address in index.html 's meta tag `<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https: //ssl.gstatic.com 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; connect-src https://api.backand.com:*">` This however crashes the application and now I have hit a dead end as to where I should go from here. I would be happy to provide any more information that may be necessary, any help would be greatly appreciated! Thanks
Ionic Backand App refused connection to server on Android Device, not on emulator
CC BY-SA 3.0
null
2016-03-29T15:56:17.090
2016-04-01T17:44:19.247
2016-03-29T16:18:59.667
6,126,525
6,126,525
[ "visual-studio", "ionic-framework", "mobile-development", "backand", "mobiledevice.framework" ]
36,362,096
1
36,388,516
null
2
2,074
I'm developing a mobile app with Cordova (in Intel XDK) which is a list of buttons that launches other apps. So far I've managed to launch phone app (`href="tel://"`), sms (`href="sms://`) and google website in browser (`href="http://google.com"`). I've found a plugin for starting apps: [https://github.com/lampaa/com.lampa.startapp](https://github.com/lampaa/com.lampa.startapp) but basing on guide provided there I can launch an app with code like this (example) : ``` navigator.startApp.start([["app.com.name", "app.com.name.Activity"], [{"product_id":"100"}]], ...); ``` But how can I find those full app names (these `app.com.name` strings) ? I need names for these apps (or way how to open them): - - - - - - Just to remind: I don't want to sync any data between these apps and mine - I just want simply to launch it via my app. If You have other solutions - I'm open for any suggestions.
Launch native apps from custom cordova app
CC BY-SA 3.0
0
2016-04-01T17:11:44.560
2016-04-03T17:13:21.180
null
null
1,004,946
[ "android", "cordova", "mobile-development" ]
36,504,540
1
null
null
0
80
With the free Xamarian with Visual Studio does a Windows Developer using a Windows Machine have to buy Iphones, Ipads & Andoid devices to convert c# Windows into IOS or Android? When trying to create C# from withing Visual Studio / Xamarian it is asking me to pair a mac that I do not have. Is it mandatory to use physical devices rather than emulators? Thank You for this opportunity!
Do I need iOS or Android device(s) to write applications using Visual Studio with Xamarin
CC BY-SA 3.0
null
2016-04-08T16:19:44.667
2016-04-08T16:29:37.300
2016-04-08T16:29:37.300
15,541
6,178,125
[ "c#", "xamarin", "mobile-development" ]
36,654,368
1
null
null
1
84
Please see the Q&A: [cordova.js is missing on a new project](https://stackoverflow.com/questions/19247356/cordova-js-is-missing-on-a-new-project) My question is: If I create a dummy cordova.js to make my IDE happy, -will it simply be overwritten or will it cause errors for the various platform compilers?
Cordova: cordova.js is missing on a new project. My IDE is mad
CC BY-SA 3.0
null
2016-04-15T18:25:32.677
2016-04-15T18:25:32.677
2017-05-23T12:25:27.217
-1
5,574,722
[ "javascript", "cordova", "mobile-development" ]
36,709,757
1
null
null
0
217
I am new to Swift and is currently developing an Multipeer Connectivity app for a course project. The app also has an online log-in feature that stores each user information in Firebase(the backend support). Once the app gets wifi connection, I want to have a 'friends list' feature in my app and add other app users to this list from the nearby devices found. So far, the only way I could think of is to associate the peerID with an existing app user from Firebase. However, according to the documentation, peerID seems to be associated with the device itself so if two different users used the same device to sign in, this approach can't really work. Is there a better way to achieve my goal?
Using Multipeer Connectivity Framework and saving the nearby devices founded
CC BY-SA 3.0
0
2016-04-19T05:59:33.877
2016-04-19T11:14:06.547
null
null
4,573,758
[ "ios", "swift", "network-programming", "multipeer-connectivity", "mobile-development" ]
36,727,049
1
null
null
0
269
I already developed android studio app. However, when I pressed home button while playing app from my phone.(not android emulator) Then start my app again, it shows splash activity first then shows one error. like unfortunately, my app is stopped. What I want to do is, when I pressed home button and start my app again, then it should start from activity where I pressed home button. don't show splash thing again.
android studio app, press home button while application is working
CC BY-SA 3.0
null
2016-04-19T18:52:06.640
2016-04-19T19:35:35.903
null
null
5,719,668
[ "android", "android-studio", "mobile-development" ]
36,769,607
1
36,771,313
null
0
230
I've googled and not able to find a good answer. I do not have a Mac at the moment and have to develop an app using C++. Do I need any stuff additional to Visual Studio? I mean I'm planning to use Xamarin and do I need an Xcode or at least Mac without Xcode? Please check the link below: [https://msdn.microsoft.com/en-us/library/dn771552.aspx](https://msdn.microsoft.com/en-us/library/dn771552.aspx)
Does one need an XCode to develop iOS apps using C++ on Visual Studio?
CC BY-SA 3.0
0
2016-04-21T12:26:03.287
2016-08-01T14:51:16.140
2016-08-01T14:51:16.140
2,152,616
2,152,616
[ "c++", "ios", "xcode", "visual-studio", "mobile-development" ]
36,859,179
1
null
null
0
501
As someone who comes from Angular I'm having a hard time grasping how to setup the concept of factories/services (data layer) in React Native(RN). How do I make a service/factory which can be reused in different views(components?) in RN?
React Native reusable data layer
CC BY-SA 3.0
null
2016-04-26T08:19:21.603
2016-04-26T08:26:04.217
2016-04-26T08:26:04.217
962,804
962,804
[ "react-native", "mobile-development" ]
36,974,299
1
null
null
-1
233
I'm wondering how can I retain the displaying after first change to another view and then change back to current view? Specifically,as below. My problem is when I click `Histoty` button I switch to another page, which has the exactly same three button. and when I switch back to `current` page the table data is lost. And what I want is show the table data without any data reload. Please help me out. Thanks. [](https://i.stack.imgur.com/frtZL.png)
Swift: How can I retain data and displaying after changing to other view and change back to current view?
CC BY-SA 3.0
null
2016-05-02T02:42:56.440
2016-05-02T04:41:32.420
null
null
5,924,113
[ "ios", "swift", "mobile-development" ]
37,307,347
1
null
null
2
4,787
I want to test my website on MobileIron's Web@Work browser on Android but cannot see it in the Android Market Place. This previous question gave an answer for iOS (Web@Work is downloadable from the App Store): [How to test with Web@Work from MobileIron in a development environment?](https://stackoverflow.com/questions/29928665/how-to-test-with-webwork-from-mobileiron-in-a-development-environment) How do you install Web@Work browser on Android? And can it be used to browse to URLs directly without any special sign-in or registration, as it does on iOS. Thanks.
How to install and test Web@Work from MobileIron on Android?
CC BY-SA 3.0
0
2016-05-18T18:20:36.190
2016-05-24T07:45:14.817
2017-05-23T11:46:13.853
-1
6,352,591
[ "android", "mdm", "mobile-development", "mobileiron" ]
37,355,824
1
37,380,764
null
2
1,894
I have tried to set up Firebase to work on Xcode using both the quick setup instructions and the manual alternate instructions on Firebase website. When I used CocoaPods and followed the instructions on the quick setup page, I was able to import Firebase, but I was not able to reference Firebase inside the class. I got the error: Cannot call value of non-function type 'module' xcode When I tried to set it up manually, I was not able to import or reference Fire base and I got the error: No such module 'Firebase'
Error setting up Firebase in Xcode
CC BY-SA 3.0
0
2016-05-20T21:04:54.840
2016-07-10T12:49:44.697
null
null
6,362,969
[ "ios", "xcode", "firebase", "mobile-development" ]
37,393,453
1
37,393,771
null
2
11,822
I have list of items. I am using [ListView](https://facebook.github.io/react-native/docs/listview.html) for it and I need to be able to delete any row by swiping left or right. Where can I start from here?
How to make swipe function on listview (react-native)?
CC BY-SA 3.0
0
2016-05-23T14:15:53.847
2017-09-04T17:53:35.153
2017-02-04T02:48:46.787
6,716,408
6,346,799
[ "javascript", "listview", "react-native", "mobile-development" ]
37,616,352
1
null
null
0
93
I'm investigating ways to securely share small amounts of data between apps, ideally I would limit this to apps signed by the same developer. We wouldn't have the concept of a central hub app so using intents or content providers doesn't seem to work since there would be no logical place for the data to sit. Ideally we need a mechanism like the keychain on iOS. I know that a shared user ID is a potential option but this seems dangerous since it involves apps sharing a process. Does anyone have any ideas on a good approach to have some simple shared storage between apps that is secure and doesn't involve one app owning the data? I was coming to the conclusion that the way to do this was to put encrypted data into shared preferences. However I've just seen that the World Readable and World Writable modes have been deprecated so I'm questioning whether this would be a good long term solution, does that deprecation mean sharing files between apps like this is now not a viable option?
Android Simple Data Sharing
CC BY-SA 3.0
null
2016-06-03T13:58:00.203
2016-06-08T12:35:52.627
2016-06-08T12:35:52.627
3,617,723
3,617,723
[ "android", "mobile-development" ]
37,720,408
1
null
null
1
1,802
I developed a CustomKeyboard, to be used in any application for Android, that the pressure of a key opens a running Activity recognition. At the end of the recognition the Activity closes and I need to write the recognized text in EditText that opened the keyboard (any EditText such as Sms App), but I can not because it is probably no longer active. How can I get a reference to the active EditText that opened my keyboard, and then use it later to write the recognized text? EDIT: sorry... the code is below ``` public class SoftKeyboard extends InputMethodService implements KeyboardView.OnKeyboardActionListener{ private KeyboardView _kv; private Keyboard _keyboard; private InputMethodManager _inputMethodManager; @Override public View onCreateInputView() { _kv = (KeyboardView)getLayoutInflater().inflate(R.layout.keyboard, null); _kv.setKeyboard(_keyboard); _kv.setOnKeyboardActionListener(this); registerReceiver(receiver, new IntentFilter(Const.NOTIFICATION)); return _kv; } @Override public void onKey(int primaryCode, int[] keyCodes) { InputConnection ic = getCurrentInputConnection(); switch(primaryCode){ case 1010: // starts View for Barcode scanning _lastEditorInfo = getCurrentInputEditorInfo(); _lastBarcode = null; BarcodeActivity mainactivity = new BarcodeActivity(); Intent dialogIntent = new Intent(SoftKeyboard.this, BarcodeActivity.class); dialogIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(dialogIntent); Log.i("Key","Open BarCode Activity"); //ic.commitText(String.valueOf(_lastBarcode),1); new WaitForBarcode(ic, _inputMethodManager).execute(""); break; ... } } private class WaitForBarcode extends AsyncTask<String, Void, String> { private InputConnection _icn; private InputMethodManager _inputMethodManager; public WaitForBarcode(InputConnection icn, InputMethodManager inputMethodManager) { _icn = icn; _inputMethodManager = inputMethodManager; } @Override protected void onPostExecute(String result) { // might want to change "executed" for the returned string passed // into onPostExecute() but that is upto you _inputMethodManager.showSoftInputFromInputMethod(getToken(), InputMethodManager.SHOW_IMPLICIT); _inputMethodManager.restartInput(_kv); _kv.setActivated(true); Log.i("Barcode-last", _lastBarcode); _icn = getCurrentInputConnection(); _icn.commitText(String.valueOf(_lastBarcode),1); } }; ``` in onKey() I start the BarcodeActivity, this one work's perfectly. At the onPostExecute I have right barcode in the _lastBarcode field, but when I try to post on EditText is not there ;( Putting a delay of 1sec on doInBackground (just to give to the System time to close previous Activity) and forcing to re-open keyboard, the commitText works. Code is: ``` private class WaitForBarcode extends AsyncTask<String, Void, String> { private InputConnection _icn; private InputMethodManager _inputMethodManager; public WaitForBarcode(InputConnection icn, InputMethodManager inputMethodManager) { _icn = icn; _inputMethodManager = inputMethodManager; } @Override protected String doInBackground(String... params) { while (_lastBarcode == null) { try { Thread.sleep(1000); } catch (InterruptedException e) { Thread.interrupted(); } } return _lastBarcode; } @Override protected void onPostExecute(String result) { // might want to change "executed" for the returned string passed // into onPostExecute() but that is upto you _inputMethodManager.showSoftInputFromInputMethod(getToken(), InputMethodManager.SHOW_IMPLICIT); _inputMethodManager.restartInput(_kv); getInputView().setActivated(true); Log.i("Barcode-last", _lastBarcode); final InputConnection ic = getCurrentInputConnection(); if (ic != null && _lastBarcode != null) { ic.beginBatchEdit(); ic.commitText(_lastBarcode, 0); ic.endBatchEdit(); } } ```
Get current EditText reference in InputMethodService
CC BY-SA 3.0
null
2016-06-09T08:16:47.737
2016-06-20T08:49:54.573
2016-06-20T08:49:54.573
5,514,961
5,514,961
[ "android", "mobile-development" ]
37,769,326
1
37,769,680
null
-3
232
I am creating an app using Meteor Framework. I have a contact us section and there is Address, Phone and a Email address. I built/compiled the app into both Android and iPhone. But when click on Address or Phone or Email it does not take me to the default maps or call the number or open mail software. However it does in Android Device. When I finger tap on address it opens google map app or if I tap on phone then it calls the number respectively... How do I link to the native iOS functions?
How to use correct iOS link schema for launching external apps form Meteor app?
CC BY-SA 3.0
0
2016-06-11T23:18:13.130
2016-06-12T17:31:58.523
2016-06-12T17:31:58.523
4,585,568
4,585,568
[ "ios", "cordova", "meteor", "mobile-development" ]
38,085,882
1
38,086,290
null
1
126
I need to implement the following: I have a page on which user enters an email. Every time text changes, I have to check whether the user exists in a DB and based on that information, I should set the text of the button to either "Sign up" or "Sign in". The problem is, that this DB request may take a couple of seconds (the reason is irrelevant) and the API is async, so event handler will be decorated with `async`, and since mail entry may change several times, this handler will be called several times before any one will end. So I'll have concurrent API requests and then, potentially, concurrent attempts to change the button text and that may not end well. I thought of something like this: ``` private async void OnTextChanged(object sender, TextChangedEventArgs e) { mailEntry.TextChanged -= OnTextChanged; ... submitButton.Text = (await api.AccountExistAsync(mailEntry.Text)).IsRegistered ? "Sign in" : "Sign up"; ... mailEntry.TextChanged += OnTextChanged; } ``` But a problem with this design, is that, say, a valid email was entered between `-= OnTextChanged` and `+= OnTextChanged`, in which case it'll never be checked. My question is, what is the right way to implement what I'm trying to achieve? Thanks in advance.
How to implement and async email verification logic?
CC BY-SA 3.0
null
2016-06-28T20:39:51.147
2016-06-28T22:03:31.483
2016-06-28T20:48:32.890
700,998
700,998
[ "c#", ".net", "xamarin", "xamarin.forms", "mobile-development" ]
38,457,244
1
null
null
0
582
There is a website of the company, when you open it for the first time the login page opens automatically. I'm going to build the mobile version of it. So I want when the app is opened, that login page will be launched. How do I get started? Do i need to use auto-launch? or Do i need to set the page manually like using openURL etc? Is there typescript alternative for this: ``` // my-page.js var OpenUrl = require("nativescript-openurl"); OpenUrl("http://www.master-technology.com"); ``` Or should I use WebView? If so, how to make it launch automatically? Thanks.
launch a web page automatically NativeScript
CC BY-SA 3.0
null
2016-07-19T11:28:00.063
2016-07-19T12:13:55.333
null
null
5,760,523
[ "html", "typescript", "angular", "nativescript", "mobile-development" ]
38,647,535
1
null
null
-1
915
Since android 6.0, the sdcard path is no longer "/storage/sdcard1/", "/storage/sdcard-ext/" or something. The path depends on the phone instead. If I use Nexus 5x AVD, the path is "/storage/1D15-3A1B/". When I use Nexus 6p AVD, the path is "/storage/4679-1802/". So how can I dynamically write the sdcard path in program to locate the file in external sdcard? Thank you!
Can not locate the sdcard file(not hard code) in android 6.0
CC BY-SA 3.0
null
2016-07-28T22:08:19.833
2017-02-19T03:14:24.807
null
null
6,530,106
[ "android", "android-6.0-marshmallow", "android-sdcard", "mobile-development" ]
38,780,799
1
null
null
0
26
I got a good app source code which I want to extend its functionality and make a new app in the store, Can I do that and get it approved? If I can do so what is the steps I should follow, I cloned the source code, Should I make an new Xcode project and copy the files to it? or I can change the Bundle Id or I don't have to?
Creating a new iOS application from an existing iOS application
CC BY-SA 3.0
null
2016-08-05T03:50:15.297
2016-08-05T03:50:15.297
null
null
2,799,873
[ "ios", "xcode", "app-store", "appstore-approval", "mobile-development" ]
38,867,512
1
38,867,552
null
-4
75
I use Ubuntu 16.0 and Android studio 2.1.2 I created some of a virtual device in AVD manager , and also I'm run Genymotion as a virtual device , but when I'm open ADB manager I can't see any device at list !! [](https://i.stack.imgur.com/pZZpy.png)
my ADB manager dosen't show any Device in the List
CC BY-SA 3.0
0
2016-08-10T08:02:53.837
2016-08-10T08:14:06.830
2016-08-10T08:08:19.903
1,945,960
5,952,836
[ "android", "android-studio", "genymotion", "mobile-development" ]
39,049,696
1
39,049,942
null
0
31
Is it possible for an Android application to figure out what words phone's owner types most frequently on the phone? I assume this might not be the case due to privacy concerns, but decided to ask just in case. The idea was for an app to "adapt" to user based on the analyzation of most used keywords. Thank you in advance for any input.
Access to user's input dictionary
CC BY-SA 3.0
null
2016-08-20T01:45:09.223
2016-08-20T10:40:58.053
2016-08-20T10:40:58.053
168,273
4,683,548
[ "android", "mobile-development" ]
39,262,926
1
39,264,128
null
1
339
In my UWP app when i click on mobile back button app get close, so add this code in app.xaml.cs ``` private async void HardwareButtons_BackPressed(object sender, BackPressedEventArgs e) { e.Handled = true; Frame rootFrame = Window.Current.Content as Frame; if (rootFrame.CanGoBack && rootFrame != null) { rootFrame.GoBack(); } else { var msg = new MessageDialog("Confirm Close! \nOr Press Refresh Button to Go Back"); var okBtn = new UICommand("OK"); var cancelBtn = new UICommand("Cancel"); msg.Commands.Add(okBtn); msg.Commands.Add(cancelBtn); IUICommand result = await msg.ShowAsync(); if (result != null && result.Label == "OK") { Application.Current.Exit(); } } } ``` and ``` public App() { this.InitializeComponent(); this.Suspending += OnSuspending; /* Because of this line my app work on mobile great but when when i debug on pc it through exception "show in image" */ HardwareButtons.BackPressed += HardwareButtons_BackPressed; } ``` After Done all this code when i debug app on phone, app successfully run - Mobile Debuging: [](https://i.stack.imgur.com/vgGBF.png) But when debug in pc with same code, it show this error- PC Debuging: [](https://i.stack.imgur.com/OfQaL.jpg) when i remove `HardwareButtons.BackPressed += HardwareButtons_BackPressed;` then issue with pc debugging resolved but in mobile debuging back button again is not work.
(UWP) Hardware Back Press work correctly in mobile but error with PC
CC BY-SA 3.0
0
2016-09-01T04:55:14.300
2016-09-01T06:28:55.630
2016-09-01T06:09:14.000
5,536,063
6,716,559
[ "c#", "win-universal-app", "uwp", "windows-10-mobile", "mobile-development" ]
39,516,114
1
null
null
1
124
Is there an easy way to get the javascript functionality out of React Native without the view portion? I looked through the source and found what seems to be the relevant pieces (namely the [cxxreact](https://github.com/facebook/react-native/tree/3940f06211faf4fc34270d5cf2c5d57d43ed762e/ReactCommon/cxxreact) package), but am having a hard time following how it fits together. I am trying to run javascript in a native app without a webview. I've found J2V8 and AndroidJSCore, but they seem like they're going to require a lot of work to make generic enough to run arbitrary javascript. I believe React Native already solved this (especially surrounding api calls) and would like to reuse that portion. Is there anyone who has done something similar or can point me to something more full-featured than just J2V8 or AndroidJSCore?
Separate out React Native Javascript Runtime to run javascript in native app
CC BY-SA 3.0
null
2016-09-15T16:32:06.630
2016-09-15T16:32:06.630
null
null
4,390,051
[ "javascript", "react-native", "v8", "javascriptcore", "mobile-development" ]
39,836,656
1
39,961,119
null
0
1,196
I have problem with seekbar. I want to make it disable, but when I use .setEnabled(false) function my seekbar disappear. How to avoid this? My layout: ``` <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/colorBackground"> <SeekBar android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/seekBar" /> </LinearLayout> ``` My code: ``` SeekBar seekBar=(SeekBar) findViewById(R.id.seekBar); seekBar.setEnabled(false); ```
seekbar.setEnabled(false) make seekbar invisible
CC BY-SA 3.0
null
2016-10-03T16:55:35.550
2016-10-10T15:08:17.363
2016-10-03T17:36:43.910
4,313,791
4,313,791
[ "java", "android", "seekbar", "mobile-development" ]
39,895,898
1
null
null
-2
129
We have a Struts2, JSP, Bootstrap and jQuery based responsive UI. The current demand is for an App. Is there any quick way to convert the Web Application itself into an App? I know this is a bit generic.
Converting Bootstrap Struts based application to an app
CC BY-SA 4.0
null
2016-10-06T12:22:54.400
2018-09-17T08:32:24.583
2018-09-17T08:32:24.583
472,495
1,811,966
[ "cordova", "struts2", "hybrid-mobile-app", "mobile-development", "nativeapplication" ]
39,896,362
1
39,896,680
null
0
62
I am new to android . I need to know how to create a single acvtivity open when a list item is clicked but i need different datas depends on list item like imageview and textview should load different image and string. Is there is any way or i should create all activity example 10 activity for 10 item in the list or we can do by creating single activity and getting data depends on item click
how to create an activity based on item click and how to adapt data from which list item is clicked
CC BY-SA 3.0
null
2016-10-06T12:44:20.037
2016-10-06T12:58:49.607
null
null
6,849,967
[ "android", "android-activity", "mobile-development" ]
40,111,252
1
40,117,229
null
19
10,940
For UWP I need a different size for the width of a column in a `Grid`. Additionally, the value should be different on tablet and on smartphone. The following code crashes the app ``` <ColumnDefinition> <ColumnDefinition.Width> <OnIdiom.Phone> <OnPlatform x:TypeArguments="GridLength" iOS="*" Android="*" WinPhone="100" /> </OnIdiom.Phone> <OnIdiom.Tablet> <OnPlatform x:TypeArguments="GridLength" iOS="*" Android="*" WinPhone="200" /> </OnIdiom.Tablet> </ColumnDefinition.Width> </ColumnDefinition> ``` with > Type OnIdiom.Phone not found in xmlns [http://xamarin.com/schemas/2014/forms](http://xamarin.com/schemas/2014/forms) The code is in a `ViewCell`. So I can't use an additional `ResourceDictionary` and also `OnSizeAllocated()` is not available in the code behind file. Is it possible to use `OnIdiom` and `OnPlatform` together?
Is it possible to mix OnIdiom and OnPlatform in XAML (Xamarin.Forms)?
CC BY-SA 3.0
0
2016-10-18T14:41:27.953
2020-04-20T12:44:19.530
2016-10-18T15:01:21.077
426,227
426,227
[ "xaml", "xamarin", "xamarin.forms", "mobile-devices", "mobile-development" ]
40,127,295
1
null
null
0
104
In my game i have timer variables for every thing that happen in my game for example timer for counting seconds till i create an enemy and deploy it and timer for any enemy to shoot .. my point here is that i am using a lot of variables of type long. ``` long timeToEnemyShoot = System.nanoTime(); while (true){ update(); } public void update(){ if( System.nanoTime() - timeToEnemyShoot) / 1000000 >= 1000 ){ enemy.shoot(); } ``` and just imagine that there's more than 15 variable like that ! and i think this is not a good way to manage time. So is there any other efficient way ?
I am using a lot of variables to count time in my game ,is it ok?
CC BY-SA 3.0
null
2016-10-19T09:24:31.990
2016-10-20T14:58:10.640
2016-10-20T14:58:10.640
7,040,922
7,040,922
[ "java", "android", "game-physics", "mobile-development" ]
40,393,855
1
null
null
0
54
Visit [https://developers.google.com/maps/](https://developers.google.com/maps/) no library for react native !
How to add separately google map at react native iOS project ? (without Objective-C/Swift component support)
CC BY-SA 3.0
null
2016-11-03T04:25:15.827
2016-11-03T04:25:15.827
null
null
4,196,947
[ "ios", "google-maps", "react-native", "mobile-development" ]
40,407,995
1
null
null
0
354
I'm build a apache cordova mobile app that consumes a specific google api. What i'm planning to do is consume google apis directly from the app. Is there any benefit to create a proxy service that consumes google apis and have my app consuming the proxy api ? I ask because it seems a common practice, but i don't see any benefit. Is it a best practice or a bad practice ?
Is there any benefit in creating a proxy for api consumption on 3rd party apis
CC BY-SA 3.0
null
2016-11-03T17:40:21.250
2016-11-04T02:02:32.190
2016-11-03T18:07:05.887
389,869
389,869
[ "api", "proxy", "google-api-client", "mobile-development" ]
40,457,445
1
40,457,597
null
-5
45
I just got myself into iOS mobile development. I am creating an iOS app that allows athletes to access in-depth training videos for most sports and network with each other. I've already created the login and register UI for the product. What functionalities do you think I need to consider in order for me to create the video based and the social networking part of the app. What backend do you think is best for this project and how long do you think it would take to get it up and running? Thanks in advance.
I need advice on creating an app for uploading training videos
CC BY-SA 3.0
null
2016-11-07T03:36:22.790
2016-11-07T03:55:23.170
null
null
7,105,790
[ "ios", "swift", "mobile-development" ]
40,586,203
1
40,590,982
null
0
150
I want to install NativeScript on windows 10, when I typed: ``` npm install -g nativescript ``` I got this error message: ``` D:\workspace\projects>npm install nativescript@next -g npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Abdelaziz\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "nativescript@next" "-g" npm ERR! node v4.4.5 npm ERR! npm v4.0.0 npm ERR! code ECONNREFUSED npm ERR! errno ECONNREFUSED npm ERR! syscall connect npm ERR! Error: connect ECONNREFUSED 127.0.0.1:5080 npm ERR! at Object.exports._errnoException (util.js:870:11) npm ERR! at exports._exceptionWithHostPort (util.js:893:20) npm ERR! at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) npm ERR! { [Error: connect ECONNREFUSED 127.0.0.1:5080] npm ERR! code: 'ECONNREFUSED', npm ERR! errno: 'ECONNREFUSED', npm ERR! syscall: 'connect', npm ERR! address: '127.0.0.1', npm ERR! port: 5080 } npm ERR! npm ERR! If you are behind a proxy, please make sure that the npm ERR! 'proxy' config is set properly. See: 'npm help config' npm ERR! Please include the following file with any support request: npm ERR! D:\workspace\projects\npm-debug.log ``` what is the error I made ?
I can not install nativescript on windows via npm
CC BY-SA 3.0
null
2016-11-14T10:11:06.337
2016-11-14T14:23:30.773
2016-11-14T10:33:23.370
5,192,846
5,192,846
[ "android", "windows", "npm", "nativescript", "mobile-development" ]
40,671,925
1
null
null
1
2,215
I am unable to access my camera application on my android mobile Micromax A250. Whenever I'm opening the app it is displaying me the errors: 1. Can't Connect Camera 2. Gallery Has Stopped Please resolve my query and provide me solution how can I access my camera application.
Android Mobile "Camera Can't Connect" Error?
CC BY-SA 3.0
null
2016-11-18T07:54:03.173
2016-11-18T08:14:26.477
null
null
5,111,143
[ "android", "mobile-application", "mobile-phones", "mobile-devices", "mobile-development" ]
40,706,113
1
null
null
1
212
I am new to Universal Windows Platform, just created a UWP project to get familiar with the stack and I'm looking to read the contents of .doc / .docx document. I haven't found any namespace associated with Office, I've found a few libraries on NuGet, but they are incompatible with UWP. Could you please suggest a way to go about reading a word document?
Is there a way to read the content of doc or docx document in UWP?
CC BY-SA 3.0
null
2016-11-20T15:55:48.323
2016-11-21T05:25:23.850
2016-11-21T05:25:23.850
5,374,333
5,374,333
[ ".net", "uwp", "windows-10-universal", "mobile-development", ".net-core" ]
40,737,508
1
null
null
2
313
I would like to center the active tab in the scrollable navbar. Currently I have a scrollable horizontal view but am stuck on updating the view. I am looking at other [examples such as here on github](https://github.com/ptomasroos/react-native-scrollable-tab-view/pull/302). I would love some feedback on creating the _updateView method, there seems to be more to solving this problem than simply adding a few flexbox rules. Here is my component code. ``` export default class MenuNavBar extends Component { static propTypes: { goToPage: React.PropTypes.func, activeTab: React.PropTypes.number, tabs: React.PropTypes.array, } constructor(props) { super(props) var screenWidth = Dimensions.get('window').width; this.state = { paddingLeft: 5, paddingRight: 5, titleMenuWidth: screenWidth - 100 }; this._onScroll = this._onScroll.bind(this); this._onClickMenu = this._onClickMenu.bind(this); componentDidMount() { this._listener = this.props.scrollValue.addListener(this.setAnimationValue.bind(this)); } _onClickMenu(index) { this.props.goToPage(index); this._updateView(index); } _updateView(index) { var navContainerWidth = Dimensions.get('window').width - 100; console.log('navContainerWidth', navContainerWidth) } _onTabLayout(event, i) { this.menuTabs[i] = (this.menuTabs[i]) ? this.menuTabs[i] : event.nativeEvent.layout.width; } _onScroll(event) { let { contentSize, contentInset, contentOffset, layoutMeasurement, } = event.nativeEvent; } _renderMain() { return ( <NavigationBar title={ <ScrollView ref='menuScrollView' onScroll={this._onScroll} onLayout={this._onLayout} style={{width: this.state._titleMenuWidth}} horizontal={true} showsHorizontalScrollIndicator={false}> {this.props.tabs.map((tab, i) => { if (i == 0) { ref_name = 'tab_' + i; component_style = { paddingTop: 5, paddingBottom: 5, paddingLeft: this.state.paddingLeft, paddingRight: 5, }; } else if (i == this.props.tabs.length - 1) { ref_name = 'tab_' + i; component_style = { paddingTop: 5, paddingBottom: 5, paddingLeft: 5, paddingRight: this.state.paddingRight, }; } else { ref_name = "tab_" + i; component_style = styles.navbarMenuButton; } return <TouchableOpacity ref={ref_name} key={tab} onLayout={(event) => this._onTabLayout(event, i)} onPress={() => this._onClickMenu(i)} style={component_style}> <Text style={this.props.activeTab === i ? styles.navbarMenuTextActive : styles.navbarMenuText}>{tab}</Text> </TouchableOpacity>; })} </ScrollView> } leftButton={ <View> <Image source={require('../../assets/imgs/logo.png')} style={styles.navbarLogo} /> </View> } style={styles.headerStyle} statusBar={{tintColor: '#6C0104'}} /> ); } _renderTrend() { return ( <NavigationBar title={ <ScrollView ref='menuScrollView' onScroll={this._onScroll} onLayout={this._onLayout} style={{width: titleMenuWidth}} horizontal={true} showsHorizontalScrollIndicator={false}> {this.props.tabs.map((tab, i) => { if (i == 0) { ref_name = 'tab_' + i; component_style = { paddingTop: 5, paddingBottom: 5, paddingLeft: this.state.paddingLeft, paddingRight: 5, }; } else if (i == this.props.tabs.length - 1) { ref_name = 'tab_' + i; component_style = { paddingTop: 5, paddingBottom: 5, paddingLeft: 5, paddingRight: this.state.paddingRight, }; } else { ref_name = "tab_" + i; component_style = styles.navbarMenuButton; } return <TouchableOpacity ref={ref_name} key={tab} onLayout={(event) => this._onTabLayout(event, i)} onPress={() => this._onClickMenu(i)} style={component_style}> <Text style={this.props.activeTab === i ? styles.navbarMenuTextActive : styles.navbarMenuText}>{tab}</Text> </TouchableOpacity>; })} </ScrollView> } leftButton={ <View> <Image source={require('../../assets/imgs/logo.png')} style={styles.navbarLogo} /> </View> } rightButton={ <View> <TouchableOpacity onPress={() => Actions.country()}> <Image source={require('../../assets/imgs/ic_world.png')} style={styles.worldLogo} /> </TouchableOpacity> </View> } style={styles.headerStyle} statusBar={{tintColor: '#6C0104'}} /> ); } render() { var screenWidth = Dimensions.get('window').width; var titleMenuWidth = screenWidth - 100; return (this.props.mode == 'main') ? this._renderMain() : this._renderTrend(); } } ``` P.S. I will update this question to be more clear as I fully understand it better.
center active tab in react-native-navbar
CC BY-SA 4.0
null
2016-11-22T08:57:42.863
2022-02-13T09:01:09.413
2022-02-13T09:01:09.413
4,751,173
2,570,500
[ "react-native", "mobile-development", "react-native-scrollview" ]
40,781,617
1
null
null
7
5,217
I am using Headless.js for running background services with React Native. We are facing quite a few issues with its usage. What are my options for running Android background services using React Native?
React Native and Android Background Services
CC BY-SA 3.0
0
2016-11-24T08:48:51.097
2019-07-22T10:34:16.287
null
null
5,456,396
[ "android", "react-native", "mobile-development" ]
40,791,240
1
null
null
2
1,410
My android studio was working just fine, I don't remember updating anything but I must have changed something unknowingly because all of a sudden I'm getting a nullpointerexception with my project and when starting android studio I get the IDE internal error occurred. I tried making a new project and I keep getting the nullpointerexception: null. I have tried the methods suggested to other people who asked the same question (updating android studio, clearing the avd folder under android...) and none of them worked for me and that's why I asked this question hoping for a solution that might work for me.
android studio ide internal error occurred nullpointerexception: null
CC BY-SA 3.0
null
2016-11-24T16:35:44.880
2017-08-25T14:45:47.007
null
null
4,316,573
[ "java", "android", "android-studio", "nullpointerexception", "mobile-development" ]
40,822,656
1
40,822,692
null
0
224
I'm trying to move a custom view that is in my main activity with a single touch input, however the x/y coordinates for the event are offset due to the action bar. [GIF of problem](https://really.neato.site/data/G9qot4N7hJJLeyMZ.gif) I'm trying to find a way to negate the size of the action bar to the y coordinate but nothing seems to be working. I've subtracting the difference in the parent view and my custom view's size from the y coordinate `getRootView().getHeight() - getHeight()` but the value is incorrect. Can anyone point me in the right direction? The custom view: ``` public class SampleView extends View { private Paint paint; private Path path = new Path(); public SampleView(Context context) { super(context); init(); } public SampleView(Context context, AttributeSet attrs) { super(context, attrs); init(); } private void init() { paint = new Paint(); paint.setColor(Color.RED); paint.setStyle(Paint.Style.STROKE); paint.setStrokeWidth(10); } @Override protected void onDraw(Canvas canvas) { canvas.drawPath(path, paint); } @Override public boolean onTouchEvent(MotionEvent event) { final int x = (int) event.getRawX(); final int y = (int) event.getRawY(); switch(event.getActionMasked()) { case MotionEvent.ACTION_DOWN: { path.moveTo(x, y); break; } case MotionEvent.ACTION_MOVE: { path.lineTo(x, y); break; } } invalidate(); return true; } } ``` I haven't touched my MainActivity, but have added in the XML for activity_main my custom view: ``` <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.caseyweed.sample.MainActivity"> <com.caseyweed.sample.SampleView android:layout_width="match_parent" android:layout_height="match_parent" /> </RelativeLayout> ```
Android custom view is offset when while moving
CC BY-SA 3.0
null
2016-11-26T20:11:46.927
2016-11-26T20:15:02.267
null
null
1,238,392
[ "android", "android-layout", "view", "android-view", "mobile-development" ]
40,901,503
1
null
null
4
450
I found that it is possible to make "knock to unlock" [http://www.knocktounlock.com/](http://www.knocktounlock.com/) using accelerometer. I found this for swift: [Swift CoreMotion detect Tap or Knock on device while in background](https://stackoverflow.com/questions/30619778/swift-coremotion-detect-tap-or-knock-on-device-while-in-background) Is there anyone who is interested in making it for android? I am really new on mobile development. I would appreciate it so much if you share some source code in android java! Best regards, Mudin
Knock to unlock on Android device
CC BY-SA 3.0
0
2016-12-01T02:11:27.040
2016-12-01T02:11:27.040
2017-05-23T12:01:54.447
-1
5,344,661
[ "android", "android-studio", "accelerometer", "android-sensors", "mobile-development" ]
41,083,421
1
null
null
0
911
I'm basically an Android developer, now learning iOS development using Swift. My Question is , What is the correct way to achieve horizontal paging in iOS , which can be used to implement "Card Swiping" , in which the card has text view which changes its text . What I mean is , the card and the text view should move together when we swipe horizontally and the next card should have the next text view. And I'll have an array of quotes and the number of pages should depend on the length of this array. So wanted to know what to use exactly , a "ScrollView" or a "CollectionView" or a "TableView"? And How to use it ?
Correct way for “Horizontal Paging” in iOS using Swift 3
CC BY-SA 3.0
0
2016-12-11T05:56:49.960
2016-12-11T07:38:42.643
null
null
6,533,807
[ "ios", "iphone", "swift", "mobile-development" ]
41,100,551
1
42,875,111
null
1
3,350
I'm a UE4 newbie and am starting to make my very first mobile game with this engine. I'm really having trouble with implementing the event as described in the title. Basically, there are a bunch of tiles on screen. All I want is when the user touches any tile and hold his finger and drag it across other tiles, all the 'touched' tiles will change color. What Action/Axis Mappings do I need to add in Engine-Input? I also tried using `TilekMesh->OnInputTouchEnter.AddDynamic(this, &AMyProjectBlock::OnFingerPressedBlock);`, but even when I touch-hold and drag, the tiles do not seem to change color. But when I use `OnInputTouchBegin` instead, it works successfully but I don't want to singly touch and let go each tile. Any help would be greatly appreciated.
How to receive touch-hold-drag event in Unreal Engine 4 Mobile Game Development C++
CC BY-SA 3.0
null
2016-12-12T12:06:06.283
2017-03-18T13:41:23.777
null
null
5,453,788
[ "c++", "unreal-engine4", "mobile-development" ]
41,180,541
1
null
null
-1
116
I want to reverse engineer on cordova device uuid. How do I get the device name from the device uuid?
Can I get mobile name from cordova device uuid?
CC BY-SA 3.0
null
2016-12-16T08:57:27.023
2016-12-19T08:12:12.613
2016-12-19T08:12:12.613
18,665
3,454,505
[ "javascript", "cordova", "ionic-framework", "cordova-plugins", "mobile-development" ]
41,336,340
1
null
null
0
169
Now, Iam working on a project to build an app with content blocker extension which will be integrated with safari to block some websites from loading and this will be controlled by parents to safe thier child s from accessing those sites. The challenge which I face that childs may disable it from safari setting by swipe the content blocker button in settings or delete the app. How I allow parents to protect the app? This needed function is the same like done in below link: [https://itunes.apple.com/US/app/id1071244095](https://itunes.apple.com/US/app/id1071244095)
How to prevent user to disable or delete my IOS safari content blocker?
CC BY-SA 3.0
0
2016-12-26T21:14:30.527
2017-11-03T20:06:48.843
null
null
1,661,361
[ "ios", "objective-c", "iphone", "swift", "mobile-development" ]
41,352,808
1
43,386,717
null
1
167
I have to develop a RESTful API for a mobile application and I have some concerns about the flow of the communication between those parts. I'm new to the API development for mobile devices and OAuth. The project in common should work this way: - - I found a similar question here [OAuth on REST API for mobile app](https://stackoverflow.com/questions/15648171/oauth-on-rest-api-for-mobile-app) and I prefer the first solution from it, but I have some questions about the security of this solution. 1) Should I use OAuth2 for the API? I'm not sure it's a good idea just to send the user's Google ID to the API to get user's data. 2) How can I check on the server that the Google ID is correct and actual? Or it's not important at all? I'm thinking about this scenario, but I'm not sure it's the best solution: 1) The user logs in on the mobile application for the first time using his Google Account. 2) The mobile application receives Google ID and some additional information. 3) The mobile application sends the Google ID to the server. 4) The server uses OAuth2. It creates an account for the user (saving the Google ID in the database) and returns an access token to the mobile application. 5) The mobile application stores the access token locally and uses it for requests to the server. Once the access token expires, the user has to login in the mobile application again using his Google account. I have some concerns about using just Google ID for generating a token. I mean, anybody can just use somebody's Google ID to create a token. Bad idea :( Also should I use JWT better as a token? Thanks for your help!
REST API + OAuth + Mobile Flow
CC BY-SA 3.0
0
2016-12-27T22:10:19.400
2017-04-13T08:11:11.630
2017-05-23T12:09:45.817
-1
2,312,283
[ "api", "mobile", "oauth", "google-oauth", "mobile-development" ]
41,364,500
1
41,364,805
null
1
103
I'm trying to add a static headlines or a title in a xaml page , where the user can scroll some content but not the title ``` <Page x:Class="Advanced8weeks.day1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:Advanced8weeks" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> <!--- I want this block to remain static on the top of the page --> <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}"> <TextBlock HorizontalAlignment="Left" Margin="80,100,0,0" TextWrapping="Wrap" Text="Day 1 " VerticalAlignment="Top" FontWeight="Bold" FontSize="24" RenderTransformOrigin="0.483,1.826"/> <TextBlock HorizontalAlignment="Left" Margin="80,192,0,0" TextWrapping="Wrap" Text="Legs + cardio (1 min rest between sets) " VerticalAlignment="Top" FontWeight="Bold" FontSize="18"/> <!--- From here I want to add a lot of Images and Button where user can scroll down --> <TextBlock HorizontalAlignment="Left" Margin="80,287,0,0" TextWrapping="Wrap" Text="leg extentions 5 x 15 reps " VerticalAlignment="Top" Height="47" FontSize="16"/> <Image HorizontalAlignment="Left" Height="100" Margin="80,334,0,0" VerticalAlignment="Top" Width="100" Source="pictures/imag1.png"/> <TextBox HorizontalAlignment="Left" Margin="80,439,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="27" Height="17"/> <TextBlock HorizontalAlignment="Left" Margin="80,417,0,0" TextWrapping="Wrap" Text="Set 1 " VerticalAlignment="Top" RenderTransformOrigin="-0.022,0.231" Width="47" FontSize="14"/> <Button Content="OK" HorizontalAlignment="Left" Margin="158,439,0,0" VerticalAlignment="Top" FontSize="14" Click="Button_Click" Height="37"/> <TextBlock HorizontalAlignment="Left" Margin="752,192,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" x:Name="timer" Height="22" Width="59" /> <ScrollBar HorizontalAlignment="Left" Margin="472,317,0,0" VerticalAlignment="Top"/> <TextBlock HorizontalAlignment="Left" Margin="80,506,0,0" TextWrapping="Wrap" Text="Squats 5 x 15 reps " VerticalAlignment="Top" Height="21" Width="148" FontSize="16"/> <Image HorizontalAlignment="Left" Height="100" Margin="111,555,0,0" VerticalAlignment="Top" Width="100"/> <Image HorizontalAlignment="Left" Height="68" Margin="80,541,0,0" VerticalAlignment="Top" Width="65" Source="pictures/imag2.png"/> <TextBox HorizontalAlignment="Left" Margin="80,623,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" RenderTransformOrigin="0.203,0.344" Width="64" Height="23"/> <Button Content="OK" HorizontalAlignment="Left" Margin="158,617,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.225,-0.342" Width="54"/> </Grid> ``` So My first attempt is to add a ScrollViewer , So I did this ``` <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}"> <TextBlock HorizontalAlignment="Left" Margin="80,100,0,0" TextWrapping="Wrap" Text="Day 1 " VerticalAlignment="Top" FontWeight="Bold" FontSize="24" RenderTransformOrigin="0.483,1.826"/> <TextBlock HorizontalAlignment="Left" Margin="80,192,0,0" TextWrapping="Wrap" Text="Legs + cardio (1 min rest between sets) " VerticalAlignment="Top" FontWeight="Bold" FontSize="18"/> <!--- From here I want to add a lot of Images and Button where user can scroll down --> <ScrollViewer > <TextBlock HorizontalAlignment="Left" Margin="80,287,0,0" TextWrapping="Wrap" Text="leg extentions 5 x 15 reps " VerticalAlignment="Top" Height="47" FontSize="16"/> <Image HorizontalAlignment="Left" Height="100" Margin="80,334,0,0" VerticalAlignment="Top" Width="100" Source="pictures/imag1.png"/> <TextBox HorizontalAlignment="Left" Margin="80,439,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="27" Height="17"/> <TextBlock HorizontalAlignment="Left" Margin="80,417,0,0" TextWrapping="Wrap" Text="Set 1 " VerticalAlignment="Top" RenderTransformOrigin="-0.022,0.231" Width="47" FontSize="14"/> <Button Content="OK" HorizontalAlignment="Left" Margin="158,439,0,0" VerticalAlignment="Top" FontSize="14" Click="Button_Click" Height="37"/> <TextBlock HorizontalAlignment="Left" Margin="752,192,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" x:Name="timer" Height="22" Width="59" /> <ScrollBar HorizontalAlignment="Left" Margin="472,317,0,0" VerticalAlignment="Top"/> <TextBlock HorizontalAlignment="Left" Margin="80,506,0,0" TextWrapping="Wrap" Text="Squats 5 x 15 reps " VerticalAlignment="Top" Height="21" Width="148" FontSize="16"/> <Image HorizontalAlignment="Left" Height="100" Margin="111,555,0,0" VerticalAlignment="Top" Width="100"/> <Image HorizontalAlignment="Left" Height="68" Margin="80,541,0,0" VerticalAlignment="Top" Width="65" Source="pictures/imag2.png"/> <TextBox HorizontalAlignment="Left" Margin="80,623,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" RenderTransformOrigin="0.203,0.344" Width="64" Height="23"/> <Button Content="OK" HorizontalAlignment="Left" Margin="158,617,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.225,-0.342" Width="54"/> </ScrollViewer> </Grid> ``` But the VS express is giving me this error : > The Content property is set multiple times I would appreciate if someone can explain me what I'm doing wrong and why Much appreciated , Bass
How to to add static title and scrollable content in xaml win8
CC BY-SA 3.0
null
2016-12-28T14:56:23.267
2016-12-28T15:13:38.680
null
null
2,760,533
[ "c#", "xaml", "scrollview", "mobile-development" ]
41,414,039
1
null
null
0
1,155
I have created a gallery app. It opens images and photos but System isn't get it as a gallery app. Could anyone help me to set it as a gallery app? Thank you!
How to create an android gallery app
CC BY-SA 3.0
0
2017-01-01T07:33:25.387
2017-01-01T08:30:06.617
null
null
7,310,437
[ "android", "android-manifest", "android-gallery", "mobile-development" ]
41,476,350
1
null
null
0
34
I'm trying to figure out if there is a protocol for wireless phone to phone communication (so not WIFI) where an application can determine that another phone with the same application is in the same room (or a couple meters) and transfer data between the applications. Bluetooth would work but I want the application to pre-establish the handshake instead of requiring the Bluetooth handshake. NFC would be perfect if the range was more than 10cm. Is there anything else out there that might work?
Phone to phone detection/communication protocol?
CC BY-SA 3.0
null
2017-01-05T02:16:52.227
2017-01-05T02:16:52.227
null
null
3,976,227
[ "bluetooth", "nfc", "mobile-development" ]
41,536,378
1
null
null
1
204
I am just trying to make a simple video recording app. I have spent days trying to figure this error out and I have had no luck. I am so close to just deleting my whole computer, this error is driving me mad! I followed developer.android.com and YouTube tutorials. I can't see why my code doesn't work as I copied everything they did. [http://pastebin.com/q84v81hG](http://pastebin.com/q84v81hG) I put all the code in a paste bin because the code messes up when I put it here. Thanks for any help! BTW I am aware I haven't added a button that stops recording, I am just trying to get it recording in the first place before I add that.
Why is MediaRecorder.prepare() throwing an IOException?
CC BY-SA 3.0
null
2017-01-08T18:40:02.400
2017-01-18T22:22:43.503
2017-01-08T21:08:18.727
6,592,023
7,151,206
[ "android", "mobile-development" ]
41,590,439
1
42,861,663
null
1
1,189
How to trigger action when the button of location permission alert is pressed? I want to perform segue after allow or cancel button is pressed.
Location permission alert button callback
CC BY-SA 3.0
null
2017-01-11T12:01:58.783
2017-03-17T15:39:00.757
2017-01-11T12:33:46.413
2,227,743
6,397,786
[ "ios", "swift", "callback", "alert", "mobile-development" ]
41,676,733
1
null
null
0
790
I'm going to create a completely new app for the customer. The problem has occurred when I was trying to create an iTunes Connect Record for this new app I got an error "The App Name you entered has already been used". Because the customer already has an older app with the same name form before. How can I publish new app rewritten from scratch with the same name now? Couldn't find any info on iTunes Connect Developer Guide.
The App Name you entered has already been used. Republish
CC BY-SA 3.0
null
2017-01-16T12:44:52.127
2017-01-16T12:55:25.877
null
null
3,737,189
[ "ios", "app-store-connect", "mobile-development" ]
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
33
Edit dataset card