Hi everyone,
I know this has to be trivial but I just don't find the right resource, I guess.
So all I want to do is retrieving a thumbnail for a video. All I have is the absolute path to the file on the sdcard as a String. So please point me into the right direction.
And believe me, this is embarrassing enough to ask...
Regards,
Stef...
Is there a way to notify MediaScanner service on Android platform not to scan certain directories? I have application that encrypts images on SD card and after I do that MediaScanner goes wild in LogCat (writing out "not JPEG" exception... and there are time I have over 1000 pics in directory).
Thanks
...
Hi,
I'm looking for a UDP transport implementation for kSOAP on Android?
Has anyone implemented one ? If not, can someone provide an idea of how much effort will it take to implement one.
Thanks.
...
In Android 1.6 and up I use
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("content://mms-sms/threadID?recipient=" + address));
This isn't working in the 1.5 version of the app. Its a notification so as long its possible by using a PendingIntent.
Thanks, Jared
...
Hi,
I'm using the example from the SDK (CameraPreview) and also the example from this site http://marakana.com/forums/android/android_examples/39.html
When I run it, both gives this error "The application AppName(appname) has stopped unexpectedly. Please try again".
I can't run the debugger either because it's always "Waiting for debug...
I have android.permission.READ_OWNER_DATA but I can't find any reliable code that would explain how can I read email address of device's owner. And please don't turn this into 'why you wanna do that' thread.
Thanks for help!
...
For example, I want to write an activity that launches when you return from sleep (black screen). How can I set this activity to run instead of the default one? In other words, I want to make a custom lock screen.
Thanks
...
I know that the recently released android ndk r3 supports opengl es 2.0 on supported phones (nexus one for example), however it doesn't say whether there are java bindings for opengl es 2.0 included in the SDK yet. Are said bindings on the way, and if not, does JOGL2 support the opengl es 2.0 profile on the android?
...
I am designing a home screen widget. The widget layout file is like below.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/widget"
android:layout_width="240dip" android:layout_height="200dip"
android:background="@drawable/base_all"
/>
I ran this widget on a HTC Hero device, which has a s...
This is specifically about android UI xml.
Can a drawable ie the ,/drawable> tags accept a reference to a ninpatch xml file?
...
Hi-
I am trying to display the image on the screen using ImageView. setImageResource fails. Here is my XML :
<FrameLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1">
<ImageView
id="@+id/batteryLevelview"
android:layout_width="wrap_c...
I'm installing the Android SDK on Mac OS X. Following the instructions on the Android Development site, I've downloaded the SDK and modified my .bash_profile to include the path. The next step is to use the Android SDK and AVD Manager to actually download the platforms.
However, when I use the Manager to install the platforms, I get th...
I've got an app that is heavily based on remote images. They are usually displayed alongside some data in a ListView. A lot of these images are new, and a lot of the old ones will never be seen again.
I'm currently storing all of these images on the SD card in a custom cache directory (ala evancharlton's magnatune app).
I noticed t...
Is it possible to have an AndroidManifest.xml and or resource files in a Jar file and import that into a executable Android project?
My goal is to provide styles, resources, and services from a jar library that can be accessed from a main android project for my common tools.
...
Hi
I want to use default user login/pwd in my app.
Do you know how can I have access to this data?
best,
Patrick
...
The problem I hope to resolve here is that when I click on one item in the ListView that item's background changes to light gray, but when I continue to scroll through the list every 4th item has the background changed to light gray even though those other items have not been clicked. How do I make only the item I clicked be effected by...
There are several different ways of definition the ID. What is the difference?
android:id="@id/android:list" android:id="@+id/android:list" android:id="@+id/confirm"
...
Hi
I'm .NET Developer, but I'm new in Android. I'd like to test to add a feature. It is appeared clicking Menu under Contacts in Android. It includes New Contact, Search, Display Group and Import Contacts. I just only wanna get "New Contact". How could I test it? Which API do I need to use?
My Build Target is Android 1.6. Thanks.
Best...
How can you display upside down text with a textview in Android?
In my case I have a 2 player game, where they play across from each other. I want to display test to the second player oriented to them.
This was the solution I implemented after AaronMs advice
The class that does the overriding, bab.foo.UpsideDownText
package bab.fo...
friends,
i have a EditText on simple activity with a button.
when every i move from one activity to this acivity focus is automatically set to EditText and keyboard appears in phone.
i dont want to open keyboard untill i click on editText.
can any one guide me what should i do?
any help would be appriciated.
...