WT-share : Speedtest Smart Evdo @Bandung :)

by Justinus » Wed, 21 Apr 2010 10:41:09 GMT


Sponsored Links
 Mantap..... :D , sama kaya TFlash Unlimited saya yg akan saya tutup :P

hehehehe soalnya kurang speed segitu utk saya pribadi :)





Just share ;) as atch guys.. *ini pake inet gratisan loh,isi pulsa 50rb free inet slama 15hari* #Sekalian paging boss JOHAN JOJO,,ni uda ane jawab di jalum ya boss ;) smoga makin keracunan. Hahahahahahahaaha.. Tio.Ping9:36a || 4/21/2010. @bandung. es-bile.: 021-33111998 : sa...@yes-mobile.net ------------------------------------------------------------------------
-- Jus* || owner white google_one || HTCClay's CSDI_REMIX_SuperCSDI_X10 v1 update 4/12/2010 ~ send using pc jang krik krik krik ~ $ www.cash-flowing.com $ -- "



WT-share : Speedtest Smart Evdo @Bandung :)

by Renner Chen » Wed, 21 Apr 2010 10:44:57 GMT


 Hmmm coba si speedtest yop enwan loe yg pake paketan internet yang
perbulannya uang hangus hanya untuk bayarin paket, huahahaha :kompor:

....... kaboer, wush... wush!

--rc
What droid doesn't, Ultimate Droid does!!...
japri: android.nyet....@anjroid.net




Kok cuma segitu ping?
Biasa aja dong?

@yopiesuryadi
www.jeruknipis.com/forum


-----Original Message-----
From: "Tio.Ping.quot; <tio.ping.andr...@yes-mobile.net>
Date: Wed, 21 Apr 2...

-- 
"


Sponsored Links


Other Threads

1. How to keep transparency through canvas redraw

Hi,

I need a layout to open with an effect of expanding opening. The
layout grows until it takes the whole screen, but the content is not
scaled.
So I make a layout, override the onDraw, clipRect with a Rect that
grows with a timer.
Until there it works.
But once the layout is fully expanded, it redraws because it contains
a webview with javascript animation. In the "background" of my layout,
I have drawn a slight gray overlay or background using:
canvas.drawArgb(70, 127, 127, 127) method in onDraw().
The problem is, since onDraw() is called again, the background goes
darker, until it is completely gray, it looses its transparency.

I don't manage to avoid this problem.

If I put a background to the layout, it is shown on the whole layout
as soon as it is drawn, so the clipRect does not affect the
background, this is not the behaviour I need...


[code]
private class ExpandedLayout extends RelativeLayout {

                private int topRect, bottomRect, leftRect, rightRect;

                private int initTopRect, initBottomRect, initLeftRect,
initRightRect;

                private Timer viewTimer;

                private TimerTask updateMaskTask;


                public ExpandedLayout(Context context) {
                        super(context);
                        topRect = 0;
                        bottomRect = screenHeight;
                }

                public void setBounds(int topInit, int bottomInit, int 
leftInit, int
rightInit) {
                        topRect = topInit;
                        bottomRect = bottomInit;
                        leftRect = leftInit;
                        rightRect = rightInit;

                        initTopRect= topInit;
                        initBottomRect = bottomInit;
                        initLeftRect= leftInit;
                        initRightRect = rightInit;
                }

                public void show() {
                        viewTimer = new Timer();
                        updateMaskTask = new TimerTask(){
                                @Override
                                public void run() {
                                        if (topRect > 0) {
                                                topRect = (topRect-1 < 0) ? 0 : 
(topRect-1);
                                        }
                                        if (bottomRect < screenHeight) {
                                                bottomRect = (bottomRect+1 > 
screenHeight) ? screenHeight :
(bottomRect+1);
                                        }
                                        if (leftRect > 0) {
                                                leftRect = (leftRect-1 < 0) ? 0 
: (leftRect-1);
                                        }
                                        if (rightRect < screenWidth) {
                                                rightRect = (rightRect+1 > 
screenWidth) ? screenWidth :
(rightRect+1);
                                        }
                                        postInvalidate();
                                        if ( (topRect == 0) && (bottomRect == 
screenHeight) && (leftRect
== 0) && (rightRect == screenWidth) ) {
                                                updateMaskTask.cancel();
                                                viewTimer.cancel();
                                                postInvalidate();
                                        }

                                }
                        };
                        viewTimer.schedule(updateMaskTask, 200,5);
                }

                public void hide() {
                        viewTimer = new Timer();
                        updateMaskTask = new TimerTask(){
                                @Override
                                public void run() {
                                        if (topRect < initTopRect) {
                                                topRect = (topRect+1 > 
initTopRect) ? initTopRect : (topRect+1);
                                        }
                                        if (bottomRect > initBottomRect) {
                                                bottomRect = (bottomRect-1 < 
initBottomRect) ? initBottomRect :
(bottomRect-1);
                                        }
                                        if (leftRect < initLeftRect) {
                                                leftRect = (leftRect+1 > 
initLeftRect) ? initLeftRect : (leftRect
+1);
                                        }
                                        if (rightRect > initRightRect) {
                                                rightRect = (rightRect-1 < 
initRightRect) ? initRightRect :
(rightRect-1);
                                        }
                                        if ( (topRect == initTopRect) && 
(bottomRect == initBottomRect)
&&
                                                         (leftRect == 
initLeftRect) && (rightRect == initRightRect)) {
                                                updateMaskTask.cancel();
                                                viewTimer.cancel();
                                        }
                                        postInvalidate();
                                }
                        };
                        viewTimer.schedule(updateMaskTask, 200,5);
                }

