tag:blogger.com,1999:blog-10252513890982562072024-03-05T18:26:03.667+07:00AndroidThis Blog is dedicated for Learning Android, Android Platform, android application developmentUnknownnoreply@blogger.comBlogger27125tag:blogger.com,1999:blog-1025251389098256207.post-49258433692394791312012-11-14T19:49:00.000+07:002012-11-15T05:30:19.226+07:00Number Picker or Text PickerNumber Picker component is available from API 11. But generally, we make the application that target from API 8 (Froyo). So, how can we display/use the number picker component, while the target range from API 8 to API 16 (current version).
One of the methods that we can use is to create a similar component, by utilizing existing component. A Number Picker component consist of two buttons and one Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1025251389098256207.post-69202061683280289452010-11-23T03:43:00.000+07:002010-11-23T03:43:04.493+07:00Ericsson Application Awards 2011Ericsson Application Awards, An Android Competition has been announced, and now it is in stage 2. It is another opportunity for Android Developer to gain exposure within the telecom world, a chance to reach out to customers via Ericsson distribution channels and a chance to win €15,000 in prize money.
This Android Competition is open globally and open for both student and small/medium company (Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1025251389098256207.post-12481811382841826442009-12-09T09:23:00.007+07:002009-12-10T10:15:10.396+07:00Android Developer Challenge 2 WinnersHave news from Google. The ADC 2 (Android Developer Challenge) Winners has been announced. From the site, it is announced that the winners were selected after 2 rounds of scorring. First Round, Applications submitted were scored by Android Users, and the second round scored by Official Panel Of judges.
Here are the overall winners :
SweetDreams
SweetDreams is a revolutionary tool that will Unknownnoreply@blogger.com8tag:blogger.com,1999:blog-1025251389098256207.post-61049886149601931262009-08-26T13:39:00.004+07:002009-08-26T13:47:31.712+07:00ADC 2 Open for SubmissionAt last, ADC 2 Open for Submission. You can submit your application at http://market.android.com/adc. The key to remember is that you have to submit your application by 11:59:59pm Pacific Time in the United States on August 31, 2009. Ok, Let's Challenge. :)hope one or more of you, the reader, will win the challenge.happy challenging!Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-1025251389098256207.post-57373378964355343402009-06-01T05:19:00.004+07:002009-06-01T05:41:37.636+07:00Welcome Android Developer Challenge 2 (ADC2)After ADC I end in 2008, Google announced to held the ADC 2 in this year. you can visit the announcement at http://code.google.com/intl/id-ID/android/adc/. Well, i just read the announcement, and think to participate again. And You, the reader, You should attend the challenge too.The challenge has started, and we can submit our application start on August 2009, according to the announcement. Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-1025251389098256207.post-21145623152684014712008-12-01T09:49:00.003+07:002008-12-01T09:55:53.639+07:00Android SDK 1.0Android SDK has been improved to the latest version 1.0 r2. You know posts before this, any code, created and compiled with previous version of SDK. Maybe they will not run well, or some of them need to be change for the current SDK. The Code, I place in this site and in learncodes.googlepages.com was created with the previous version. so it need to be changed. I plan to make the code as it is Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-1025251389098256207.post-26740557568225844152008-10-24T10:22:00.003+07:002008-10-24T10:44:39.421+07:00Android Market: An Alternative way to market our Android ProgramToday i visit android developer blog and found article about Android Market. It is a place for user to browse applications have been developed with android and for now it is free to download them. For Developer, It is a chance to publish their work. And in the future They can distribute a paid application. User that have Android Phone can rich their phone app by download it, and maybe try it Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1025251389098256207.post-36927411850029969152008-05-16T15:43:00.005+07:002008-05-16T15:50:02.273+07:00Android Developer Challenge WinnersAs you may have known all, that the winners of Android Developer Challenge have been announced. I want to congratulate to all of them, although i am not in this list :). But Congratulation to you all, and happy challenging to the second stage .. * AndroidScan - Jeffrey Sharkey * Beetaun - Sergey Gritsyuk and Dmitri Shipilov * BioWallet - Jose Luis Huertas Fernandez * BreadCrumbz - Amos Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-1025251389098256207.post-9916441068490584402008-02-22T09:06:00.004+07:002008-02-22T09:12:11.406+07:00Undroid: An Android Plugin for NetbeansWhen do internet browsing, on java.sun.com, i found a link state that there is an android plugin for Netbeans. Its name is Undroid. Well, for you that using Netbeans as your Developer IDE, it is a great news. you can try this android plugin. If you interested just visit http://undroid.nolimit.cz/.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1025251389098256207.post-58143785944426971602008-02-21T12:10:00.003+07:002008-02-21T12:25:03.317+07:00Android SDK m5-rc14 ReleasedNew Android SDK released. There are some improvement, and changes. And some of my samples, i publish here and at learncodes.googlepages.com maybe have function that has been changed. But i think you the reader will be easily adopted. Some of them, like there isn't onMotionEvent (MotionEvent ev) method but has been changed to OnTouchEvent(MotionEvent ev), there should be android:name on Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1025251389098256207.post-27247642131782043242008-02-08T13:39:00.001+07:002009-09-16T09:08:51.645+07:00ProgressBar: Android Simple Custom ComponentIt is interesting that we can create a customized component or in other word, we just say custom component in Android. From the documentation, it is permitted to build a custom component from any class / view class provided by android. Last night, i try to make a custom component, a progressbar component, just like a progress bar in VC++, BC++, or VB. When browsing sample program ship with Unknownnoreply@blogger.com7tag:blogger.com,1999:blog-1025251389098256207.post-5435547118188735822008-02-06T12:28:00.000+07:002008-02-06T13:00:52.580+07:00Sample Android Database ApplicationFor interacting with database, i have created a simple complete application using database in android. You can take a look at this application at my Contact Application in googlepages. You are free to download the sample code.This application contains Contact Database, and some database manipulation. Fields included in the table are Contact Name, Address, Mobile Phone Number, and Home Phone Unknownnoreply@blogger.com9tag:blogger.com,1999:blog-1025251389098256207.post-76180446563691206662008-02-05T12:58:00.000+07:002008-02-05T13:17:03.139+07:00Changing TextView to receive user input programaticallyTextView is the ancestor of EditText component. I've try to make TextView from XML design screen to receive input from user still is unsuccessful. But Programatically, i can change the TextView able to receive user input. To do this, just create activity folder with activitycreator and modify the main activity class, say we have Sample Class below:public class SampleTextView extends Activity{Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-1025251389098256207.post-32959598034889322562008-01-31T13:42:00.000+07:002008-01-31T14:31:59.348+07:00Opening New Screen in AndroidAn Android application, at most, contains more than one screen. But, how we can open a new screen after clicking a button, choosing a menu, or other? It is not too difficult to do in Android. There are a few step to do, to open a new screen in android. You have to create an activity class, an xml layout, update AndroidManifest to know your second/third .. activity class, and put a code to call Unknownnoreply@blogger.com18tag:blogger.com,1999:blog-1025251389098256207.post-53385543997467011662008-01-31T10:28:00.001+07:002009-01-03T08:06:44.590+07:00Run Android Application from Command LineSometime, we want to start the android application program from command line (Android Shell). Before, we usually clicking on the icon at application folder to run our program. So, there is an alternative way to run the program.We use the Android Shell and issue am command to brought up the program. below is an example to do that.1. Make sure that android emulator is running2. Enter the shell withUnknownnoreply@blogger.com8tag:blogger.com,1999:blog-1025251389098256207.post-55702814400478376202008-01-18T09:31:00.000+07:002008-01-31T10:59:08.160+07:00Android DatabaseDatabase is important thing in programming. Many of our code always use data to be processed and saved. Just like any other programming environtment, Android support database programming too. You can use default database supported by android, SQLiteDatabase.Database in SQLiteDatabase can contains more than one table, assume that we have one database PERSONALDB, and have one table BIODATA. The Unknownnoreply@blogger.com8tag:blogger.com,1999:blog-1025251389098256207.post-43625373472986598582008-01-15T15:10:00.000+07:002008-01-31T11:00:22.978+07:00Layouting Component ChoicesComponent Arrangement on Android is simple and we have more than one way to make the same design screen. we can use RelativeLayout, LinearLayout, or other layout. And we can combine two or more layout into one design screen.For example, we want to desain screen as the image below:The design screen can be expressed as below:<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:Unknownnoreply@blogger.com4tag:blogger.com,1999:blog-1025251389098256207.post-42029125580850052572008-01-14T12:37:00.000+07:002008-01-14T13:03:44.435+07:00Viewing Android Debugging LogWhen our application is installed on android emulator, we run it and expect it will running successfully. But, sometimes it is unsuccessfully, an error message appears, sometimes, likely it is not from our application, so how to know which part of our codes is currently throwing the error..An alternative way is to watch the log produced by the emulator. Just run the emulator, wait until completedUnknownnoreply@blogger.com6tag:blogger.com,1999:blog-1025251389098256207.post-76344333108712606432008-01-14T12:21:00.001+07:002008-01-14T12:31:41.400+07:00Accessing Android ShellFrequently, we want to know where the code placed inside android. we can know it with entering the Android Emulator shell. Just run the Emulator and wait it runs completely, issue command to access shell, then we will be inside the Emulator shell.Here the command to access Shell :adb shellthen we will promptly with#it is linux shell command, and we can issue command just like in Linux Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-1025251389098256207.post-57520695653585531262008-01-14T08:31:00.000+07:002008-01-14T08:49:35.327+07:00Resize Android EditText in XMLSomeday, we want to set size Android Component in our application. We have many ways to set and reset the size of component. In this example we deal with Android EditText. The Size of Component in Android can be set in XML with providing property android:layout_width and android:layout_height with a value followed by unit. For example we want to set EditText with 200sp width and 24sp height, the Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1025251389098256207.post-11579729117749056732008-01-12T10:39:00.000+07:002008-01-14T08:21:01.041+07:00SMS Emulation on AndroidWhen we are trying to test SMS based program on Android, we have to simulate receiving SMS. Fortunately, with new SDK, we can simulate the SMS come to Emulator. We have just to connect to emulator using telnet and there we can emulate the SMS. Below step by step to emulate the SMS:Start the emulator, you free to give the option, For example just type emulator on shell promptOpen a new shell and Unknownnoreply@blogger.com7tag:blogger.com,1999:blog-1025251389098256207.post-51955348074381740332008-01-07T10:34:00.000+07:002008-01-07T10:42:29.403+07:00Android User Interface Designer (2)Android User Interface Designer that i 've write before has been released. You can download and try it. This code can be download at SourceForge.Net and can be download and Files.Just Try it and enjoy it!Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1025251389098256207.post-11038307760724052302008-01-02T08:33:00.000+07:002008-01-07T11:26:45.295+07:00Android User Interface DesignerJust want to design User Interface easily, I have created Android User Interface Designer. In the first version, I have included Label, EditText, and Button Object. Later, Other object will be included. Other Object will be included in the next version.Each Object packed with minimal property, and layout with RelativeLayout. Just to make it easy for beginner, and to simplify coding. The next Unknownnoreply@blogger.com10tag:blogger.com,1999:blog-1025251389098256207.post-41872390706189802008-01-02T08:00:00.000+07:002008-01-02T08:24:03.965+07:00Creating User interfaceUser interface in Android Platform just like other Java based user interface in common. We can create User Interface from the scratch with Java code, or Using XML that come with Android. Everytime we create Android Project whether from command line using ActivityCreator or Using Android Plugins on Eclipse we have some directory result. One of them is res directory. Res directory contains layout Unknownnoreply@blogger.com5tag:blogger.com,1999:blog-1025251389098256207.post-36024889087765110652007-12-13T08:07:00.000+07:002007-12-13T09:12:18.138+07:00Android and EclipseWe can use the power of Eclipse IDE to code in Android Platform. What we need is just Android Plugins for Eclipse and Eclipse itself. Below, step by step to use eclipse and Android plugin:Download Eclipse europe from this Eclipse Download Site (www.eclipse.org/downloads)Install Eclipse, for windows version you just extract the zip file into destination folders.Download Androiod plugins for Unknownnoreply@blogger.com0