|
I need to send sms while restarting android phone. Any idea to send sms on booting..?
Thanks in advance
|
|
|
|
|
You can do it by extending BroadcastReceiver.
public class MyBootReceiver extends BroadcastReceiver
{
@Override
public void onReceive(Context context, Intent intent)
{
}
}
Then you need to add android.permission.RECEIVE_BOOT_COMPLETED permission in Androidmanifest.xml as well as your BroadcastReceiver
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<receiver android:name="com.example.helloworld.MyBootReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"></action>
</intent-filter>
</receiver>
|
|
|
|
|
Guys i need help..
I need to convert MSsql server database to sqlite database(.sqlite3) for implementation for my android project is there any tools to convert MSSQL to SQlite.
Please help me..On this issue...
Thanks in advance..
|
|
|
|
|
|
Thank you so much
|
|
|
|
|
In android, how can I access files from any path that is not included in the .apk file.
I am making an application that reads the data from .xml file. Now this file can be updated from the server, and new data should be shown to the user.
but i am not able to access the file when its not in the apk.
help will be much appreciated.
|
|
|
|
|
|
how can make connect andriod app to central database like sql server,my sql using jdbc? please suggest me coding part
if it is not possible,please suggest me any approach
|
|
|
|
|
|
You can create an ASP.NET WEB API which returns data in JSON format which is a data format that is friendly with Mobile platforms and then consume the Web API from your android application check the official asp.net site for tutorials on getting started with ASP.NET WEB API.
http://www.asp.net/web-api[^]
Hope this helps.
|
|
|
|
|
My answer may help you to get this doubt clarified.
We can not connect to SQL Server or My SQL database from Android app. We need to have a middleware client to get this done. This is called "Web Service".
Basic flows of web service are (From mobile app perspective);
1. Generally Mobile application (In your case Android app) requests some data to web service.
2. Web service fetches data from backend (SQL Server & My SQL etc..) and passes to Mobile application.
3. Mobile Application processes the data.
So, My suggestion to you to connect to database from Android app is, You learn the basics of web service. Every mobile platform has got APIs to call web service.
Thank You,
Irudaya Raj,
Mobile Application Developer (Android, iOS & Windows Platforms),
Bosco Soft Technologies PVT limited,
Thiruppattur.
|
|
|
|
|
i installed sdk in ubuntu, i installed all the packages except google tv,when i run the code, it show me some errors.to clean that errors i went to project,but menu bar is not opening. what i have to do plzz suggest me
|
|
|
|
|
You can download a zipped copy of the development kit that contains eclipse and the necessary things needed for developing Android application.
You can get the download from http://developer.android.com/sdk/index.html picking your OS platform.
Hope this helps. Happy coding.
|
|
|
|
|
|
|
To move from one activity to another in Android, you need an Intent.
The sample format of how to use an Intent is pasted below.
Intent intent = new Intent(context,NameofActivitytoMoveTo.class);
startActivity(intent);
Suppose you have ActivityOne in your android project and you want to navigate to ActivityTwo, use the sample code below:
Intent intent = new Intent(ActivityOne.this,ActivityTwo.class);
startActivity(intent);
The two lines of code above will be in the button onClickListener.
Hope this helps.
Happy coding.
|
|
|
|
|
Is anyone know from Ipad or smartphone (android line usually) can connect to SQL Server and load data and grid display on the handset is not in on ? Using the C# programming language for Androi line is not ? or to use programming languages to be what ?
|
|
|
|
|
Hello.
I wanna to implement a web server in android, based on REST protocol.This web server receives special commands based on REST, decode them, do requested task(s) and return result to client.
I'm a novice in android programing and also in web based servers and REST protocol.Can any body give me a step bye step help to do this.
Thanks very much.
|
|
|
|
|
eb.shirani wrote: Can any body give me a step bye step help to do this. Not in a forum like this. As a novice in all three disciplines you need to go and do a lot of studying to learn how to use these features. For Android go to http://developer.android.com/index.html[^]. For the others try searching for useful links with Google.
|
|
|
|
|
Hi Richard MacCutchan, Thanks for your reply.
I need a sample program that do it in android,based on such a sample i can implement such a server.
I searched by Google to find such a program, but I couldn't find useful sample code.If you have useful links,I appreciated to help me.
Have a good time.
|
|
|
|
|
I don't have any more links than Google could find for you. Try refining your search parameters.
|
|
|
|
|
Hi
You can use mongoose web server (https://code.google.com/p/mongoose/[^]) for developing your rest server framework.
Integrate your project to include Mongoose and then specify the endpoints, handle them in your project.
Thanks,
Sudhi.
|
|
|
|
|
Eu tenho que fazer um projeto para android na onde eu vou ter que criar uma el para executar no android essa tela vai ter uns campos na hora que eu preencher os campos e clicar em salvar vai ter que salvar num servidor que eu tambem tenho que criar em java só que eu não estou conseguindo fazer então eu precisava da tela do cliente no android e do servidor em java se voces poderem me ajudar agradeço a tela pode conter as seguintes informações nome, endereço, idade, telefone.
|
|
|
|
|
Q : my requirement is my three activity in my app
first activity only for personal records save in database and click next button
second activity only for education records save in database and click next button
third activity only for professional records save in database and click next button
and final activity is submit records how to saved three activity records and submit to all records in final activity
Please help me
|
|
|
|
|
Hi friend,
Previoulsy i have also got same probelm,I have solve that probelm using sqlite database.store the records from firs activity to sqlite database table and again store records form second activity to same table in sqlite database and finally fetch data from database and store in any server database ie.mysql or anywhere else..
|
|
|
|