android

Android - Admob issues!

So I'm trying to just add a simple ad to my app using admob. I've followed the tutorial with the SDK but am getting stuck at one error. Here's the error: Multiple annotations found at this line: - ERROR No resource identifier found for attribute 'secondaryTextColor' in package 'man.utd.headlines.man.utd' - ERROR No resource identifie...

is it possible to access HTML form data POSTed through a WebView?

Hi everyone, I've started to write an app which provides the user with an HTML form via a WebView. As the form is not under my control, the data filled in may be sent as either GET or POST request. My app is required to capture the transported form data, that is, get a hold on what was entered into the form fields. Using an adequate ca...

How do you switch 2 different Views by using Drag Gesture in Android?

Hi, so im trying to create an interface where the user can drag their finger from the right to the left to get to the second view, and the first view being dragged will move from right to left. very similar to an android device home screen, where the user can drag a screen to the left or right and another screen will emerge from there. I...

Android how to video record, upload, transcode, download, play.

I'm researching the development of an Android (2.2) app/service that will enable users to record short (I do emphasize short, < 30seconds) video on their phones and then upload that video (HTTP) to a server that will then transcode the video to other formats. That same user can download videos from other Android users and play them. No...

Appfreez by Enter other Thread

When the Compiler enter doInBackground the App freez Main Class (ParkTicketAlarm): Timer timer = new Timer(); timer.doInBackground(ParkTicketAlarm.this); AsyncClass (Timer) protected String doInBackground(ParkTicketAlarm... params) { java.sql.Time time = new java.sql.Time(System.currentTimeMillis()); while(time.getMinute...

Why is my second LinearLayout not showing?

Hello, I have just decided to try out the Android SDK, so I installed it and now I'm trying to make a simple interface using an XML file for a calculator I've made and that I might port to Android. Here a first draft of the XML file I want to use: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.androi...

Android change SDK version in Eclipse? Unable to resolve target android-x

I developed an Android aplication against 2.1 SDK. Since then I have re-installed Eclipse/Android SDK; with the new install, I want to 'upgrade' the dependancy of the Android application to 2.2 SDK (because I dont want 2.1 installed on my machine). Is this possible? I am getting the following error from eclipse: [2010-08-31 18:18:32 - A...

How do I add the JJIL libraries to my Android Eclipse project?

Hey, I'm trying to use the JJIL libraries with my Android project: http://code.google.com/p/jjil/ I followed all the instructions on importing libraries into eclipse on the android guides, and have had no successes. It just fails to import. Can some one point me in the right direction with this? Cheers, Nick D ...

Target-specific emulators for Eclipse in Android?

I'm an Android newbie just getting past "hello world" in Eclipse. I was at the Verizon store today trying out 4 different Android phones for my next upgrade and I realized how DIFFERENT they all are even though they're all 2.1 or 2.2. Short of buying an expensive collection of Android phones from different vendors, is there a way to E...

I get this error in Logcat upon my app startup.

08-31 21:29:15.263: ERROR/dalvikvm(11799): could not disable core file generation for pid 11799, errno=1 Can anyone shed some light on this for me? Thanks! ...

Can't create handler inside thread that has not called Looper.prepare() inside AsyncTask for ProgressDialog

I don't understand why I'm getting this error. I'm using AsyncTask to run some processes in the background. I have: protected void onPreExecute() { connectionProgressDialog = new ProgressDialog(SetPreference.this); connectionProgressDialog.setCancelable(true); connectionProgressDialog.setProgressStyle(ProgressDialog.STYLE_...

Problem with wallpaper app

I have a wallpaper app and it seems to work fine but... when i open the app in eclipse... the app icon appears as the first image in the wallpaper. I cannot figure out what is happening. can someone help. also the scrolling seemed to have slowed down after i added more images (40)..any suggestions. what is the recommended file size the ...

How is the getView() method used and where is it getting called?

Hi Everyone, I am new to Android development and have been following the tutorials available on the Android website. I am currently on the section of tutorials for Views, specifically the one for Grid Views: Hello, Grid View Tutorial. I am having trouble understanding how views are made through an adapter. I understand that you must ov...

Intercepting the back button.

I'm writing an application which will have two Activities, when the user presses the back button on the second activity a dialog should pop up asking the user to confirm the action. So how do I intercept this? I seriously doubt about this coz the backstack is a part of the OS itself. Has anyone found a workaround? ...

Am I creating my custom ArrayAdapter correctly?

My ListView populates correctly, but for some reason adding and removing is quirky and does not work properly! Am I doing something wrong? Set things up in OnCreate() listView = (ListView) findViewById(R.id.ListView); registerForContextMenu(listView); deserializeQuotes(); if(quotes == null || quotes.size() =...

How can I create horizontal view scrolling like the News & Weather app?

Android News & Weather app lets you swipe to reveal another view, just like the iPhone. Can someone show me an example of how this is done? It is not a ViewFlipper attached to a GestureDetector. ...

How RFC 5545 is different from RFC 2445

In native Android calendar app RFC 2445 protocol is used to create .ics files. I found in some blogs that RFC 2445 is replaced with RFC 5545. Can any one please tell me what are the extra features in RFC 5545 and how it is different from RFC 2445? Regards, Rajani ...

android gallery image position problem

As you in following android album widget images placement is from middle of the gallery i want to start image placement from beginning of the album. ...

Thumbnail images not properly displayed - PFA apk and images

Hi, PFA, the screenshots. You can see that list view screen.Clicking on it will lead to another screen.It should show thumbnails of images from a server. Sometimes, all the thumbnails get displayed correctly.Sometimes question mark(?) thumbnails shows up.This question mark thumbnail image was purposefully included in the app resources, ...

Send message to Numbers stored in Contact of the device in android

Hi, I have made app which allows me to send message to multiple user from my device. Now i want to send message to the person which are stored in My Contact list. So i want to retrive phone number from my contact list and then i should be able to send message to that particular number.. Any hints how can i go further... Thanks ...