OOT: salut buat suhompongg....

by ayip s » Sat, 26 Jun 2010 14:44:08 GMT


Sponsored Links
 Waah kemarin katanya pake daster? Wkwkwk

Dipaketin Langsung dari Nexus1




-- 
"



Other Threads

1. OpenVPN client for Android?

Hi--
  Is anyone aware of (or working on?) an openVPN client for Android?
While I'm admittedly not a developer myself, it doesn't seem that
there'd be any technical reason why this couldn't be done-- given that
OpenVPN already runs on Linux.

We use openvpn at work and it'd be great to be able to connect to our
office network via my G1...

thanks-

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

2. someone plz help me .. how to call built in camera app from my custom app ??

Do some debugging work...

The PackageManager can give you a list of all applications on your phone.
Step through them and find the Camera application and note the package name
of the camera application.

Assuming you have done that, you can do something similar to the following
(obviously putting in checks for the case the application doesn't exist,
etc...):

String packageName = <package name found in above steps>;
PackageManager mgr = getPackageManager();
Intent intent = mgr.getLaunchIntentForPackage(packageName);
startActivity(intent);

If the getLaunchIntentForPackage method returns null, as it sometimes does,
then you will have to create a new intent instead with something similar to
this:
Intent intent = new Intent();
intent.setClassName(packageName, className);

I have not looked into how to find the className of an arbitrary application
but I'm sure with a little work you can figure it out.

I have already explained to you how to do this, both in these forums and
when you emailed me directly.  Rather than continually posting the same
question over and over and waiting for someone to do your coding for you and
give you complete functional code, I would suggest looking through the
developer guide and the SDK reference docs and trying to figure it out for
yourself.

http://developer.android.com/reference/packages.html
http://developer.android.com/guide/index.html

Thanks,
Justin

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------






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

3. Android Open-Source Project on devices

4. File length is 0, which is not true... ?

5. How to find permissions required

6. Wallpapers for Android

7. GPS-Tracking application and telephone call