Tech
Batal
KATEGORI
link has been copied
9997
KASKUS
51
244
https://www.kaskus.co.id/thread/000000000000000005259433/android-developer-room
hi gan ane lgi coba2 maen android nih... disini ada juga g sih yg maen2 android juga ?? share ilmu2nya donk disini :D apa itu android ?? Android is an operating system for mobile devices such as mobile phones, tablet computers and netbooks. Android is developed by Google and is based upon the Linux kernel and GNU software. It was initially developed by Android Inc. (a firm purchased by Google) and
Lapor Hansip
11-09-2010 18:44

Android Developer Room

Android Developer Room

hi gan
ane lgi coba2 maen android nih...
disini ada juga g sih yg maen2 android juga ??
share ilmu2nya donk disini emoticon-Big Grin

apa itu android ??
Quote:Original Posted By what is android ??

Android is an operating system for mobile devices such as mobile phones, tablet computers and netbooks. Android is developed by Google and is based upon the Linux kernel and GNU software. It was initially developed by Android Inc. (a firm purchased by Google) and later positioned in the Open Handset Alliance.[4] According to NPD Group, unit sales for Android OS smartphones ranked first among all smartphone OS handsets sold in the U.S. in the second quarter of 2010, at 33%.[5][6] BlackBerry OS is second at 28%, and iOS is ranked third with 22%.[7]

Android has a large community of developers writing application programs ("apps") that extend the functionality of the devices. There are currently over 70,000 apps available for Android with some estimates saying 100,000 have been submitted,[8] which makes it the second most popular mobile development environment.[9] Developers write managed code in the Java language, controlling the device via Google-developed Java libraries.[10] A Ruby implementation, allowing full Android apps to be written in Ruby, is in development.[11]

The unveiling of the Android distribution on 5 November 2007 was announced with the founding of the Open Handset Alliance, a consortium of 78 hardware, software, and telecom companies devoted to advancing open standards for mobile devices.[12][13] Google released most of the Android code under the Apache License, a free software and open source license.[14]

The Android operating system software stack consists of Java applications running on a Java based object oriented application framework on top of Java core libraries running on a Dalvik virtual machine featuring JIT compilation. Libraries written in C include the surface manager, OpenCore[15] media framework, SQLite relational database management system, OpenGL ES 2.0 3D graphics API, WebKit layout engine, SGL graphics engine, SSL, and Bionic libc. The Android operating system consists of 12 million lines of code including 3 million lines of XML, 2.8 million lines of C, 2.1 million lines of Java, and 1.75 million lines of C++.[16]


yaq android yg dimaksud ada lah salah satu OS mobile yg lgi beken saat ini...
dan karena device mobile nya lgi beken saat ini.. maka development apps nya pun menjadi salah satu peluang yg menjanjikan dimasa depan emoticon-Big Grin

bagi yg mau ikutan juga ttg android bisa donlod SDK nya disini
Quote:Original Posted By sdk

http://developer.android.com/sdk/index.html


ato klo mau cepet bisa buka xml nya trus donlod linknya dewe emoticon-Big Grin
Quote:
https://dl-ssl.google.com/android/re...repository.xml


Android itu based code nya java gan.. jd mungkin pemain J2me sudah agak familiar nih (ane g pernah maen j2me emoticon-Hammer pernah nya bikin apps WM)
cm utk tampilannya dy pake xml (ane juga bingung nih --a apa j2me gini juga yah --a)

utk tutorial dan documentasi nya bisa cek disini
Quote:
http://developer.android.com/guide/b...s-android.html


sekian dulu gan.. ane mau liat dulu peminat nya emoticon-Big Grin
klo ada peminat nya nanti ane mau coba share2 ilmu disini emoticon-Big Grin
jgn blg ane sakti gan.. ane juga baru coba2 emoticon-Hammer
bwat agan2 yg lbh sakti dr ane bantu share juga yah gan emoticon-Big Grin

Update 14 Sept

update 16 Sept List Tutor and buku dr kaskuser

