2010년 3월 19일 금요일
apk 모토로이 테스트 좀 부탁드립니다.
안녕하세요. 도움을 좀 주세요 제가 단말기가 없는지라 혹시 모토로이 갖고 있는 분 첨부한 speedtest.apk 실행 좀 해보시고 결과 좀 주세요.
그냥 터치하면 원이 하나씩 화면에 나타나고 원의 개수와 시간을 비교하는 프로그램입니다.
원이 없을 때 time
time 75일 때 원의 수
time 85일 때 원의 수를 알고 싶고요.
배경이 나오는지 나오면 약간 아래쪽이 모자라게 나오는지 아니면 화면 전체에 꽉 차게 나오는지 축소되어 나오는지 알려주시면 감사하겠습니다.
아 그리고 메뉴에서 게임모드를 선택하면 게임도 돼요. 재미는 없지만..^^
하는 방법은 원이 하나 남을 때까지 터치하는 게임입니다. 저는 겨우겨우 3단계까지 해봤습니다.
게임은 서비스 입니다....ㅎㅎㅎㅎㅎ
정말 궁금 한 건 실행은 되는가? 그리고 Time 75일 때 Circle 수 그리고 배경 표시형태입니다. 부탁해요….
2008년 9월 13일 토요일
2008년 9월 3일 수요일
2008년 8월 21일 목요일
2008년 7월 21일 월요일
2008년 6월 28일 토요일
Android 3D tetris
Monolith Android
Monolith Android is a 3D tetris like game for the android mobile phone platform. The code is based on the SDK samples of the Android SDK. The intent is to create a fun to play game, and familiarize with the rich API of the android platform. The game uses openGL ES to render the graphics. As well as the classic tetris-like gameplay, the game provides additional game modes, "Monolith" and "Puzzle" (coming soon!). The Monolith name derives from the fact that the matrix that the game is played in, looks a bit like a monolith from the film "2001 a Space Odyssey".
처음 이 프로그램 실행해 보고 신기하고 재미있어 나도 tetris하나 만들어 봤는데…. ᄏ OHA에서 1 2 3 4 등급에서 2등급 (Overall: In the 25th to 50th percentile of all submitted applications)주더라고요. 나중에 정리되면 한번 올릴게요 ^^;
2008년 6월 26일 목요일
android 3gp Video/Music player sample
Notes
You can specify a directory path or a remote URL in the edit box
You can specify just an mp3 file to play music only
Choose any 3gp file from http://daily3gp.com/ to view videos
The 4 buttons are for play, pause, reset and stop
When you specify a http or https url, we save the url contents to hard disk first and then play it
All the leg work was done by dahui. Many thanks!!
The icons are from here
MediaPlayer does not yet support any remote url’s or MPEG4 video AFAICT
Here’s the code
안드로이드 처음 시작할 때 열심히 연구한 code인데 지금 보니 재미있네요….
2008년 6월 13일 금요일
2008년 6월 11일 수요일
Android 3D
오늘 캠코더 파일 정리하다 옛날에 녹화한 재미있는 파일을 발견했어요.
ㅋㅋ 지금은 너무 오래되어서 어디서 다운 받았는지 기억이 나지 않네요.
While I was rearranging the Camcorder files, I came to find a interesting file recorded long before.
Long time has passed by so I don't remember where I got it down from
2008년 6월 7일 토요일
Android GTalk Client
GTalkDataMessageSender
Video
public class GTalkDataMessageSender extends Activity {
private static final String LOG_TAG = "GTalkServiceSample";
IGTalkSession mGTalkSession = null;
EditText mUsernameField;
Button mSendButton;
@Override
protected void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.gtalk_data_message_sender);
mUsernameField = (EditText)findViewById(R.id.username);
mUsernameField.setOnClickListener(mOnClickListener);
mUsernameField.requestFocus();
mSendButton = (Button)findViewById(R.id.send);
mSendButton.setOnClickListener(mOnClickListener);
mSendButton.setEnabled(false);
bindGTalkService();
}
@Override
protected void onDestroy() {
super.onDestroy();
unbindService(mConnection);
}
private void bindGTalkService() {
bindService((new Intent()).setComponent(
com.google.android.gtalkservice.GTalkServiceConstants.GTALK_SERVICE_COMPONENT),
mConnection, 0);
}
private boolean isValidUsername(String username) {
if (TextUtils.isEmpty(username)) {
return false;
}
if (username.indexOf('@') == -1) {
return false;
}
return true;
}
private Intent getIntentToSend() {
// intent를 만들고 메시지를 대입.
//I make intent and input a message
Intent intent = new Intent(GTalkDataMessageReceiver.ACTION);
intent.putExtra("poke", "Hi, I am Sam.");
intent.putExtra("question", "would you like to eat green eggs and ham?");
return intent;
}
private void showMessage(CharSequence msg) {
Toast.makeText(this, msg, Toast.LENGTH_LONG).show();
}
private ServiceConnection mConnection = new ServiceConnection() {
public void onServiceConnected(ComponentName className, IBinder service) {
// This is called when the connection with the GTalkService has been
// established, giving us the service object we can use to
// interact with the service. We are communicating with our
// service through an IDL interface, so get a client-side
// representation of that from the raw service object.
IGTalkService GTalkService = IGTalkService.Stub.asInterface(service);
try {
mGTalkSession = GTalkService.getDefaultSession();
if (mGTalkSession == null) {
// this should not happen.
showMessage(getText(R.string.gtalk_session_not_found));
return;
}
} catch (DeadObjectException ex) {
Log.e(LOG_TAG, "caught " + ex);
showMessage(getText(R.string.found_stale_gtalk_service));
}
mSendButton.setEnabled(true);
}
public void onServiceDisconnected(ComponentName className) {
// This is called when the connection with the service has been
// unexpectedly disconnected -- that is, its process crashed.
mGTalkSession = null;
mSendButton.setEnabled(false);
}
};
private View.OnClickListener mOnClickListener = new View.OnClickListener() {
public void onClick(View v) {
if (v == mUsernameField) {
mSendButton.requestFocus();
} else {
// use GTalkService to send data message to someone
String username = mUsernameField.getText().toString();
if (!isValidUsername(username)) {
showMessage(getText(R.string.invalid_username));
return;
}
if (mGTalkSession == null) {
showMessage(getText(R.string.gtalk_service_not_connected));
return;
}
try {
//모든 게 중요하지만 특히 이 한 줄의 코드가
//이 프로그램의 핵심이다.
//따라서 이 부분을 이해한다면
//이 프로그램을 이해한다고 볼 수 있다.
//Everything is important, but a code of this one line is the core of this program particularly.
mGTalkSession.sendDataMessage(username, getIntentToSend());
} catch (DeadObjectException ex) {
Log.e(LOG_TAG, "caught " + ex);
showMessage(getText(R.string.found_stale_gtalk_service));
mGTalkSession = null;
bindGTalkService();
}
}
}
};
}
2008년 5월 28일 수요일
외국사람이 만든 mp3
발견 ^^*
참 잘 만든것 같아요. 음메~~~ 기죽어 저는 저것보다 잘 만들수 없을것 같아서 포기했습니다.
mp3에 관심있는 분들 한번 연구해보세요.
http://helloandroid.com
2008년 5월 25일 일요일
맵핑
휴지통 입니다.
2008년 5월 20일 화요일
이건뭐야? google android 3d
I am ridiculous.
ㅋ 생 노가다로 좌표 만들어서 입력하니 화면에 나오긴 한데
It is one place to come out to a screen if a coordinate product inputs it
소스는 천천히 upload 하겠습니다.
The source does upload slowly.
동영상 movie
