|
You can try andengine to develops android games.
|
|
|
|
|
Hi EveryOne,
I would like to create an app in android in such a way that i works through an Centralized Database.
I am a Beginner in Android and not worked on any big app. So i dont have any idea on how to create this centralized Database. So is their any link or exapmles so that i can refer...!
Example:Register & Login
The User Registered With his details should be stored in the Centralized database.. And if he tries to login based on the details in the Database he should Login(Validation Of UserName and Password)
|
|
|
|
|
As this Stackoverflow[^] suggests.
Put your database on a server, Create a web service / WCF to sit in between your android app and the database
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
|
i am developing a call recorder application..in this the recording done by background service class now how can i receive the call info in main activity to display on UI.
|
|
|
|
|
You should use and Handlers...
Not so easy to implement.
public class YourService extends Service {
public static final int SAY_HELLO = 1;
public static final int REPLY_HELLO = 2;
private int cnt = 0;
class IncomingHandler extends Handler {
@Override
public void handleMessage(Message msg) {
switch (msg.what) {
case SAY_HELLO:
msg.replyTo.send(Message.obtain(null, REPLY_HELLO, cnt++, 0));
break;
}
}
final IncomingHandler mHandler = new IncomingHandler();
final Messenger mMessenger = new Messenger(mHandler);
}
...
final Messenger mMessenger = new Messenger(new IncomingHandler());
private Messenger mBoundService;
private ServiceConnection mConnection = new ServiceConnection() {
public void onServiceConnected(ComponentName className, IBinder service) {
mBoundService = new Messenger(service);
mIsBound = true;
try{
Message msg = Message.obtain(null, 1);
msg.replyTo = mMessenger;
mBoundService.send(msg);
} catch (RemoteException ex){
ex.printStackTrace();
}
}
public void onServiceDisconnected(ComponentName className) {
mBoundService = null;
Toast.makeText(context, "Connection GONE", Toast.LENGTH_SHORT).show();
}
};
public void doBindService() {
Intent intent = new Intent("com.yourpackage.YourService");
if (!context.bindService(intent, mConnection, Context.BIND_AUTO_CREATE)) {
try {
context.unbindService(mConnection);
} catch (Throwable t) {}
return;
}
}
public void doUnbindService() {
if (mIsBound) {
Message msg = Message.obtain(null, MESSAGE_UNREGISTER_CLIENT);
msg.replyTo = mMessenger;
try{
mBoundService.send(msg);
} catch (RemoteException ex){
}
context.unbindService(mConnection);
mIsBound = false;
}
}
So Sry... Im not so good helping ppl. Just wanted to share this, becouse it has been hard for me to.
|
|
|
|
|
Hello, I'm French, so sorry for my bad english, and one of my trainer want i ask something in an English forum. Sorry if this question are already ask.. So i'm here
I'm a newbie in android development, I learn it with some tutorial i find on web, but I see to transfer an object data from one activity to another activity,
We have two possibility, make the object parcelable or serializable, I think I understand the difference beetwen two...
But I don't understand what method are better than other, and why ..
Or maybe two are good i don't know ...
Someone can explain me ?
|
|
|
|
|
|
hi..i have one problem..i want to do like this..in android.
user enter his determined time..and i want to at that time profile would be changed ..synchronization with avd's time in every two second...and profile changed ..but one problem is there...
for(i=0;i<100;i++)
{
while (System.currentTimeMillis() < endTime) {
synchronized (this) {
try {
wait(endTime - System.currentTimeMillis());
} catch (Exception e) {
}
}
}
}
please give right coding..thanks in advance.
|
|
|
|
|
i want to save longitude and latitude values in database in every 10 minutes in android
|
|
|
|
|
The question is so good you asked it twice?
=========================================================
I'm an optoholic - my glass is always half full of vodka.
=========================================================
|
|
|
|
|
You have to use inteval.then set time.but before that you have to use service to keep it running all time.
|
|
|
|
|
how to save longitude and latitude in every 10 minutes in android
|
|
|
|
|
|
Please tell me about the following :-
1) Most popular software used for android application
2) Most Advanced language for android application
Thanks in advance
|
|
|
|
|
|
|
i need help to run my application in background like a call recorder that run as background and record calls without asking for permission. what method or class i should use..
|
|
|
|
|
|
infinite background in thread..
|
|
|
|
|
I am trying to display a multiplication table with delay. My code is working fine but I am not able to implement the delay.
Here is My code:-
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;
public class TestActivity extends Activity{
Button tableButton1;
TextView txtView;
Runnable r;
String s;
int value = 0;
static int count = 0;
Handler handle = new Handler();
StringBuilder sb = new StringBuilder();
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.text_display);
txtView = (TextView) findViewById(R.id.outputTXT);
tableButton1 = (Button) findViewById(R.id.seven);
tableButton1.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
Toast.makeText(getApplicationContext(), "display" , 222).show();
value= Integer.parseInt(tableButton1.getText().toString());
r = new Runnable() {
@Override
public void run() {
count+=1000;
if(count==10000){
count = 0;
value=0;
handle.removeCallbacks(r);
sb.setLength(0);
Toast.makeText(getApplicationContext(), "display counter" +sb, 222).show();
}else{
sb.append(value + " x " + count/1000 + " = " + count/1000 * value+ "\n");
Toast.makeText(getApplicationContext(), "Hi" +sb, 222).show();
handle.postDelayed(this, 1000);
}
}
};
}
});
}
Any answer is appreciable.
Thank in advance
modified 25-Jan-14 3:32am.
|
|
|
|
|
Hi dudes (and perhaps the odd dudette)
I'm looking for cross platformer who can convert my windows phone app to Android and iOS and get paid for it (but without me forking out a gazillion!)
Oh yeah it involves geolocation (google maps) and web service calls to an azure cloud service currently running
Suggestions welcome
cheers
Bryce
MCAD
---
modified 23-Jan-14 23:18pm.
|
|
|
|
|
Why not just use Xamarin[^], really isn't that expensive if your app isn't too big. Most of your code base would be reusable and all programmable in C#.
|
|
|
|
|
First of all i congratulate Mr. KARTHIK on reaching 10K reputation points on code project..
Sir,
I m making an android project that will enable blind children to give their exams
In this project i am using some modules...
1) braille input conversion to english text
2) text to speech
there are some submodules to the above modules..
but i m not getting wht else can i do in this project?
please give your suggestions....
|
|
|
|
|
Didn't I give you something?[^]
thatrajaCode converters | Education Needed
No thanks, I am all stocked up. - Luc Pattyn
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute
|
|
|
|