On Tue, Oct 11, 2011 at 6:13 AM, Zsolt Vasvari wrote:
> The only problem is that the datrabase is never closed. But this is
> more of a pedentic observation as there seems to be no real side
> effects.
Yeah, content providers suffer from the same issue. I fought and
fought against singleton data
I am following the OpenGL es rotation examples from google to rotate a
simple Square (not a cube) on my Android App, for example this code:
gl.glRotatef(xrot, 1.0f, 0.0f, 0.0f); //X
gl.glRotatef(yrot, 0.0f, 1.0f, 0.0f); //Y
gl.glRotatef(zrot, 0.0f, 0.0f, 1.0f); //Z
It works fine if you only
Hello friends ,
i am using below code for copy file from asert folder , that's work
but not able to copy complete file only 9MB file copied ,
Please help me , i have already changed the byte array size with video
file size but same saze video in sdcard
private void CopyAssets() {
AssetManag
Hi,
While walking i am capturing the route locations and placing on map.
But i am unable to get the distance travelled with those locations.So please
anyone help me in this.
I tried this but "Force close exception raising"
http://www.androidsnippets.com/calculate-distance-between-tw
I just made the Database objects singletons as suggested by Mark.
What a fantastic idea -- this solved so many of my problems and
complexity in my app. My app deals with a user configurable number of
databases (like files in a desktop app) and switching between them was
a pain in the b*tt.
This s
How to handle this situation here ...
On Tue, Oct 11, 2011 at 2:22 PM, Naveen wrote:
> I want to play video file from application context row directory
>
> MediaPlayer mediaPlayer = MediaPlayer.create(context,
> R.raw.sound_file_1);
> mediaPlayer.start(); // no need to call prepare(); create() do
Indeed, the loader manager destroy() method is called and the field
mDestroyed is set to true. After this, the loader manager is not functional
anymore. In onLoadComplete() it exits if mDestroyed is set to true. So i
guess the problem is that the loader manager for that fragment is destroyed
bu
Thanks, it looks better when I added an alpha channel to the textures.
But I don't see that glBlendFunc(GL_SRC_ALPHA, GL_ONE)
made any difference. There are still black square quads, but less than
before. I tried to remove the gl.glColor4f calls, but that made the
black square quads much more visib
Hi Ibendlin,
Thanks for helping me :)
I don't think the problem is in SeekBarPreference.onSetInitialValue()
function itself as it is never called (I have put a log in it to check).
There is certainly an issue somewhere in my implementation; when
setDefaultValues is called, only SeekBarPreference
This is not an android specific question. You just need to learn JNI,
and specifically how to access java objects using the JNI api. There
are lots of resources about this that have nothing to do with Android.
Doug
On Oct 10, 3:11 am, 杨辉 wrote:
> for example,look at the following codes:
>
>
Hi,
I´ve problems to built a list for my app.
This list should have seperators, drop down menus and checkboxes.
I´ve read many tutorials, but I can´t find a good one that solves my
problem. (for expample which adapter I have to choose and so on)
Do you have a good axample for my or some tipps?
converted android seek bar to lock slider but how to disable progress
change when user single tap on the Seekbar in Android
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups
I want to play video file from application context row directory
MediaPlayer mediaPlayer = MediaPlayer.create(context,
R.raw.sound_file_1);
mediaPlayer.start(); // no need to call prepare(); create() does that
for you
This video contains size is 19.5 MB facing error :
Installation error: INST
@Zsolt Vasvari Just a quick thought for you... Consider closing stuff like
the database/database adapter in your onPause() method of the Activity.
onPause is always called where onDestroy is called whenever, thus the
database might still be "open" when it is expected to be closed. I tend to
clo
Hi
I am trying to create a Button/ImageButton and rotating to required
degrees. I can able to rotate ImageView but same not working for
Button/ImageButton
ImageButton homeButton = new ImageButton (context);
homeButton.setOnClickListener(homeButtonListener);
homeButton.setScaleT
Hi !
I have a problem.
I have a class MyObject that has a method start() :
public class MyObject {
public void start() {
Handler h = new Handler();
new Thread() {
@Override
public void run() {
super.run();
h.post(new Runnable() {
@Override
Hi,
How can I backup the current wallpaper? Also, does any method to
check the wallpaper is a livewallpaper or not?
Thanks a lot!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@goo
Haven't got a tablet with 3.x, yet, but I know 3.x is making them
interesting. However, I've not seen any news about developing on 3.x
directly - AFAIK I need a PC for Java development.
However, I've noticed, script development IS possible using SL4A.
Regards
Peter
iñaki schrieb:
3.x?
Reg
Hi,
See http://www.ibm.com/developerworks/java/library/j-onejar/
Regards
On Oct 11, 9:16 am, Kristopher Micinski
wrote:
> What do you want to do? You have a jar you're using in your app, and
> you want to replace it with somebody else's jar file? Why can't you
> just drop it in and replace it
101 - 119 of 119 matches
Mail list logo