85 views

How to add or remove widgets home screen android 4

Video tutorial
How to add or remove widgets home screen Android 4.

Posted in Smartphone | Comments Off
87 views

How to Add Home Screen Widgets on Your Android Phone

Long press by finger on screen
From dialogue select Widgets
Select your widget
Put your widget on the screen

Video tutorial – to add home screen widgets – Android 2.1

Posted in Smartphone | Comments Off
92 views

Eclipse – How open deleted project from workspace

If project is in workspace and only not visible in project explorer using this:

Click on some project in project explorer
Menu:
File
Import project
Existing Projects into Workspace

Posted in Android Examples Code | Tagged | Comments Off
91 views

setTesting(boolean) from the type AdRequest is deprecated

Admob testing on emulator issue.
Android Eclipse code warning:
setTesting(boolean) from the type AdRequest is deprecated
Solution:
adRequest.addTestDevice(AdRequest.TEST_EMULATOR);

AdView adView = new AdView(this, AdSize.BANNER, "a14d9..........");//MY_AD_UNIT_ID
AdRequest adRequest = new AdRequest();
		adRequest.setTesting(true); // deprecated
 
		adRequest.addTestDevice(AdRequest.TEST_EMULATOR); // OK
		adView.loadAd(adRequest);
Posted in Android Examples Code | Tagged , , | Comments Off
142 views

Eclipse revert old version Android Development Tools

If you have trouble with compilation of new project after you make a update of android development tools you can go back to old version of the tools.

    • Open Help > About Eclipse… use the menu > About…
    • Click the “Installation Details” button.
    • Select the “Installation History” tab.
    • Select one of the previous configurations.
    • Click the “Revert” button at the bottom.

eclipse-revert-android-development-tools-1

eclipse-revert-android-development-tools-2

Posted in Android Examples Code | Tagged | Comments Off
187 views

No resource identifier found for attribute ‘showAsAction’ in package ‘android’

Try this:

Open file \res\menu\main.xml and other xml in this folder
Find row with android:showAsAction=”never”
Remove this.

Posted in Android Examples Code | Leave a comment
260 views

Change icon set Android developers example

How to quickly change all icon set in .apk project with Eclipse:

Right click on project in folder tree
Select New – Ohter

eclipse-icon-set-create-android-project

In open wizard dialog select Android Icon Set
eclipse-icon-set-create-android-project

Set Icon set name:
eclipse-icon-set-create-android-project

Open some large icon for your project for example 512×512 px and wizard will make all set of icons from one largest icon:
eclipse-icon-set-create-android-project

Wizard will create all set of icons from this one largest icon.
Click on finish button:
eclipse-icon-set-create-android-project

Posted in Android Examples Code | Tagged , , | Leave a comment
265 views

Select Get Selected Item JavaScript Html Example

<select id="idSelNick">
<option value="neuveden">Neuveden</option>
<option value="hlavni-mesto-praha">Hlavní město Praha</option>
<option value="stredocesky">Středočeský</option>
<option value="jihocesky">Jihočeský</option>
<option value="plzensky">Plzeňský</option>
</select>
 
// in script
var mysel = document.getElementById('idSelNick');
var seltxt = mysel.options[mysel.selectedIndex].text;
var selval = mysel.options[mysel.selectedIndex].value;
Posted in JavaScript | Tagged | Leave a comment
329 views

Timer JavaScript Example Code

Best of timer in JavaScript – preciseness in milisecond

// global variables
var _startDate = null;
var _stopDate = null;
var go = null; // timing
 
function startFC(){
_startDate = new Date();
if(go==null)timingFC();
}
 
timingFC(){
if(go==null){
   _startDate = new Date();
//   document.getElementById('idStartTime').innerHTML= _startDate.toLocaleTimeString();
   go=setInterval("s()",1000); // every 1 second == 1000 milisecond call function s()
 
   }
}
 
function s(){
var currentMiliSecond =  new Date() - _startDate;
var currentSecond = currentMiliSecond / 1000;
document.getElementById('idCurrentTiming').innerHTML= currentSecond.toString();
}
 
function stopFC(){
clearTimeout(go); // stop calling of s()
_stopDate = new Date();
var timeInMiliSecond = _stopDate - _startDate;
var timeInSecond = timeInMiliSecond / 1000;
var timeInMinute = timeInSecond / 60;
 
}
Posted in JavaScript | Tagged , | Leave a comment
458 views

Maturita Testy

Testy pro Android.
Český jazyk
Strojní technologie
Fyzika

Download maturita.apk

maturita testy

Posted in Android Software Download | Tagged , | Leave a comment
458 views