Questions tagged [adt]

1

votes
0

answer
118

Views

Simplistic ADT queue implementation using provided issue

/****************************************************************************/ /* File: queue.h */ /****************************************************************************/ /****************************************************************************/ /*...
Gaskin Foreman
1

votes
0

answer
39

Views

Android Studio Import Project from ADT window not showing up

Simple question here, but I haven't found anyone asking this. Also, keep in mind that I'm new to Android development. So I've been learning SDL2, and got to a point where I'm trying to start making projects on mobile devices. I'm using Lazy foo's tutorial 'hello mobile' on Windows, where I'm stuck o...
Patrik Bede
1

votes
1

answer
55

Views

How to use Gradle with ADT in Eclipse?

I have an Android project in Eclipse and I need to use some libraries in it, but I can't add them to the project because I can't find build.gradle file, please help me to make my Android project support Gradle like Android Studio
Simox Hênda
1

votes
1

answer
53

Views

How to implement generic linked list in c

I want to create a generic linked list in c, Below is the way I created it, but I am not sure if that is the correct way to do it, I allocate a new memory in the heap for the struct uniqueOrderedList_t, and then allocate a new memory in the heap as well for the element as I want it to be generic, is...
D.A
1

votes
1

answer
25

Views

Finding if there is a duplicate item in the node_chain?

This is the Pseudocode for the algorithm: start a walker to walk along the node chain while walker has not reached the end start a checker to walk from walker to the end of the chain while checker has not reached the end if checker ’s data value is the same as walker ’s, return True if walker re...
Swaraj
1

votes
3

answer
1.3k

Views

Debugging ADT Eclipse Plugin Install

I've installed the Android SDK and the ADT plugin, but Android doesn't show up in the Window>Preferences... dialog. I'm running Galileo. If I go to the Installation Details part of the About Eclipse dialog, it says that I have 0.9.6 of Android DDMS and Android Development Tools. I can run adb from t...
MPG
1

votes
1

answer
4.3k

Views

Using GROUP BY to fetch rows from SQLiteDatabase and then render them using SimpleCursorAdapter

I want to display total amount of seconds that was spent each day on a project. I want to use SQLiteDatabase to fetch rows using the query below and then use SimpleCursorAdapter to fill a ListView. SELECT projectId, date, sum(endedAt-startedAt) as hours FROM project_reports WHERE startedAt >= 127009...
jgauffin
1

votes
1

answer
981

Views

Android string and layout editors in Eclipse-ADT frequently crash

I recently started programming for Android using the Eclipse ADT. What I am frequently observing is, that when I open some Android .xml file (e.g. res/strings.xml or some res/layout/.xml file) that there are NullPointerExceptions. One can then still edit the file in source mode, but the convenient R...
mmo
1

votes
3

answer
2.8k

Views

Android Eclipse Hanging

I'm trying to get the ADT working in Eclipse, but I'm getting random hangs where eclipse just locks for no apparent reason, usually requiring a 'killall java' to properly clean it out of the memory. I'm on Ubuntu 10.4 (64bit) Here's the details of my eclipse/android install: eclipse Version: 3.5.2 B...
pictiPig
1

votes
2

answer
1.2k

Views

Error installing ADT plugin in Eclipse on Ubuntu 10.04

I have installed the plugin many times before, but this time I keep getting this error: 'Install' has encountered a problem An error occurred while installing the items Eclipse has some memory issues when running on my machine, so I just want to install the bare minimum plugins, etc. Has anyone got...
NotACleverMan
1

votes
2

answer
4.6k

Views

Can't install Android ADT plugin in Eclipse - “error occurred while uninstalling”

Can anybody help get me past this error when I hit 'Finish' when I'm in 'Install new software' with Android DDMS and Development Tools in Eclipse 3.5.2? What's it trying to uninstall?
Paparazzo
1

votes
1

answer
1.7k

Views

Problem in Setting Android - Need to ReSet ADT !

I am on Windows 7 with JDK 1.6. I downloaded Android SDK. Added and setup ADT for Eclipse. Wrote a Hello World app in Android. Eclipse is not able to identify 'Activity' and other android packages. I added tools folder to path. Still am receiving the same problem. In Eclipse I started getting messa...
Tvd
1

votes
3

answer
2.2k

Views

Android R.java doesn't regenerate in Eclipse after SDK & ADT update

I have recently downloaded both the 2.3 and 3.0 SDK for Android using Eclipse. I have also updated the ADT plug-in to 10.0.0. However since doing this the R.java file in my project will not regenerate at all, I have tried every solution on the web that google can give me and none of them work. So I...
Donal Rafferty
1

votes
1

answer
1.1k

Views

ADT import of android.media cannot be resolved

i try create my first android application for android 2.1 api level 7 in ADT. I wrote the following line to the default view and eclipse says, that android.media cannot be resolved: import android.media; how come, that this doesn't work? thanks a lot
fred
1

votes
1

answer
109

Views

Problems in ADT 10.0.1

After Updating to ADT 10.0.1 i am facing some problems like Whenever I click on an item in the Eclipse ui builder for android (Graphical Layout view) the properties view still shows the values for the previously selected item. The only way to actually 'select' an item is to click it in the outline...
Hamdullah shah
1

votes
1

answer
368

Views

How can I deploy an AIR application to older iOS hardware (i.e. not using AIR 2.6)?

This is an update of an earlier question which mistakenly assumed that the AIR 2.5 libraries supported iOS. I am trying to use AIR to package an ipa for the older iOS hardware that AIR 2.6 doesn't support. Adobe's suggestion is to use AIR 2.0.2 for these devices. However, I seem to be at a bad place...
MMM
1

votes
1

answer
1.4k

Views

Launching a project downloaded from the android open source project in eclipse

I'm just starting to developing for the android platform. I'm still in 'reading lots of code' phase. I downloaded the source code from android's music player into eclipse, now I want to run it on the emulator but eclipse tells me that the 'selection cannot be launched'. Is there something missing? I...
Kettemann
1

votes
1

answer
921

Views

ADT to use offline docs on SHIFT+F2

I have the Android SDK documentation offline, however when I use the SHIFT+F2 combination in eclipse it tries to take me to the on-line site, even when I'm not connected to the internet. Isn't it supposed to take me to the offline docs? I want to be able to use my offline docs with shift+f2. I've lo...
code shogan
1

votes
2

answer
2.5k

Views

Android ADT r12 for MAC

I am getting an error message regarding a styles.xml on my Eclipse for MAC OS X. Below is the error message: error: Error retrieving parent for item: No resource found that matches the given name 'android:WindowTitleBackground'. I googled this issue and found out that I will require an SDK r11 updat...
Melvin Lai
1

votes
2

answer
1.7k

Views

Adobe AIR 3.0 - Creating Captive Runtime .APP file using ADT

Can someone tell me how to create a .APP file that using the AIR3.0 captive runtime? So far, I have the following: adt -package pkcs12 -keystore MyPersonalCertificate.p12 -target bundle pkcs12 -keystore CertFromAppleWebsite.p12 CellImaging.app Protocols_Large-app.xml ./xml Protocols_Large.swf ./Ca...
William Grand
1

votes
3

answer
677

Views

I Can not install apk files on device or emulator in ADT-15.0.0?

I was developing my app and everything was OK. I installed ADT - 15.0.0 and installer_r15-windows.exe. After that, when I press Ctrl+F11 my project is uploaded but stayed in installing state without any progress. Why? can anybody help me? thanks, [2011-11-05 17:24:31 - order] -----------------------...
Bobs
1

votes
2

answer
152

Views

Object Class for Android Project

I'm working on an Eclipse plugin for Android. In order to make the plugin controls only visible if the selected folder is a project I added org.eclipse.core.resources.IProject as object class in the plugin manifest. However, this makes the controls visible for any Eclipse project. Is there a possibi...
Uma Shankar Subramani
1

votes
1

answer
461

Views

Eclipse running on Linux doesn't autocomplete Android XML

Just recently, my Android XML files which define my layout and etc have stopped autocompleting. When I type android: I used to get a list of options related to Android such as layout_width, etc. Now I get only four options, the first being xmlns='default namespace' Also the tab to change to the layo...
silleknarf
1

votes
4

answer
1.8k

Views

What is the difference between LogCat and LogCat(deprecated)?

I use eclipse to develop apps. When I goto eclipse's menu window->show view->other, I find two items nameed 'LogCat' and 'LogCat(deprecated)'. What is the difference between LogCat and LogCat(deprecated)? I find when an application is running, they show the same logs.
aiwa D
1

votes
1

answer
740

Views

Dell Streak 7 Eclipse/adb

Was anybody able to see the Dell Streak in adb devices command? Where I can take the USB drivers? So far this is the only device I am not able to use for development... after 5 hours I am totally tired:( Thanks for any help. Added later: I tried to start the driver installer from SD card (dpinst.exe...
STeN
1

votes
2

answer
782

Views

I am unable to install the ADT into Eclipse

I am trying to install the android developer's kit into Eclipse (Version: Indigo Service Release 1 Build id: 20110916-0149) on a machine running Windows 7, sp1. I already have the latest JDK installed from its site. When I try to install the ADT, the install fails and reports back: Cannot complet...
Sosullivan
1

votes
1

answer
1.4k

Views

ADT Plugin not showing up in Eclipse Indigo

I have recently installed Fedora 16 and I am trying to get ADT up and running from scratch on it. It's a 64bit system. I have installed AVD's under Ubuntu about 5 times (Hardy Heron through Lucid Lynx). I often ran into trouble, but this problem does not want to go away and I'm about 3 days into...
ultramanjones
1

votes
3

answer
406

Views

ADT plugin error during installation

I have installed eclipse classic IDE in my system(Windows 7, 64bit) and tried to install sdk tool for android app development and also i am having jdk 7 SE. Any suggestion on the below error. 'Cannot complete the install because one or more required items could not be found. Software being installed...
Raja
1

votes
3

answer
10.3k

Views

Editing Android Layout using Eclipse ADT

Sorry for a noobish question, So I have eclipse, installed ADT, the sdk etc and everything is fine....I can click on an android layout xml and the ADT layout editor displays fine...so I closed eclipse A couple weeks later, I open eclipse again, but then when I open an android layout xml, the layout...
kamikaze_pilot
1

votes
1

answer
912

Views

Ad hoc packaging flex application for iOS on Intellij IDEA

I'm new to iOS AND Intellij IDEA ... I have written a small flex application for Android and iOS. While deploing the app the my Android device for testing was pretty simple, I am stuck now on testing the app on my iOS device. What I did so far: requested a development certificate (wildcard) added my...
Randy
1

votes
6

answer
570

Views

how to change image back to original state when when back is pressed in android

the thing is i have made an application in which icons are there.. when we click on icon, it changes its image.. (i.e it glows). and open another activity.. but when back is pressed, its still in glowing state.. so i want to revert it to original statewhen back is pressed package sditm.app; import a...
Aman Talwar
1

votes
3

answer
1.6k

Views

Android: Cannot update my ADT version to 17+

I seem to have looked through many solution on here and the web and cannot find any relevant information towards the error I am receiving in Eclipse when I try to download the latest developer tools for android. The SDK works fine, but the plugin for eclipse is giving me this error: Your original re...
cwiggo
1

votes
2

answer
163

Views

Buttons not displaying properly after upgrade to ADT 20 (Helios, Mac)

Just updated to ADT 20 and none of the buttons in my layouts are displaying properly in the editor. Anyone else having the problem? Basically the buttons display with no background (no default grey button background as they used to). So if I add a new button to the layout it just shows as text only...
Fraggle
1

votes
3

answer
2.2k

Views

java.lang.NullPointerException during ANT build process handling Ordered Dependencies

We have an ANT build process that builds all of our android projects at once. It is completely based on the build process encouraged by android. We switched to ADT20 and the build process now fails when we are building a release. The android build process fails when trying to handle 'Ordered Depende...
prolink007
1

votes
1

answer
820

Views

No longer able to create projects after upgrading to ADT v20

I recently updated my ADT to v20 and I'm having problems creating new projects now. I have installed the platform SDKs for API levels 8, 10 and 15, but when I try to create a project based on 2.3.3 and with minimum 2.2 SDK Eclipse says: This template depends on the Android Support library, which is...
Firouziam
1

votes
1

answer
341

Views

Use hidden API without reflection in Eclipse

I develop application for my custom ROM and I need to call PackageManager's method which are annotated like this: /* @hide */ public abstract void deletePackage( String packageName, IPackageDeleteObserver observer, int flags); I guess it's all about another android.jar. How do I solve the problem?
Igor Filippov
1

