Following the Android notepad tutorials using Eclipse 3.4.2 on OSX 10.5.6. I’m instructed to set a breakpoint in one of the following ways: Double click on the gray bar to the left of the editor pane. this just brings up the “Add Bookmark” window Select “Toggle breakpoint” in the context menu the only options in […]
I don’t seem to be able to access Arrays.copyOfRange in my Android project in Eclipse Indigo 3.7.1 On Ubuntu 11.10. My JRE is java-6-openjdk which I thought included Arrays.copyOfRange For example, if I have this code: int debug = new int; int x = Arrays.copyOfRange(debug,0,4); Eclipse tells me The method copyOfRange(int, int, int) is undefined […]
After importing generic HelloWorld project generated with Android project wizard in Eclipse to IntelliJ IDEA CE I have two errors: invalid item ‘com.android.ide.eclipse.adt.ANDROID_FRAMEWORK’ in dependencies list invalid item ‘com.android.ide.eclipse.adt.LIBRARIES’ in dependencies list How to import a project correctly to avoid errors?
Sometimes, when I want to refer a value to a string reference I use @string/blabla, but sometimes, it gives me an error that I can run the code unless i change @string to @+string What’s the difference between them? Any answer would be so helpful. Thanks in Advance!
If anyone could help me understand some things regarding Android Studio, it would be most enlightening. So, I have switched from Eclipse to Android Studio around a month ago and so far have only been working on my migrated Apps. As such, I have been tinkering around with only the AndroidManifest.xml file as was customary […]
While creating a new android project in eclipse 3.5, i have selected Android 2.1 Update1 as build target. But i forgot to give the mini SDK version. Now when the build the project, its giving a warning message “WARNING: Application does not specify an API level requirement!Device API version is 8 (Android 2.2)“ The application […]
I’m having a horrible time figuring out a problem that makes it impossible for me to use the new android application wizard in ADT to create a new android project. First a little background. I’ve been using ADT (the ADT bundle) for about 6 months and haven’t had a problem. Because the current issue only […]
I have my Emulator open, and using Command Prompt I remove my application. I didn’t closed the Emulator. Then I go to Eclipse and hit Debug, but doesn’t deploy the apk to the emulator, just tells me the package not yet registered with the system. New package not yet registered with the system. Waiting 3 […]
yesterday I posted the question ‘How do I convert eclipse app for phone?’ I have used eclipse to design an android app which runs fine on the emulator and I now want to transfer it to my phone. Sixten Otto kindly offered some advice regarding how to test/debug my app on my phone straight from […]
Using following code <item android:id=”@+id/text” android:title=”@string/mainMenu” android:enabled=”false” android:layout_gravity=”center”> </item> I have a style defined as <style name=”MenuTextStyle” parent=”@android:style/TextAppearance.Medium”> <item name=”android:textColor”>6F6B6B</item> <item name=”android:gravity”>center_horizontal</item> <item name=”android:textStyle”>bold</item> <item name=”android:textSize”>14sp</item> But the menu text still is not in the middle. How to make it center in middle?