                @Override
                protected void onDraw(Canvas canvas) {
                        canvas.clipRect(new Rect(0, topRect, screenWidth, 
bottomRect),
Region.Op.REPLACE);
                        canvas.drawArgb(70, 127, 127, 127);
                        super.onDraw(canvas);
                }


        }
[/code]

Thanks.

-- 

2. Need help with tabbed layout

I'm new to Android development so please bear with me.  I have created
an app in WebOS and I'm keen to try and re-create for the Android
platform.  I have tried to follow the tutorial for creating a tabbed
view and to some extent I have succeeded.  However, the problem that I
am having is that when I switch from tab to tab any text or graphics
is overwritting the tab elements and not displaying below the tabs
themselves.  I'm sure I've done something stupid that is easy to fix.

Here are the files that I have.  I have my main class which extends
TabActivity.  The code is as follows:

*package com.dtwconsulting.golfcaddie;

import android.app.TabActivity;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.widget.TabHost;

public class GolfCaddie extends TabActivity {
   /** Called when the activity is first created. */
   @Override

   public void onCreate(Bundle savedInstanceState) {
       super.onCreate(*
*savedInstanceState);
       setContentView(R.layout.**splashmain);

* *        Resources res = getResources(); // Resource object to get
Drawables
       TabHost tabHost = getTabHost();  // The activity TabHost
       TabHost.TabSpec spec;  // Resusable TabSpec for each tab
       Intent intent;  // Reusable Intent for each tab

* *        // Create an Intent to launch an Activity for the tab (to be
reused)
       intent = new Intent().setClass(this, MainActivity.class);

* *        // Initialize a TabSpec for each tab and add it to the TabHost
       spec = tabHost.newTabSpec("main").**setIndicator("Main",
                         res.getDrawable(R.drawable.ic_**tab_main))
                     .setContent(intent);
       tabHost.addTab(spec);

* *        // Do the same for the other tabs
       intent = new Intent().setClass(this, PlayersActivity.class);
       spec = tabHost.newTabSpec("players").**setIndicator("Players",
                         res.getDrawable(R.drawable.ic_**tab_players))
                     .setContent(intent);
       tabHost.addTab(spec);

* *        intent = new Intent().setClass(this, CoursesActivity.class);
       spec = tabHost.newTabSpec("courses").**setIndicator("Courses",
                         res.getDrawable(R.drawable.ic_**tab_courses))
                     .setContent(intent);
       tabHost.addTab(spec);

* *        tabHost.setCurrentTab(0);

* *    }

* *    public boolean onCreateOptionsMenu(Menu menu) {
       MenuInflater inflater = getMenuInflater();
       inflater.inflate(R.menu.main_**menu, menu);
       return true;
   }
}*

My R.layout.splashmain XML code is as follows:

*<?xml version="1.0" encoding="utf-8"?>
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
   android:id="@android:id/**tabhost"
   android:layout_width="fill_**parent"
   android:layout_height="fill_**parent">
               <TabWidget  android:id="@android:id/tabs"
                       android:layout_width="fill_**parent"
                       android:layout_height="fill_**parent" />
       <FrameLayout android:id="@android:id/**tabcontent"
                        android:layout_width="fill_**parent"
                        android:layout_height="fill_**parent"
                        android:padding="5dp" />
</TabHost>*

In addition to the above I have a class file for each tab and a layout
file for each tab too.  To give an example of the main class and XML
layout file:

*package com.dtwconsulting.golfcaddie;

import android.app.Activity;* *
import android.os.Bundle;

public class MainActivity extends Activity {* *
   public void onCreate(Bundle savedInstanceState) {
       super.onCreate(**savedInstanceState);

* *        setContentView(R.layout.main);
   }
}

<?xml version="1.0" encoding="utf-8"?>* *
       <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
                             android:layout_width="wrap_**content"
                             android:layout_height="fill_**parent"
                             android:fitsSystemWindows="**true"
                             android:background="@drawable/**golfcaddie">
       </LinearLayout>
*
So, when this main tab is displayed the background image
(golfcaddie.png) completely displays on the entire screen over the top
of the tabs.  I've tried playing around with things but all to no
avail.  I either get the background overlaying the tabs, or I get
nothing at all.  I suspect that I am just not grasping these layouts
and how they interact.

Any help/direction on this would be much appreciated, and perhaps I am
not even doing this the best way.  I ended up Googling about doing a
tabbed view and was lead a little away from the Google docs.

-- 

3. WebView Page Not Found Error Trapping

4. Webview cache FALLBACK crash?

5. Android2.3 released (Gingerbread)

6. Incorrect RowId with SQLite using FTS3 on Android 2.2

7. Freeze problem on a lot of devices. Help Please!!!