Android :: Java Development - Missing Drawable Folder (NetBeans IDE)

Aug 27, 2010

I recently switched to Ubuntu and decided to use NetBeans for Java development instead of Eclipse which I used on Windows. The problem is, in the Eclipse I used on Windows, I had a folder named "drawable-hdpi" with the standard app icon in and a few other folders like "drawable-mdpi" (I think). But with NetBeans, there doesn't seem to be any folders named "drawable".

Android :: Java Development - Missing Drawable Folder (NetBeans IDE)


Android :: Development On Netbeans

Sep 13, 2010

I'm trying to develop on android's platform. I'm working with netbeans and using this tutorial: Introducing Android Development with NetBeans. I seem to have everything installed properly, and have no trouble creating android projects,Does anyone know what might be causing this or how I could fix it?

View 2 Replies View Related

Android :: High Density Emulator Use Drawable Mdpi Folder Instead Of Drawable Hdpi

Oct 19, 2010

I am running my application in the emulator using a high density skin (like WVGA800). However the ressources in my application are loaded from the drawable- mdpi folder instead of drawable-hdpi ... what else should I do so that android use the correct folder ?

View 4 Replies View Related

Android :: Java.lang.NoClassDefFoundError While Running JUnit Test In Netbeans

May 26, 2010

I am building an Android hello world application in Netbeans. It's building properly and I am able to run in the emulator also. But when creating and running the Junit test I get a java.lang.NoClassDefFoundError.

View 2 Replies View Related

Android :: Netbeans Profiler Not Working With Netbeans Plugin

Mar 17, 2010

I have been having trouble trying to use the Netbeans Profiler with Android. The android plugin itself (for netbeans from kenai) works fine, though when I try and use the Netbeans profiler with it, it fails to work.When I run the profiler a small message window pops up saying "connecting to the target VM", it stays at that for about 2-3 mins then the window closes and nothing else happens.Is anyone else here using netbeans and having this problem? I would also like to point out that I am using Netbeans and Eclipse with the android plugin as part of my Honors project at Uni, Im doing a comparison you see.

View 2 Replies View Related

Android :: Organizing Res / Drawable Folder

Aug 10, 2010

My app has loads of images in the drawable folder, and I want to organize them into sub folders to make them more manageable. When I create a new folder, and move the images, they are no longer found (and not compiled into the R.java file). Can this be done, or do all my hundreds of images have to sit directly in the drawable folder?

View 9 Replies View Related

Android :: Detecting Which Drawable Folder Was Used

Nov 26, 2009

Is there a way to detect whether a image was pulled from the folder res/drawable or res/drawable-hdpi?I am trying to save space and have a program that is using some hdpi bitmaps and some mdpi bitmaps. When an image is placed in drawable-hdpi it automatically replaces the mdpi version. I need to know when this happens beacuseI am using bitamp.resize() to fix the image sizes.The problem is that the getDensity() method (in the if statment after the && ) returns the screen density and I need the original bitmap density. This allays matched the screenDPI and returns false. I have a lot of artwork and do not want to duplicate everything for every size screen. I am trying to just create hdpi bitmaps for the ones that don't look good when re-sized.

View 2 Replies View Related

Android :: Drawable Folders In Res Folder?

Mar 28, 2010

What is the difference between the three drawable folders in the res folder in the project hierarchy? If I have an image to put into a folder, which folder do I put it in?

View 1 Replies View Related

Android :: Drawable - Folder For Storing Images In Project

Jul 16, 2010

I was working on Android 1.5, but now moved to the latest version. So there is only "drawable" folder in Android 1.5, but now There are 3 different folder for storing images in android project. And as i have found some articles for these 3 folders that

hdpi means High-dpi
mdpi means medium-dpi
ldpi means low-dpi

But still in confusion that what is the exact purpose of these 3 folders and when to use particular folder to store images in that?

View 3 Replies View Related

Android :: Image View From Drawable Folder Path

Nov 11, 2010

I want to show image from drawable folder using path (res/drawable/icon.png). I do not want to use R.drawable.icon. Please anybody know how to view the image using res/drawable/icon.png.

View 6 Replies View Related

Android :: Images From Drawable Folder Loading Scaled

Oct 18, 2010

I recently rebuilt my project to target 2.2 from 2.1. In the old project, I did not specify a target SDK (the manifest did not contain something like:
<uses-sdk android:minSdkVersion="8" />).
This gave me an error in the console when running, but everything worked fine so I didn't fool with it.

The new project now uses <uses-sdk android:minSdkVersion="8" /> in the manifest. But now my drawables from the /drawable-nodpi/ folder are loading with scaling, making them much smaller and significantly changing the desired visuals. If I cut out the <uses-sdk android:minSdkVersion="8" /> tag from my manifest, they load properly without scaling.