update 23 sept
0
Tampilkan isi Thread
icon-close-thread
Thread sudah digembok
Halaman 317 dari 501
Android Developer Room
07-10-2013 09:32
Quote:Original Posted By Youken
bagi agan2 yang punya e-book ato tutorial tuk buat aplikasi android & game android share dunk, ane mo cb2 bljr.. hehehe emoticon-Shakehand2


ada nih blog punya kakak gw
http://agung-setiawan.com/category/android/

kalau ebook silahkan dicari di sini
buanyak
http://www.wowebook.com/search/?q=android
0 0
0
Android Developer Room
07-10-2013 09:46
gan tolong bantuin tentang list view dong

activity_main.xml


Code:
package com.azura.readsms;




import android.net.Uri;
import android.os.Bundle;

import android.app.ListActivity;
import android.database.Cursor;

import android.support.v4.widget.SimpleCursorAdapter;

import android.view.View;

import android.widget.ListView;


public class MainActivity extends [color=red]List[/color]Activity {

//static TextView messageBox;
ListView lv;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

Cursor c = getContentResolver().query(Uri.parse("content://sms/inbox"), null, null, null, null);
startManagingCursor(c);

String[] from = {"address", "body", "date"};
int[] to = {android.R.id.text1, android.R.id.text2};

SimpleCursorAdapter adapter = new SimpleCursorAdapter(
this,
android.R.layout.simple_list_item_2,
c,
from,
to);


lv = (ListView) findViewById(R.id.list);

lv.setAdapter(adapter);

}

[color=red]@Override
protected void onListItemClick(ListView l, View v, int position, long id) {
// TODO Auto-generated method stub
super.onListItemClick(l, v, position, id);

}[/color]

}


yg gue merahin itu gw ganti dari Activity jadi ListActivity, sama di overide method onListItemClick

ini logcat nya


oiya kalau yg gw merahin di ilangin, aplikasinya jalan normal, tp ga ada event apa" kl item di listview gue klik

thanks
Diubah oleh stacheldraht27
0 0
0
Android Developer Room
07-10-2013 10:55
^
Kalo pakai ListActivity gak usah bikin ListView sendiri, karena di dalamnya sudah ada ListView.

Tapi kalo masih mau bikin ListView sendiri, id-nya harus @android:id/list
Code:

<ListView
[COLOR=DarkRed]android:id="@android:id/list"[/COLOR]
android:layout_width="match_parent"
android:layout_height="wrap_content" >
</ListView>


Coba baca2 deh dokumentasi ListActivity emoticon-Malu (S)
0 0
0
Android Developer Room
07-10-2013 12:31
gan ane mau nanya, ceritanya ane lagi bikin aplikasi gis berbasis android, jadi ane buat mapnya pake web google maps, gap pake API. udah bisa sih, tapi masalah muncul waktu ane selesai masukin data marker (LatLng). di web google maps ane, marker yang ditampilin cuma 10, padahal marker ane ada 20. nah, disini ada yang tau atau ada yang punya tutorial agar markernya keliatan semua ? kalo ada yang tau, tolongngin dong gan.
0 0
0
Android Developer Room
07-10-2013 18:20
Nanya lagi nig gw:
Mohon tutornya dong mau nyisipin Admob interstitial, sebelumnya sih sudah pake admob.. tapi yg biasa. pengen pakein juga versi interstitial. ada yg punya tutor indonesia version?
0 0
0
Android Developer Room
07-10-2013 18:38
Quote:Original Posted By .hellknight


jelas pecah kalo kamu cuma nyiapin satu ukuran.. yakni 80*80

kamu mesti nyediain resource untuk banyak screen.. itungannya pake rasio
3:4:6:8

jadi misal kamu nyediain 80*80 buat mdpi
jadi untuk hdpinya.. kamu mesti buat resource dengan ukuran (80*6)/4=120 jadi mesti buat ukuran 120px

dan untuk xhdpi = 160px


Code:

sumber : http://developer.android.com/guide/practices/screens_support.html

CMIIW


makasih gan,,

