background preloader

Android

Facebook Twitter

/ PicsArt. Contact me for more Android advice. Use Web Service in Android. Android - JSON - XML. Android App Development. Android App Development. Android development. Tabwidget - Android: Tabs at the BOTTOM. Josh Thought. When using Fragments in tabs, the FragmentManager takes care of instantiating, retaining, and reusing Fragments.

Josh Thought

The problem there is that a tag for a fragment is auto-generated. If we want to reuse that exact Fragment in a different layout (like when the device is rotated), we need to extract the tag and use the same one when re-initializing. The better way to do this is to create your fragment instance and tag yourself. That way, you can easily get a reference to your fragment later from the fragment manager. So essentially we need to replicate the inner workings on fragment pager adapter and explicitly add your fragment (and your tag).

Jake Wharton has a great code sample that demonstrates this for using a Fragment Pager Adapter. If you’re writing an Android App using a MapView, then you will most likely want to view the user’s location. Continue reading Border Wait Android app was my first app and it showed – basic ListView, simple icons, and a launcher icon I found from the web. Java Srilankan Support. Firmware Page. SamMobile's Firmware Portal is exclusive to only Samsung devices.

Firmware Page

Here you will be able to find every firmware ever released for your Samsung device, including the mobile network specific firmwares. So, it doesn’t matter if your device is network carrier branded, running the network customised firmware, or directly from Samsung (SIM-Free), running the generic firmware, because we have them all. You will always find the latest official firmwares for your Samsung device here, first. The firmware addition process is all automated and is active 24/7.

Whenever Samsung releases any new official firmware, our Firmware Portal automatically gets updated with the latest firmware and its download link. Simply enter the model number of your device in the search box above and a list of latest firmwares will come up. Disclaimer SamMobile is not responsible if you brick or damage your device by using the files available on this Firmware Portal. Android listview with multiple controls.

Android - search listview. Android World. Jimu: Build sophisticated Android apps in minutes. Emerging UI Pattern - Side Navigation. Android UI has been improving with a phenomenal speed in the last year (I composed a small gallery of some apps I really like in Google+).

Emerging UI Pattern - Side Navigation

Many of the changes has been only cosmetic (holo theme, Roboto font, etc). We haven't seen large changes in the way user interfaces are designed beyond that. We might have one such change happening now though. The facebook's side navigation was recently picked up by few apps nearly simultaneously. First we saw the Spotify redesign using it and shortly after the Evernote redesign. The implementation in each of the apps is very different. The visual differences of the implementations are very apparent. There was a interesting discussion about this pattern in the blog's Google+ page some time ago. Dashboard is dead(ish) The side navigation replaces the much criticized dashboard pattern in the apps. The Dashboard also requires users to come back to the app's home screen to navigate to other parts of the app.

Side navigation problems Up? Back stack problems. Android Form Field Validation. Home page of Andy Khan. Android Development. Android User Interface Design: Frame Layouts. Frame layouts are one of the simplest layout types used to organize controls within the user interface of an Android application.

Android User Interface Design: Frame Layouts

Understanding layouts is important for good Android application design. In this tutorial, you learn all about frame layouts, which are primarily used to organize individual or overlapping view controls on the screen. When used correctly, frame layouts can be the fundamental layout upon which many interesting Android application user interfaces can be designed. What Is A Frame Layout? Frame layouts are one of the simplest and most efficient types of layouts used by Android developers to organize view controls. TIP: In fact, one place you’ll see frame layouts used is as the parent layout of any layout resource you design. Frame layouts are very simple, which makes them very efficient. Let’s look at a simple example.

The following figure shows what this sort of layout would look like on the screen. Defining an XML Layout Resource with a Frame Layout Conclusion.