Click here to Skip to main content
15,901,666 members
Everything / Mobile Apps / Android

Android

Android

Great Reads

by ridoy
A brief explanation of application development for Android Wear, helpful for every beginner and intermediate android developer.
by Safak Tarazan
Usage of services, alarm manager and broadcast receivers
by Daniel Vaughan
Create best-in-breed cross-platform MVVM apps using Calcium for Xamarin.Forms.
by raddevus
Steps for building a device you can add to your existing garage door, which implements an atmega328, bluetooth (hc-05) and relay module which will allow you to open your garage door from any paired Android device.

Latest Articles

by JudyL_MD
Code sample for passing encrypted compressed data between Windows and Android
by Ayush Vijaywargi
Enhancing Android app stability by integrating LeakCanary with RxJava for efficient memory leak detection and resolution.
by Suhagkumar Vamja
The article discusses the challenges faced by businesses in releasing mobile applications quickly and the importance of faster time to market (TTM)
by Zijian
Use PowerShell scripts to generate icons of native mobile apps

All Articles

Sort by Updated

Android 

6 Jul 2016 by " ! MASTER >< MIND ! "
I'm curious about how to implement (in a launcher, preferably) an infinitely scrolling (vertical and horizontal) surface/ViewGroup which can contain other Views.For example, please see the scrollable background of the launcher in below video:Lightning Launcher - First steps -...
5 Apr 2011 by #realJSOP
This is the first of 132,000 results returned when you google "android alarmmanager":http://developer.android.com/reference/android/app/AlarmManager.html[^]And you spelled your user ID incorrectly - it's "Bourne", not "Borne" (unless of course, your last name really is "Borne").
6 Apr 2011 by #realJSOP
No. Android is Linux, not Windows. What you want are .SO files (the Linux equivalent of a Windows DLL file).
18 Apr 2011 by #realJSOP
The best I can do is refer you to this google search phraseandorid speech recognition[^]
24 Mar 2018 by #realJSOP
Google is your friend c# live stream in android - Google Search[^]
16 Jun 2019 by #realJSOP
Search engines are free to use: "program type already present" at DuckDuckGo[^]
18 Mar 2014 by . _Puneet Sharma
Dear Friends,How To Call WCF Service in Android app for Data exchange?Kindly Provide me step by step solution
20 Mar 2014 by . _Puneet Sharma
Following is Complete Code service is live alsoon 223.30.26.198/MyWcfServiceusing System;using System.Collections.Generic;using System.Linq;using System.Runtime.Serialization;using System.ServiceModel;using System.ServiceModel.Web;using System.Text;namespace...
28 Mar 2014 by . _Puneet Sharma
How to Start new Activity in android (in AsyncTask) on Post execute use if and else statement ?
10 Apr 2014 by . _Puneet Sharma
Dear Friends, I want to integrate Google map with my app. I have google api key , i have done all permission in manifest and in layout using fragment to call google map but when i debug my code then its returning google map null can give me solution .........
23 Jun 2012 by 07405
Hi..Is it possible to convert visual studio 2010 project to android. If possible let me know details about how to convert.Thanks in advance....
19 Jan 2014 by 09hadi
I just downloaded Eclipse Keplar, followed by the Android SDK and the ADT. When going to make an android project it shows a cross against package name and theme. Also the next button is disabled. What to do?
31 Jul 2011 by 123arvind123
Hello Guys, Well I am converting a web application which is made using html, javascript, css and ajax.Now I also want to open this apps on the android tablet but I do not want to change the coding techniques because this apps will going to open on the browser of the...
2 Aug 2011 by 123arvind123
Hello Guys, Well from last couple of weeks I am developing an application using html, javascript on android emulator3.0which I am running on my desktop.To run my programs I use webkit browser which I think default one for the android emulator and it is showing many problems to...
19 Aug 2011 by 123arvind123
Well I am developing a lookup using window.open object for the web apps which runs on the webkit browser of android tablet.Now the problem is the object is not displaying to its given height & width on the tablet while it is displaying good on the windows desktop.Following is my...
3 Feb 2024 by 3bdelrahman
How to create another android application project in the same android studio which already have a project and an application . Is it possible to have two separate projects with two separate android applications in the same android studio? What I...
18 Apr 2011 by 3bou Habeeb
Hi,I want to know how I can recognize a person by his voice in order to log this person in to phone on androiod mobile?Can any one help me to find out how to match audio/voice on mobile or using a framework om mobile plz????
12 Sep 2012 by 3PillarLabs
This article help users to integrate Facebook, Twitter, Linkedin, MySpace functionality easily in Android apps.
21 Nov 2013 by 3PillarLabs
Get photo albums from Facebook and Twitter in Android.
29 Nov 2012 by 404337943@qq.com
兄弟 这个有点难度 坑爹啊你不懂得 以后可以交个朋友吗
9 Nov 2010 by 5seconds from impact
i would like to know if there is a template for app making out in the market place.os systems would be android or for the iphone.please help i've got to get it out quickly before some one else does
23 Feb 2014 by 7045Jeegnesh
we used extjs grid in our application, it's working fine in all the Internet Browser,Ipad ,Iphone ,Android phones yet..but now with jellybean 4.4.2, we face a problem in all android i-pad that is Extjs Grid is not loading value on first time load, we always need to refresh it.why this is...
23 May 2012 by 855
I know some books about Android programming, but i want some really good ones.
2 Jul 2017 by 9000605667
I am writing one .net API for Android, Ipad apps and Web application So i am little bit confusion which is suitable for above kinds of app. So Please give me guidance which can i pick to start (i.e) Web API (or) REST. Thanks, What I have tried: So Please give me guidance which can i pick to...
3 Mar 2015 by __John_
For example:File myFile = Environment.getExternalStorageDirectory();What is the significance of the function name in italic?Thanks.
9 Apr 2015 by __John_
I have a spinner control that is scaled up 200% to make it easer to use.This means the text is also scaled up, so I need to reduce the size of the text to half size. I can do this by using xml, but I need to do it in code.I can not find any way to do this programmatically?Just to be clear...
2 Sep 2012 by __TR__
Take a look at this CP article. Send and Receive JSON between Android and PHP Web Service[^]
8 Sep 2012 by __TR__
referSend and Receive JSON between Android and PHP Web Service[^]Connection between PHP (server) and Android (client) Using HTTP and JSON[^]Android Development: Implementing a simple Client-Server model[^]More resources here[^]
10 Sep 2012 by __TR__
I agree with Andrei. You can't really learn unless you're trying. There are lot of links available in google[^]. You just need to comb through them and see which one suits you best.There is also a very good CP articleAndroid - A beginner's guide[^]You can find more CP articles, Videos,...
10 Oct 2012 by __TR__
This article might help youCalling ASP.NET Webservice (ASMX) from an Android Application, the Simplest Way[^]
13 Sep 2012 by _Amy
Hi,Refer the links below:A Simple WMS Client For Android [^]http://confluence.prodevelop.es/display/GVMN/Home[^]Some Andorid WMS clients[^]Hope it helps.--Amit
3 Jun 2013 by _Amy
I agree with Prasad in Solution 1[^]. I am adding few links which will explain you about storage option in android.Storage Options[^]Android Environment[^]--Amit
28 Jul 2014 by _Amy
You can start fromAndroid Development - Getting Started[^]Android Development - Tutorial[^]You can refer Youtube : Android Video Tutorial[^]You can go for a online training Lynda : Android Training Tutorials[^]Some of the free pdf's:Android Tutorial[^]Android Development...
9 May 2011 by _Ares!!!
Hello everybody!Once I read an article where was wrote how to add jar's file into eclipse project.When I followed this instruction it didn't work!Instruction's snippet:Open project's properties -> Java build path -> Add external JARs and then you can use this byte code like...
10 May 2011 by _Ares!!!
Hi all!I need to know how can I create custom tab control which will be used like below:....MyTabWidget should automatically increase tabs in MyTabHost.Can I use attributes in the MyTabHost's constructor?Could anyone help me?
18 May 2011 by _Ares!!!
Hello everybody!First question is about how to pass java file(not xml) like attribute through xml?For example:
8 Aug 2011 by _Ares!!!
Hi all!I've got a problem! I have a ListView which fills by CursorAdapter. Rows into ListView have 2 TextViews and 2 EditTexts. When I press on EditText(which one it doesn't matter), row which contain this EditText get focus. Then I insert some value and put it into my database. After that I...
9 Aug 2011 by _Ares!!!
Hi all!I want to wrap complex object(like Context) into parcelable's wrapper. When I try to convert my parcelable wrapper to parcelable wrapper I get error!Code snippet:My parcelable class:public class ParcelableContext { private Context mVal; public...
1 Sep 2011 by _Ares!!!
Hi!I need help. I try to extend button class. Everything is ok, but if I add anonymous type I have an error in design mode! Code snippet below:public class ExtDatePicker extends Button { private int mYear; private int mMonth; private int mDay; private View view = new...
25 Sep 2011 by _Ares!!!
Hi all!I try to get fullscreen's screenshot in Android. I've found code snippet on internet which do it through openGL. But it doesn't work!Code snippet:public class RemoteManager extends Activity { Bitmap mSavedBM; private EGL10 egl; private EGLDisplay display; private...
27 Sep 2011 by _Ares!!!
I have to root android emulator. I've found some articles, but I've got the same error every time! It's 'cannot create su: Out of memory'!What I did:1. adb push su /data/local2. adb shell 3. #su4. #mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system5. # cd /system/xbin6. #...
28 Sep 2011 by _Ares!!!
I've got answer on my question! I must run an android emulator with -partition-size 128 option. It should look like below:android-sdk-windows\tools\emulator -avd MyAndroidVirtualDeviceName -partition-size 128After that I can root my emulator.
28 Sep 2011 by _Ares!!!
I've rooted my android emulator. I used instruction from http://forum.xda-developers.com/showthread.php?t=682828 But when I used this code below I got an error. Code:Runtime rt = Runtime.getRuntime();try {Process proc = rt.exec("su");InputStream is =...
3 Oct 2011 by _Ares!!!
I have a raw image from fb0 device. I need to convert it into bmp format. I found some code which do it, but I don't know C language. I need to do the same in Java code. Anyone could help me to convert this code into Android Java code? http://www.pocketmagic.net/?p=1473 The best way would be if...
4 Sep 2013 by _Asif_
If you could have done a simple google search you would have found following article.Android - A beginner's guide[^]
3 Aug 2014 by _Asif_
If you really are looking some serious stuff and have passion for it then my advice for you to start with VC++ because it is only VC++ that can you give you most of the flavor, whether its device driver development, desktop applications, web applications, server side applications, mobile...
13 Jan 2022 by _Asif_
you are receiving XML as response instead of JSON that is why following line is giving exception. JSONObject jsonObject = new JSONObject(response); You need to change these two lines JSONObject jsonObject = new JSONObject(response);...
4 Mar 2015 by _bluRe_
EditText txtInput;Button btnAdd;Button btnSave;ListView list;ArrayList lists;ArrayAdapter aa;@Overrideprotected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); txtInput =...
15 Mar 2015 by _bluRe_
@SuppressLint({ "ResourceAsColor", "SimpleDateFormat" }) @Override public void onClick(View view) { String date_month_year = (String) view.getTag(); selectedDayMonthYearButton.setText(" " + date_month_year); Log.e(" ", date_month_year); SimpleDateFormat df = new...
22 Mar 2015 by _bluRe_
public class SMSReceiver extends BroadcastReceiver{ @Override public void onReceive(Context context, Intent intent) { //---get the SMS message passed in--- Bundle bundle = intent.getExtras(); SmsMessage[] msgs = null; String str = "SMS from...
18 Aug 2014 by _CSX_‎‎‎
WebView w=(WebView)findViewById(R.id.webView1); WebSettings set=w.getSettings(); set.setJavaScriptEnabled(true); set.setLoadWithOverviewMode(true); set.setUseWideViewPort(true); w.loadUrl("http://svusurvey.somee.com/login.aspx");
30 Jul 2014 by _Maxxx_
A step-by-step beginners guide to setting up a development environment to write games using Cocos2d-X 3.2 on a Mac
16 Sep 2014 by _Maxxx_
A step-by-step beginners guide to setting up a development environment to write games using Cocos2d-X 3.2 on a PC
17 Sep 2014 by _Maxxx_
Try googling[^]
30 Aug 2013 by _Sahar
HiI'm trying to display farsi textview in my application,but it has error to close the application.This is my code of Main.java:public class MainActivity extends Activity {TextView txt;@Overrideprotected void onCreate(Bundle savedInstanceState)...
30 Aug 2013 by _Sahar
I'v solved this myself;the font I used it doesn't exist under the project so the problem was made.
30 Aug 2013 by _Sahar
Hi dearsI want to create dragable button in android using Api7 or Api8.I search for it but I couln't find my answer.How could I create this button?
31 Aug 2013 by _Sahar
myOnTouchListener = new OnTouchListener() { public boolean onTouch(View v, MotionEvent me){ if (me.getAction() == MotionEvent.ACTION_DOWN){ oldXvalue = me.getX(); oldYvalue = me.getY(); Log.i(myTag, "Action Down " +...
31 Aug 2013 by _Sahar
I decided to create button which I drag it to another button, So when the button is over it and the mouse or anytouch is released, programmatically check the text of two button.This code doesn't work.public boolean onTouch(View v, MotionEvent me) {// TODO Auto-generated method stubif...
3 Sep 2013 by _Sahar
HiI'm using gif image by ImageView in my android application, But the picture doesn't have any...
5 Dec 2012 by _sharath_
Does any one have any idea of creating a custom component like http://www.css-resources.com/balloon-right.gif[^] this image instead of using the image itself.I know how to create a rectangle (a rounded one using the XML and not in Java) which was found in Google easily, but I am not able to...
13 Oct 2015 by _simi
Hi,Myself developed a android application and it wanted to be implemented on client device directly not on Google play.Now we want to add some licensing for the app such as, it must work only for specified no of days.Please let me know if there is any library available to do checks...
3 Oct 2014 by _Starbug_
hi friends.i am developing an application for android in eclipse using java. i want to user can enter some information about himself and after that i can to create QR Code for it. how can i do that. and i want to read that information's from QR Code later and show it's value for user. how...
29 Jul 2018 by _Starbug_
Use this instead >
7 Feb 2020 by _Starbug_
Hello every one. I developed a project in android environment that works fine and it is exactly same as xd file(Adobe xd) that employer give it to me. but unlike apk file that is very good when a programmer from employer side seen my codes he say your codes are not modular. for example he say...
25 Feb 2020 by _Starbug_
hello guys. I searching about a sample dimen file that has definition about standard sizes about margin, padding, text sizes and other things like them that every Android programmer use in his projects. Thanks so much. What I have tried: I...
8 Mar 2020 by _Starbug_
Hi All. I am developing an android application that there is a effect i want to implement. i do not know what is the name of that effect. it seems ripple effect. i searched about it but no good results found. this is the link. i need orange...
8 Mar 2020 by _Starbug_
I found it. it is named as circular reveal animation. this is the code for implementing it. private void RippleAnimation() { // get the top left for the clipping circle int cx = 0; int cy = 0 ; // get the...
14 Jul 2013 by _Tolen_
Hi there , I have a problem now with my final year project because my prof asked me to make my project in the field of hardware BUT Actually the funding will be more than I can and I have no sponsors !SO I need your help to find a very good idea in the field of software like android so...
28 Jul 2013 by _Tolen_
I want some help here please:I have a graduation project the subject will be about designing an application using android to measure the level of sugar in the human blood.It is OK to me if the project requires a C# code.For this moment I am in the first stages.I am actually...
6 Apr 2016 by _Tuba
I'm newer in development google maps Apps in android eclipse I have problem when run my APP the error is "unfortunately APPname has stopped" this is my code MainActivity.javapublic class MainActivity extends Activity { //static final LatLng TutorialsPoint = new LatLng(21 , 57);...
4 May 2016 by _Tuba
I'm trying to display array in textview but when rum the APP have this message "unfortunately has stopped"What I have tried:This is codeJava code protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
27 Mar 2012 by _Tushar Patil
Hi,So Many Answers On Google[]
9 Apr 2014 by A College boy
i have created an listview based app in which when i add data through another activity the data doesnt get updated in the listview where as it should get updated in the listview !!when i have created an onSave method on the save button in the activity but it doesnt seem to get updated in the...
4 Feb 2015 by A Patil
Does anyone have a sample Android application/example code which demonstrates using Google Cloud Print service to print to a registered Google Cloud printer?Any help with analysis/design will also be highly appreciated.Thank you
30 Aug 2010 by a-machan
The purpose of the article is to provide a simple description to install applications that are not available on android market or for testing our own applications on the device. The android installation executables will have an .apk extension (apk – android package)
13 Nov 2014 by A.Ebrahimi
Tools introduction for Android developers who use SQlite in coding
17 Apr 2015 by A.Ebrahimi
I have used a number picker to select date in my app.On samsung device Year is visible but month and day is so small that can not type number, or push -/+ button and see datehttp://yazd20.com/123.jpg[^]This image on samsung
10 May 2015 by A.Ebrahimi
In my android app I call web brower to show a URL, I MUST do it, I am not allowed to use internal webView,protected void browser(String javab){try { String uuId = dicHelper.getDicNameByKlidValue(Constants.SETTINGS_USER_INFO, Constants.USER_INFO_GUID); String uri =...
23 Nov 2012 by A.J Bosch
Hi there I need Urgent help please I am trying to connect to a FTP server but it bombs out at mFTPClient = new FTPClient();with this error when I mouse over FTPClient(); Quote:Note: This element neither has attached source nor attached Javadoc and hence no Javadoc could be found.I Have...