I made some edits to my preferences.xml file, nothing that generated any syntax flags in Eclipse, and now I'm getting the following weird error when I try to inflate my PreferencesActivity:
E/AndroidRuntime( 3480): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.shipmate/com.shipmate.PreferencesActivity}: java.la...
I have a hidden view in android that I show in response to a button press. The first time I show it there's a bit of a delay, and it hitches. After that it shows\hides smoothly.
Is there a way to preload a view so it's ready to be drawn smoothly the first time it's called upon?
...
Is it possible to create a custom button in Android, where the button is idly animating using a frame animation (AnimationDrawable)?
...
So I'm working with a list view trying to get specific activities to open when a certain item is selected. This is the code that I'm working with right now. I know its wrong but am not sure what I need to change it make it work. I think I need an intent and tried a few ideas but did not come up with much. Thanks.
package table.periodic;...
I have publish a app with this AndroidManifest.xml:
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:anyDensity="false"
/>
<uses-sdk android:minSdkVersion="3" />
and with publish option Copy Protection = ON(Helps prevent copying of this application from the device. Increas...
My Logcat
08-06 01:27:34.874: ERROR/AndroidRuntime(721): Uncaught handler: thread main exiting due to uncaught exception
08-06 01:27:34.893: ERROR/AndroidRuntime(721): java.lang.NullPointerException
08-06 01:27:34.893: ERROR/AndroidRuntime(721): at one.two.Booking$MyOnItemSelectedListener.onItemSelected(Booking.java:53)
08-06 01:27...
I am accessing a URL that's redirecting me to a URL with spaces in it. (Using HttpClient 4.x) How do I prevent this from throwing an error (replacing the spaces with %20 not +)
08-06 02:45:56.486: WARN/System.err(655): org.apache.http.client.ClientProtocolException
08-06 02:45:56.493: WARN/System.err(655): at org.apache.http.impl.cl...
I am trying to get this code to work on my Dell Streak but when I receive an SMS I still dont get a Toast notification... I have added the 'receive' tag in the manifest.xml file... I am a complete noob at this and need a little help getting started :)
package net.learn2develop.SMSMessaging;
import android.content.BroadcastReceiver;
imp...
So I was doing this comparative study between the application security model between android and now I need a benchmark for it to compete against. The problem though is I am pretty new to mobile application development and barely know the names and probably used a phone or two in the process with each of the OSes. Now the dilemma I am in...
Hi,
I want to create a directory by using program in android sdk. Is it possible to listen the folder action like open folder and close folder etc.
Please help me to do this?
Thanks
Deepak
...
I am trying to play a file using the MediaPlay. The first time it is played, it only plays for 1 or 2 seconds then cuts out and never returns. The second time I play the song, it goes about 3 seconds. This function is in the onCreate function:
checkin.setOnCheckedChangeListener(new OnCheckedChangeListener(){
public void onCheckedC...
Hello,
I have a problem with my android emulator. it does not shows network bars when i run it, instead it shows a cross over there.
The problem existed from the day i installed emulator.
Any suggestions will be welcomed.
Thanks.
...
I have a C/S solution, which take Android as its client and PHP as its server.
I have my own account system.
I'm wondering whether I could provide my user to login my system with Google Account?
I saw there are web-solution for this, like this stackoverflow.com could use Google Account to directly login.
Is there a solution for C/S s...
SQLiteDatabase database = SQLiteDatabase.openDatabase("/data/data/com.android.browser/databases/browser.db",
null, 0);
database.setLockingEnabled(true);
database.delete("bookmarks", "_id=2", null);
database.close();
error
08-06 05:53:45.769: ERROR/tt(958): android.database.sqlite.SQLiteException: error code 14: unable to open ...
I want to copy all the video files on my server & save it in the web contents folder of a web service , so that it can be visible to all later on !
How should i proceeed ?
...
hi,
Suppose i have an application "MyApp" which has a button and when clicked it should start another application say"App2" but this "App2" should not be installed on the phone it should dynamically be executed.how do i do this in android.it will be helpful if u can explain with some sample code .
thank u
...
When I uninstall an app using "adb uninstall , my logcat *:W starts to looks somewhat like this -
W/ResourceType( 1269): Resources don't contain package for resource number 0x7f050000
W/ResourceType( 1269): Resources don't contain package for resource number 0x7f020005
W/ResourceType( 1269): Resource...
I have noticed in an application I wrote, in-spite of me not specifying any permission in the manifest file, the application throws up permissions granted, such as
android.permission.WRITE_EXTERNAL_STORAGE
android.permission.READ_PHONE_STATE
What is all that about? I was not even aware my application needs to write into external ...
Does anyone know how to do google map program in android by inputing two location's name and now one can see the rout between them
...
Hi All,
I need to install Tamil font in to my Android device. is it possible to install new Unicode font in to the android device?
Thanks,
Chandnaa
...