eclipse-adt

Error : WatchActivity cannot be resolved to a type,Why i'm getting this? [duplicate]

柔情痞子 提交于 2019-12-04 15:20:32
This question already has answers here : Update Eclipse with Android development tools v. 23 (43 answers) Closed 5 years ago . Well i have update my Android Sdk to 23 & even Eclips ADT plugin to the latest version. why i'm getting the error in import library of WatchActivity . And i have already fixed this issue " Update eclipse with Android Development tools 23 ". When i create a new android project with "Blank Activity" my Src & Layout folder is empty. When i create a new android project with "Blank Wear Activity" it will create scr folder with Activity file bit contains an error

custom made arc shaped seekbar

筅森魡賤 提交于 2019-12-04 12:09:19
What I am trying to achieve is to make an arc shaped seekbar. I know there are plenty of libraries I could use to achieve this, but I am just trying my hands on custom made views. I have encountered couple of problems: I have a class which extends SeekBar, and I have implemented onDraw and onMeasure methods as well, but I am not able to view that in layout editor in eclipse, here is the code for the custom view class: package com.custom.android.views; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android

What is the “Android Private Libraries” folder in Eclipse?

只谈情不闲聊 提交于 2019-12-04 10:07:35
问题 I initially thought it was exclusively for official libraries like the support library. However any time I add a custom JAR using the "Add to build path" menu item, it automatically shows up in both "Referenced Libraries" and "Android Private Libraries". One of these is redundant since there is no point in exporting both at build time. Additionally, "Android Private Libraries" cannot be modified so I can't (easily) add java doc or source paths. Not to mention it just seems wrong that a custom

What is the differences between `export signed` and `unsigned` .apk file? [duplicate]

不羁岁月 提交于 2019-12-03 09:40:47
This question already has an answer here: Android differences between signed and unsigned .apk files? 2 answers I'm building .apk file for my Android application using Android tools - Export... as guided here My question is what are signed and unsigned .apk file? How can we use usngined .apk file? (I tried to export an unsigned one but I cannot install it for my Galaxy Nexus) chrylis -on strike- Signing Android apps is just like signing any other application; it provides the user with some level of assurance that the code hasn't been tampered with since you released it. Unsigned apps should be

VideoView in eclipse not playing on phone

我的梦境 提交于 2019-12-02 11:06:16
问题 I put a videoview in eclipse for an android app but the video will not play on my phone. package test.test; import android.app.Activity; import android.net.Uri; import android.os.Bundle; import android.widget.MediaController; import android.widget.VideoView; public class graphics extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); VideoView videoView = (VideoView) findViewById(R.id.test);

Error in my R.java file cannot be resolved

烈酒焚心 提交于 2019-12-02 05:48:05
I am using the Eclipse ADT bundle and recently updated my Android SDK tools and Android SDK platform tools then thereafter I tried creating a new project and I keep getting an error in my R.java file that seems trivial but I still dont understand how it keeps showing up since it is an autogenerated file. The error is: Syntax error, insert "}" to complete ClassBody . Keep in mind this is when I have just created the project. Also deleting the file and letting it autogenerate still yields the same result that is the error. Please help on how I can solve this,can't seem to find any links to a

VideoView in eclipse not playing on phone

岁酱吖の 提交于 2019-12-02 04:21:19
I put a videoview in eclipse for an android app but the video will not play on my phone. package test.test; import android.app.Activity; import android.net.Uri; import android.os.Bundle; import android.widget.MediaController; import android.widget.VideoView; public class graphics extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); VideoView videoView = (VideoView) findViewById(R.id.test); MediaController mediaController = new MediaController (this); mediaController.setAnchorView(videoView); Uri video

Creating a navigation drawer over action bar with header

拥有回忆 提交于 2019-12-02 04:04:34
I have a translation app that helps people to learn a language and play games to check their learning. The app already has a navigation drawer but it appears under the action bar with items. I want to change the navigation drawer to make it appear over the action bar. Very much preferred that the navigation drawer has a google play store style header. I have tried many solutions but I am not able to get it done. Here are some examples : [1] Android Navigation Drawer on top ActionBar 1st and 2nd solutions have been tried. [2] https://www.youtube.com/watch?v=HDYPgS0BM8c&feature=youtu.be Have

Eclipse wont recognize my android tablet when I try to test my app?

谁说胖子不能爱 提交于 2019-12-01 23:21:49
问题 Recently I bought a new android tablet (a no-name Chinese tablet), and I'd like to test an application I'm developing on it. However, when I try to run it through Eclipse, it won't recognize my tablet (the debugging mode is enabled on the tablet). When I have the select device dialog I see Serial Number : ??????????? AVD Name : N/A Target : unknown Debug : State : ?? I'm running Linux Mint. What should I do? 回答1: On Linux, you have to add an udev rule for your tablet. For instance: #cat /etc

Eclipse wont recognize my android tablet when I try to test my app?

泪湿孤枕 提交于 2019-12-01 21:49:23
Recently I bought a new android tablet (a no-name Chinese tablet), and I'd like to test an application I'm developing on it. However, when I try to run it through Eclipse, it won't recognize my tablet (the debugging mode is enabled on the tablet). When I have the select device dialog I see Serial Number : ??????????? AVD Name : N/A Target : unknown Debug : State : ?? I'm running Linux Mint. What should I do? On Linux, you have to add an udev rule for your tablet. For instance: #cat /etc/udev/rules.d/51-android.rules SUBSYSTEM=="usb", SYSFS{idVendor}=="0502", MODE="0666" you can use lsusb in