Try to camera my own video for some demo. The most convenient tool is mobile phone.
After recording video, the file format is 3GP and the video is needed to rotate 90 degree.
Ha, it's easy to edit online. Just upload to Youtube then use Youtube editor.
The video also can set to private use.
2012年10月8日 星期一
2012年9月18日 星期二
[Android] Please ensure that adb is correctly located at 'C:\Program Files\Android\android-sdk-windows\platform-tools\adb.exe' and can be executed.
If you get the error message "Please ensure that adb is correctly located at 'XXX\platform-tools\adb.exe' and can be executed.", just check the path setting in your computer environment for Microsoft Windows Operation System.
The adb in tools/ is moved to platform-tools/ for new SDK version.
Add the real path to your path environment.
The adb in tools/ is moved to platform-tools/ for new SDK version.
Add the real path to your path environment.
[Android] Auto detect target device phone
If you do not find your phone in ADB (Android Device Bridge), you may have some issues needed to check.
1. On the device, go to Settings > Applications > Development and enable USB debugging (on an Android 4.0 device, the setting is located in Settings > Developer options).
2. Check USB driver is installed.
3. Go to the folder where ADB.exe in, e.g, C:\Android\android-sdk\platform-tools.
Type command <adb devices> then it should have your device names list. If not, check USB driver first.
or Try adb commands to restart adb server.
adb kill-server
adb start-server
4. Check Android version of your project. Right click your project->Properties->Android->ProjectBuildTarget. Make sure that it's not newer than your device's version.
1. On the device, go to Settings > Applications > Development and enable USB debugging (on an Android 4.0 device, the setting is located in Settings > Developer options).
2. Check USB driver is installed.
3. Go to the folder where ADB.exe in, e.g, C:\Android\android-sdk\platform-tools.
Type command <adb devices> then it should have your device names list. If not, check USB driver first.
or Try adb commands to restart adb server.
adb kill-server
adb start-server
4. Check Android version of your project. Right click your project->Properties->Android->ProjectBuildTarget. Make sure that it's not newer than your device's version.
[Android] Simple way to set up development environment
It is recommended to use Eclipse.
First take time to read Android Official training materials here. http://developer.android.com/training/basics/firstapp/index.html
1. Because Android is Java based, Java SDK is needed to install.
Better to choice the second latest version if possible. The newest version may have some bugs issue.
2. Download and install Eclipse. (The version is better newer because old version that Android SDK may not support)
3. Run Eclipse and install ADT (Android Development Tool)
Help --> Install new software -->
Paste the address http://dl-ssl.google.com/android/eclipse/site.xml then you can install the ADT.
4. Check Android version of your Android phone then update SDK if necessary by Android SDK Manager.
5. Set up Android Path. Eclipse --> Windows --> Preference --> Android
For my case, I install SDK here. C:\Android\android-sdk
6. Follow the tutorial to build your first App "Hello world".
First take time to read Android Official training materials here. http://developer.android.com/training/basics/firstapp/index.html
1. Because Android is Java based, Java SDK is needed to install.
Better to choice the second latest version if possible. The newest version may have some bugs issue.
2. Download and install Eclipse. (The version is better newer because old version that Android SDK may not support)
3. Run Eclipse and install ADT (Android Development Tool)
Help --> Install new software -->
Paste the address http://dl-ssl.google.com/android/eclipse/site.xml then you can install the ADT.
4. Check Android version of your Android phone then update SDK if necessary by Android SDK Manager.
5. Set up Android Path. Eclipse --> Windows --> Preference --> Android
For my case, I install SDK here. C:\Android\android-sdk
6. Follow the tutorial to build your first App "Hello world".
2012年9月17日 星期一
[Xcode] Provisioning profile cannot be found
Use new iOS developer and add to portal as development device.
After building App, the error message shows "Provision profile XXX cannot be found".
Your xcode project file gets messed up your setting.
Just click your xcodeproj and click "Show Package Contents".
Use textedit to open project.pbxproj and remove XXX string.
Then re-open Xcode and build then it should work again.
After building App, the error message shows "Provision profile XXX cannot be found".
Your xcode project file gets messed up your setting.
Just click your xcodeproj and click "Show Package Contents".
Use textedit to open project.pbxproj and remove XXX string.
Then re-open Xcode and build then it should work again.
2012年9月14日 星期五
[Android] Files
APK files
•Android Packages
• All class files and resources needed to run
• Class files recoded to dex
• Manifest defines activities and other facets
DEX
• Dalvik Executable
• More compressed form than bytecode
• Third party libs can be converted to dex
APK
• Install - put APK in data/app
• Uninstall - remove APKSecurity
訂閱:
文章 (Atom)