Tag: c

47 votes
17 answers
543 views
Application Error - The connection to the server was unsuccessful. (file:///android_asset/www/index.html)

App Dies On Startup (connection to the server was unsuccessful) I have an Android application that I'm

avatar
Omar
0 1 0 9
asked 07 September, 2021
66 votes
10 answers
384 views
How To Save Canvas As An Image With canvas.toDataURL()?

I'm currently building a HTML5 web app/Phonegap native app and I can't seem to figure out how to sav

avatar
Alba
0 1 0 9
asked 07 September, 2021
52 votes
10 answers
1.5K views
How to create a signed APK file using Cordova command line interface?

I made a sample application named checkStatus. Now I want to create a signed APK file. So I can install it in

avatar
Vi
0 1 0 9
asked 07 September, 2021
66 votes
12 answers
2.3K views
How do I correctly detect orientation change using Phonegap on iOS?

I found this orientation test code below looking for JQTouch reference material. This works correctly in the i

avatar
Georgie
0 1 0 9
asked 07 September, 2021
54 votes
25 answers
2.5K views
ionic 2 - Error Could not find an installed version of Gradle either in Android Studio

I create ionic 2 project and add diagnostic cordova plugin like this : ionic plugin add cordova.plugins.diagn

avatar
Chaya
0 1 0 9
asked 07 September, 2021
56 votes
30 answers
1.3K views
PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value

After typing cordova run android in terminal, I'm getting this error: Waiting for emulator to start... P

avatar
Trudy
0 1 0 9
asked 07 September, 2021
57 votes
9 answers
2.3K views
External resource not being loaded by AngularJs

Using Angular and Phonegap, I'm trying to load a video that is on a remote server but came across an issu

avatar
Keila
0 1 0 9
asked 07 September, 2021
58 votes
24 answers
2K views
Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK - Android

I know there are lots of questions similiar to this one, but i couldn't find a solution for my problem in

avatar
Shantay
0 1 0 9
asked 07 September, 2021
56 votes
23 answers
550 views
Error: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions.

I'm trying to install PhoneGap and I'm getting the following error: Error: ANDROID_HOME is not set

avatar
Sachiko
0 1 0 9
asked 07 September, 2021
64 votes
5 answers
2K views
jQuery Mobile: document ready vs. page events

I am using jQuery Mobile, and I am having trouble understanding differences between classic document ready and

avatar
Tuan
0 1 0 9
asked 07 September, 2021
63 votes
10 answers
1.7K views
Is there a difference between PhoneGap and Cordova commands?

I just installed Phonegap for the first time and just browsed through the docs. What confuses me is the fact t

avatar
Winford
0 1 0 9
asked 07 September, 2021
64 votes
3 answers
1.6K views
Implementing an RESTful API Authentication using tokens (Yii/Yii2)

I am building an API in Yii 1.x which will be used with a mobile application. Part of the process involves a l

avatar
Hallie
0 1 0 9
asked 07 September, 2021
55 votes
3 answers
1.7K views
Emberjs, server side vs client side, All in?

I have been looking into Ember.js, and it looks really great, but one thing that concerns me, and that I can&a

avatar
Tuan
0 1 0 9
asked 07 September, 2021
52 votes
1 answers
2.8K views
When to use components and when to use extensions in Yii?

I'm a little bit confused about the purpose of components and extensions folders in protected/ Please cl

avatar
Dwain
0 1 0 9
asked 07 September, 2021
59 votes
2 answers
838 views
Yii: Render action using different layout than controller's layout

In Yii, is there a way to render a single action using a different layout than that defined for the controller

avatar
Dorinda
0 1 0 9
asked 07 September, 2021
62 votes
2 answers
1.6K views
Yii2 global filter/behavior to force user to authenticate first

In my Yii2 application I'm trying to force all users to be authenticated. If they're not already aut

avatar
Dwain
0 1 0 9
asked 07 September, 2021
52 votes
5 answers
2.2K views
How to do IS NULL and IS NOT NULL with Yii 2 ActiveRecord?

I have a table which has a field `activated_at` timestamp NULL DEFAULT NULL, which means that it can contain a

avatar
Don
0 1 0 9
asked 07 September, 2021
62 votes
8 answers
3.1K views
Stupid error: Failed to load resource: net::ERR_CACHE_MISS

I'm developing Web app in Yii framework. I need use AJAX in my some pages. So, when I clicked the button

avatar
Fabian
0 1 0 9
asked 07 September, 2021
53 votes
8 answers
1.4K views
Cakephp and Yii: similarities/differences/speed?

I am a CakePhp programmer. I have decided to try out the Yii framework. I would like to find out in what ways

avatar
Leonardo
0 1 0 9
asked 07 September, 2021
55 votes
2 answers
2.6K views
What is the difference between component, extension & module in Yii

I am new to Yii framework, and just came across module, extension & component inside protected folder. Ca

avatar
Emilia
0 1 0 9
asked 07 September, 2021