Even when loading my images like so:
BitmapFactory.Options opts = new BitmapFactory.Options();
opts.inScaled = false; Bitmap bm = BitmapFactory.decodeResource(_resources, resId, opts);
They are still scaled when I declare the minimum SDK in the manifest, but not scaled if I remove that tag. How can I load them without scaling while still declaring the minimum SDK?

View 4 Replies View Related

Android :: How Can I Access Rest Of Stuff In Drawable Folder

Jul 22, 2009

How can I access the rest of the stuff in the drawable folder, such as the Android emoticons? I can use many of what is in the drawable folder by doing "drawable.XXX" but not all of them are available when I do that.

View 2 Replies View Related

How To Get Image From Drawable Folder

Jan 29, 2014

If I want to get an image from drawable folder I do this:

getResources().getDrawable(R.drawable.myimage)

But if I want to get an image in a folder like this:

drawable/pngs/myimage.png

How I can get that image?

View 9 Replies View Related

Android :: Store Image Files(*.png) To Folder R.drawable At Runtime?

Oct 16, 2009

How we can store image files(*.png) to the folder R.drawable at runtime?

View 2 Replies View Related

Android :: Improving Java Development Skills

Jul 17, 2010

I just recently graduated college with a B.S. in Computer Science with a focus on software development, particularity in Java. After graduation I got hired as a Java developer for a company in my area (been there for about a little over a month now). I also starting picking up Android development late in my college career since it closely resembles Java syntax and was easy to jump into.My question is, what would be some good Java / Android projects to do and books to read for recent post-graduates in the software development field focusing on Java?

View 3 Replies View Related

How To Add PHP Development To Eclipse Setup For Android / Java

Nov 9, 2011

I've got Eclipse setup for Android/Java development and it seems to be working.

How do I add PHP development as well to the Eclipse installation?

Must I install Eclipse on a separate PC in order to do PHP dev ?

If I can add PHP to the Eclipse setup for Android/Java... where do I click to do it?

View 1 Replies View Related

General :: How To Delete Image From Drawable Folder In Decompiled APK

Apr 8, 2013

I'd like to delete a image from the drawable folder in the decompiled apk, is there a easy way to remove all references to the image so I'll be able to recompile it with apktool without error?

View 1 Replies View Related

Android :: Access Or Execute .java File In Another Javafile In App Development

May 19, 2010

I got 2 java files app.java and gallaery.java

CODE:.....................

View 1 Replies View Related

How To Move Set Of Images In Resources / Drawable - HDPI To Assets Folder

Dec 13, 2013

I am trying to move a set of images currently in the resources/drawable-hdpi folder to the Assets folder.

These images are copied to the private application directory when the app is installed.

When I do this the resulting image is smaller than when I had the image in the resources folder. i.e. the baked beans image is smaller than the others. If I load the baked beans images from the drawables folder it is the same size as the other product images.

I have tried to scale the image but it has no effect.

