Should we use jade androide to develop application

by sujitm » Fri, 17 Jul 2009 01:53:24 GMT


Sponsored Links
 Reposting since I could not see my post

I am building a social networking application for ADC-II. This needs
peer-to-peer communications.Since GTalk service is not there any more
(hoping some variant will be back in future), I have one easy option
to use JADE.

But JADE requires a running JADE platform to function properly. And
definitely this is a drawback if I use JADE.

Dan, your comments will be highly appreciated.

Thanks,
Sujit

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



Other Threads

1. How to build a custom view

I have a problem and i will be grateful if anyoune helps me.

Ok. I've started android programming 2 month ago. Now i am developing
a simple game, nava battle. For this programm i need to build a grid,
where i can place ships and coordinates. I can't seem to find out how
I should be doing this?
I think i should build a custom view, which will do all that i need.
If anyone could show some examle or explain how to build appropriate
view i'll be happy

2. AlarmManager and the PendingIntent that failed

The force close is quite commonly caused by a null pointer ecxeption...

The logcat info should be able to tell you where (and what) the problem is.




In order to learn how to use the AlarmManager I created an activity
that consists of a single button. When the button is pressed the
activity creates an Intent of itself and loads it into the
AlarmManager 3 seconds in the future before finishing.

So activity opens, user pushes button, activity closes, 3 seconds
later activity opens, repeat.

Problem is instead of opening an activity 3 seconds later I get an
error:
"The application [myappname] has stopped unexpectedly. Please try
again."

Here's the code for the button:
thanksButton.setOnClickListener(new View.OnClickListener() {
               public void onClick(View view) {
               setResult(RESULT_OK);

               Intent intent = new Intent(myappname.this,
myappnameBroadcastReceiver.class);
               PendingIntent appIntent = PendingIntent.getBroadcast
(myappname.this, 0, intent, 0);
               Calendar calendar = Calendar.getInstance();
               calendar.setTimeInMillis(System.currentTimeMillis());
               calendar.add(Calendar.SECOND, 3);
               AlarmManager am = (AlarmManager)getSystemService
(ALARM_SERVICE);
               am.set(AlarmManager.RTC, calendar.getTimeInMillis(),
appIntent);

               finish();
               }

       });

--------------------------------------------
Here's the broadcast receiver:
package com.myappname;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class myappnameBroadcastReceiver extends BroadcastReceiver {
       @Override
       public void onReceive(Context context, Intent intent) {
                       context.startActivity(new Intent(context,
myappname.class));
       }
}

---------------------------------------------
and here's the lines from the manifest.xml

               <receiver
                       android:name=".myappnameBroadcastReceiver"
                       android:process=":remote">
               </receiver>

--

3. Setting up Netbeans with Android SDK

4. How to open web pages from emulator anyway?

5. emulator: ERROR note

6. launching music player using intent

7. Drawing lines/shapes with Canvas that glow