Android : Background Is Giving Error

Feb 2, 2010

I dont what to give any background to activity when i leave this propery blank it gives me error, and i have tried using @null as a value but it shows black background.can any one guide how to make it transparent?

Android : background is giving error


ADVERTISEMENT

Android :: Using Merge With Layouts Giving Error For One File

Sep 28, 2010

I am creating a few layouts with the root element being merge. inside the merge element i have a ScrollView containing a TextView. I am getting 2 errors: there is no resource to match the layout_below and layout above names i have put in.I have another layout xml file including very similar components, some of which also reference @id/headingLayout and @id/tabsLayout. Both of these XML layout files do not contain the component with name headingLayout or tabsLayout.Why is it that one layout file has no errors about these references and the other layout file does? What the crap am i doing wrong, the app will build and run like i expect, until i add this merge to another layout?I have even tried copying the xml from the working layout file, to find that it gives the same errors, something must be wrong with my new layout file. I have tried cleaning, rebuilding, opening/closing eclipse..

View 1 Replies View Related

Android :: SQLite Query In Application Giving Error

Sep 30, 2010

Am I going wrong anywhere here ? because this is giving runtime error. application stopped unexpectedly.
I may b wrong in syntax.

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

View 1 Replies View Related

General :: Android Kernel Compilation Giving Error

Aug 21, 2013

I am new to android. i am try to compile android kernel 3.4.0 for HTC device.After running cross compile command,

"export CROSS_COMPILE=/home/jharvard/ndk-x86/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-"

when I run make clean command "make clean && make mrproper".It shows errors,

/home/jharvard/kernel-code/linux/scripts/gcc-version.sh: line 25: arm-eabi-gcc: command not found
/home/jharvard/kernel-code/linux/scripts/gcc-version.sh: line 26: arm-eabi-gcc: command not found

View 1 Replies View Related

Android :: Video Recording / Source And Encoder Giving Error

Nov 18, 2009

When I add video source and video encoder, it gives error in recoreder.prepare() (prepare failed) while the same code is working only for audio. I am not finding what I am doing wrong.

setContentView(R.layout.camera);
preview=(SurfaceView)findViewById(R.id.surface);
previewHolder=preview.getHolder(); previewHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
recorder = new MediaRecorder();
String url = "/sdcard/dcim/test.3gp";
camera = Camera.open();
Camera.Parameters parameters = camera.getParameters();
parameters.setPreviewSize(352, 288);
parameters.set("orientation", "portrait");
camera.setParameters(parameters);
recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setOutputFile(url);
recorder.setVideoFrameRate(15);
recorder.setVideoSize(480, 320);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); recorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);
recorder.prepare(); recorder.start(); Thread.sleep(100000);
recorder.stop(); recorder.release();
} catch (Exception e) { e.getMessage(); }

View 3 Replies View Related

APK Files Giving Parse Error?

Jul 9, 2013

I have recently gotten back into developing Android applications. However, every time I try to run an application on my phone now, I get the error message - "Parse Error - There is a problem parsing the package."

Two years ago, I used Eclipse to develop projects, which is what I'm using now. Though, I had to reinstall eclipse and everything else. So it's a new setup but I believe it's the same general setup.

I can put my old .apk files on my phone, and they work fine. If I put any newly created .apk files on my phone, I get the parse error.

I also found that if I compile any OLD projects and then copy those onto my phone, that I get the parse error.

This leads me to believe I've got something set up wrong in Eclipse that my phone isn't liking.

I thought maybe it was the virtual device manager, so I've tried several combinations of virtual devices - 1.5, 2.1, 2.2, 2.3.3 - using any of them still gives the parse error when trying to run the applications on my phone.

By the way, all of these projects work in the emulator running through Eclipse, so I know they work.

View 10 Replies View Related

General :: Install ROM Onto Phone / Keeps Giving Error

Feb 22, 2014

