[android-developers] Android logo :D

2010-09-02 Thread Martins Streņģis
http://www.engadget.com/2010/09/02/shocker-googles-android-logo-boosted-from-atari-lynx-title-ga/ -- Mārtiņš Streņģis -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

Re: [android-developers] help

2010-08-31 Thread Martins Streņģis
http://www.lifeguardsiow.co.uk/images/ring.jpg :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread Martins Streņģis
i dont know why but i doesn't work on emulator on phones it works just fine try it :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

Re: [android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread Martins Streņģis
as i said earlier for some reaosn it doesnt work on emulators. that fix works only on real phones -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

Re: [android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread Martins Streņģis
sounds like daily wtf :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com

Re: [android-developers] On screen orientation changes activity restarted.

2010-08-15 Thread Martins Streņģis
add android:configChanges=orientation to your manifest in each activity activity android:name=Settings android:configChanges=orientation / -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Detect Wifi Enabled/Disabled

2010-08-12 Thread Martins Streņģis
WifiManager lWifiManager = (WifiManager) IntroVideoActivity.this.getSystemService(Context.WIFI_SERVICE); TelephonyManager lTelephonyManager = (TelephonyManager) IntroVideoActivity.this.getSystemService(Context.TELEPHONY_SERVICE); // if we have a fast connection (wifi

Re: [android-developers] Controlling an app's cache size

2010-08-10 Thread Martins Streņģis
for file cache i use file.lastModified() if smaller then my cahce time for example if file wasnt modified for 8 hours it will be deleted and when you access that file use file.setLastModified(System.currentTimeMillis()); int timeout = 60 * 60 * main.imagecache; //main.imagecachen int hours for

Re: [android-developers] Organizing the res/drawable folder

2010-08-10 Thread Martins Streņģis
you can add prefixes to your images like ico_ bicon_ profile_activity_ and so on -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

Re: [android-developers] Custom View

2010-08-08 Thread Martins Streņģis
why you just dont create a xml file which has those properties ? :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Persist a variable value

2010-08-06 Thread Martins Streņģis
db is simple :) but if you dont want db you could try files -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Re: Socket Timout in a simple HttpGet

2010-08-05 Thread Martins Streņģis
i know about socket timeout and it's no need to set something huge it needs about 65 seconds but for user 65 sec is way to long after about 60 seconds phone renews wifi device id is: String device_id = Secure.getString(this.getContentResolver(), Secure.ANDROID_ID); it's needed to send push

[android-developers] Socket Timout in a simple HttpGet

2010-08-04 Thread Martins Streņģis
08-04 11:25:03.562: WARN/System.err(10330): java.net.SocketException: The operation timed out 08-04 11:25:03.572: WARN/System.err(10330): at org.apache.harmony.luni.platform.OSNetworkSystem.connectSocketImpl(Native Method) 08-04 11:25:03.572: WARN/System.err(10330): at

[android-developers] Re: Socket Timout in a simple HttpGet

2010-08-04 Thread Martins Streņģis
btw on gprs it's working fine -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Re: Socket Timout in a simple HttpGet

2010-08-04 Thread Martins Streņģis
thx for advice :) but the problem persists on real phones not emulators I have samsung with android 2.1 buggy when recievs push notification htc desire 2.2 buggy on push and the old good htc tattoo 1.6 works like hell nothing can stop it :D i cant recieve noticications on emulators becouse they

[android-developers] tattoo apps on market

2010-07-24 Thread Martins Streņģis
Hi there! in my manifest file i added supports-screens android:largeScreens=true android:normalScreens=true android:smallScreens=true android:anyDensity=true /supports-screens uses-sdk android:minSdkVersion=3 android:targetSdkVersion=4

Re: [android-developers] Re: tattoo apps on market

2010-07-24 Thread Martins Streņģis
it seems that uses-feature autofocus was preventing it thanks for advice :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

Re: [android-developers] Re: Asynchronous Http Request

2010-06-02 Thread Martins Streņģis
c'mon infinite loop :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

Re: [android-developers] Asynchronous Http Request

2010-06-01 Thread Martins Streņģis
Mark you forgot while(1){ HttpGet get = new HttpGet(http://www.microsoft.com;); } :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

Re: [android-developers] Refreshing an activity on a tabwidget

2010-05-27 Thread Martins Streņģis
i use listview.setAdapter(); for refreshing dont know if it's correct but it works for me -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this