oiya gan satu lagi pertanyaan ane..hehe
masih seputar itu.. tapi sekarang textview yang ikutan jadi pecah.. emoticon-Bingung (S)
kalo buat textview gimana ngatasinnya ya gan ?
0 0
0
Android Developer Room
07-10-2013 19:22
Quote:Original Posted By vickyxxx


makasih gan,,

oiya gan satu lagi pertanyaan ane..hehe
masih seputar itu.. tapi sekarang textview yang ikutan jadi pecah.. emoticon-Bingung (S)
kalo buat textview gimana ngatasinnya ya gan ?


textview koq pecah..? emang kamu apain..?
0 0
0
Android Developer Room
07-10-2013 19:57
Quote:Original Posted By .hellknight


textview koq pecah..? emang kamu apain..?


beneran gan, ane pake coding ini gan di manifest
Code:
android:compatibleWidthLimitDp="320"

android:largestWidthLimitDp="320"
di tablet 7' sama 10' textview jadi pecah.. bisa jelasin singkat aja gan tentang coding di atas, soalnya ane kurang ngerti multiple screen.. emoticon-Bingung (S)

terima kasih sebelumnya
0 0
0
Android Developer Room
07-10-2013 20:05
Sundul lagi ah emoticon-Sundul Gan (S)
0 0
0
Android Developer Room
07-10-2013 20:31
Quote:Original Posted By vickyxxx


beneran gan, ane pake coding ini gan di manifest
Code:
android:compatibleWidthLimitDp="320"

android:largestWidthLimitDp="320"
di tablet 7' sama 10' textview jadi pecah.. bisa jelasin singkat aja gan tentang coding di atas, soalnya ane kurang ngerti multiple screen.. emoticon-Bingung (S)

terima kasih sebelumnya


Ane bingung ni, textview kok bisa keliatan pecah? Apa ente pake asset dari luar buat ganti tampilan textviewnya?

Kasih screen shot donk TextView yang pecah
0 0
0
Android Developer Room
07-10-2013 21:11
Quote:Original Posted By newmessage


Ane bingung ni, textview kok bisa keliatan pecah? Apa ente pake asset dari luar buat ganti tampilan textviewnya?

Kasih screen shot donk TextView yang pecah


tabletnya ga bisa screenshot gan, tablet cina gan susah di rootnya.. emoticon-Cape d... (S)


Diubah oleh vickyxxx
0 0
0
Android Developer Room
07-10-2013 21:19
Quote:Original Posted By vickyxxx


tabletnya ga bisa screenshot gan, tablet cina gan susah di rootnya.. emoticon-Cape d... (S)




foto pake kamera deh haha
biar pada paham maksudnya gimana
kalau enggak, aplikasi buat ambil ss kan ada
0 0
0
Android Developer Room
07-10-2013 21:44
Quote:Original Posted By vickyxxx


beneran gan, ane pake coding ini gan di manifest
Code:
android:compatibleWidthLimitDp="320"

android:largestWidthLimitDp="320"
di tablet 7' sama 10' textview jadi pecah.. bisa jelasin singkat aja gan tentang coding di atas, soalnya ane kurang ngerti multiple screen.. emoticon-Bingung (S)

terima kasih sebelumnya


lihat layoutmu.. yang ada

Code:

<TextView
width
height

blaaa
/>

0 0
0
Android Developer Room
07-10-2013 21:47
Quote:Original Posted By palalobo
^
Kalo pakai ListActivity gak usah bikin ListView sendiri, karena di dalamnya sudah ada ListView.

Tapi kalo masih mau bikin ListView sendiri, id-nya harus @android:id/list
Code:

<ListView
[COLOR=DarkRed]android:id="@android:id/list"[/COLOR]
android:layout_width="match_parent"
android:layout_height="wrap_content" >
</ListView>


Coba baca2 deh dokumentasi ListActivity emoticon-Malu (S)


works like charm gan emoticon-Big Grin

iya gan ini buru" aja, td juga liat di stackoverflow ada listview lazy, kyknya keren sih


gan gue lg "galau" API translate, kl pake google API translate itu kan bayar, "katanya" kl pake BING itu free tp blm coba, agan mungkin tau Translate API yg gratis lainnya

