Skip to main content

Posts

Showing posts with the label android emulator

Instant Bluestacks from PacktPub.com

Figure 1: Instant Bluestacks book cover. There are a lot of good articles and tutorials related to Android available out there in the wild world of Web. However, I mostly amazed with the job well-done by the Packt Publishing team in producing great technology books. I do love the idea of Bluestacks Android Player because Windows and Mac users could play vast amount of FREE yet high quality games in Google Play Store without having to switch to Android device. It cannot be denied that Bluestacks is great, however the installation and first-time setup is quiet challenging. This is where the Instant Bluestacks comes handy. With lots of screenshots and step-by-step instruction, this book is very helpful to early adopter of Android ecosystem. Reader will be guided step-by-step to download, install and set the Bluestacks Android Player both in PC and Mac. Than it demonstrate how to search for some good apps available from Google Play (and some alternative apps download centres) and inst...

Force full screen and rotate landscape Android

The following example is to force Android screen to become full screen programmatically. And to rotate into lanscape mode. public class HijrahRasul_mula extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super .onCreate(savedInstanceState); //no big screen title + icon requestWindowFeature(Window.FEATURE_NO_TITLE); //full screen without notification bar getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); //this is to force layout to landscape - for potrait chage to SCREEN_ORIENTATION_POTRAIT this .setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); setContentView(R.layout.activity_hijrah_rasul_mula); } }   There’s another alternative method by setting the Activity theme. < application android:icon ="@drawable/icon" android:label ="@string/app_name...

MyMobiler - FREE Android Screen Share

Though am using Samsung Android phone, I can’t fully utilised the Screen Share features available for Android Samsung phone. This is because am using Dell laptop. Being and Android trainer requires me to debug Android codes, and execute the codes into an emulator/device. As we all know, pushing APK into Android emulator is very slow, and emulator has limited features too. Hence testing an APK into a device is very much a must (not an option). MyMobiler enable sharing the display of my Android device to the PC, hence to the LCD projector. This makes the sharing of my apps output to the audience much more convenient – as the keyboard and the mouse can be used to interact with the Android device. To use these features, you need to install the MyMobiler app and the MyMobiler PC-application. Make sure your Android device can be communicate with your PC by installing the right USB/device driver. As am using Samsung, installing KIES will install all the drivers needed. 1. MyMobiler app...

No system images installed for this target–AVD

Got a question from a friend. Asking why the AVD – Android Virtual Device- cannot be created. ( TQvm Amat Aj for the question ) Solution : This is due to the system image for the target machine is not available. open the SDK manager and download the right system image. Notice the none of the System Image is installed. Check one (ARM/Intel/MIPS) and start the download. ARM is common for most phone, Intel claim it’s faster for the emulator. From my observation, both are the same.

How to Install APK Files on Android Device Emulator

In this tutorial you are to run any APK (Android application) file to your Android emulator. Assuming you already have the Emulator running  (if not sure how run the Android device emulator, refer to this http://blog.kerul.net/2011/09/android-emulator-to-run-your-apps.html ) .   Figure 1 Locate your adb.exe file in your Android SDK folder. In Windows environment normally your adb.exe is inside [Android-SDK-folder]/platform-tools/ . In my case, the adb.exe is in C:\android-juno\android-sdk\platform-tools (this is an example path to the adb.exe, may varies depending on your system). Find any APK file (for the purpose of this tutorial, I’ve prepare an APK file – download here http://bit.ly/peribahasa-apk ). After you’ve successfully downloaded the APK, put it inside your [Android-SDK-folder]/platform-tools/ as in Figure 2.   Figure 2