background preloader

Android

Facebook Twitter

Android Asset Studio. Tutorial For Android - Mobile Tutorials. Android Asynchronous Http Client. Overview An asynchronous callback-based Http client for Android built on top of Apache’s HttpClient libraries. All requests are made outside of your app’s main UI thread, but any callback logic will be executed on the same thread as the callback was created using Android’s Handler message passing. Features Make asynchronous HTTP requests, handle responses in anonymous callbacks HTTP requests happen outside the UI thread Requests use a threadpool to cap concurrent resource usage GET/POST params builder (RequestParams) Multipart file uploads with no additional third party libraries Tiny size overhead to your application, only 25kb for everything Automatic smart request retries optimized for spotty mobile connections Automatic gzip response decoding support for super-fast requests Binary file (images etc) downloading with BinaryHttpResponseHandler Built-in response parsing into JSON with JsonHttpResponseHandler Persistent cookie store, saves cookies into your app’s SharedPreferences Instagram.

GEEK!mind: Android: Simple HttpClient to send/receive JSON Objects. Integrate zxing barcode scanner into your Android app natively using Eclipse « Damian Flannery's Blog. June 13, 2011 Update: Please note that this tutorial was written over a year ago. ZXing has moved on quite a bit since then as have the Android Developer Tools.

I haven’t had time to revisit and update the post but it should give you a good steer in the right direction. Some of the comments at the bottom may be able to help you out if you encounter any troubles. Edit: Sean Owen, one of the developers for ZXing has posted a comment to this blog warning of the pitfalls of integrating ZXing into your own app; doing so just to avoid having your users take that extra step of installing from the market is not a good reason. So to be clear, do not use this method unless it is absolutely necessary, and if you do have to – make sure that override your intent filters so that other apps that want to use zxing do not end up calling your modified version.

Fortunately, the app is also open source so I will show you how to cleanly build this capability into your project. Almost there! Like this: Linux - Android/Eclipse Installation on Ubuntu 11.04 - aapt and adb not working properly. Roch Development: CheckedTextView. Tips: How to install apk files on Android Emulator | Open Handset Magazine. Tips: How to install apk files on Android Emulator Posted on 19 January 2008 by Hatem Ben Yacoub If you are new to Android and looking for a way to test some of the currently available Android applications, here is how to proceed : First get the Android SDK and unzip it somewhere on your hard drive Add SDK_ROOT to your system variables pointing to /tools folder under the sdk Run the emulator Copy the apk file to /tools folder Change directory to /tools and run from commandline $adb install your_application.apk Now check applications list in the emulator and you should see the new application installed and ready.

Some pointed me to the error message when running adb on windows : * deamon still not running * error: no device. In this case try to shutdown adb server and start it manually using : $adb kill-server $adb start-server You can test if deamon is working by running $adb shell The uninstall procedure is $adb shell rm your_application.apk Hope this help, enjoy ! Android - Delete border space around GridView. Android Layout Tricks #1. The Android UI toolkit offers several layout managers that are rather easy to use and, most of the time, you only need the basic features of these layout managers to implement a user interface.

Sticking to the basic features is unfortunately not the most efficient way to create user interfaces. A common example is the abuse of LinearLayout, which leads to a proliferation of views in the view hierarchy. Every view, or worse every layout manager, you add to your application comes at a cost: initialization, layout and drawing become slower. The layout pass can be especially expensive when you nest several LinearLayout that use the weight parameter, which requires the child to be measured twice. Let's consider a very simple and common example of a layout: a list item with an icon on the left, a title at the top and an optional description underneath the title. Here is what such an item looks like: Implementing this layout is straightforward with LinearLayout.

Android - from latitude and longitude to latitudeE6, longitudeE6. Android User Interface Design | Mobiletuts+ Vendors who are part of the IAB TCF980Reject allAccept all Purposes (Consent):Store and/or access information on a deviceCreate profiles for personalised advertisingUse profiles to select personalised advertisingPurposes (Legitimate Interest):Use limited data to select advertisingMeasure advertising performanceUnderstand audiences through statistics or combinations of data from different sourcesDevelop and improve servicesSpecial Purposes:Ensure security, prevent and detect fraud, and fix errorsDeliver and present advertising and contentSave and communicate privacy choicesCategories of data:IP addressesDevice characteristicsDevice identifiersProbabilistic identifiersBrowsing and interaction dataUser-provided dataNon-precise location dataUsers’ profilesPrivacy choicesData Retention Period:31 daysYour Consent:Consent expiry: 5 years 1 dayCookie expiry may be refreshed during the lifetime.Tracking method: Cookies onlyShow details.