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?

Android :: Improving Java development skills


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

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

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".

View 1 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

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

Sprint HTC Hero :: Are My Googling Skills Fading?

Feb 3, 2010

I have a box at home that is constantly getting new O/S just for the sheer enjoyment of reimaging and playing with new electronic toys.(OK so I got insulted while watching Big Bang Theory where Sheldon was getting all excited about re-imaging his PC and installing his myriad of partitions and O/Ss and software a friend of mine said "OMG What a dork" meanwhile I sat there all giddy because I wanted to hep")but I digress.I can't find a definitive post to as which rom is better and why.

View 3 Replies View Related

HTC Droid Eris :: Keyboard Accuracy - Message Typing Skills Have Gone Down With 2.1?

Mar 10, 2010

Is it just me, or has anyone else noticed that they're message typing skills have gone down with 2.1? I seem to get way more typos.

I seem to have noticed that the touchscreen accuracy has reduced with this build, so I think that's part of it, but I'm also wondering if the typing prediction isn't as good as 1.5 was? I just typing doong, meaning to get doing, but it didn't change it. In fact, of the options it did give me for that, "doing" wasn't one of them.

Is it just me being critical knowing it's a beta build, or is anyone else noticing these?

And I've already recalibrated the keyboard and the g-force.

View 9 Replies View Related

Android :: Improving Donut VoiceDialer

Nov 7, 2009

The Donut VoiceDialer is far from ideal for in-car use because it requires users to confirm their selection by tapping on the screen. My idea is to enhance it so that it can be hands-free from start to finish.I was looking at VoiceDialerActivity.java and the most interesting part is the function onRecognitionSuccess(), which starts at line 383.We could modify it so that if there is more than one item, it reads the items out loud and then does another recognition cycle among those items.

View 4 Replies View Related

Android :: Plans For Improving The Sound Pool System

Jul 3, 2010

I have been finishing off the port of one of my games to Android, with the last two things being music and sound effects. I have implemented the music system now, using a series of MediaPlayer instances, and that all seems to be working fine (I only need to do limited things with music, just playing, pausing and stopping really). I am now trying to finish of the sound effects, but I am struggling.

1. I am targeting Android 1.6+ and therefore do not have access to the setOnLoadCompleteListener function. What is my best way to wait until all sound effects are loaded? I am thinking my best bet is to load all my sounds, then load a dummy (short, silent) sound, and then sit in a loop attempting to play that sound (and then sleeping for 1ms) until the play returns non zero. Does this sound reasonable? Would it be crazy to do this process for every sound effect I load, as the calling code expects the load function to stall as long as it takes for the load to complete - I am not interested in the sound pool trying to do any async stuff for me, all of my background loading is done in a separate thread, and this thread can stall as long as it likes, as long as it actually loads what I am asking it to.

2. Is there anyway I can find out when a sound effect has finished playing? The games I am porting might have code along the lines of 'play sound effect, wait for it to complete, then fade the screen out and load next context' which on other platforms is easy enough to implement. In OpenAL for example, at the end of each frame I check if the OpenAL state for a given SFX is now stopped, in which case I update the game side sound handle to let it know it's now in the stopped state. But I just can't seem to find a way to achieve the same thing on Android. I am beginning to think my only option would be to (somehow) work out the length of the sample, and then when play is called, set a timer to trigger 100ms after the sample time (100ms to account for any delay in the sound starting), and in the timer function set the game side sfx state to be stopped. Does this sound reasonable? Are there any better ways of handling this?

3. Will a sound pool run out of ids? It seems it have been designed so you have one sound pool per 'level' and after each level you release the pool. This doesn't really fit too well with all my code so I am trying to avoid it. But I notice the documentation states a lot of functions will work even after a sound id is no longer valid (it has stopped for example), the functions won't do anything, but they want break anything. This to me says that id's are never recycled. So are there limits? If so what are the limits?

4. Finally, are there any plans for improving the sound pool system? Ideally I'd like to see it work in a similar way to the other main sound APIs. The reason being I target multiple platforms on the engine side, and have 100% generic game code, so I need to establish a base level interface to the API which will work across the board. This is made very difficult by the SoundPool API being set up to work in a specific way, as opposed to just having reasonable low level functions, and allowing the end user to wrap this up how they see fit. I like the fact there are high level classes around to handle this work of work, and I agree these should remain, but I'd like to see something perhaps lower level exposed, which the SoundPool could wrap around perhaps.

View 2 Replies View Related

Android :: Improving Upload Speed By Sending Chunk Of Bytes

Sep 22, 2010

I'm developing an android video uploading app and uploading large amounts of video is a problem, I get different type of exception sometimes (host not resolved, pipe broken), I do a multipart POST but I have a feeling if I upload chunk of bytes one at at time that'll increase upload speed as well as solve connection timeout and these type of problems.

View 1 Replies View Related

Android : App Via Improving An Existing Code / Extending Over Apache License 2.0

May 12, 2009

I am going to create an application via improving an existing code which has Apache License 2.0. In the license, it is implied that I need to attach "Notice" and "License" files for the previous code while distributing my new application.

Where is the best place to put these files, before publishing the new version on Android Market?

View 3 Replies View Related

HTC Aria :: Battery Life Improving

Nov 24, 2010

I just wanted to brag a little about my Aria.I have had it for almost two weeks now and I love it! I was a bit worried at first about the battery life.It seemed to deplete quickly.It was barely lasting a whole day. And that was with moderate use. I think a lot of that was due to the lack of signal where I work. It really drains the battery.I noticed the last couple of days the battery life getting better. I checked the battery monitor and it shows that I have been unplugged from the charger for 2 days and still have at least half my batter left.That is with moderate use. I set it so that everything is not always syncing. I think that helps a lot. Anway, I just wanted to share since there seems to be a lot of talk about the poor battery life. So far I've been impressed and happy with my little Aria!

View 4 Replies View Related

HTC EVO 4G :: Focused On Improving Battery Life

Jul 22, 2010

HTC Focused On Improving Smartphone Battery Life Velocity - Forbes.com

View 39 Replies View Related

HTC Desire :: Technology Improving But Not Battery Life?

Jul 6, 2010

Who will take the battery life into consideration when buying a phone? In my opinion, most people who look out for phones do not consider battery life, most would consider stuff like technology, physical looks etc., but not battery life. Even if there are people who consider battery life, those are just the minority. Hence there are lots of controversy regarding the battery life. Most might agree that the battery is just right, however it is no surprise if people complain about battery life running out too quickly. Is technology improving but not batteries? It seems like phones are getting better everyday, but the battery life has like been stagnant.

View 9 Replies View Related

HTC Hero :: New Sim Card Appears To Improving Reception

Aug 28, 2009

Im on my 3rd Hero due to poor reception issues, after I recieved my 3rd handset and that too had poor reception (stuck in gprs too often, also complete signal loss sometimes) I complained again to Orange. when I said I either speak directly to Tech Support immediately (no phone back) or I cancel the contract (not fit for purpose).They connected me to Tech Support level 2, guy there said he was going to send a new SIM card out as the one in my phone is either moving (long shot) or is faulty, he also said with the high number of people complaining, it could be a bad batch of SIMs is out there.He asked that while i was awaiting delivery of the SIM to select 2G only in the phone settings to see if the phone stabilised, 2G only test failed, still saw complete signal loss on the odd occassion.I recieved my new SIM this morning and as soon it became active I seen signal strength I had not seen before on the Hero in the exact same locations where I had problems.Im seeing stable HSDPA with 3 bars where before in this exact location I had GPRSA/Signal Loss.

View 16 Replies View Related

Motorola Droid X :: Newbie With Improving X Performance?

Jul 24, 2010

Hey guys, can you do me a favor and go to running services and flick up and down a few times and tell me if you ever get any lag when scrolling all the way up and down? I do every time I go into it and I just don't know if it is normal or not. I see little hickups here and there when I am scrolling but it's always noticeable in the running services screen.( I have LP set to high memory)I am wondering if I have an app slowing things down for me. My battery life hasn't been good either (4-5 hours per charge) and it seems my free memory is low. After a fresh reboot it is 97 + 124 in 34 -- other 87 in 9.I love the phone and would never give it up, but would love it more if it was a bit smoother and more battery life (like lots of others are seeming to get).

View 2 Replies View Related

Samsung Epic 4G :: Improving Video Quality

Oct 8, 2010

I converted a movie avi file to mp4 using the free "any video converter". As the converter's website recommends, I set the frame to 1280x720. But when watching the movie, they're is some chopiness and the quality is not as good like when watching a you tube clip in hd. Is there anything I can do to increase the video quality?

View 5 Replies View Related

Motorola Droid :: Improving Speed On Sholes 1.2?

Jan 28, 2010

First off, let me just say that I recently switched over to the Droid from my Palm Pre on Sprint, which was a huge letdown for me. I'm loving my Droid so far and I just rooted it today with Sholes 1.2 ROM. I'm not that impatient to install a 2.1 ROM on my phone, as I already like 2.0.1 enough to keep it stock.I was curious about installing some of the 2.1 apps on it, which is why I ended up installing Sholes 1.2. However, I've noticed that it seems to take quite a bit of my memory compared to stock 2.0.1. In fact, it seems to run slower in general than the stock 2.0.1. Is there any way to improve this, or should I just wait for the 2.1 OTA?

View 10 Replies View Related

Samsung I7500 :: Random Thoughts On Improving UI

Nov 25, 2009

1. The circle that rotates while something is loading should never stutter, if it does something is not as it should be. It should be in its own separate thread and have enough resources for its simple task.

2. Sometimes there is a lag between tapping an icon and the application launching. The phone should keep the yellow background under the icon that is about to launch until it is launched. That way the user would know that the press was registered and no additional press is needed.

In general it is preferable to sacrifice almost everything to maintain a responsive UI. If that means that applications will take longer to load or will run slower, fine.One thing that has been discovered with the web is that people don't mind waiting, but they do mind not having accurate and quick feedback about what they have done and what is going on.

View 1 Replies View Related

HTC EVO 4G :: Contact Icon / Improving Quality Of Photo In Caller ID

Jun 12, 2010

I was setting up some photos for the Photo Caller ID function for incoming calls and was rather disappointed at the quality of the image that comes up. I either add an image to the contact in the People app or I go to the gallery and chose to "Set as" a contact icon. The picture pops up and you are given a little square crop/zoom tool to chose the portion of the picture that you want as you icon/photo caller ID. When I stretch the square OUT as big as possible to crop and then set the image with the contact, the caller ID image that comes up is good. However, any cropping/zooming is significantly Degrades/Pixelates the image that is chosen.

I'm not using the FULL 8MB resolution (set to 5MP) for the camera and I know if you crop and zoom any image, the more you zoom the worse the quality of the picture, But the 5MP shots I have should be MORE THAN sufficient to produce a little square of a photo caller ID. I had photo caller ID that popped up on my Palm Centro with photos was cropped to 320 x 320 and saved with LOW resolution and those photos were very clear. Even with the crop and zoom that is required to produce the contact/photo caller ID image, the 5MP photos I am using should be more than sufficient to produce a clear image. Is there a fix/trick for the quality to improve? Here we have this big beautiful screen and you crop a nice-sized 5MP picture for a tiny square caller ID photo and the quality is horrible.

View 8 Replies View Related

Samsung I7500 :: Improving / Troubleshooting Battery Life

Nov 4, 2009

Since I recently found out a few culprits that were waking up my phone from sleep and they were not so obvious as to what they were here's a quick list of apps I have on the phone and it sleeps properly.48 hours after the last charge and I am at 65%! Overnight it drops by only 1-2%!The application that was waking my phone was TasKiller! I have since removed it.

View 49 Replies View Related

Android :: Call Java File On Click In Another Java Class?

May 19, 2010

i have two files

App.java
Gallery.java

App. java contains frontend buttons and functionalities Gallery.java lists the imagesin the sd card. i want to call Gallery.java in click event in app.java

App.java
package gallery.display;
import android.app.Activity;
import android.os.Bundle;
import android.view.View.OnClickListener;
import android.view.View;...........

View 1 Replies View Related

Android : Can Not Call A Java Method Using Add Java Script Interface()

Mar 16, 2009

I'm trying to call a java method from javascript using addJavascriptInterface(); but seems does not work, it always display "failure"; java code...

View 2 Replies View Related

Android :: Java.io / Java.Lang Different From Packages In Windows?

Aug 8, 2009

Java packages like Java.io, Java.Lang etc used in android, are they different from Java packages in windows ? means specially made for android ?

View 2 Replies View Related

Android :: Java Compatibility With GetFields Method In Android Java.lang.Class

Feb 11, 2009

I'm having some problems porting a Java application to work in Android platform. I detected an incompatibility problem between java sun and Adroid sdk in java.lang.Class. I oberved that: public Field[] getFields() Returns an array containing Field objects describing all fields which are defined. That's array is sorted as attributes are declared in the main Class in sun jdk. For example, next Class is defined as: public class Example { public boolean stop; public int atr1; public String name; ....
}

View 5 Replies View Related

Android :: Android / Java - Call Function In Separate *.java File?

Aug 16, 2010

I do an import of the full package name / java file, and if I do a <classname>.<method>, SOMETIMES I can get it to access - other times I get a lot of can't use a static in a non static bunch of talk. I'll admit I'm new to Java, so what do I need to do? Call a class instance first, then call my methods? I'm rather confused by this, as I want to put all of my 'functions' into a FunctionsList.java file, and all of my main Activity (UI) into a MyActivity.java file.

For example:
<MyActivity.java>
import com.example.FunctionsList;
private class MyActivity extends Activity {
FunctionsList.function();
}


9/10 times I get that static/non-static error. If I put all of my functions into MyActivity.java, I have zero problems!

View 2 Replies View Related

Android :: Call Java Methods From One Java Class To Another In Android?

Nov 3, 2010

i hav two classes...both classes are extends activity.. i need call other class method on main class on android development..its urgent..please.. i done something like subclass sub = new subclass()...its not work..

package org.me.intent_testing;
import android.app.Activity;
import android.os.Bundle;
import android.widget.;
import android.view.;
import android.content.Intent;...........

View 2 Replies View Related

Using Java 6 Instead Of Java 7 - Installing ADT Plugin?

Feb 5, 2014

I am trying to install the ADT Plugin. It is not working.

Tried:
This is after Hello->Install New Software
Name: ADT Plugin

Location: https:[code]....

How do I install ADT Plugin?I am using Java 6 instead of Java 7 per recommendation of posts elsewhere. It didn't work.

View 1 Replies View Related







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