votes
2

answer
1.5k

Views

Android Project in eclipse is no where to find

I already try all the things I searched online such as uninstall the sdk, eclipse and download everything but I still can't find 'Android Project' from New > Other. And also from Window>Customize Perspective. But I still can't find it. I am doing this to learn android programming and I am a beginner...
user1855555
1

votes
2

answer
1.2k

Views

C++ Using same ADT structure for multiple classes

Ok, so for example, I have to create a simple hospital queue system with multiple classes using a List ADT. So my problem is with the typedef. How do I go about doing this since type def can only have one data type. #include #include 'Patients.h' #include 'Records.h' #include 'Services.h' const int...
Pamela Lufkin
1

votes
3

answer
3.8k

Views

PANIC: Could not open: ¨8W

First of all just let me say that I have looked through the solutions on stackoverflow and have not found one that has worked. These include: linking folders (but that was absurd for my case) Creating the environment (system) variables for the computer and eclipse. Still when I run Android Virtual D...
user1972854
1

votes
1

answer
3.8k

Views

Could not open the editor: The editor class could not be instantiated

some days ago I downloaded the plugin to repackage apk for BlackBerry then I got a message to update the ADT and SDK so I opened the SDK manager and updated all suggested updates. After I restarted I got a message that a certain project cannot be saved but the gui was empty, no project selected. Tod...
wocmultimedia

View additional questions