Hi,
i have a url for the video file. the format of that file is itunes M4V.
I applied the URL in Api demos example, which is playing for some time, after sometime song is breaking.
Is there any problem with this format or any way to play .M4V format.
Please let me know...
Thanks
...
I have an app that has multiple databases. Not multiple tables in a single database file, but literally multiple databases. For the sake of clarity, lets say that Database #1 is a Car Database, and #2 is a Truck database. For the Truck database, I have an Activity that allows you to see various bits of information that is compiled from a...
Hi, I have a game application, and I am tracking its framerate. I can compile with the various SDK's without problem. I tried to add the minSdkVersion and targetSdkVersion to make it so the app installer did not say I needed to access the phone state and SD card. That worked on the installer, but when I played the game, some of the re...
Hi, I am trying to find the sqlite database used by the MediaStore. As far as I understand, the MediaStore contains amongst others the playlists defined in the default Music app. I actually would like to duplicate a playlist, but the app does not allow that. Somehow I thought I could fix this if I just could find the actual db file. But ...
I have an app that uses a database. At startup I check to see if my tables are missing and if so I create them. Works great.
I've noticed that if I "adb uninstall" then the next time I run my app the tables are created again (this is what I need), but what about when updating through the marketplace?
I'm in the process of releasing an ...
I'm attempting to make a simple homebrew game engine/framework in android. I have the "engine" as a library project that handles all of the graphics rendering, game activity, and whatnot. Essentially, the library project has a class GameMain which has a background image, an array of drawables, and a few functions (the most important is a...
Can someone write me a complete choose file dialog? Maybe one where you can filter out all files except for ones with specific extensions? The internet needs such an example. I have not found anything lightweight enough to implement easily into on of my projects. The only other options seem to being using OI FileManger's open intents, bu...
I am trying to programmatically open an individual email in the Gmail app on Android.
I know it can be done because the built-in notifications send you to a message when you click on them and there's an app on the market called Gmail Notifier which does it as well.
What I've tried so far:
-send an ACTION_VIEW intent with the message U...
I'm attempting to change the background color of an Android TextView widget when the user touches it. I've created a selector for that purpose, which is stored in res/color/selector.xml and roughly looks like that:
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item
...
My app has .txt files in subdirectories in the assets folder. It reads those .txt files and puts them in a textview. It's working great and no problems.
Should I be concerned about the files in the assets folder getting deleted by the user or missing. If this ever could happen, my app would get an error because the file would not be the...
I keep trying to use wildcards in a search in an android app, and keep running into errors.
I'm performing a search on my application using the string below:
Cursor c_name = b.query("namedrxns", new String[] { "_id", "name" },
"name LIKE %?%", new String[] { query }, null, null, null);
when I use name LIKE %?% or name=...
It's not an AlertDialog or a notification, but that gray message at the bottom that for instance appears when an application is granted super-user permissions.
I'd like to use it, but haven't got a clue what it's called. xD
Thanks.
...
Quick note: I'm using the SoundPool class
http://developer.android.com/reference/android/media/SoundPool.html
What I have here is a simple button that plays a looped sound while it's pressed. It works great. However, sounds.autoPause(); wasn't introduced until API 8 and I really need something that is cupcake compatible (API 3) So i wa...
Any idea on implementing a multi-select (check boxes) ListPreference on Android?
Would I have to extend the ListPreference?
Is there any classes already documented to do this?
Thanks
...
I'm trying to customize my buttons in my view a bit and give them my own look. Whenever I set a picture as a background so that the button looks different though, I seem to lose my cursor. I can use my trackball to go through the items still but when I come to one of my custom buttons the cursor does not show. I have the same problem wit...
Alright, I would like to make a class that can kinda make working with Content Providers a little easier, especially while working with contacts. I have something of a base layout, but its erroring out when I try to initiate cr. How would I be able to get something like this working?
Also, how does it look in general? From a design and...
I'm using data to build elements of a ViewGroup. The ViewGroup are LinearLayouts, except the leaves, which are TextViews. Because Data draws the hierarchy, I inflate the LinearLayouts and TextViews from individual XML files programatically on the fly.
My Problem:
When I create a LinearLayout with the attribute wrap_content, then infla...
I wish to generate a QR image so people can scan to visit my Android market.
However, I need to specify a search param like: market://search?q=MyStringHere
...
I have a static library that contains some JNICALL functions, i.e. they are expected to be called from the JVM and are never referenced by the shared library that links the static library.
However, it seems like function stripping is exterminating the JNICALL function (it's not visible in arm-eabi-objdump -t). I'm working around it by a...
The hard drive on my laptop just crashed and I lost all the source code for an app that I have been working on for the past two months (I know I am an idiot for not backing it up)
All I have is the APK file that is stored in my email from when I sent it to a friend. My question is: Is there any way to extract my source code from this A...