public View getView(int position, View convertView, ViewGroup parent)
{
ImageView imView = (ImageView)rowView.findViewById(R.id.product_thumb nail);
ImageView imProduct = (ImageView)rowView.findViewById(R.id.product_icon) ;
tvName.setText((CharSequence) values.get(position).getName());

[Code]...

View 4 Replies View Related

Android :: Development - Debugging Tools / Generate A Java Stack Trace?

Apr 29, 2010

Is there a way to achieve the following in Android?

1. generate a Java stack trace in Android. In J2SE, we use to use something like this - send a signal to the Java Virtual Machine; the Java Virtual Machine generates a stack trace for you; or we can also use debugging tools or Java API calls.

You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

View 4 Replies View Related

Android : Development Java Null Pointer Exception When Trying To Get String Extra()

Nov 6, 2010

In my main activity, I have the following code that calls my FileBrowser activity: What's wrong? Can I not use putExtra with startActivityForResult? Can putExtra only be used with startActivity? Code...

View 1 Replies View Related

General :: Android Won't Boot - MNT Folder Missing?

Nov 24, 2013

I wanted to enable full gpu rendering on my Samsung P6200... I am running 4.1.2, rooted. I downloaded the zip file, booted into recovery and installed the zip file, I rebooted, it shows the normal model number and that on the screen, and about the time when the boot animation starts it just goes blank, although it is still on, now, I rebooted back to recovery, I had made a backup moments before, I only had 770 MB of space left so it made a full backup except my /data partition, that failed, but I didn't want that backed up anyway.

I thought well maybe I should restore, so I went to advanced restore and chose the boot partition to restore, restore was succesful, I restarted and did the same thing, now I try to restore the whole backup and it says md5 mismatch, I connect to adb and mount everything, and find my mnt folder is missing, now I don't know how to fix this, if I go to install zip from sdcard it shows all my files and folders there, but if I go to /sdcard/storage/sdcard0 in adb it only shows two folders, Download and Webzine. How to fix this, I don't want to restore my /data partition due to the fact that it only did like 5% of the backup of it and need a lot of that data, if I were to fix the md5 mismatch (don't know how) what partition would I restore to fix the boot error? And how do I fix the missing mnt folder issue?

View 1 Replies View Related

General :: Popular App Folder Missing Android Dock

Mar 2, 2014

It appears that I have deleted or moved the popular app folder from the Android Dock or favorite bar. How i can get it back?

View 4 Replies View Related

Android :: Work Around Missing Java Libraries

Nov 24, 2009

I'm attempting to port a normal Java program over to Android, however I am having a problem with a huge number of missing Java packages (e.g., Android Java does not have java.lang.management). Is there a way for me to work around this, such as by adding the Java modules that I need?

View 2 Replies View Related

General :: Obb Folder Is Missing?

Dec 22, 2012

I bought the PIPO m1 tablet and i tried installing all kinds of games (not from the playstore) like Asphalt 7 in the instruction i was told to copy afolder to the SDcard/Android/Obb....

this tablet does not have sdcard and when i checked under android folder ther was no Obb folder ?i tried to buld one and copy the files there but still witout success

what is this folder and why its not on the Tablet

View 5 Replies View Related

Android :: Missing Gen Folder When Clean The Eclipse Temporarily Destroys Project

Sep 29, 2010

I am experiencing an annoying problem with an Android project in Eclipse. All my other Android projects are okey (at the moment). Whenever I perform a clean (Menu:Project->Clean...) the project gives an error and I can't compile/run the app. The error is: Project 'Project Name' is missing required source folder: 'gen'

As soon as I edit some code the problem disappears until I perform a clean again. I can also right-click on the gen-folder and delete it. Eclipse will recreate the gen-folder and the problem disappears until I perform a clean. This is not a showstopper but it is really annoying since I sometimes have to do a clean before I run the app.

View 1 Replies View Related

Android :: Project Missing Gen Folder Or Build Path Error In Eclipse

Mar 31, 2010

Whenever I do a Clean on my project, I get 2 errors:
1.) The project is missing gen folder.
2.) There is a build path error.
I go to "Configure build path" and uncheck "Android 1.6". It works. If I do this again, I go and this time check "Android 1.6". It again works.

View 1 Replies View Related

Android :: Updated MultiTouchController.java For Simplifying The Development Of Multi-touch Applications On Android

Jun 9, 2010

If anybody is creating multi-touch apps for Android, you may have noticed the MotionEvent class is getting more and more complicated over time. Additionally you may have discovered your code has different quirky behavior on different devices (e.g. on Synaptics devices, touch-down / touch-up can cause sudden jumps in pointer position before the down/up event is received).

I have written a class to simplify the process of writing multi-touch applications for Android, and just updated it to Android 2.2 (and to handle 3+ touch points on true 2D multi-touch sensors, as present on the HTC Incredible and HTC EVO 4G), and moved the project to Google Code hosting:

http://code.google.com/p/android-multitouch-controller/

There are numerous advantages to using this controller over trying to reinvent the wheel yourself, including simplicity and automatic device- space / object-space coordinate conversion for pinch-zoom. This also correctly centers the zoom of a pinch operation on the center of the pinch rather than the center of the screen, and supports simultaneous pinch-and-drag for more realistic pinching.

View 5 Replies View Related

General :: Missing Or Corrupted / EFS Folder?

Jun 25, 2013

I should start off by mentioning im completely new to rooting and custom ROM (or even UNIX for that matter).I've just flashed a CM 10.1 rom onto my LG Optimus 2x. In the process my phone has lost its IMEI, and for that reason i cannot connect to any mobile network.In the 'about phone' section of the settings, it shows IMEI as unknown and Baseband as unknown.

I've learned that this may have to do with a corrupted EFS folder/partition. I didn't make a backup of this folder (i were following didn't mention that i should have done that)Now I'm trying to follow along with this guide to recover my IMEI. URL>....The problem is i don't even find the /efs folder in both the terminal emulator or this app I've downloaded "ES File explorer". Does it mean its been deleted? I've read that it may need to be mounted so i found this command somewhere on XDA to use

The first line worked in the terminal emulator, but when i tried entering the second line i get an error 'mount: No such file or directory'.

View 3 Replies View Related

Android :: Access Files In The /sys Folder Of Milestone/droid From Java?

Mar 25, 2010

I want to access files in the /sys, to be exact in the /sys/class folder. I just need to read some values there. I tried the Context.openFileInput method, but got only exceptions and I understand this is not the right way.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved