Open the dialer app and type *#07#
Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts
Friday, September 22, 2023
How to Mirror the Screen of an Android Smartphone to a Linux PC
- On the smartphone, set developer options on
- On the Linux PC, install scrcpy (sudo snap install scrcpy on Ubuntu)
- Connect the smartphone to the PC via a USB cable then open a terminal session on the PC and type scrcpy
Tuesday, January 08, 2013
Reading Android SDK doc offline - I want to build my app - day 3
The ADT bundle doesn't install documentation by default, therefore the only way to read it is by using a internet connection. Here I'll describe how to acquire that documentation for reading it locally.
First off, be sure to launch your Eclipse IDE as computer administrator. (The details about how to do that are a little bit OT here, anyway... if you start Eclipse using a shortcut in Windows 7, be sure that, after opening its property, the item Run this program as an administrator is checked on under the tab Compatibility).
Now open your Eclipse IDE, then from Windows menu, choose the item Android SDK Manager. A window similar to the one in figure will open up.
Here you can see what already has been installed locally and what still hasn't. Check the item Documentation for Android SDK then click on Install button.
After installing the documentation, you can browse it under docs folder, located into SDK root folder. The entry point is the file offline.html.
First off, be sure to launch your Eclipse IDE as computer administrator. (The details about how to do that are a little bit OT here, anyway... if you start Eclipse using a shortcut in Windows 7, be sure that, after opening its property, the item Run this program as an administrator is checked on under the tab Compatibility).
Now open your Eclipse IDE, then from Windows menu, choose the item Android SDK Manager. A window similar to the one in figure will open up.
Here you can see what already has been installed locally and what still hasn't. Check the item Documentation for Android SDK then click on Install button.
After installing the documentation, you can browse it under docs folder, located into SDK root folder. The entry point is the file offline.html.
What kind of Java am I using? - I want to build my app - day 3
Right now I'm doing some experimentations with Eclipse IDE using Java, but... wait a moment: is this the JVM I'm used to program for desktop/server applications?
Well... no. Take a look here to get what Dalvik is and here for getting some basic differences from JVM.
Well... no. Take a look here to get what Dalvik is and here for getting some basic differences from JVM.
Monday, January 07, 2013
Time to study and to experiment - I want to build my app - day 2
This is day 2 of my experience in building my own Android app.
I downloaded the whole ADT bundle for Windows here and I installed it.
Then I started my training by chapter one, Building Your First App, that's basically an Hello World app.
This is a quite easy app to develop that shows you some basic concepts behind Android development: the Activity class, the View class and the Intent class. Beside that, it helps you familiarize with the emulator and its usage for building, running and debugging apps.
My impression now is... there is a lot of things to study and the complexity is high because the field is huge and this platform suffers fragmentation: I mean you cannot rely on the fact your app will run on Jelly Beans only (at least for my app). Therefore some APIs cannot be used generally and you have to learn way A as well B to do just the same thing.
Before continuing my training, I discovered a site where Open Source Android app are listed: it can be useful for doing some practice by studying already-skilled-programmers' code. Here it is: F-Droid. This site, as well as the SDK samples, can help a lot. (Practice makes perfect).
I downloaded the whole ADT bundle for Windows here and I installed it.
Then I started my training by chapter one, Building Your First App, that's basically an Hello World app.
This is a quite easy app to develop that shows you some basic concepts behind Android development: the Activity class, the View class and the Intent class. Beside that, it helps you familiarize with the emulator and its usage for building, running and debugging apps.
My impression now is... there is a lot of things to study and the complexity is high because the field is huge and this platform suffers fragmentation: I mean you cannot rely on the fact your app will run on Jelly Beans only (at least for my app). Therefore some APIs cannot be used generally and you have to learn way A as well B to do just the same thing.
Before continuing my training, I discovered a site where Open Source Android app are listed: it can be useful for doing some practice by studying already-skilled-programmers' code. Here it is: F-Droid. This site, as well as the SDK samples, can help a lot. (Practice makes perfect).
Saturday, December 22, 2012
I want to build my app - day 1
Welcome back.
I see my last blog entry here is dated September 2010... a lot of time ago.
Don't worry for me: I'm alive and well. I still work on Java, I do a lot of photos and enjoy life.
Starting from today, I'd like to bring some new air here, at least I promised that to myself: I want to seriously build some apps.
I own an Android 4.1 phone and an Android 4.2 tablet and I already told to myself countless times this year to develop some ideas, but I'm still fighting against less or no time at all, so the challenge here is to find out some good time to put words into action.
Today is day one for this project. I will post here my progress on a regular basis labeling each entry with the keyword myapp.
I see my last blog entry here is dated September 2010... a lot of time ago.
Don't worry for me: I'm alive and well. I still work on Java, I do a lot of photos and enjoy life.
Starting from today, I'd like to bring some new air here, at least I promised that to myself: I want to seriously build some apps.
I own an Android 4.1 phone and an Android 4.2 tablet and I already told to myself countless times this year to develop some ideas, but I'm still fighting against less or no time at all, so the challenge here is to find out some good time to put words into action.
Today is day one for this project. I will post here my progress on a regular basis labeling each entry with the keyword myapp.
Wednesday, October 22, 2008
Android is now open source
Android is now available as open source. Check this site for more details.
It's worth nothing that, at the moment, Windows is not supported, while both Linux (Ubuntu) and Mac OS (running on Intel x86) are.
It's worth nothing that, at the moment, Windows is not supported, while both Linux (Ubuntu) and Mac OS (running on Intel x86) are.
Subscribe to:
Posts (Atom)
