백엔드레스 서버 / 안드로이드 예제 /

backendless server / android example

 

Quick Start Guide for Android

This guide will help you get up and running with Backendless quickly so you can develop Android applications. At the end of the guide you will have a configured working environment and a basic project with the code communicating with the Backendless services.

  1. Login to your Backendless account or register to create a new one.
  2. Download Android SDK package from the Backendless SDK Downloads page and unzip it to a temporary folder.
  3. Create a new Android application project or open an existing project.
  4. Add backendless.jar from the SDK distribution to your project classpath. Alternatively, you can add the backendless dependency by looking it up in maven – simply search for backendless and pick the latest version.
  5. Open “AndroidManifest.xml” from the root of your project and add the following sections:
    • Add the android.permission.INTERNET  and android.permission.ACCESS_NETWORK_STATE  permissions to the application’s manifest file. To do so, add the following lines into the <manifest>  element:

      The image below demonstrates where in the file to add the permissions:
      manifest-mod
  6. Open the main activity class and add the following import statements:
  7. Get your Backendless application keys for Android SDK from the Backendless Console. The keys can be found at the Manage > App Settings section:
  8. Add Backendless application initialization code block to your main Activity “onCreate” method to set the application ID and secret key:
  9. Add some code which uses the Backendless API to test your application. For example, the code below registers a new Backendless user (instead of michael@backendless.com used in the code, consider using an email address  where you can check email – your Backendless backend will send out an email welcoming the user to your app):
  10. Run your application. A new Backendless user will be registered with Backendless. You can verify the registered user in the Data section of the Backendless Console:
  11. Next example will use the Backendless API to save a plain Java object from the Android client. First declare a class which will be saved in Backendless. Make sure the class is declared in its own .java file and is not an inner class. It is also important that the class has the default no-argument constructor:
  12. Use the code snippet below to store an instance of the “Comment” class from the registered user:
  13. Now you can verify in the Backendless Console that the “Comment” data table has been created with the columns corresponding to the properties of the Comment class and it contains the saved object.
    comment-record

 

경축! 아무것도 안하여 에스천사게임즈가 새로운 모습으로 재오픈 하였습니다.
어린이용이며, 설치가 필요없는 브라우저 게임입니다.
https://s1004games.com

[출처] https://backendless.com/mobile-developers/quick-start-guide-for-android/

 

본 웹사이트는 광고를 포함하고 있습니다.
광고 클릭에서 발생하는 수익금은 모두 웹사이트 서버의 유지 및 관리, 그리고 기술 콘텐츠 향상을 위해 쓰여집니다.
번호 제목 글쓴이 날짜 조회 수
31 유니티에서 턴제 게임 구현하기 졸리운_곰 2017.05.09 4621
30 Unity3D 씬 뷰 file 졸리운_곰 2017.04.23 678
29 강좌 : 폰갭 앱 개발 PhoneGAP App Development file 졸리운_곰 2017.04.17 648
28 Visual Novel Resources (character art, backgrounds, music, etc.) 졸리운_곰 2017.03.16 423
27 게임 리소스 모음 - Game Resource Collection 졸리운_곰 2017.03.16 391
26 Optimize your Ionic Testing with Wallaby.js, Bard.js, and WebStorm file 졸리운_곰 2017.02.06 1034
25 Ionic Framework를 이용하여 하이브리드앱 개발하기 file 졸리운_곰 2016.12.14 775
24 Ionic 프레임워크 각종 탬플릿 예제 : A Comprehensive List Of Ionic Starter Apps file 졸리운_곰 2016.11.27 645
23 깃허브에 있는 오픈소스 게임들 : Games on GitHub file 졸리운_곰 2016.11.27 1613
22 [corona sdk] Tutorial: Connecting to RESTful API services 졸리운_곰 2016.06.05 460
21 Top 5 Tools for Game Developers file 졸리운_곰 2016.05.20 370
20 16 top mobile game development tools file 졸리운_곰 2016.05.20 733
19 lua for mobile game development tool2 / 프로그래밍 언어 루아로 가능한 모바일 게임 제작 졸리운_곰 2016.05.15 435
18 Corona SDK: How to communicate between lua and javascript 졸리운_곰 2016.04.20 472
17 lua for java luaj : 자바에서 루아 언어 사용 LuaJ 졸리운_곰 2016.04.20 909
16 백엔드리스 서버 파일 전송 : BackendlessException{ code: 'Internal client exception', message: 'null' } 졸리운_곰 2016.04.11 694
» 백엔드레스 서버 / 안드로이드 예제 / backendless server / android example file 졸리운_곰 2016.04.05 745
14 parse parse 한글 메뉴얼 졸리운_곰 2016.03.25 378
13 LUA 루아 언어용 언어 변환기 lua language translator file 졸리운_곰 2016.03.07 500
12 유니티3D '퐁' 게임 개발 file 졸리운_곰 2016.02.01 1111
대표 김성준 주소 : 경기 용인 분당수지 U타워 등록번호 : 142-07-27414
통신판매업 신고 : 제2012-용인수지-0185호 출판업 신고 : 수지구청 제 123호 개인정보보호최고책임자 : 김성준 sjkim70@stechstar.com
대표전화 : 010-4589-2193 [fax] 02-6280-1294 COPYRIGHT(C) stechstar.com ALL RIGHTS RESERVED