Newbie dunia Android

by Darwin S » Fri, 23 Apr 2010 05:32:10 GMT


Sponsored Links
 Hi Guys,

Salam kenal semua. Saya newbie di dunia Android.

Disini moderators siapa aja ya? salam kenal :)

Cheers,
Darwin

-- 
"



Newbie dunia Android

by riswan christianto » Fri, 23 Apr 2010 07:55:38 GMT


 Salam kenal bro...

@jakontil
-L E G E N D-
my mini review:  http://tinyurl.com/y2yejtt 




Hi Guys,

Salam kenal semua. Saya newbie di dunia Android.

Disini moderators siapa aja ya? salam kenal :)

Cheers,
Darwin


 --
"

-- 
"


Sponsored Links


Newbie dunia Android

by Lutfi Hidayat Ramdhani » Fri, 23 Apr 2010 07:58:34 GMT


 Salam kenal

Moderator? Tunjuk2 mail atas saya :p

@lutfihidayatr
im not a google defender but i always love google innovation




Salam kenal bro...

@jakontil
-L E G E N D-
my mini review:  http://tinyurl.com/y2yejtt 



Hi Guys, > > Salam kenal ...

-- 
"



Other Threads

1. Force Close on startActivityForResult since 1.5 update on phones but not emulator

Hi Tom,

Emulators are great for "happy path" testing, meaning they quickly
allow you to test your program without a real device.  But don't
confuse this for how your users are gonna thrash your game on a real
phone in their real worlds.  :)

A couple of things you won't be able test very well on an emulator:

1) Orientation changes
Changing the phone's orientation destroys and recreates the currently
displayed view.  Your users will change orientations at will when they
need to type something (at least prior to the 1.5 on screen
keyboard.)  If your app is in the foreground, this destroys your
current activity and creates a new one.

2) Low Memory Conditions
The Android Java VM will do whatever it can to keep the foreground
process (the one with the UI focus) responsive.  To this end, it will
need to start freeing up resources from other apps when needed, and,
in rare instances, will kill background apps.  This is where I ran
into most of my problems with my game.  I didn't account for users
doing normal things like bringing an app up, using it for a bit,
pressing the home button, going somewhere else, maybe even putting
their phone to sleep for a while and then coming back to your app
later.  You'll need to plan for this!  If you haven't already done so,
study this backwards and forwards and memorize it:
http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle

3) Forcing Android to terminate your app and relaunch it (yes, Android
really does do this sometimes)
Do you have any background threads running that assume certain
resources are around that may have been cleaned up while your app was
in the background?  Make sure that all the code you need to initialize
your app gets properly called in the case where your app gets killed,
but Android launches the activity that was last on the top of the
stack.

Hope this helps,

- Mike
--~--~---------~--~----~------------~-------~--~----~

2. A question on Intents.

Hello,

I had some conceptual doubts about Intents. Let me explain it with
respect to one of my upcoming applications:

The application will be having three major logical facets: The call
control part, registration part and subscriptions (to a resource on
the remote server).

I am thinking of designing these three logical facets as individual
android services.

On application startup, i am thinking of creating a master
bootstrapping service, that invokes these other 3 services and starts
them up. Similarly, when the application needs to shut down, this
master service will perform the shutdown procedures.

For doing so, i will need to use Intents as per the developer guide.
( startService(Intent) for starting my services and stopService
(Intent) for stopping my services respectively).

As my requirement is only to signal the service and start it, i will
specify the absolute class name of the target service to be started.

My doubt comes here. The Intent object has 2 characteristics: action
and data. As my 3 logical services described above, do not have a UI
component (will be handled separately), providing an action is not
relevant for this use case. Data has to be represented as a URI. So
will the class name of the target service be specified as a URI ?
Secondly, class name here implies the entire package namespace of the
class (org.test....) ?

Thanks in advance

aayush




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

3. How to send an intent from command line?

4. How to get bitmap infomation before decode an image file?

5. Display a simple alert message in Android 1.5

6. SIGSEGV during Android startup

7. 1.5 addjavascriptinterface