Posts by LuisComS • 246 points
9 posts
-
0
votes1
answer66
viewsA: How to put a scroll inside tabHost (asbas) on Android?
I think you should adjust the size of the Scrollview. ViewGroup.LayoutParams params = new ViewGroup.LayoutParams( ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);…
-
1
votes3
answers552
viewsA: How to convert pixel to dp?
I use an auxiliary class to work with unit conversions. package com.example; import android.content.res.Resources; public class UnityConverter { private static float scaleFactor = 1; private…
-
0
votes2
answers266
viewsA: Error adding appcompat-v7 api level 22
The problem is really the one described in the error, found in the file res/values/attr.xml the second code snippet <declare-styleable name="CustomListView"> <attr name="layout"…
-
0
votes2
answers266
viewsQ: Error adding appcompat-v7 api level 22
I’m trying to add appcompat-v7 to my project, but when I sync with gradle the following error occurs:…
-
3
votes1
answer1491
viewsA: Change repository linked with android project in Git
To change the repository remote in the shell: $ git remote set-url origin https://github.com/USERNAME/OTHERREPOSITORY.git To see the current url $ git remote -v origin…
-
1
votes2
answers225
viewsA: Migrate data from one version to another - Android Sqlite
One option would be to not save the user data in the database but in sharedPreferences, that do not work with upgrade.…
-
2
votes2
answers63
viewsA: How to upload external images to a Chrome app?
If I’m not mistaken, it’s only possible to include urls that you have https, I’ve already created a Chrome extension to calculate Running pace that can be seen mo link You can also try adding the…
google-chromeanswered LuisComS 246 -
0
votes2
answers1098
viewsQ: How to create dependency validation between fields in Codeigniter?
In Codeigniter there is the possibility to create rules (Rules) validation for each form field, but what I need is a validation between two fields. I explain: The form has a field called url which…
-
5
votes4
answers640
viewsQ: Installable PHP application architecture
I am trying to improve my PHP applications. In this goal I would like to create an installer for a web application, a website for example. I already know linux packages like rpm and deb, that’s not…