thanks gan
0 0
0
Android Developer Room
07-10-2013 21:57
Hi kawan2 kaskuser dan para master android,

Mohon maaf sebelumnya kalau salah room. emoticon-Malu

Saya newbie dan baru membuat aplikasi android sederhana bernama Kalender Kita.

Seperti kebanyakan kalender yang sudah ada memuat hari libur nasional indonesia dari 2012 - 2014 .emoticon-Jempol

Sekarang membutuhkan banyak masukan dan kripik pedasnya dari suhu2 disini bila berkenan. #sungkem.
0 0
0
Android Developer Room
07-10-2013 22:08
Quote:Original Posted By vickyxxx


tabletnya ga bisa screenshot gan, tablet cina gan susah di rootnya.. emoticon-Cape d... (S)




Pake DDMS aj kan bisa gan..
0 0
0
Android Developer Room
07-10-2013 22:51
Quote:Original Posted By blinkawan


foto pake kamera deh haha
biar pada paham maksudnya gimana
kalau enggak, aplikasi buat ambil ss kan ada


besok deh gan ane foto.. siang hari biar jelas..

Quote:Original Posted By .hellknight


lihat layoutmu.. yang ada

Code:

<TextView
width
height

blaaa
/>



layout ane gan
Code:
?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ffffff" >

<ScrollView
android:id="@+id/scrollView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
>

<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="270dp" >

<TextView
android:id="@+id/hellotxt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:text="textview" />



</RelativeLayout>
</ScrollView>




Quote:Original Posted By newmessage


Pake DDMS aj kan bisa gan..


kalo di emulator codingnya ga ngaruh gan, tapi di coba di device asli ada pengaruhnya.. emoticon-Bingung (S)
Diubah oleh vickyxxx
0 0
0
Android Developer Room
07-10-2013 23:52
Quote:Original Posted By vickyxxx


besok deh gan ane foto.. siang hari biar jelas..



layout ane gan
Code:
?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ffffff" >

<ScrollView
android:id="@+id/scrollView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
>

<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="270dp" >

<TextView
android:id="@+id/hellotxt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:text="textview" />



</RelativeLayout>
</ScrollView>






kalo di emulator codingnya ga ngaruh gan, tapi di coba di device asli ada pengaruhnya.. emoticon-Bingung (S)


Lho lho, bukan DDMS buat mantengin emulator lho gan,
Colokin aj device ente ke PC, asal udah ada drivernya gpp si, bisa pake ddms kok,
Gini caranya :
Ente tau environment variable? Atau set path?
Itu lho yg bisa bikin .exe sama .bat diakses lewat command prompt.

Ente set environmetn variable. Tambahin di bagian Path.
Quote:
C:\Development\android-sdk-windows\tools
dan
C:\Development\android-sdk-windows\platform-tools


Tergantung ente install dimana SDK ente.
Ntar colokin device, trus install drivrenya.
Buka CMD, ketik adb devices, harusnya ada list device ente
ketik deh DDMS
0 0
0
Android Developer Room
07-10-2013 23:55
ane lagi jatuh cinta nih gan emoticon-Malu (S) emoticon-Malu (S) emoticon-Malu (S)
ane lagi mikirin buat program android yg sederhana aja buat nyatakan cinta..
kira-kira ada yg bisa kasih ide ??
hehehe
0 0
0
Android Developer Room
08-10-2013 02:21
Quote:Original Posted By ardi250793
ane lagi jatuh cinta nih gan emoticon-Malu (S) emoticon-Malu (S) emoticon-Malu (S)
ane lagi mikirin buat program android yg sederhana aja buat nyatakan cinta..
kira-kira ada yg bisa kasih ide ??
hehehe


Bikin cerita aja gan emoticon-Malu (S)
Target jadi orang kedua dalam cerita emoticon-Malu (S)
0 0
0
Halaman 317 dari 501
icon-hot-thread
Hot Threads
obrolan-hangat-logo
Obrolan Hangat
Handphone & Tablet
vivo-11-pro
Copyright © 2020, Kaskus Networks, PT Darta Media Indonesia