Lately I have been trying to install a ROM on to my phone, but I cant get the files onto my SD card. Keeps saying, "Cannot copy item. The device has either stopped responding or has been disconnected.". I just rooted the phone about a week ago and figured I would change the ROM. Also tried unblocking the files but got nowhere. Also tried other ROMs, nothing is working. But I can transfer files to and from my SD card with no error.

View 3 Replies View Related

Android :: Smack API Giving Error While Logging Into Tigase Server Setup Locally

Jun 4, 2010

I am currently developing android XMPP client to communicate with the Tigase server setup locally.Before starting development on Android I am writing a simple java code on PC to test connectivity with XMPP server.My XMPP domain is my pc name "mwbn43-1" and administrator username and passwords are admin and tigase respectively.Could anyone please tell me the solution for this problem.I checked the XMPPConnection.java file in the Smack API and it looks the same as given in the link solution.

View 3 Replies View Related

Samsung Captivate :: Browser Giving Error Often While On WiFi

Jul 22, 2010

Does anyone else have find their browser giving this error often while on WiFi? I have to disable and move to 3G just to get my connection back.

View 49 Replies View Related

General :: Galaxy Nexus On Stock 4.1.1 - Giving DF-BPA-09 Error?

Sep 15, 2012

Running a Galaxy Nexus on Stock 4.1.1 (rooted).Last week, Play Store randomly started giving me the DF-BPA-09 Error when I wanted to download new apps. Old apps would update fine. I searched XDA and found that turning Google Sync Off and restarting the phone solved it. It worked once or twice, but the problem kept coming back.

Then read another thread that said go to All Apps > Play Store >Uninstall Updates and Clear Data. I did this, and now when I start Play Store, it permenantly gives me 'Server Error', with a Retry Button below it.I have Titanium Backup Pro, so tried restoring an older version, tried Freezing and Unfreezing the App, still not working.

DF-BPA-09 Error used to come, Cleared Play Store Data and now stuck at Server Error.

View 4 Replies View Related

HTC Droid Eris :: Preloaded YouTube Application Giving Error?

Apr 8, 2010

My youtube app that came installed on the phone already gives me an error when trying to play videos.

View 6 Replies View Related

HTC EVO 4G :: Yahoo Mail Not Working And Giving Authentication Error When Trying To Re-add Account?

Sep 8, 2010

Is anyone else all of a sudden having problems with Yahoo mail not working and giving an authentication error when trying to re-add the account?

ETA: I just found that these settings work but I have to disable WiFi which is total BS
For Incoming Server Settings set the IMAP server to imap.mail.yahoo.com and the Port to 143
For Outgoing Server Settings set the SMTP Server to "smtp.mobile.mail.yahoo.com and the Port to 587

View 2 Replies View Related

General :: Samsung Galaxy ACE 2 - Create Folder Giving Error Creation Failed?

Jun 27, 2012

Im here because of my problem with SGA 2.Few days ago I bought ACE 2 and I found few problems with "external_sd".So the problems are

1. When I try to create folder it gives me error "Creation failed"

2. When trying to move folder from internal memory to external sd it gives me error like "Moving failed", while copying goes fine.

3. I can move/copy any file to sd card, but sometimes those files got corrupted, gives me error about memory when trying to open pictures, same problem when saved camera saved photo to sd card. Even getting error when trying to play video.

APK files got corrupted too.

4. When I have moved apps to sd card some while apps work great, but after some time cant launch apps because it gives me error about that app doesnt exist.

I tried formatting sd card with pc and android.

Factory reset.

Repartition to same firmware with Odin.

Wipe cache, wipe data.

I dunno what causes those error, bugs, glitches. Is it phone or android sytem?

Tried many sd card and always got same errors. But when I mounted mine sd card to another phone it worked perfect.

View 2 Replies View Related

Android :: Android App Keeps Giving Me A Leak Found Error

Oct 31, 2010

