Hi
I am reading about setDrawingCacheEnabled and getDrawingCache and I was wondering when is it good to use it or when its not good.
Basically in my case I have an horizontalScrollView with many things inside it so its scrolls left/right and most of the things are not visible.
If I use setDrawingCacheEnabled(true) on the views, does i...
I'm trying to create multiple tabs, each with a different Activity. The only downside is i'm using a custom layout file thus my class extends an Activity rather than a TabActivity. While trying to run, it fails and suggests calling TabHost.Setup(ActivityGroupManager agm)
Anyone have an idea/practical example of how this can be achieved?...
Does anyone know of any documentation on the android:scrollbarStyle? I'd like to see examples of each of the 4 values w/ screenshots if possible. I see the difference between outside & inside types, but what are the Inset & Outset parts all about? I dont seem to see a difference between insideOutset & insideInset for example, likewise...
Considering writing a wifi cracking (wep, wpa) auditing tool for the android platform, but I am wondering if it is possible to do without a rooted phone.
I had thought it would be impossible to run on an unrooted phone due to the phones wifi chip ignoring packets not addressed to the phone. That is, without the ability to set the wifi c...
Hi,
can some owners of Android devices please come forward and publish the data that their phones provide as:
os.android.Build.BOARD
os.android.Build.BRAND
os.android.Build.DEVICE
os.android.Build.DISPLAY
os.android.Build.MODEL
os.android.Build.PRODUCT
I'm wondering what's the best identifying combination, looking for stats. Thanks ...
Hey guys,
How would I draw an image on canvas and position it based on x/Y co-ords? Also, is it possible to check if an image is drawn at those co-ords?
Thanks,
...
Hey everyone,
I've been modifying/editing parts of the Android platform, but have run into a problem when trying to test my edits. After making my changes to the platform source, I was able to successfully compile the source - thus creating system.img, ramdisk.img, and userdata.img.
When I go to test this in the emulator, the emulat...
Hi Guys,
I've got a canvas drawn (I have to keep the canvas, it's doing other things). I'm drawing N amount of images in this canvas, I'm wondering how would I make them clickable? also does anyone know how I could test if a bitmap is in a certain co-ord? Alternatively how would I create a button which was an image on a canvas? or even,...
Is there any reason to forward lock a free app? If the user copies the app from the phone, is it protected in any way from decompilation, etc?
...
Hi all,
I'm making an application in android that has a table; which seemed to be a good idea at first but I've now ran into a couple of problems.
I want all columns to be of equal width dispite how much content I have put in it (text view). I thought stretch /shrink column may have handled that issue but it doesnt; I guess I missread...
Hi,
I have developed a simple android application, which when started opens a Timer. User is given two buttons, start/ pause. This is working fine.
What i want to do is to add a way to support multiple timers when a user swipes his finger on the screen.
When he swipes from left to right, a new timer should show up, but the previous time...
I am trying to understand the difference between phones, and the software on them. I code and test on the Droid Incredible. A content observer of content://sms works fine and I am able to delete threadIds on the Incredible, but my app crashes on the Moto Droid Milestone. I test for the Milestone using Moto Dev Studio using the Milestone ...
I have a Nexus One and I would like to know if it's possible to add a new language to the system? Or are the languages compiled into the kernel?
if it's possible where can I find information about creating/developing a language for Android?
...
Am able to play videos from URLs but not able to play from local disc. The file is stored in the C:/users/workspace/test/res/raw/test4.mp4
how do I parse this path in Uri.parse??
...
Can I embed Tab Layout into other layout?
The designed layout is like below:
Root LinearLayout (vertical oritentation)
A ViewLayout
A TextLayout
A Tab layout
A View Layout
A TextLayout
I just want to have tabs in my layout but not the root. Is it possible?
Thanks.
...
I was in the midsts of tinkering in android with the goal of trying to make this small exploration game. I actually got pretty far so far: a nice sprite system, a title screen with a main menu that is all in game code (no UI buttons or anything) that launch various activities. An activity that loads this cool map view, that when clicke...
I'm trying to debug an issue myself. May post it later if I fail ;-)
My logcat log states "android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 2"
I would like to use log.v("desc", cursor) to show what the cursor returns. Is there a way to specify a value from it like cursor[0] ?
...
Hello!
I wrote application which uses ListActivity. Each item of the list consists of ImageView and TextView. Long click on list entry triggers some menu and color effect because onCreateContextMenu was overridden. Sometimes TextView contains HTML links which I would like to be interactive. I read #1697908 and made links active, so brows...
I'm working on an Android App where the user has different options for sorting the displayed data that comes from the database. Currently my orderBy string that I pass to Androids query() method looks like this:
"LOWER("+columnName+") ASC"
The problem with this is that if the data type in the column specified by columnName is integer,...
Hi,
I've developed the app Group to Voicemail for Android and have come across an interesting issue that only occurs on HTC phones:
When I programatically send a Contact to voicemail (using the SEND_TO_VOICEMAIL field for ContactsContract.Contacts), it works as expected. However, when I set that field back to '0' (to not send that Con...