Tidak Bisa Download di Market

by erwin bong » Fri, 03 Dec 2010 11:49:23 GMT

Sponsored Links
 Dear All,

Kok saya tidak download Aplikasi di Market ya?

Mohon pencerahan nya..




Other Threads

1. Need Bluetooth UUID clarification

I am trying to connect to a Bluetooth headset, and it fails at the
time of connect with an error: "Service Discovery Failed". Following
is the code snippet.

BluetoothSocket btsock =

Obviously, the problem is with the UUID.

We've a J2ME implementation that can connect to the headset with UUID
final UUID RFCOMM_UUID = new UUID(0x0003);

Same headset can be connected on Symbian implementation using:
KSerialPortUUID = 0x1101;

We do not have the folks who worked on both J2ME and Symbian.
What should be the UUID in Android? What would be the 128 bit UUID for
SerialPort service?


2. Updating the UI in response to a received broadcast.

I have an app with an activity and a service.  The service schedules a
function to run using timer.scheduleAtFixedRate. When the timer task
runs, I want to update some TextView objects in the Activity's UI, so
that the user knows that the service has run, and the last thing it

So in the timer task I do:
                Intent intent = new
                SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd
                Date date = new Date();
                intent.putExtra("time", dateFormat.format(date));

Then, in the activity, I created:

        private int numMsgs1;
        private String dateTime1;

        public class CustomBroadCast extends BroadcastReceiver {
                public CustomBroadCast(){
             * @see
                        //public static final String TAG = "CustomBroadCast";

                        public void onReceive(Context context, Intent intent) {
                                Log.i("INFORMATION","Broadcasting message");
                                dateTime1 = intent.getStringExtra("time");
                                numMsgs1 = intent.getIntExtra("numberMsgs", 0);
                                // gotta get this to the gui thread somehow.



Now, where it says "gotta get this to the gui thread somehow" is where
I previously did dateTime.setText(dateTime1), but according to what I
read, that shouldn't work. And it doesn't :)

So I sent the empty message using the handler, as shown below:

        private Handler handler = new Handler() {
                public void handleMessage(Message msg) {
                        final TextView dateTime,numMsgs;
                        dateTime = (TextView) findViewById(R.id.datetime);
                        numMsgs = (TextView) findViewById(R.id.numMsgs);

 Now this, I expect to work. It doesn't. The screen stays mute.  In
fact, the de{*filter*} tells me that:
Thread [<3> main] (Suspended (exception Resources$NotFoundException))
        Resources.getText(int) line: 205
        TextView.setText(int) line: 2809
        TextMessageControlPanel$1.handleMessage(Message) line: 38
        TextMessageControlPanel$1(Handler).dispatchMessage(Message) line: 99
        Looper.loop() line: 123
        ActivityThread.main(String[]) line: 4203
        Method.invokeNative(Object, Object[], Class, Class[], Class, int,
boolean) line: not available [native method]
        Method.invoke(Object, Object...) line: 521
        ZygoteInit$MethodAndArgsCaller.run() line: 791
        ZygoteInit.main(String[]) line: 549
        NativeStart.main(String[]) line: not available [native method]

It feels like something is out of scope, but I'm not java-literate
enough to tell what.

My handler,  CustomBroadCast class, onCreate, onStart are all at the
same level inside my main activity class (extends activity.)

Can somebody shed some light?



3. multiple parameters with rawQuery in sqlite = BUG

4. HTML content on AppWidget

5. How to run a prefs activity from my widget !!

6. How to manage orientation dependent activities?

7. Supplying a different background drawable for a dialog?