[Source code sharing and downloading] daily updated Android quick development framework LoonAndroid and androidloonandroid

Source: Internet
Author: User

[Source code sharing and downloading] daily updated Android quick development framework LoonAndroid and androidloonandroid
Android quick development framework LoonAndroid

  • Service Category:

    Others

  • Use Services:

    Others

  • Function category:

    Others

  • Supported platforms:

    Android

  • Running environment:

    Android

  • Development language:

    Java

  • Development tools:

    Eclipse

  • Source code size:

    14.65 MB








Source code: http://www.devstore.cn/code/info/74.html
Source code Introduction

There are mainly the following modules: (1) Automatic injection framework (only the application within the framework can be inherited) (2) image loading framework (multiple caches, automatic recovery, (3) network request module (inheriting basically all current http requests) (4) eventbus (integrating an open-source framework) (5) verification Framework (integrated open-source framework) (6) json parsing (supports parsing to a set or object) (7) database (I don't know which one has forgotten it) (8) multi-thread breakpoint download (Automatic Determination of multi-thread support and determination of redirection) (9) automatic update module (10) A series of tool classes


Source code snippets
?

LoonAndroid framework source code compressed package contains files:


For more information about how to develop a complete and detailed Android applet source code, see

Media Player source code Audio. java
Package org. example. audio;

Import android. app. Activity;
Import android. media. MediaPlayer;
Import android. OS. Bundle;
Import android. view. KeyEvent;

Public class Audio extends Activity {
Private MediaPlayer up, down, left, right, enter;
Private MediaPlayer a, s, d, f;

@ Override
Public void onCreate (Bundle savedInstanceState ){
Super. onCreate (savedInstanceState );
SetContentView (R. layout. main );

// Native rate is 44.1 kHz 16 bit stereo,
// To save space we just use MPEG-3 22 kHz mono
Up = MediaPlayer. create (this, R. raw. up );
Down = MediaPlayer. create (this, R. raw. down );
Left = MediaPlayer. create (this, R. raw. left );
Right = MediaPlayer. create (this, R. raw. right );
Enter = MediaPlayer. create (this, R. raw. enter );
A = MediaPlayer. create (this, R. raw. );
S = MediaPlayer. create (this, R. raw. s );
D = MediaPlayer. create (this, R. raw. d );
F = MediaPlayer. create (this, R. raw. f );
}

@ Override
Public boolean onKeyDown (int keyCode, KeyEvent event ){
MediaPlayer mp;
Switch (keyCode ){
Case KeyEvent. KEYCODE_DPAD_UP:
Mp = up;
Break;
Case KeyEvent. KEYCODE_DPAD_DOWN:
Mp = down;
Break;
Case KeyEvent. KEYCODE_DPAD_LEFT:
Mp = left;
Break;
Case KeyEvent. KEYCODE_DPAD_RIGHT:
Mp = right;
Break;
Case KeyEvent. KEYCODE_DPAD_CENTER:
Case KeyEvent. KEYCODE_ENTER:
Mp = enter... the remaining full text>

Is the android source code package different from the android SDK development?

Android source code development is generally used by mobile phone manufacturers, because it involves modifying the source code and designing a UI suitable for your mobile phone.
Android SDK is used to develop its own applications based on the standard android sdk.
Pai_^

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.