Thursday, July 18, 2013
Tuesday, July 16, 2013
Android Studio Gradle doesnt work after update , Gradle 0.4.0
Project is using an old version of android gradle plug-in. The minimum supported version is 0.5.0
Step 1: Change line in build.gradle
from:
dependencies {
classpath 'com.android.tools.build:gradle:0.4'
}
to
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'
}
Step 2
: In the<YourProject>.iml
file, delete the entire<component name="FacetManager">[...]</component>
tag.Friday, February 8, 2013
Erratic Touchscreen Solution (Chinese Android Tablets)
Hi
Just wanted to share my experience with Chinese Android tablets with erratic touchscreens. Although the touch screens are erratic but you can handle the erratic touches in your APK. The conclusion of the research is once you "Touchdown" and keep it down there will be number of other erratic touch downs and up's at different locations and then when you finally release your finger you will have a "Touchup" of your original press.
The point is that you need to use the last touchup.. Which you can simply find by the following algorithm
make a counter
int touchCounter=0;
On Touchdown() ---> counter++;
On Touchup()
------> counter--;
------> if (counter==0)
------> doWhatEver();
------> else
-------> return false;
All of this will go in your button press events for touchdown and touchup... dont use Clicks... you need your code to work on touch up....
Let me know if you have any questions or comments...
Regards
Umer
http://www.stickpos.com
Just wanted to share my experience with Chinese Android tablets with erratic touchscreens. Although the touch screens are erratic but you can handle the erratic touches in your APK. The conclusion of the research is once you "Touchdown" and keep it down there will be number of other erratic touch downs and up's at different locations and then when you finally release your finger you will have a "Touchup" of your original press.
The point is that you need to use the last touchup.. Which you can simply find by the following algorithm
make a counter
int touchCounter=0;
On Touchdown() ---> counter++;
On Touchup()
------> counter--;
------> if (counter==0)
------> doWhatEver();
------> else
-------> return false;
All of this will go in your button press events for touchdown and touchup... dont use Clicks... you need your code to work on touch up....
Let me know if you have any questions or comments...
Regards
Umer
http://www.stickpos.com
Tuesday, January 3, 2012
Query to search text In Triggers (SQL SERVER)
SELECT OBJECT_NAME(id) FROM syscomments WHERE [text] LIKE '%your_search_here%' AND OBJECTPROPERTY(id, 'IsTrigger') = 1 GROUP BY OBJECT_NAME(id)
Friday, September 2, 2011
ODBC FOR 32 BIT
In order to make dsn on 64 bit machines for vb6 and win32 projects you should use the following line to open the odbc...
c:\Windows\SysWOW64\odbcad32.exe
c:\Windows\SysWOW64\odbcad32.exe
Monday, August 29, 2011
Reset VSS Admin Password...
Copied from : http://www.tek-tips.com/viewthread.cfm?qid=51186
Hi
I hacked the um.dat file to remove the Admin password
from offset 80 the bytes are (all numbers are hex)
0:80 55 55 bc 7f 41 64 6d 69 6e 00 00 00 00 00 00 00
0:90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0:a0 00 00 00 00 90 6e 00 00 a8 01 00 00 00 00 00 00
Once you do this the admin password will be empty (no password) you can then login and set.
Hi
I hacked the um.dat file to remove the Admin password
from offset 80 the bytes are (all numbers are hex)
0:80 55 55 bc 7f 41 64 6d 69 6e 00 00 00 00 00 00 00
0:90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0:a0 00 00 00 00 90 6e 00 00 a8 01 00 00 00 00 00 00
Once you do this the admin password will be empty (no password) you can then login and set.
Wednesday, August 17, 2011
SUSE 11.3 (Error Loading Operating System Fix)
Try re-installing grub.
Whilst booted with the USB drive - open a terminal and become su, and follow this
You enter this ---------------- grub
Computer returns like this ---- grub>
You enter this ---------------- find /boot/grub/menu.lst
Computer returns like this ---- (hd0,1)
Here, (hd0,1) is Grub's pointer to my openSUSE installation. Your pointer should be the same, I edited this example to (hd0,1).
You enter this ---------------- root (hd0,1)
Computer returns like this ---- Filesystem type is ext2fs, partition type 0x83
You enter this ---------------- setup (hd0)
You see several lines like this --- Checking if /boot/grub/stage1 exists ... yes Computer finally returns this-- Succeeded.......Done
You enter this ---------------- quit
You enter this ---------------- reboot
Whilst booted with the USB drive - open a terminal and become su, and follow this
You enter this ---------------- grub
Computer returns like this ---- grub>
You enter this ---------------- find /boot/grub/menu.lst
Computer returns like this ---- (hd0,1)
Here, (hd0,1) is Grub's pointer to my openSUSE installation. Your pointer should be the same, I edited this example to (hd0,1).
You enter this ---------------- root (hd0,1)
Computer returns like this ---- Filesystem type is ext2fs, partition type 0x83
You enter this ---------------- setup (hd0)
You see several lines like this --- Checking if /boot/grub/stage1 exists ... yes Computer finally returns this-- Succeeded.......Done
You enter this ---------------- quit
You enter this ---------------- reboot
Subscribe to:
Posts (Atom)