Search Posts

Category: android

Screen flashes when using rtl support in ionic 2

how to Screen flashes when using rtl support in ionic 2 I’m developing a dual language app using ionic 2. Languages are English and Arabic. By startup, I’m using default language as English. when changing from English to Arabic the direction changes from ltr to rtl. But I have a form with inputs work fine at startup, after changing the language, when I click the form elements the screen starts to flash. Moving back from […]

Ionic Android app rejected by Google Play Store for Violation of section 4.4 [on hold]

how to Ionic Android app rejected by Google Play Store for Violation of section 4.4 [on hold] I developed an Ionic app for a WordPress site to display content on app using Ionic 1 framework. I submitte the app on Google Play Store and app got rejected and mention the app violates section 4.4 of the Developer Distribution Agreement (DDA). After that I was sent mail to team for details and they replied – During […]

Dynamically add CSS stylesheet in runtime using angular and Ionic 2

how to Dynamically add CSS stylesheet in runtime using angular and Ionic 2 I’m trying to develop a dual language app in Ionic2. The languages are English and Arabic. I have two CSS files one is english.css and the other one is arabic.css, when changing from English to Arabic, the english.css should be removed and arabic.css should be added at runtime. Are there any possibilities? Source: AngularJS

Ionic Android Issue: scan function not working

I am new to angularjs and ionic cordova. I am following the code given in this video lecture on ionic cordova BLE plugin module. I am trying to make this work using ionic 3 and have installed ionic cordova plugin for BLE. I have followed the exact instruction. Here’s are my code files: app.module.ts import { BrowserModule } from ‘@angular/platform-browser’; import { ErrorHandler, NgModule } from ‘@angular/core’; import { IonicApp, IonicErrorHandler, IonicModule } from […]

Cordova Camera plugin gives error ‘object’ has no method "getPicture"

I am working on ionic v1 Camera app after setting up everything correctly (as done many times before). after building app and debugging it i got this error. Plugin installed correctly, ng-cordova.min included. $CordovaCamera injected. Here is my Code: $scope.takePhoto = function () { var options = { quality: 100, destinationType: Camera.DestinationType.DATA_URL, sourceType: Camera.PictureSourceType.CAMERA, allowEdit: true, encodingType: Camera.EncodingType.JPEG, targetWidth: 300, targetHeight: 300, popoverOptions: CameraPopoverOptions, saveToPhotoAlbum: true }; $cordovaCamera.getPicture(options).then(function (imageData) { $rootScope.imgURI = “data:image/jpeg;base64,” + imageData; […]

Execute code in background app

I have an application made in cordova and angular. I make some custom url schemes and I make one application to be executed in background and one app in foreground. What I want to achieve: the application in foreground executes code from the background one without the user notices. App1 (Visible) calls deeplink to App2 App2 execute a service and calls deeplink to App1 ( this service calls a library in a cordova plugin gives […]

How to delete one event from daily recurring event ionic1 android

I am using ‘EddyVerbruggen/Calendar-PhoneGap-Plugin’ plugin for create,update and delete native calendar events. In android i m trying to delete the single instant of event from daily recurring event but not able to do so, When I find and delete selected date event it deletes whole recurring event Is there any way to do so Please help me Thank u Source: AngularJS

unable to trigger ng-change in android webview

I have given a simple text box and an change event updates a table below the text box. It works absolutely fine in the browser. But when I call this page in android webview, ng-change doesn’t trigger. Android version 4.2.2. Chrome in the android device is of version 38.0 <input type=”text” id=”barcode” name=”barcode” ng-model=”thisBarcode” ng-model-options=”{ updateOn: ‘change’ }” placeholder=”Scan Barcode Here” autofocus ng-change=”addProductToCart(this.thisBarcode)”> Source: AngularJS

Web Application on tablet: showing location of other users in a map

I am developing a responsive web application using angular that will run on tablet devices. Users on the same site, lets say building or factory want to know the locations of the others by looking it up in a map. I am thinking I will have fixed image for the factory floors and based on the location of the user I will show the map of that floor, but the question how I can know […]

Next Page »