|
Hi,
I am new to android development. I wanted to build a android mobile app which connects to a sql server database, retrieves a data from the table and displays it in mobile device. Similarly when i do some action on my application it updates the same in the database. Is there any tutorial / step by step process where i can refer to implement the same.
Your help is much appreciated.
Thanks and Regards,
Jay
|
|
|
|
|
jayakanth_ceg wrote: Is there any tutorial / step by step process where i can refer Yes, lots if you try a Google search, or maybe head over to http://developer.android.com/index.html[^].
Veni, vidi, abiit domum
|
|
|
|
|
alarm manager not working when mobile is turned off again turned on
in android
|
|
|
|
|
Android auto close apps when the memory is full.because of this you have to keep your apps running. to do this you have to use service. even you can download some apps which are used to keep running your apps.
modified 11-Feb-14 5:06am.
|
|
|
|
|
hello Friends please suggest me any code for creating simple game in android....Thank's Advanced
|
|
|
|
|
There are lots of samples to be found by posting that question into Google.
Veni, vidi, abiit domum
|
|
|
|
|
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..
|
|
|
|
|