yang mau bongkar Nexus one

by eric symitra dayan » Fri, 14 May 2010 11:01:15 GMT


Sponsored Links
 Yang punya Ncus One, Yang mau bongkar  ini linknya :
 http://www.ifixit.com/Teardown/Nexus-One/1654/1 

-- 
"



Other Threads

1. Don't see YouTube thumbnails anymore on Froyo

Hi.

using a WebView with Froyo I don't see the YouTube thumbnails anymore.
WebViewClient.shouldOverrideUrlLoading() is not called in Froyo, but was
called before. Please check out the example below. With Pre-Froyo you would
see a YouTube thumbnail two/thirds into the article, with Froyo you don't.

Any ideas?

Cheers,
Mariano

public class WebViewTestActivity extends Activity {
        /** Called when the activity is first created. */
        @Override
        public void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                setContentView(R.layout.main);
                WebView wv = (WebView) findViewById(R.id.webview);
                wv.setWebViewClient(new WebViewClient() {
                        public boolean shouldOverrideUrlLoading(WebView view, 
String url) {

                                if (url.startsWith("http:") || 
url.startsWith("https:"))
                                        return false;

                                Intent intent;

                                try {
                                        intent = Intent.parseUri(url, 
Intent.URI_INTENT_SCHEME);
                                } catch (URISyntaxException ex) {
                                        Log.w("Browser", "Bad URI " + url + ": 
" + ex.getMessage());
                                        return false;
                                }

                                if (getPackageManager().resolveActivity(intent, 
0) == null) {
                                        String packagename = 
intent.getPackage();
                                        if (packagename != null) {
                                                intent = new 
Intent(Intent.ACTION_VIEW,
                                                                
Uri.parse("market://search?q=pname:"
                                                                                
+ packagename));
                                                
intent.addCategory(Intent.CATEGORY_BROWSABLE);
                                                startActivity(intent);
                                                return true;
                                        } else {
                                                return false;
                                        }
                                }

                                intent.addCategory(Intent.CATEGORY_BROWSABLE);
                                intent.setComponent(null);
                                try {
                                        if (startActivityIfNeeded(intent, -1)) {
                                                return true;
                                        }
                                } catch (ActivityNotFoundException ex) {
                                }

                                return super.shouldOverrideUrlLoading(view, 
url);
                        }

                });

                wv.getSettings().setPluginsEnabled(true);
                wv
                                
.loadUrl("http://www.fscklog.com/2010/06/sammelsurium-zweite-ipad-
auslieferungswelle-scheint-anzulaufen-iphone-codesperre-kann-auch-unter-windows-
ausgetrickst-werde.html");
        }
}

-- 

2. Service getting Killed

Hey everyone,

I have a service in my app the creates an alarm and runs a check ever
X minutes. I am new to android and I was wondering is there a way to
prevent another app such as ATK (advanced task killer) from kill my
service/alarms? It seems that if I normally close the app my alarms
still work but when I go to ATK and stop the app the service dies as
well. Maybe thats the point, but this service is rather important and
most users would want it to run even if the app itself is no longer
running. I assume that if the system kills it for whatever reason then
their is nothing you can do about it. Could someone please inform me
on this issue and a possible solution to do what I need?

Thank you for your time,

Tommy

-- 

3. Issue in downloading Android Source

4. Filter email Exchange di Android

5. Best httpclient re-use stategy

6. Penampakan HP Cina Dual Booting Android/WM 6.5 T535

7. Module to Hold On to Camera