I have a function that returns an array of photos and videos from an iOS device's camera roll. The info is returned correctly, however, I'm also needing to return the path to the photo and video which I've been unable to do so far. Here is the code I'm using. The photo and video path code is about 2/3 down this snippet starting with: "if (asset.mediaType == PHAssetMediaTypeImage)": - (void) photos:(CDVInvokedUrlCommand*)command { if (![self isNull:self.photosCommand]) { [self failure:command withMessage:E_PHOTO_BUSY]; return; } self.photosCommand = command; CDVPhotos* __weak weakSelf = self; [self checkPermissionsOf:command andRun:^{ NSArray* collectionIds = [weakSelf argOf:command atIndex:0 withDefault:nil]; NSLog(@"photos: …

Member Avatar
+0 forum 0

Hi guys. I'm about to embark a new journey of learning how to create a android game. So, I don't have to publish it yet. I want to do self-learning. I also want to learn animation along the way. Maybe 2d if 3d is too time-consuming? I've read animation takes a lot of patience and practice which is ok but if you guys think 3d would take too much time, I'd rather try 2d first. Can anyone recommend a free game development platform for Android that is very good for beginners? Preferably, something I can learn animation with as well …

Member Avatar
Member Avatar
+0 forum 2

Which phone is compatible for OTG in SAMSUNG

Member Avatar
Member Avatar
+0 forum 1

Hello i want to create a script that allows the user to use the device mic and record audio, then display it using Typescript (.ts) file. Here is what i have so far. home.ts import { Component, ViewChild } from "@angular/core"; import { NavController, App, AlertController, Platform } from "ionic-angular"; import { Common } from "../../providers/common"; import { Media, MediaObject } from '@ionic-native/media'; import { File } from '@ionic-native/file'; @Component({ selector: "page-home", templateUrl: "home.html" }) export class HomePage { recording: boolean = false; filePath: string; fileName: string; audio: MediaObject; audioList: any[] = []; getAudioList() { if (localStorage.getItem("audiolist")) { this.audioList = …

Member Avatar
Member Avatar
+0 forum 1

I am Working on Xcode 9.2 Swift 4.0 using FacebookSDKs-iOS-20160316 for Facebook Login Authentication Integration . My storyboard is empty . On Running Facebook Login button is coming on an app When clicked Facebook login page comes, after successful login Permission for my app is asked, When allowed following page comes Please refer Link : https://stackoverflow.com/questions/52867810/facebook-login-button-not-changing-to-logout-button-immediate-after-login-in-swift **For images** When I click on done button of this page I am redirected to my storyboard , and this time also same login button is there , my login button is not changed to Logout. On clicking it again following page comes: Please …

Member Avatar
+0 forum 0

Hello i want to create an app -not native- to work with iOS, Android, and Windows. I am working with Ionic Framework to do that. A programmer told that i should use CodeIgniter because i am good with PHP. Whats your opinion about Ionic and CodeIgniter?

Member Avatar
Member Avatar
+0 forum 6

Last week a group of six 'm-commerce' experts took part in a round robin discussion in Manchester, England to determine the best ways forward for developers interested in creating a serious mobile web presence yet wanting to make money through the medium of mobile advertising at the same time. Anyone who has been involved in this particular area of Internet growth will appreciate just what a serious challenge the mobile web presents to those who have not invested, in thought and deed as much as financially, in getting to grips with a realistic m-commerce marketing strategy. Unless you are creative …

Member Avatar
Member Avatar
+0 forum 3

Hello I'm try to use a hardware to create key for encryption in mobile devices( in a model at first) this is my question: can i get my keys from TPM? If is it possible, how can i do it?

Member Avatar
Member Avatar
+0 forum 4

Hello I've been facing this issue since today, whereby my TwinMOS Micro SD HC Card is not being detected by my Samsung phone, and when placed in the adapter and inserted on PC, again the latter is not detecting it at all, although in the Device Manager I can see my adapter being recognised. I've tried Google, but the supposed methods shown, like using EaseUS Recovery software and others are not working in my case as am not able to see the card as a USB drive. Any other methods to deal with this would be most welcome, as I …

Member Avatar
Member Avatar
+0 forum 3

I have a web app already running on the web. It is web responsive. I want to make update of it. I hear good things about Ionic and i started working on Ionic 3 with Angular. Its almost finished. Now i need help to sinish and publish it. I wanna ask these questions. Do you think Ionic would make a difference or i just should updated my existing web app? Is it better to use native apps/Hydrid or Web apps? Thanks

Member Avatar
Member Avatar
+0 forum 3

I have a code that picks contacts, the problem is that if a user pick a contact or choose a contact that was not saved on a phone but was saved on google contacts (This is a way many people now save their contacts so that should their phones are lost but contacts are ever lost because when s/he gets a new phone, s/he will just sign in with google account and get his/her contacts) now my app is able to get the name and return it to an EditText but the number/phone number is not returned in these contacts. …

Member Avatar
Member Avatar
+0 forum 6

Hi, I am an absolute beginner to Xamarin and just started to develop a small application wherein, I am not getting any idea about why the BindableProperty changes are not getting reflected inside the view model. Presently, I have written my BindableProperty in a separate Class and the code is as follows: public static readonly BindableProperty IsValidEntryProperty = BindableProperty.Create("IsValidEntry", typeof(bool), typeof(MaxLengthValidatorBehavior), false, BindingMode.TwoWay); public bool IsValidEntry { get { return (bool)GetValue(IsValidEntryProperty); } set { SetValue(IsValidEntryProperty, value); } } protected override void OnAttachedTo(Entry bindable) { bindable.TextChanged += HandleTextChanged; base.OnAttachedTo(bindable); } void HandleTextChanged(object sender, TextChangedEventArgs e) { IsValidEntry = false; IsValidEntry = …

Member Avatar
Member Avatar
+0 forum 2

Hello i want to pass the user id (uid) from the home page to a user Details Page. Because i display multiple users on my home page i don’t wan to pass the user session id (as given by the `JSON.parse(localStorage.getItem("userData"));` ), i want to click on the name of any user on the home page and pass its id and other parameters on the user details page. home.html `<p (click)="UserPage()" [innerHTML]="item.username | linky"></p>` home.ts public userDetails: any; public resposeData: any; public dataSet: any; public noRecords: boolean; rootPage: any = HomePage; pages: Array<{ title: string, component: any }>; userPostData = …

Member Avatar
+0 forum 0

Hi Dw. This is my first Android app, and what I'm trying to do is to post a POST/GET method to my webserver using Http in Android studio. I also have a Textview which suppose to display echoed data from server which will be a response to a request since the php file I'm posting to simply echo back the data. Here is what I have: try { URL url = new URL("http://myURLAddress/run.php"); JSONObject postDataParams = new JSONObject(); postDataParams.put("name", "Mr.M"); Log.e("params", postDataParams.toString()); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setReadTimeout(15000 /* milliseconds */); conn.setConnectTimeout(15000 /* milliseconds */); conn.setRequestMethod("GET"); conn.setDoOutput(true); conn.setDoInput(true); OutputStream os …

Member Avatar
Member Avatar
+0 forum 3

Hello, all can anyone have some information on how to develop a simple iphone app..? (its for an FYP)

Member Avatar
Member Avatar
+0 forum 5

I have two apps that are both open source, I am using Swift on iOS. I want to incorporate one into the other. The main App is a radio station, the second is a news feed. I want the news feed as a "sub project". After a few days of Googling I have added the sub-project as advised on the following pages: https://forums.developer.apple.com/thread/49659 https://curisious.com/the-correct-way-to-add-existing-project-to-workspace/ And I have tried to link the sub-project/framework as detailed here https://www.raywenderlich.com/126365/ios-frameworks-tutorial I seem to have got the first bit sorted, I have the newsfeed as a dependency to the radio player, but I am struggling …

Member Avatar
+0 forum 0

Hello i have a problem with my Ionic App. I am using typescript files. I am getting console log `No Access` that means there is a problem with `resposeData`. Any hint? I am really stuck home.ts file import { Component, ViewChild } from "@angular/core"; import { NavController, App, AlertController } from "ionic-angular"; import { AuthService } from "../../providers/auth-service"; import { Common } from "../../providers/common"; import { Camera, CameraOptions } from "@ionic-native/camera"; @Component({ selector: "page-home", templateUrl: "home.html" }) export class HomePage { @ViewChild("updatebox") updatebox; public userDetails: any; public resposeData: any; public dataSet: any; public noRecords: boolean; userPostData = { uid: "", …

Member Avatar
+0 forum 0

Hi, How can i calculate time difference in swift 2 between two dates/time and store in 2 different variables, one showing the full difference in terms of "Year, Month, Days, Hours, Minutes" & one variable for converting the total time difference in minutes. For example- First Date/time - 04/13/2016 8:11 AM Current Date/Time - 04/22/2016 12:53 AM Now one variable should display difference as "8 Day 16 hours & 43 Minutes", if there was a year & month difference, it should show that as well. And second variable should simply convert "8 Day 16 hours & 43 Minutes" into minutes …

Member Avatar
Member Avatar
+0 forum 3

Hello i have a problem working with Camera on Ionic and i need some advice. I have installed both ionic camera and media capture plugins. I am using two scripts one to capture Video (Start Reocording) and one to capture a Photo (Take Photo) I am getting the errors displayed on the image i show you here. I guess that is because i am calling the Camera Method on `@ionic-native/Camera `when i should called it from `ionic-native`. I try to use both `import { MediaCapture, Camera, CameraOptions } from 'ionic-native';` home.ts import { Component, ViewChild } from "@angular/core"; import { …

Member Avatar
Member Avatar
+0 forum 1

Hello, i am trying to do an Ionic app and i am getting an error. Any suggestion? Runtime error this.file.documentsDirectory is null [194]/HomePage.prototype.startRecord@http://localhost:8100/build/main.js:80:13 View_HomePage_2/<@ng:///AppModule/HomePage.ngfactory.js:36:19 handleEvent@http://localhost:8100/build/vendor.js:13608:132 callWithDebugContext@http://localhost:8100/build/vendor.js:15093:39 debugHandleEvent@http://localhost:8100/build/vendor.js:14680:12 dispatchEvent@http://localhost:8100/build/vendor.js:10057:16 renderEventHandlerClosure/<@http://localhost:8100/build/vendor.js:10671:38 decoratePreventDefault/<@http://localhost:8100/build/vendor.js:36353:53 F</l</t.prototype.invokeTask@http://localhost:8100/build/polyfills.js:3:15649 onInvokeTask@http://localhost:8100/build/vendor.js:4973:24 F</l</t.prototype.invokeTask@http://localhost:8100/build/polyfills.js:3:15562 F</c</r.prototype.runTask@http://localhost:8100/build/polyfills.js:3:10815 F</h</e.invokeTask@http://localhost:8100/build/polyfills.js:3:16787 p@http://localhost:8100/build/polyfills.js:2:27646 v@http://localhost:8100/build/polyfills.js:2:27893 home.html <ion-header> <ion-navbar> <ion-title> Sound Recorder & Player </ion-title> </ion-navbar> </ion-header> <ion-content padding> <ion-card> <ion-card-content> <ion-card-title> <button ion-button primary (click)="stopRecord()" *ngIf="recording"><ion-icon name="mic-off"></ion-icon>&nbsp;&nbsp;Stop Record</button> <button ion-button primary (click)="startRecord()" *ngIf="!recording"><ion-icon name="mic"></ion-icon>&nbsp;&nbsp;Start Record</button> </ion-card-title> </ion-card-content> </ion-card> <ion-list> <ion-item *ngFor="let audio of audioList; index as i;"> <p>{{audio.filename}}</p> <button ion-button clear item-end large (click)="playAudio(audio.filename, i)"><ion-icon name="play"></ion-icon></button> </ion-item> </ion-list> </ion-content> home.ts import { Component } from '@angular/core'; import { …

Member Avatar
Member Avatar
+0 forum 6

Hello i just started to use Ionic and i have some questions. First of all i downloaded an existing ionic project on GitHub to start. I do these commands and works fine. $ git clone https://github.com/srinivastamada/ionic-restful-authentication.git $ cd ionic-restful-authentication $ npm install $ ionic serve The project starts at localhost:8100 as wanted. I understand that the files are on a cloud and the database too, right? When i download the files how can i use them so i may do some changes? I Mean i type in commands on NODE.JS command prompt? The tutorial says that uses PHP-Restful-Api https://github.com/srinivastamada/PHP-Slim-Restful to …

Member Avatar
Member Avatar
+0 forum 8

remote server not responding on my nokia 208

Member Avatar
Member Avatar
+0 forum 2

Hi all. I need some help. I want to display username after user has login. I am currently using Visual Studio and Javascript. Not using any PHP page. What should i do? This is my home.html page: <!DOCTYPE html> <html> <head> <!--Customize the content security policy in the meta tag below as needed. Add 'unsafe-inline' to default-src to enable inline JavaScript. For details, see http://go.microsoft.com/fwlink/?LinkID=617521--> <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *"> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta name="format-detection" content="telephone=no"> <meta name="msapplication-tap-highlight" content="no"> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width"> <link rel="stylesheet" type="text/css" href="css/index.css"> …

Member Avatar
Member Avatar
+0 forum 2

Hello i am getting an error on log about npm... Any suggestion? PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Web\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\cmd;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\bin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Web\External\npm.CMD" install npm WARN deprecated babili@0.0.10: babili has been renamed to babel-minify. Please update to babel-minify npm WARN engine webpack@2.2.1: wanted: {"node":">=4.3.0 <5.0.0 || >=5.10"} (current: {"node":"5.4.1","npm":"3.3.4"}) npm WARN deprecated babel-preset-babili@0.0.10: babili has been renamed to babel-minify. Please update to babel-preset-minify npm WARN install Couldn't install optional dependency: Unsupported npm ERR! Windows_NT 10.0.15063 npm ERR! argv "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Web\\External\\Node.exe" "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Web\\External\\node_modules\\npm\\bin\\npm-cli.js" "install" npm ERR! …

Member Avatar
Member Avatar
+0 forum 2

Hello how do you feel about Ionic 3 and Angular 4 frameworks? Are they compatible with Ios? Do i need to know Java to use them?

Member Avatar
Member Avatar
+0 forum 6

Is the up vote or down vote comment functionality going to come to mobile? the box flashes up when I vote, the big tease, but then infuriatingly disappears. Like grabbing sand. Using mobile more and more to tune into dw. Would love to leave comments but don't want to write a post.

Member Avatar
Member Avatar
+4 forum 3

Can anyone guide me to find a way to convert swing application to Android app. If we just create the gui using xml is it enough to take the working code from the previous swing application to run on Android

Member Avatar
Member Avatar
+0 forum 13

How to convert a swing based application to Android application

Member Avatar
Member Avatar
+0 forum 3

I am a partner in a company that deals with various aspects of the web presence of a company. Those aspects some times touch back office and more often replace it entirely. I have no idea of the mobile games field but last week my interest flamed. I tried several games in my phone that were “most downloaded” in Google Play and I couldn't find anything that made them really unique as ideas or great as graphics and user experience. That made me think of a game I have developed back in 2005 and I recreated it . So now …

Member Avatar
Member Avatar
+1 forum 3

hi! Actually my question is about a mobile application. I am using nokia 2700 classic. And i use face book on this mobile and i have also downloaded messanger on it. But my messanger is not running. When i open my messanger then following error message displayed: " can't sign you in because your phone is in flight mode or you have not data connection." but i have data connection and my phone is not in flight mode. So what is the reason behind above mentioned error message and what should i do?

Member Avatar
Member Avatar
+0 forum 4

The End.