Monday, 15 July 2013

Helptext that shows how an android app works android which appear only once -



Helptext that shows how an android app works android which appear only once -

this might seem little weird!!

but wondering if add together help on app .which comes when first open app , when touch screen vanishes(only comes in first run).

the problem didn't know thing called tried search on google i'm near it.

it helpful if can provide info that(what called ,how add together in app)

thanks !!

check my answer thing on first setup.

put on first time run.

shpref = getsharedpreferences(prefs_name, mode_world_readable); sharedpreferences.editor pref_editor = shpref.edit(); pref_editor.putboolean("first_time", false); pref_editor.commit();

check this:

shpref = getsharedpreferences(prefs_name, mode_world_readable); boolean isfirstrun = myprefs.getboolean("first_run",false); if(isfirstrun){ txtviewhelp.setvisibility(view.visible); //logic of making invisible on touch outside } else txtviewhelp.setvisibility(view.gone);

hope helps.

android

No comments:

Post a Comment