Intent for opening browser

by sam aldis » Mon, 13 Apr 2009 12:12:42 GMT


Sponsored Links
 Can anyone post me the intent for opening the
Browser on the url specified.?

--~--~---------~--~----~------------~-------~--~----~



Intent for opening browser

by Mattaku Betsujin » Mon, 13 Apr 2009 12:22:31 GMT


 startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("
 http://www.google.com ")));





--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Can I apply git tag command to Android Source Code.

Here is the scenario.

We have downloaded android cupcake mirror and make it git repository.
After doing that we have applied our own tag to android mirror. (For
examle: XYZ)

now, when we perform below commands,

repo init -u mobcom...@mobcom-git.sj.broadcom.com:/projects/
mobcom_andrgit/scm/git_repos/repo_android/platform/manifest.git -b
local

repo sync

We get all the android mirror code, but none of the git command works.
It says

fatal: not a git repository.

Why git repository is not created?

Any clude?

--~--~---------~--~----~------------~-------~--~----~

2. How can I specify a border color for an ImageView when it has focus

You can create a xml file under res/drawable. For example: res/
drawable/text_style.xml

Here is the content:
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
        <item android:state_pressed="true" android:drawable="@drawable/
shape_2" />
        <item android:state_focused="true" android:state_enabled="true"
android:drawable="@drawable/shape_5" />
</selector>

Here is shape_2.xml
<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <solid android:color="#FF0000FF"/>
    <stroke android:width="4dp" android:color="#FFFFFFFF"
            android:dashWidth="1dp" android:dashGap="2dp" />
    <padding android:left="7dp" android:top="7dp"
            android:right="7dp" android:bottom="7dp" />
    <corners android:radius="4dp" />
</shape>






--~--~---------~--~----~------------~-------~--~----~

3. file change notification permission for native c application?

4. After installing the cvs repository I get compilation error

5. invoking softkeyboard in android

6. Import bug MapView Superclass not found Dalvik class loader

7. Info about Developer phone