I am working on an Android app but I keep getting a Leak Found error. Here's the Call Stack:
11-01 11:26:47.087: ERROR/Database(7317): Leak found
11-01 11:26:47.087: ERROR/Database(7317): java.lang.IllegalStateException: /data/data/com.noshufou.android.su/databases/permissions.sqlite SQLiteDatabase created and never closed
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1792)
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:798)
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:857)
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:850)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ApplicationContext.openOrCreateDatabase(ApplicationContext.java:535)
11-01 11:26:47.087: ERROR/Database(7317): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:193)
11-01 11:26:47.087: ERROR/Database(7317): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:193)
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:98)
11-01 11:26:47.087: ERROR/Database(7317): at com.noshufou.android.su.DBHelper.<init>(DBHelper.java:28)
11-01 11:26:47.087: ERROR/Database(7317): at com.noshufou.android.su.UninstallReceiver.onReceive(UninstallReceiver.java:10)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2637)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ActivityThread.access$3100(ActivityThread.java:119)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
11-01 11:26:47.087: ERROR/Database(7317): at android.os.Handler.dispatchMessage(Handler.java:99)
11-01 11:26:47.087: ERROR/Database(7317): at android.os.Looper.loop(Looper.java:123)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ActivityThread.main(ActivityThread.java:4363)
11-01 11:26:47.087: ERROR/Database(7317): at java.lang.reflect.Method.invokeNative(Native Method)
11-01 11:26:47.087: ERROR/Database(7317): at java.lang.reflect.Method.invoke(Method.java:521)
11-01 11:26:47.087: ERROR/Database(7317): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:862)
11-01 11:26:47.087: ERROR/Database(7317): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
11-01 11:26:47.087: ERROR/Database(7317): at dalvik.system.NativeStart.main(Native Method)
The problem is I don't use a database anywhere in my code.EDIT:Here is the code snippet of the whole program. Also I only get this error sometimes and sometimes I don't which is another weird thing. Here is the main Activity:public class SetAlarmUI extends Activity {TextView mTimeDisplay;Button setAlarmButton;
private Calendar time;
private int alarmHour;
private int alarmMin;
static final int TIME_DIALOG_ID = 0;Toast toast

View 2 Replies View Related

Android :: Not Giving A 1280x720 Resolution?

Aug 19, 2010

is there a reason why android phones are not giving us a 1280x720 resolution? 16:9 screens would be great to have on mobiles IMO.

View 8 Replies View Related

Android :: Hellomap Example Giving Exception

Jun 14, 2010

CODE:.......

I had done all configuration.

Here is my manifest file:
CODE:........

And my layout file main.xml is:

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

And my Hellomap.java

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

something i am missing guess or may be the issue is with 2.1 google api?

View 2 Replies View Related

Android :: Giving Different Names To App Widgets

Sep 21, 2010

I implemented three(live, news, music) widgets for an radio application. For three widgets I'm getting application name as the widget names.How i can give different names for widgets.like live widget, news widget, music widget.Please let me know.Thanks

View 1 Replies View Related

Android :: Giving The SDK Path In Eclipse For SDK 1.5 Pre In Windows

Apr 14, 2009

When I give the path in Eclipse for the SDK 1.5,it gives the error message no android.jar found.

When i gave the path as the ~android-sdk-windows-1.5_preplatformsandroid-1.5 then i get the error message "toolsadb.exe" not found.

View 15 Replies View Related

Android :: System Hangs While Giving Build

Feb 10, 2010

I am giving product build in Android 1.6 in Ubuntu using make. First time it is fine. But next time onwards if I try to build it again without cleaning it, the system hangs after some time. Even if I try remove the out folder to clean, the system hangs. So every time a fresh build takes too much time. Did anyone face this issue? I am using 1 GB RAM, 1 GB swap space and 40 GB linux space(65% space is free).

View 5 Replies View Related

Android :: ListActivity And Headers Giving Odd Side Effect

Dec 28, 2009

I'm getting some odd side effects when I set a header to my ListActivities. The ListActivity actually allows you to scroll up "behind" the header and click...which sends my app into a fit of errors b/c my Lists are connected to a Cursor and selecting behind the header returns a value of -1. Ive noticed this doesnt happen to any of my Lists that dont have headers.

View 3 Replies View Related

Android :: Draw A View On A Canvas By Giving X , Y Postion?

Sep 29, 2010

How can i draw a view on a canvas by giving the x,y position in the canvas.

For example,
I have custom view myView, which was created by inflating one of my layout.xml file.
Now i want to draw this myView on the canvas at position (x, y).

How can i do that? code...

View 1 Replies View Related

Android :: Zoom In By Giving Coordinates / API Method For Droid?

Dec 27, 2009

How to zoom in by giving 2 coordinates(2 Locations) ?

Is there API method for android?

View 1 Replies View Related

Android :: Code Schedule Task Not Giving Properly Result

May 18, 2010

I am using below code for scheduling a task in android but its not giving any results.

int delay = 5000; // delay for 5 sec.
int period = 1000; // repeat every sec.
Timer timer = new Timer();
timer.scheduleAtFixedRate(new TimerTask() {

public void run() {
Toast.makeText(getApplicationContext(),"RUN!",Toast.LENGTH_SHORT).show();
}

}, delay, period);

View 2 Replies View Related

Android :: GetView Always Giving Null ConvertView Parameter In Preference Class UI

Jul 2, 2010

The preference type of UI is used in many Google built-in applications for example Bluetooth , Wifi etc. And the getView of the preference is used to set the image or text to make it visible in the UI screen.

the getView for the pref type UI is defined as below in framework code : ->

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

Where the convertView is not getting recycled and every time whenever the user is scrolling the list up and down, convertVIew comes out to be null.Therefore by logic inflation of the UI also happens all the time in onCreateView().This is a kind of shortcoming in terms of memory utilization , hence in a discussion (MAKE YOUR UI FAST AND EFFICIENT) where Romain Guy has mentioned about the tricks to increase the app performance doesn't hold good for preference type of UI.

View 2 Replies View Related

Android :: Telephony Manager Event Off_hook / Not Giving Calling Number In Emulator

Nov 9, 2010

I am not getting call in number in off_hook state when it is only coming in dialing state. According to documentation it should provide call in number for off_hook state as well. Is it a bug?

View 2 Replies View Related

Motorola Droid 2 :: Giving Credit Where It's Due

Nov 12, 2010

As a Droid Incredible owner I must that the Droid 2 screen is VERY sharp and makes mine look soft. My wife is very happy with the phone and the battery is impressive. I got her the desk dock tonight and she loves it too. Would I trade my phone for it? No, I'm waiting for a 4g Windows Phone 7 device with front facing camera to show up on vzw.

View 6 Replies View Related

General :: Market Not Giving Updates

Sep 18, 2012

My aTrackDogSD tells me 14 apps have newer versions out but when It directs me to the appropriate market page for the app it just shows "open" "uninstall" NOT update. Where as it should prompt to update I have auto update enabled and the version in the market is newer than the version of my app. SO that meens I would have to uninstall each app then reinstall to acquire the newest version correct?

View 1 Replies View Related

Android :: How To Add A Background Theme / Background Wallpaper To My App?

Nov 18, 2010

How to add a background theme and/or background wallpaper to my app? Right now my app background is plane.

View 2 Replies View Related

HTC Desire :: Giving 8 To 9 Hour Battery Timing

Sep 21, 2010

Managing just 8-9 hrs with ny battery, and believe me I barely use the phone! Just a few calls, few texts, 5 min Internet, 5 min face book - thats it. I have everything turned off that I can turn off. Come on HTC sort it out - this is obviously by far the worst criticism you have.

View 7 Replies View Related

HTC Incredible :: HTC Mail Stopped Giving Me Notification

May 10, 2010

I have really been enjoying HTC Mail, but all of a sudden since last night it stopped giving me a notification when a new email comes in. I checked my settings, and nothing there has changed. Still set to notify.

View 3 Replies View Related







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