Have you even tried to import an Android Project into Eclipse, but get error like "unable to resolve target" and "Unable to get system library for the project" ? If so, this post may help.
In sometimes, the error was caused by unavailable of certain Android SDK version. The project may be build based on a version of Android SDK, that your Eclipse had not installed.
To solve the issue, just following the steps below.
1. In Eclipse, right click your project > Properties.
2. Click Android, select a build target and "ok"
3, When you go back to Eclipse, clokc, Project > Clean > Clean all projects
Then back to your .java and all error should be removed.
p.s. The nice example was came from How to convert an Activity class to use with FragmentPagerAdapter
Tuesday, July 31, 2012
Report for Apple apps naming
Its always be a hard decision in naming my own apps. For me, I get to consider a few issues.
1. Descriptive - User get to know what you apps is through the name
2. Unique - Make your apps different from other
3. Simple - Easy to remember, so that it can be told to others!
For sure that I am not very well in apps naming.
How would you name your apps? See if you can be inspired by those Apple IOS developer.
Most commonly used wording in IOS apps name:
1. HD – 27777
2. Lite – 21690
3. Free – 18511
4. iPad – 11313
5. Pro – 9024
6. Guide – 8361
7. Mobile – 7695
8. App – 6142
9. iPhone – 5441
10. Game – 5377
11. Travel – 4851
12. Radio – 4633
13. World – 4504
14. Map – 4351
15. Dictionary – 4220
16. Edition – 4198
17. Calculator – 4164
18. Kids – 3852
19. English – 3680
20. News – 3611
21. Book – 3254
22. Magazine – 3009
23. Photo – 2957
24. Puzzle – 2835
25. Music – 2764
Which words do App developers most commonly use in their App titles?
Apps Score Report June 2012
Monday, July 30, 2012
"R cannot be resolved" error
For "R cannot be resolved" error, in most cases, the problem may relied on the Java itself, but /res/values/strings.xml. Make sure the syntax of XML is correct.
Sunday, July 29, 2012
Baby milkfeed counter
It help parent to record the volume of milk their baby taken. It also tell you your baby age and birthday! And the most amazing thing is ... its my first Android apps!
Localized in English, Chinese, Simp. Chinese, Trad. Chinese
You may download the apps Baby milkfeed counter from Google Play .
Upgrade and Versioning of your apps
If you have developed feature or bug fix your Android apps, you have to change the version of your app, before you can upload it to Google Play.
versionCode - Integer only. That's the version of your application code. You must change (normally +1) its or Google Play will not allow you upload the APK.
versionName - String. Version name that all users can see. So that they can identify which version they are using. (normally in format like 1.0.2)
See more in Android Developer - Versioning Your Applications
Android 4.1 SDK (ADT 20.0.2) released
Google release its latest Android Development Tool 20 in July 2012. It includes tones of bug fix. What are you waiting for? Launch Eclipse and update your ADT ASAP?
Android Developer - ADT plug-in
Android Developer - ADT plug-in
Syntax Highlight for Blogger
Content of this blog contain source code of programming language, like XML & Java. For ease of reading, they are well formatted by SyntaxHighlighter .
The following described how to implement SyntaxHighlighter in Blogger.com
1. Login Blogger > Template > Edit HTML > Proceed
2. Copy & Paste the following code, just before </Head>. Then Save template. After that, Blogger template setup is completed
2. To add formatted code in to your Blogger, use wrap the content with the following tag.
You also get to edit the content by HTML as below.
The above example is for XML content. For other like Java, PHP, etc, see the table below
Here's a list of supported languages and their aliases:
Language | Aliases |
C++ | cpp, c, c++ |
C# | c#, c-sharp, csharp |
CSS | css |
Delphi | delphi, pascal |
Java | java |
Java Script | js, jscript, javascript |
PHP | php |
Python | py, python |
Ruby | rb, ruby, rails, ror |
Sql | sql |
VB | vb, vb.net |
XML/HTML | xml, html, xhtml, xslt |
Please also check with SyntaxHighlighter website for other info.
SyntaxHighlighter in Google Code
SyntaxHighlighter web site
Subscribe to:
Posts (Atom)