[android-developers] Updating button background not working In Table Row
Hi All, I have a Table layout defined in my activity XML. Via code I add rows and buttons to this table layout. When I click on the button I wish to change the background color of the button, but it is not happening. The logic I have to update the background color works if I use Gridview in conjunction with ButtonAdapter (which I wrote using ImageAdapter from Android website). Questions: 1. Can someone please advice me what the error is in the following code (in the onClick function when I try to update the button background color)? 2. Is it better to use GridView to show rows of buttons or table layout? If there is any advantage over using one to the other it would be worth knowing. My code is as follow: TableLayout table = (TableLayout) findViewById(R.id.tableLayout1); table.removeAllViews(); for (int row = 1; row = some_row_counter; row++) { TableRow tr = new TableRow(this); for (int column = 1; column = some_column_counter; column++) { final Button btn = new Button(this); btn.setText(some_array[index].btnTxt); btn.setId(some_array[index].btnId); btn.setBackgroundColor(Color.RED); btn.setOnClickListener(new OnClickListener() { private boolean isChecked = false; @Override public void onClick(View v) { isChecked = !isChecked; Drawable d = v.getBackground(); int backgroundColor = (isChecked ? Color.BLUE : Color.RED); PorterDuffColorFilter filter = new PorterDuffColorFilter(backgroundColor, PorterDuff.Mode.SRC_ATOP); d.setColorFilter(filter); d.invalidateSelf(); } }); tr.addView(btn); // break if index reaches some_array max size } table.addView(tr); // break if index reaches some_array max size } Thanks for your time. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android development is very bad
i think android development is very bad for android developer compare to xcode. xcode giving framework for each and every ap implementation. here i want to generate a codec interface facing issue, post to android community but not getting any response back by him. Thanks, -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: developeing on a htc sensation
Hi. Now i have tried it a few times this morning. It seems like i dont have permisions for doing that. I both tried the adb push and install. I will try later on. René On 19 Aug., 19:34, Kristopher Micinski krismicin...@gmail.com wrote: Occasionally I've had to delete the program from my phone and then try an adb push? Does that work for you? (This will happen when you swap machines, for example.) Kris On Fri, Aug 19, 2011 at 1:24 PM, René tan...@get2net.dk wrote: Hi! I am using my phone for developing apps. It works fine, but when i make changes it doesn't seems to update. Can i force it some way? Regards. René -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en- Skjul tekst i anførselstegn - - Vis tekst i anførselstegn - -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Tutorials on Using RenderScript in a Live Wallpaper?
are there any tutorials or source code examples on incorporating RenderScript into a live wallpaper? i've looked quite a bit and can't find anything ... or maybe i missed something obvious? -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android development is very bad
android development is bad for android developer? if a person is android developer then he already does android development.. or you mean bad health wise? like cigarette smoking is injurious ? On Aug 22, 11:22 am, Naveen kumarnaveen.si...@gmail.com wrote: i think android development is very bad for android developer compare to xcode. xcode giving framework for each and every ap implementation. here i want to generate a codec interface facing issue, post to android community but not getting any response back by him. Thanks, -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Android development is very bad
Whos him? On Mon, Aug 22, 2011 at 7:22 AM, Naveen kumarnaveen.si...@gmail.com wrote: i think android development is very bad for android developer compare to xcode. xcode giving framework for each and every ap implementation. here i want to generate a codec interface facing issue, post to android community but not getting any response back by him. Thanks, -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards, Sy -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Android development is very bad
On Mon, Aug 22, 2011 at 12:14 PM, Simon Platten simonaplat...@googlemail.com wrote: Whos him? On Mon, Aug 22, 2011 at 7:22 AM, Naveen kumarnaveen.si...@gmail.comwrote: i think android development is very bad for android developer compare to xcode. xcode giving framework for each and every ap implementation. here i want to generate a codec interface facing issue, post to android community but not getting any response back by him. Thanks, -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards, Sy -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Is some one is able to help me in codec interface in android. i have done all the stubs of jni but facing error.alws posted to android community but not getting back any response then what i decide for developers growth in android.Not getting support by some one . -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Android development is very bad
xcode sucks On Sun, Aug 21, 2011 at 11:44 PM, Simon Platten simonaplat...@googlemail.com wrote: Whos him? On Mon, Aug 22, 2011 at 7:22 AM, Naveen kumarnaveen.si...@gmail.com wrote: i think android development is very bad for android developer compare to xcode. xcode giving framework for each and every ap implementation. here i want to generate a codec interface facing issue, post to android community but not getting any response back by him. Thanks, -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards, Sy -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: developeing on a htc sensation
sounds like somebody could use a root. On Aug 21, 2011 11:39 PM, René tan...@get2net.dk wrote: Hi. Now i have tried it a few times this morning. It seems like i dont have permisions for doing that. I both tried the adb push and install. I will try later on. René On 19 Aug., 19:34, Kristopher Micinski krismicin...@gmail.com wrote: Occasionally I've had to delete the program from my phone and then try an adb push? Does that work for you? (This will happen when you swap machines, for example.) Kris On Fri, Aug 19, 2011 at 1:24 PM, René tan...@get2net.dk wrote: Hi! I am using my phone for developing apps. It works fine, but when i make changes it doesn't seems to update. Can i force it some way? Regards. René -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en- Skjul tekst i anførselstegn - - Vis tekst i anførselstegn - -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Android development is very bad
Now i need help me codec interface in android can u able to help me then good else all os have many limitation On Mon, Aug 22, 2011 at 12:21 PM, Miguel Morales therevolti...@gmail.comwrote: xcode sucks On Sun, Aug 21, 2011 at 11:44 PM, Simon Platten simonaplat...@googlemail.com wrote: Whos him? On Mon, Aug 22, 2011 at 7:22 AM, Naveen kumarnaveen.si...@gmail.com wrote: i think android development is very bad for android developer compare to xcode. xcode giving framework for each and every ap implementation. here i want to generate a codec interface facing issue, post to android community but not getting any response back by him. Thanks, -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards, Sy -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Android development is very bad
08-22 12:32:46.969: ERROR/FFMpegMediaPlayer(4610): AV_LOG_WARNING: No accelerated colorspace conversion found from %s to %s. how to handle this error help me On Mon, Aug 22, 2011 at 12:26 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: Now i need help me codec interface in android can u able to help me then good else all os have many limitation On Mon, Aug 22, 2011 at 12:21 PM, Miguel Morales therevolti...@gmail.comwrote: xcode sucks On Sun, Aug 21, 2011 at 11:44 PM, Simon Platten simonaplat...@googlemail.com wrote: Whos him? On Mon, Aug 22, 2011 at 7:22 AM, Naveen kumarnaveen.si...@gmail.com wrote: i think android development is very bad for android developer compare to xcode. xcode giving framework for each and every ap implementation. here i want to generate a codec interface facing issue, post to android community but not getting any response back by him. Thanks, -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards, Sy -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] vertical scroll
hi, how vertical scroll bar for TableLayout 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] vertical scroll
Hi Vineesh U can use a scroll view , with set the property of scroll view height to fill parent ?xml version=1.0 encoding=utf-8? ScrollView android:id=@+id/widget31 android:layout_width=fill_parent android:layout_height=fill_parent android:background=#2F4F4F xmlns:android=http://schemas.android.com/apk/res/android; TableLayout android:id=@+id/widget107 android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=vertical android:stretchColumns=1 xmlns:android=http://schemas.android.com/apk/res/android; / remining table layout values /TableLayout /ScrollView thanks -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] vertical scroll
Also use the table layout property to android:scrollbars=vertical -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Tutorials on Using RenderScript in a Live Wallpaper?
for those interested, i came up with the following and it seems to work. for those that know way more about this than me, it'd be great to know if there's a better way or if i'm doing anything truly awful :) tia// class WallpaperServiceHelper extends WallpaperService{ @Override public final Engine onCreateEngine(){ return new WallpaperEngineHelper(getApplicationContext()); } protected class WallpaperEngineHelper extends Engine{ private Context mContext; private RenderScriptGL mRs; private MyRenderRs mRender; public WallpaperEngineHelper(Context c){ super(); mContext = c; } @Override public void onSurfaceChanged(SurfaceHolder holder, int format, int w, int h) { super.onSurfaceChanged(holder, format, w, h); if(mRs == null){ RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); mRs = new RenderScriptGL(mContext, sc); mRs.setSurface(holder, w, h); mRender = new MyRenderRs(); mRender.init(mRs, w, h); } } @Override public void onSurfaceDestroyed(SurfaceHolder holder) { super.onSurfaceDestroyed(holder); if(mRs != null){ mRs.destroy(); } } } } On Aug 22, 2:40 am, newbyca newb...@gmail.com wrote: are there any tutorials or source code examples on incorporating RenderScript into a live wallpaper? i've looked quite a bit and can't find anything ... or maybe i missed something obvious? -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Tutorials on Using RenderScript in a Live Wallpaper?
It's a little bit more complicated, you are not catching all possible cases (for instance when the surface is resized.) You should look at the how we did it for the standard live wallpapers: http://android.git.kernel.org/?p=platform/packages/wallpapers/Basic.git;a=blob;f=src/com/android/wallpaper/RenderScriptWallpaper.java;h=5d6a497c4c774003d9285e216378df10bacac897;hb=refs/heads/gingerbread-release On Mon, Aug 22, 2011 at 12:12 AM, newbyca newb...@gmail.com wrote: for those interested, i came up with the following and it seems to work. for those that know way more about this than me, it'd be great to know if there's a better way or if i'm doing anything truly awful :) tia// class WallpaperServiceHelper extends WallpaperService{ @Override public final Engine onCreateEngine(){ return new WallpaperEngineHelper(getApplicationContext()); } protected class WallpaperEngineHelper extends Engine{ private Context mContext; private RenderScriptGL mRs; private MyRenderRs mRender; public WallpaperEngineHelper(Context c){ super(); mContext = c; } @Override public void onSurfaceChanged(SurfaceHolder holder, int format, int w, int h) { super.onSurfaceChanged(holder, format, w, h); if(mRs == null){ RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); mRs = new RenderScriptGL(mContext, sc); mRs.setSurface(holder, w, h); mRender = new MyRenderRs(); mRender.init(mRs, w, h); } } @Override public void onSurfaceDestroyed(SurfaceHolder holder) { super.onSurfaceDestroyed(holder); if(mRs != null){ mRs.destroy(); } } } } On Aug 22, 2:40 am, newbyca newb...@gmail.com wrote: are there any tutorials or source code examples on incorporating RenderScript into a live wallpaper? i've looked quite a bit and can't find anything ... or maybe i missed something obvious? -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Romain Guy Android framework engineer romain...@android.com -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How do I can make resolution independent game?
Use 9-patch images to have them scaled properly. As for the rest of it use a game engine. They do most of the work for you. I use http://www.andengine.org but you can use any other you like. Try Googling Android game engine. Thanks On Sun, Aug 21, 2011 at 10:12 PM, Zwiebel hunzwie...@gmail.com wrote: How do I can make, for example if the user clicks at the 50,50 coordinates on the 800x480 resolution screen, will it be on the appropriate resolution on the 480x320 resolution screen too? I read on the internet that I need to make my game for only one resolution, and then scale the touches, and the images up, or down. But how I can do this scale? -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: developeing on a htc sensation
Just uninstall it from your phone settings. and then re install it. On Mon, Aug 22, 2011 at 12:27 PM, Mark Ayers markthe...@gmail.com wrote: sounds like somebody could use a root. On Aug 21, 2011 11:39 PM, René tan...@get2net.dk wrote: Hi. Now i have tried it a few times this morning. It seems like i dont have permisions for doing that. I both tried the adb push and install. I will try later on. René On 19 Aug., 19:34, Kristopher Micinski krismicin...@gmail.com wrote: Occasionally I've had to delete the program from my phone and then try an adb push? Does that work for you? (This will happen when you swap machines, for example.) Kris On Fri, Aug 19, 2011 at 1:24 PM, René tan...@get2net.dk wrote: Hi! I am using my phone for developing apps. It works fine, but when i make changes it doesn't seems to update. Can i force it some way? Regards. René -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en- Skjul tekst i anførselstegn - - Vis tekst i anførselstegn - -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Tutorials on Using RenderScript in a Live Wallpaper?
awesome, that's what i was looking for. tx! On Aug 22, 3:19 am, Romain Guy romain...@android.com wrote: It's a little bit more complicated, you are not catching all possible cases (for instance when the surface is resized.) You should look at the how we did it for the standard live wallpapers: http://android.git.kernel.org/?p=platform/packages/wallpapers/Basic.g... On Mon, Aug 22, 2011 at 12:12 AM, newbyca newb...@gmail.com wrote: for those interested, i came up with the following and it seems to work. for those that know way more about this than me, it'd be great to know if there's a better way or if i'm doing anything truly awful :) tia// class WallpaperServiceHelper extends WallpaperService{ @Override public final Engine onCreateEngine(){ return new WallpaperEngineHelper(getApplicationContext()); } protected class WallpaperEngineHelper extends Engine{ private Context mContext; private RenderScriptGL mRs; private MyRenderRs mRender; public WallpaperEngineHelper(Context c){ super(); mContext = c; } @Override public void onSurfaceChanged(SurfaceHolder holder, int format, int w, int h) { super.onSurfaceChanged(holder, format, w, h); if(mRs == null){ RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); mRs = new RenderScriptGL(mContext, sc); mRs.setSurface(holder, w, h); mRender = new MyRenderRs(); mRender.init(mRs, w, h); } } @Override public void onSurfaceDestroyed(SurfaceHolder holder) { super.onSurfaceDestroyed(holder); if(mRs != null){ mRs.destroy(); } } } } On Aug 22, 2:40 am, newbyca newb...@gmail.com wrote: are there any tutorials or source code examples on incorporating RenderScript into a live wallpaper? i've looked quite a bit and can't find anything ... or maybe i missed something obvious? -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Romain Guy Android framework engineer romain...@android.com -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android development is very bad
Apparently we suck at answering questions. Sorry. Maybe if the question you asked was understandable (i.e. You suck at asking questions) you might get some help. On Aug 22, 3:22 pm, Naveen kumarnaveen.si...@gmail.com wrote: i think android development is very bad for android developer compare to xcode. xcode giving framework for each and every ap implementation. here i want to generate a codec interface facing issue, post to android community but not getting any response back by him. Thanks, -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android development is very bad
i want to create video codec plz help me, i have knowledge of JNI lib implementation in android . On Mon, Aug 22, 2011 at 1:24 PM, martypantsROK martyg...@gmail.com wrote: Apparently we suck at answering questions. Sorry. Maybe if the question you asked was understandable (i.e. You suck at asking questions) you might get some help. On Aug 22, 3:22 pm, Naveen kumarnaveen.si...@gmail.com wrote: i think android development is very bad for android developer compare to xcode. xcode giving framework for each and every ap implementation. here i want to generate a codec interface facing issue, post to android community but not getting any response back by him. Thanks, -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android development is very bad
how to handle not found accelerated colorspace conversion android video play On Mon, Aug 22, 2011 at 2:02 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: i want to create video codec plz help me, i have knowledge of JNI lib implementation in android . On Mon, Aug 22, 2011 at 1:24 PM, martypantsROK martyg...@gmail.comwrote: Apparently we suck at answering questions. Sorry. Maybe if the question you asked was understandable (i.e. You suck at asking questions) you might get some help. On Aug 22, 3:22 pm, Naveen kumarnaveen.si...@gmail.com wrote: i think android development is very bad for android developer compare to xcode. xcode giving framework for each and every ap implementation. here i want to generate a codec interface facing issue, post to android community but not getting any response back by him. Thanks, -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android development is very bad
http://tinyurl.com/3mqcq8s On Mon, Aug 22, 2011 at 2:02 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: i want to create video codec plz help me, i have knowledge of JNI lib implementation in android . On Mon, Aug 22, 2011 at 1:24 PM, martypantsROK martyg...@gmail.comwrote: Apparently we suck at answering questions. Sorry. Maybe if the question you asked was understandable (i.e. You suck at asking questions) you might get some help. On Aug 22, 3:22 pm, Naveen kumarnaveen.si...@gmail.com wrote: i think android development is very bad for android developer compare to xcode. xcode giving framework for each and every ap implementation. here i want to generate a codec interface facing issue, post to android community but not getting any response back by him. Thanks, -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] need help on take snapshot and save
Hi friends, i want to take snapshot and save it in database in android.i dont have any idea about this. i need some information related to this. can anyone please help to start this application? Thanks. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Deployment to Android devices from Windows and Mac
Hi all, I want to know what are the using technologies for deploy Android Application to the Android device from Windows or MAC.Please give ma any kind of reference or details to identify that mechanism. Exactly i want to know about deploying michanism. thanks, -- *Rathna Kumara Premadasa* Sri Lanka. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android development is very bad
On Mon, Aug 22, 2011 at 4:32 AM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: i want to create video codec plz help me, i have knowledge of JNI lib implementation in android . That requires custom firmware, which is not the subject of this list. Please find a list on http://source.android.com that is relevant and ask intelligent, well-written questions there. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] need help on take snapshot and save
Snapshot of the screen or through the camera? You will need to provide a lot more information. On Mon, Aug 22, 2011 at 3:15 PM, sktniran sktniranjanad...@gmail.comwrote: Hi friends, i want to take snapshot and save it in database in android.i dont have any idea about this. i need some information related to this. can anyone please help to start this application? Thanks. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android development is very bad
On Mon, Aug 22, 2011 at 3:39 PM, Mark Murphy mmur...@commonsware.comwrote: On Mon, Aug 22, 2011 at 4:32 AM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: i want to create video codec plz help me, i have knowledge of JNI lib implementation in android . That requires custom firmware, which is not the subject of this list. Please find a list on http://source.android.com that is relevant and ask intelligent, well-written questions there. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en Hi sir, i have already done this type of stub there, not getting response back from that side, now very unhappy with android, alws facing issue.trying for long time on this issue , but not getting success. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android development is very bad
If you want instantaneous help then employ someone as a teacher. People contribute their own time freely on these lists and are under no obligation to help you. On Mon, Aug 22, 2011 at 3:44 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: On Mon, Aug 22, 2011 at 3:39 PM, Mark Murphy mmur...@commonsware.comwrote: On Mon, Aug 22, 2011 at 4:32 AM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: i want to create video codec plz help me, i have knowledge of JNI lib implementation in android . That requires custom firmware, which is not the subject of this list. Please find a list on http://source.android.com that is relevant and ask intelligent, well-written questions there. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en Hi sir, i have already done this type of stub there, not getting response back from that side, now very unhappy with android, alws facing issue.trying for long time on this issue , but not getting success. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: need help on take snapshot and save
oh sorry.. i want to take snapshot from camera and save it in sqllite db. thanks On Aug 22, 3:12 pm, Appaholics raghavs...@appaholics.in wrote: Snapshot of the screen or through the camera? You will need to provide a lot more information. On Mon, Aug 22, 2011 at 3:15 PM, sktniran sktniranjanad...@gmail.comwrote: Hi friends, i want to take snapshot and save it in database in android.i dont have any idea about this. i need some information related to this. can anyone please help to start this application? Thanks. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control)http://www.raghavsood.com/https://market.android.com/developer?pub=Appaholicshttp://www.appaholics.in/ -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android development is very bad
i am not getting teacher which gives me actual way for codec implementation for android. all suffering from this issue. On Mon, Aug 22, 2011 at 3:52 PM, Appaholics raghavs...@appaholics.inwrote: If you want instantaneous help then employ someone as a teacher. People contribute their own time freely on these lists and are under no obligation to help you. On Mon, Aug 22, 2011 at 3:44 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: On Mon, Aug 22, 2011 at 3:39 PM, Mark Murphy mmur...@commonsware.comwrote: On Mon, Aug 22, 2011 at 4:32 AM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: i want to create video codec plz help me, i have knowledge of JNI lib implementation in android . That requires custom firmware, which is not the subject of this list. Please find a list on http://source.android.com that is relevant and ask intelligent, well-written questions there. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en Hi sir, i have already done this type of stub there, not getting response back from that side, now very unhappy with android, alws facing issue.trying for long time on this issue , but not getting success. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android development is very bad
On Mon, Aug 22, 2011 at 6:54 AM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: i am not getting teacher which gives me actual way for codec implementation for android. all suffering from this issue. If you work for a device manufacturer or wireless carrier, they will have better ways of getting Android assistance than asking on these groups, whether that is through their direct relationship with Google or by hiring firmware developers experienced in these areas. If you do not work for a device manufacturer or wireless carrier, you have bigger problems. Rather than worrying about the video codec, you will want to spend the next year or two learning how to modify and deploy Android firmware (which, again, is not a relevant topic for this list). Only after you have mastered that work will you be able to do anything with a video codec, and by then, you will know where and how to ask intelligent, well-written questions on that subject. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: need help on take snapshot and save
http://tinyurl.com/3tsnd6n On Mon, Aug 22, 2011 at 4:23 PM, sktniran sktniranjanad...@gmail.comwrote: oh sorry.. i want to take snapshot from camera and save it in sqllite db. thanks On Aug 22, 3:12 pm, Appaholics raghavs...@appaholics.in wrote: Snapshot of the screen or through the camera? You will need to provide a lot more information. On Mon, Aug 22, 2011 at 3:15 PM, sktniran sktniranjanad...@gmail.com wrote: Hi friends, i want to take snapshot and save it in database in android.i dont have any idea about this. i need some information related to this. can anyone please help to start this application? Thanks. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/https://market.android.com/developer?pub=Appaholicshttp://www.appaholics.in/ -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Deployment to Android devices from Windows and Mac
Hi, Please help me someone who know about this.. Rathna Kumara Premadasa Sri Lanka. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Deployment to Android devices from Windows and Mac
Send the apk to the device via the market, email, bluetooth etc. Install it. Your app has now been deployed. On Mon, Aug 22, 2011 at 4:46 PM, Rathna Kumara Premadasa rathnakumar...@gmail.com wrote: Hi, Please help me someone who know about this.. Rathna Kumara Premadasa Sri Lanka. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android development is very bad
On Mon, Aug 22, 2011 at 04:24:06PM +0530, NaveenShrivastva wrote: On Mon, Aug 22, 2011 at 3:52 PM, Appaholics raghavs...@appaholics.inwrote: If you want instantaneous help then employ someone as a teacher. People contribute their own time freely on these lists and are under no obligation to help you. i am not getting teacher which gives me actual way for codec implementation for android. all suffering from this issue. Look, you are obviously new to the 'Net, and to how things work on the 'Net, so you should really be paying attention to what people are telling you. If you go around whining about how nobody is giving you the code all you accomplish is to become an annoying bug, as you should have noticed by now. Read Raghav's post above, and then answer the following question: How much are you willing to *PAY* someone to be your teacher? I suggest a starting amount of AT LEAST $50/hour, if you want someone beyond an absolute beginner. Oh, and be prepared to pay in advance. Later, --jim PS: Learn to post correctly, as well. Top-posting is generally considered a very Bad Thing, and is only really acceptable in a 100% mickeysoft environment (and even then, not always). Also, I saw one of your posts where you posted your question below the two dashes and a space that marks the beginning of the .signaturebe advised that a lot of people have their e-mail client configured to not even show sigs. Mine, for example, is set to show them in a very dark color on a very dark background I just happened to notice your text purely by chance. -- 73 DE N5IAL (/4)MiSTie #49997 Running FreeBSD 7.0 spooky1...@gmail.comICBM/Hurr.: 30.44406N 86.59909W Saw something on TV about Psych-os. H, Psych OS. Perhaps the next freeware OS --me Android Apps Listing at http://www.jstrack.org/barcodes.html -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Deployment to Android devices from Windows and Mac
Thanks for your reply, But I'm asking what is the technology used to deploy application to device in Android.Some thin call, whats the API or something like that.Because i want to develop android application using my own developing environment and deploy it to android device.Exactly i want to know about the deploying part for my application deployment. thanks, -- *Rathna Kumara Premadasa* Sri Lanka. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Question about Button
Hi All, Wondering if anyone can advice me on the following. I wish to create a button which will allow me to have: 1. a color when the button is disabled 2. a color when the button is enabled but idle 3. a color when the button is enabled and pressed 4. a border which will change color upon some external activity. After reading this tutorial ( http://blog.androgames.net/40/custom-button-style-and-theme/) I have to able to achieve steps 1-3. However, I am struggling to achieve step 4. Also note that step 4 will need to happen programmatically as my application implements a 3rd party observer which notifies me when a task is active. Can someone please guide me on how to achieve step 4. Ideally I would like to use the shape that is described in the above link with a border which I can control via my code? Please advice. Thanks. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Only audio, no video
I managed to compile the debug Branch and I could play videos, but I get no video - only audio is working. The libraries are loaded and also no other errors in LogCat, except AV_LOG_WARNING: No accelerated colorspace conversion found from %s to %s, but I think that's ok. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Attach more than one picture JavaMail?
Hi all; In my project i am using Javamail and i attached 1 image .i am using this code (http://www.jondev.net/articles/ Sending_Emails_without_User_Intervention_%28no_Intents%29_in_Android). But i want to attach more pictures to mail. Can anybody help me?i some googling but i see some html code.I want to get from sdcard. THX. Duygu Kahraman http://tr.linkedin.com/in/duygukahramann -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Deployment to Android devices from Windows and Mac
You will develop it using the NDK and/or SDK and deploy it through the Android Market, Amazon Appstore or your own website. On Mon, Aug 22, 2011 at 5:10 PM, Rathna Kumara Premadasa rathnakumar...@gmail.com wrote: Thanks for your reply, But I'm asking what is the technology used to deploy application to device in Android.Some thin call, whats the API or something like that.Because i want to develop android application using my own developing environment and deploy it to android device.Exactly i want to know about the deploying part for my application deployment. thanks, -- *Rathna Kumara Premadasa* Sri Lanka. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Only audio, no video
Use an Android firmware list for questions relating to the frimware. http://source.android.क http://source.android.xn--11bॉम On Mon, Aug 22, 2011 at 5:30 PM, Naveen kumarnaveen.si...@gmail.com wrote: I managed to compile the debug Branch and I could play videos, but I get no video - only audio is working. The libraries are loaded and also no other errors in LogCat, except AV_LOG_WARNING: No accelerated colorspace conversion found from %s to %s, but I think that's ok. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Question about Button
Hi add one more image with border color(as u want ) and redraw it at a specific event thanks -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Attach more than one picture JavaMail?
On 22 August 2011 13:03, Duygu Kahraman duygu.kahram...@gmail.com wrote: Hi all; In my project i am using Javamail and i attached 1 image .i am using this code (http://www.jondev.net/articles/ Sending_Emails_without_User_Intervention_%28no_Intents%29_in_Android). But i want to attach more pictures to mail. ...then you need to call Mail.addAttachment() method more than once. -- Daniel Drozdzewski -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Deployment to Android devices from Windows and Mac
Hi, Thanks dear, I've create my own developing enviorment using Android NDK and SDK in Eclipse creating several eclipse plugins but i was not able to deploy my app to Android device to debug it. i want to run application on the device when i Run my project. I'm asking do u know about the technologies used in Android to deploy app to device for debug or Run. About suitable API or something... -- *Rathna Kumara Premadasa* Sri Lanka. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Deployment to Android devices from Windows and Mac
http://www.appaholics.in/using-a-hardware-device-for-debugging/ On Mon, Aug 22, 2011 at 6:06 PM, Rathna Kumara Premadasa rathnakumar...@gmail.com wrote: Hi, Thanks dear, I've create my own developing enviorment using Android NDK and SDK in Eclipse creating several eclipse plugins but i was not able to deploy my app to Android device to debug it. i want to run application on the device when i Run my project. I'm asking do u know about the technologies used in Android to deploy app to device for debug or Run. About suitable API or something... -- *Rathna Kumara Premadasa* Sri Lanka. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Calendar Widget
Hello everyone, i am looking for a calendar view, like used in android 3.x with ability to translate it. Thanks for all suggestions Daniel -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] vertical scroll
thanks Ratheesh Valamchuzhy for your reply actually am looking horizontal scrolling i find out the problem by using android:oriantation=horizontal in the attribute On Mon, Aug 22, 2011 at 12:39 PM, Ratheesh Valamchuzhy android...@gmail.com wrote: Also use the table layout property to android:scrollbars=vertical -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android development is very bad
Yep, you are probably right. It's a good idea then for you to stick with what you like then. Some peope (me personally) like developing without being spoonfed or hand-held. Not everyones cup of tea ;-) Either ways, I doubt if complaining here is going to help. Good luck. On Aug 21, 11:22 pm, Naveen kumarnaveen.si...@gmail.com wrote: i think android development is very bad for android developer compare to xcode. xcode giving framework for each and every ap implementation. here i want to generate a codec interface facing issue, post to android community but not getting any response back by him. Thanks, -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android development is very bad
Thanks all , i am trying but not getting success. On Mon, Aug 22, 2011 at 6:46 PM, nexbug gsuku...@gmail.com wrote: Yep, you are probably right. It's a good idea then for you to stick with what you like then. Some peope (me personally) like developing without being spoonfed or hand-held. Not everyones cup of tea ;-) Either ways, I doubt if complaining here is going to help. Good luck. On Aug 21, 11:22 pm, Naveen kumarnaveen.si...@gmail.com wrote: i think android development is very bad for android developer compare to xcode. xcode giving framework for each and every ap implementation. here i want to generate a codec interface facing issue, post to android community but not getting any response back by him. Thanks, -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android development is very bad
You will get more snark than help here, both because of the language barrier, your attitude and because, most likely, no one here can help you... The majority of Android apps do not push the envelope, nor do the majority of android devs... If you enjoy the xcode gives me everything environment, stick with it. Android requires you to start from scratch for the most part (that's why the quick app dev contests typically go to Apple) and to understand the framework which you are employing very thoroughly for projects like the one it sounds like you are involved in. Snarkiness aside, you are just in the wrong place to get an answer for this question. As has been mentioned, if you bring $$$ Google will support you, if you bring I hate Android you will not find answers... Peace, Dan On Aug 22, 9:20 am, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: Thanks all , i am trying but not getting success. On Mon, Aug 22, 2011 at 6:46 PM, nexbug gsuku...@gmail.com wrote: Yep, you are probably right. It's a good idea then for you to stick with what you like then. Some peope (me personally) like developing without being spoonfed or hand-held. Not everyones cup of tea ;-) Either ways, I doubt if complaining here is going to help. Good luck. On Aug 21, 11:22 pm, Naveen kumarnaveen.si...@gmail.com wrote: i think android development is very bad for android developer compare to xcode. xcode giving framework for each and every ap implementation. here i want to generate a codec interface facing issue, post to android community but not getting any response back by him. Thanks, -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Adding markers to a video recording you take.
I looked through the API for the Android Mediarecorder and didn't see any way to do this, but I was hoping maybe I missed something. In short, what I want to do is allow the user to click a button on the screen and have an application insert a marker of sorts into the video stream as they are making a recording. I have gotten the app to record video just fine and save it off to my SD card, but I cannot figure out how to inject a marker. Any thoughts? Thanks. Darrin -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] ListView measurering causes constant getView(..) requests, slowing down the device
The issue described here was encountered on 3.0 as well as 3.1 on an Acer Iconia A500. The following layout is used in a Fragment (not ListFragment). Somehow it causes a ListView, added to fragment_swipeview_lr_leftview_body (and fragment_swipeview_lr_rightview_body respectively), to be measured over and over again, thus refreshing its content more often then required and hence significantly slowing down the device. ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_height=fill_parent android:layout_width=fill_parent android:id=@+id/fragment_swipeview_lr_mainlayout RelativeLayout android:id=@+id/fragment_swipeview_lr_leftview android:layout_height=fill_parent android:layout_width=wrap_content android:layout_marginRight=5dip RelativeLayout android:layout_height=wrap_content android:id=@+id/fragment_swipeview_lr_leftview_header android:layout_alignParentTop=true android:layout_centerHorizontal=true android:background=@drawable/ fragment_swipeview_header_background_left android:layout_width=wrap_content android:layout_alignLeft=@+id/ fragment_swipeview_lr_leftview_body android:layout_alignRight=@+id/ fragment_swipeview_lr_leftview_body TextView android:layout_width=wrap_content android:layout_height=wrap_content android:id=@+id/ fragment_swipeview_vt_leftview_headertext android:text=Left Heading android:textAppearance=@style/ style_text_swipeview_header android:layout_marginLeft=10dip/TextView /RelativeLayout RelativeLayout android:background=@drawable/ fragment_swipeview_body_background_left android:layout_height=fill_parent android:layout_below=@id/ fragment_swipeview_lr_leftview_header android:layout_width=wrap_content android:id=@+id/ fragment_swipeview_lr_leftview_body/RelativeLayout /RelativeLayout RelativeLayout android:layout_height=fill_parent android:layout_toRightOf=@+id/fragment_swipeview_lr_leftview android:layout_width=wrap_content android:id=@+id/ fragment_swipeview_lr_rightview RelativeLayout android:layout_height=wrap_content android:layout_width=wrap_content android:id=@+id/ fragment_swipeview_lr_header_body_wrapper android:layout_toRightOf=@+id/ fragment_swipeview_vi_rightview_shadow RelativeLayout android:layout_alignLeft=@+id/ fragment_swipeview_lr_rightview_body android:layout_alignRight=@+id/ fragment_swipeview_lr_rightview_body android:layout_height=wrap_content android:layout_centerHorizontal=true android:layout_width=wrap_content android:layout_alignParentTop=true android:id=@+id/fragment_swipeview_lr_rightview_header android:background=@drawable/ fragment_swipeview_header_background_right TextView android:text=Right Heading android:layout_height=wrap_content android:layout_marginLeft=10dip android:textAppearance=@style/ style_text_swipeview_header android:layout_width=wrap_content android:id=@+id/ fragment_swipeview_vt_rightview_headertext/TextView /RelativeLayout RelativeLayout android:layout_height=fill_parent android:layout_width=wrap_content android:layout_below=@+id/ fragment_swipeview_lr_rightview_header android:id=@+id/fragment_swipeview_lr_rightview_body android:background=@drawable/ fragment_swipeview_body_background_right/RelativeLayout /RelativeLayout ImageView android:background=@drawable/general_shadow_left android:layout_width=wrap_content android:layout_height=fill_parent android:layout_alignParentLeft=true android:id=@+id/fragment_swipeview_vi_rightview_shadow android:visibility=gone/ImageView /RelativeLayout /RelativeLayout The ListView is added using the following code (tried using explicit LayoutParameters as well). public void addViewToLeftContentLayout(View v) { leftContent.addView(v); // leftcontent == fragment_swipeview_lr_leftview_body } Here is the stacktrace representing individual measurement updates: AdapterIngredientList.getView(int, View, ViewGroup) line: 43
Re: [android-developers] Re: developeing on a htc sensation
On Mon, Aug 22, 2011 at 3:28 AM, Appaholics raghavs...@appaholics.in wrote: Just uninstall it from your phone settings. and then re install it. Agreed, I feel like not being able to uninstall an application from your phone would be a much more serious security flaw than many other apps could possibly posses. Kris -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Layout, Canvas questions
Hello, I have tried asking elsewhere but got no replies so I am now trying here. 1. I want to write an appliction with a LinearLayout containing a Canvas and a Button. When the button is pressed a circle is drawn centered on the canvas, and when the button is pressed again it disappears. 2. Is it better to code this or use an XML file. How would the code look like in each case. 3. Would it be better to draw the button on the canvas. What are the best practices in this case. In the end I will need about six buttons in my app for doing different things. For now I have the following code but I cannot see the button, - package com.example; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.LinearLayout; public class ToggleCircle extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); LinearLayout layout = new LinearLayout(this); Panel panel = new Panel(this); Button button = new Button(this); layout.addView(panel); layout.addView(button); setContentView(panel); } private class Panel extends View { private Paint paint; public Panel(Context context) { super(context); paint = new Paint(); } @Override public void onDraw(Canvas canvas) { drawBlack = !drawBlack; canvas.drawColor(drawBlack ? Color.BLACK : Color.WHITE); //canvas.drawCircle(getHeight()/2, getWidth()/2, 10, paint); canvas.drawCircle(20, 20, 10, paint); } private boolean drawBlack = false; } } The button does not seem to be displayed. Besides this code being wrong, I have another problem. Yesterday the emulator was working, today it hangs after displaying the date and time and the battery being charging 50% (not sure how a battery makes sense for an emulator but anyway it hangs): [2011-08-22 14:31:52 - ToggleCircle] -- [2011-08-22 14:31:52 - ToggleCircle] Android Launch! [2011-08-22 14:31:52 - ToggleCircle] adb is running normally. [2011-08-22 14:31:52 - ToggleCircle] Performing com.example.ToggleCircle activity launch [2011-08-22 14:31:52 - ToggleCircle] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'my_avd' [2011-08-22 14:31:52 - ToggleCircle] Uploading ToggleCircle.apk onto device 'emulator-5554' [2011-08-22 14:31:53 - ToggleCircle] Installing ToggleCircle.apk... [2011-08-22 14:31:57 - ToggleCircle] Success! [2011-08-22 14:31:57 - ToggleCircle] Starting activity com.example.ToggleCircle on device emulator-5554 [2011-08-22 14:32:01 - ToggleCircle] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example/.ToggleCircle } -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Deployment to Android devices from Windows and Mac
@Appaholics Thanks a lot of I'll follow that. thanks -- *Rathna Kumara Premadasa* Sri Lanka. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Layout, Canvas questions
LinearLayout layout = new LinearLayout(this); Panel panel = new Panel(this); Button button = new Button(this); layout.addView(panel); layout.addView(button); setContentView(panel); You're creating a LL, adding the panel and button to it, but setting the content view to the panel instead of the LL. Since you never add the button to the panel, it won't show. As far as the emulator slowness goes, I'd suggest testing on a real device unless you need to do QA on different screen configurations. Cheers, - C -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Deployment to Android devices from Windows and Mac
http://developer.android.com/guide/developing/device.html http://developer.android.com/guide/developing/index.html We would be remiss were we not to point you to those links as well. You're saying you wrote your own plugin for eclipse to do android development without using the sdk plugin for eclipse? Hmm... That is unfortunate, though you should most certainly download it as well: http://developer.android.com/sdk/installing.html Kris On Mon, Aug 22, 2011 at 10:38 AM, Rathna Kumara Premadasa rathnakumar...@gmail.com wrote: @Appaholics Thanks a lot of I'll follow that. thanks -- Rathna Kumara Premadasa Sri Lanka. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Native SIP Client Device Support List?
So we're finding out a lot of Gingerbread devices don't seem to be supported with the native client, which kind of makes it less useful. Is there a list of currently supported devices or perhaps a plan to support roughly all Gingerbread devices in the future? In the meantime is there another SIP stack we should look to use? Thanks! Shaun -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Sudden location issues
So maybe the power cycling does the trick all by itself... BTW, GPS accuracy is generally better than 12 m. It can go down all the way to 1.5m, but 5m is a good bet. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Handling Loader exceptions
The first thing to mention is that I deprecated onRetainNonConfigurationInstance() because the new fragment APIs are much easier to deal with than that old method. If you are currently using onRetainNonConfigurationInstance() and that is working well for you, there is no need to move off it. (In fact that method is fundamental to how the support lib's FragmentActivity is able to work.) As far as errors from loaders, the design is that there are no errors as such. Ultimately they need to deliver a result back to the activity/fragment. If your result can include an error state, then this should be part of the result you deliver. This should be as simple as wrapping your result data in a container class that has it and the error state, and making that the result. On Sun, Aug 21, 2011 at 10:23 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: I am migrating some of my activities to FragmentActivity using the compatibility library. I was using onRetainNonConfigurationInstance() to save an AsyncTask between re-creations, but since this is now final, the recommended approach seems to be to replace my AsyncTask with a loader. I now have a class derived from AsyncTaskLoader that does basically the same thing as the old AsyncTask, and I am trying to figure out what the best approach to handle load errors is. LoaderManger/Loader don't have any support for error handling (no onLoadError(), etc. Why?), and any unhandled exceptions just bubble up. Which means one needs to make sure loadInBackground() doesn't throw and get your process killed (at least that's what happens when using the compatibility library). To pass error info to the callback you need to either: 1. use the return value: wrap any results in a class that has an Exception member in addition to the actual result, and check if is null or not in onLoaderFinished(); or 2. save the error state in the Loader, cast it in onLoaderFinished() and check for errors 1. seems rather awkward if type safe, 2. is not too pretty either. Any other ideas? -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: using MapView to display wallstreet
Hi, Sorry, i just gave an example of what i need. Based on the sample that someone provides, i can change it to meet the needs. Actually, i want to search for a location in any street, i just gave the example of Wall street to make easier for one to provide a sample. :-) cheers guich -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: getOrientation() madness
On Sun, Aug 21, 2011 at 7:48 PM, Dianne Hackborn hack...@android.com wrote: Because we are sometimes dumb. That is why it is deprecated and replaced with a method named getRotation() in current versions of the platform. A nice person spent a long time harassing me about this change because they insistent that we were evil vile losers who didn't understand what app developers needed by deprecating the getOrientation() method. I never figured out exactly what was motivating all of that. But if that person is reading: this is why. :) From where I sit Android is becoming really hard to keep up with. I have a ton of 2.1 users still so I need to stay with API version 7. The current API is 13, that's almost double the version I need to stay at. I can't force people to upgrade or buy a new phone. Meanwhile the SDK docs show more and more non documentation for API version 7 every day due the continuing deprecation. What's a developer to do? -- Greg Donald -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Sudden location issues
BTW, GPS accuracy is generally better than 12 m. It can go down all the way to 1.5m, but 5m is a good bet. WAAS is accurate to that level but I don't believe the GPS in the average Android device is WAAS capable. I may be wrong there. -John Coryat -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Right way to animate children inside a viewgroup?
I am building a custom viewgroup that arranges a bunch of children in a particular layout. On a particular trigger (lets say an external button press), The children animate to new positions. The way I tried doing it was by starting a Timer and on each timer update, computing new positions and then calling requestLayout(). Is this the right way? I imagine this could be inefficient. Any ideas on what the right steps are to do a custom rearragement of child views? -arpit -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: DexClassLoader and DexFile Leaking File Handles
I'd try to avoid copying and deleting the file each time, at least if it's the same file. In the stress test it's the same file, but in the real world it will be a new jar file every time, corresponding to updates to the plugin. It's interesting to think about how the activity lifecycle and things like orientation changes mean your process often gets terminated and then recreated, in a way that's supposed to be invisible to the user. I wonder if there's a reliable way to cause that to happen? It might be worth looking into. That's an interesting idea. In practice I would bet that the process will pretty much always get terminated at some point before loading enough new plugins to cause a problem, but it would be pretty nice to be able to control that. Thanks, Matt -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] market links not launching market
I try adding a market link to my application webview and when the link is clicked iget page not found instead of the market launching. Do I need a special permission or do I need a special link other then market://details?id=xxx.. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: market links not launching market
To clareafy it is on a webpage a href=market://details? id=xxx../a Do I still need to create a intent for this to workor am I just doing something wrong -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Downloading Files Directly in Webview without it opening the browser
The files on on a webpage that I want the applcation to handle not it launching the web browser -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android location object time property stale ?
I'm trying to understand how to interpret the time property from the Android location object : http://developer.android.com/reference/android/location/Location.html#getTime() Here's the thing, when I call the location manager (using the GPS provider), I receive location fixes (I query them every 30 seconds) where the timestamp included in the location object almost always corresponds to the timestamp when the locationlistener got called. 14:20:00 - gps fix - android location timestamp 14:20:00 14:20:30 - gps fix - android location timestamp 14:20:30 14:21:00 - gps fix - android location timestamp 14:21:00 However, if I then switch to the WiFi provider, sometimes (not always) the timestamps on the location object don't correspond to the time when the locationlistener got called. For example here, after getting the GPS fixes, I get a location through the locationlistener that has a more stale timestamp. 14:21:30 - wifi fix - android location timestamp 14:20:15 How should I interpret the 14:20:15 timestamp on the locationobject that was received at 14:21:30 ? I would imagine that if I query the locationmanager, it would always provide me with a timestamp at the time the request was made. The JavaDoc also says that the time property returns the UTC time of this fix, in milliseconds since January 1, 1970. To avoid confusing, I'm not using stuff like getLastKnownLocation, it's the location object coming in via the LocationListener.onLocationChanged ( http://developer.android.com/reference/android/location/LocationListener.html#onLocationChanged(android.location.Location) ). As a developer, should I check if the timestamp is too far off the current time, and simply ignore it in that case ? And can I force it to return me a fresh location ? (this is all happening when the phone is connected to a Wifi base station that is properly registered at Google Location Services. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: getOrientation() madness
First, I recommend you try to figure out the screen by getting the DisplayMetrics instead. Don't use the orientation/rotation. The device implementer gets to decide what the rotation means, so the screen rotation is fundamentally divorced from the concept of landscape or portrait (yep, I've seen system builds for Chinese tablets where Surface.ROTATION_0 is portrait mode on one but landscape mode on another). Second, for supporting different APIs, consider building a separate app/apk for later APIs. Android Market now supports this (see http://developer.android.com/guide/market/publishing/multiple-apks.html). You're going to have to live with the fact that older APIs simply become obsolete. Building on a single base API will be easier to the code clean. Third, as for your frustration, you've run smack into the fragmentation problem. (oo, can I win some geek fame and coin a phrase: Congratulations Greg, you've been 'and-fragged' :-P ). Seriously, my advice is to bear the pain, hope it goes away, and move toward support of only the latest APIs. A year and a half ago, I made an app that works on contacts under 1.5 (API 3) because most Android phones were still running 1.5/1.6. Later, when upgraded it to the later APIs, I decided to keep backward compatibility (not a straightforward task since the original Contacts class was completely deprecated for ContactsContract). Now, 1.6 and earlier devices make up less than 4% of devices using Android Market, so pre-2.0 support seems moot, and the API moves are accelerating. API 10 came out in Feb. and is already supported by almost a quarter of devices. By the end of the year, chances are the majority of devices will be on API 10 or above, so you might as well get familiar with them. On Aug 22, 10:40 am, Greg Donald gdon...@gmail.com wrote: On Sun, Aug 21, 2011 at 7:48 PM, Dianne Hackborn hack...@android.com wrote: Because we are sometimes dumb. That is why it is deprecated and replaced with a method named getRotation() in current versions of the platform. A nice person spent a long time harassing me about this change because they insistent that we were evil vile losers who didn't understand what app developers needed by deprecating the getOrientation() method. I never figured out exactly what was motivating all of that. But if that person is reading: this is why. :) From where I sit Android is becoming really hard to keep up with. I have a ton of 2.1 users still so I need to stay with API version 7. The current API is 13, that's almost double the version I need to stay at. I can't force people to upgrade or buy a new phone. Meanwhile the SDK docs show more and more non documentation for API version 7 every day due the continuing deprecation. What's a developer to do? -- Greg Donald -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Access to gyroscope under Froyo?
I am considering the LG Optimus 2X as my next phone. One of the most important things I'm after is the gyroscope sensor. Appearently the Optimus 2X is supposed to have one, but will it be available from the API when it is only running Froyo? AFAIK gyroscope support was not added before Gingerbread. I have seen some code sample which uses Sensor.TYPE_ORIENTATION and calls it the gyroscope, but should one not use Sensor.TYPE_GYROSCOPE for that? Yes, I have heard that the Optimus 2X will get Gingerbread, but I am primarily interested in what I can do with it here and now. Thanks for any insights! -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How do I can make resolution independent game?
Thanks for the help! On aug. 22, 07:20, Appaholics raghavs...@appaholics.in wrote: Use 9-patch images to have them scaled properly. As for the rest of it use a game engine. They do most of the work for you. I usehttp://www.andengine.orgbut you can use any other you like. Try Googling Android game engine. Thanks On Sun, Aug 21, 2011 at 10:12 PM, Zwiebel hunzwie...@gmail.com wrote: How do I can make, for example if the user clicks at the 50,50 coordinates on the 800x480 resolution screen, will it be on the appropriate resolution on the 480x320 resolution screen too? I read on the internet that I need to make my game for only one resolution, and then scale the touches, and the images up, or down. But how I can do this scale? -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control)http://www.raghavsood.com/https://market.android.com/developer?pub=Appaholicshttp://www.appaholics.in/ -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Giving licenses as present.
Hi, is it possible to give a free license of our apps to some users? I mean, can I let some people to download freely our paied apps? Is there a way to do that? -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how to retrieve images from a sql database?
Hi I have a database of low res images that I am trying to use for one of my applications. What I would like to do is to retrieve the images one by one and display them in a slideshow. I was told that images are stored as byte arrays in sql database. I am new to sql and looking for some direction on how to do this, what query to put and how to extract the byte array from the database for further use. Any help appreciated. Thanks, AB -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Downloading Files Directly in Webview without it opening the browser
On Mon, Aug 22, 2011 at 4:48 PM, Raziel23x raziel...@gmail.com wrote: The files on on a webpage that I want the applcation to handle not it launching the web browser The files are on a FTP server or on a HTTP server? If the server is an FTP server you can connect to the server, list the files using some API, then show the files in a listView or something like that and download it with the same API. You don't need a browser at all. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: how to retrieve images from a sql database?
generally with mobile databases like SQLite it may be easier to keep the images in the RAW resource folder and only maintain the (string) pointers in the database. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How I can place an AdMob ad?
I have an activity what in I don't use an XML. I have only an activity within I what to place an ad. I don't use layouts like linear layout or relative layout. My program scale him automatically, so if I put in an ad, will it scale itself, to don't be in ad? How can I add an ad to it? -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Downloading Files Directly in Webview without it opening the browser
You have to return false on shouldOverrideUrlLoading. That will prevent the browser from initiating the download. You have to move the code from onLoadResource there, and return false if you detect the video link. The onDownloadStart() is irrelevant if you are going to be handling the downloading of the file yourself. On Mon, Aug 22, 2011 at 1:05 PM, Nick Risaro nris...@gmail.com wrote: On Mon, Aug 22, 2011 at 4:48 PM, Raziel23x raziel...@gmail.com wrote: The files on on a webpage that I want the applcation to handle not it launching the web browser The files are on a FTP server or on a HTTP server? If the server is an FTP server you can connect to the server, list the files using some API, then show the files in a listView or something like that and download it with the same API. You don't need a browser at all. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Downloading Files Directly in Webview without it opening the browser
Actually, it's the other way. You should return true on shouldOverride, but only when you've detected that your video link was clicked. At the moment, you are returning true, but loading the url to the webview yourself which defeats the purpose. On Mon, Aug 22, 2011 at 1:21 PM, Miguel Morales therevolti...@gmail.com wrote: You have to return false on shouldOverrideUrlLoading. That will prevent the browser from initiating the download. You have to move the code from onLoadResource there, and return false if you detect the video link. The onDownloadStart() is irrelevant if you are going to be handling the downloading of the file yourself. On Mon, Aug 22, 2011 at 1:05 PM, Nick Risaro nris...@gmail.com wrote: On Mon, Aug 22, 2011 at 4:48 PM, Raziel23x raziel...@gmail.com wrote: The files on on a webpage that I want the applcation to handle not it launching the web browser The files are on a FTP server or on a HTTP server? If the server is an FTP server you can connect to the server, list the files using some API, then show the files in a listView or something like that and download it with the same API. You don't need a browser at all. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Downloading Files Directly in Webview without it opening the browser
Also, there are many other mistakes in your code. Don't download the file in the UI thread, see: http://developer.android.com/resources/articles/painless-threading.html Also, don't hardcode paths: http://developer.android.com/guide/topics/data/data-storage.html On Mon, Aug 22, 2011 at 1:26 PM, Miguel Morales therevolti...@gmail.com wrote: Actually, it's the other way. You should return true on shouldOverride, but only when you've detected that your video link was clicked. At the moment, you are returning true, but loading the url to the webview yourself which defeats the purpose. On Mon, Aug 22, 2011 at 1:21 PM, Miguel Morales therevolti...@gmail.com wrote: You have to return false on shouldOverrideUrlLoading. That will prevent the browser from initiating the download. You have to move the code from onLoadResource there, and return false if you detect the video link. The onDownloadStart() is irrelevant if you are going to be handling the downloading of the file yourself. On Mon, Aug 22, 2011 at 1:05 PM, Nick Risaro nris...@gmail.com wrote: On Mon, Aug 22, 2011 at 4:48 PM, Raziel23x raziel...@gmail.com wrote: The files on on a webpage that I want the applcation to handle not it launching the web browser The files are on a FTP server or on a HTTP server? If the server is an FTP server you can connect to the server, list the files using some API, then show the files in a listView or something like that and download it with the same API. You don't need a browser at all. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Giving licenses as present.
On Monday, August 22, 2011 4:01:01 PM UTC-4, sblantipodi wrote: Hi, is it possible to give a free license of our apps to some users? I mean, can I let some people to download freely our paied apps? Is there a way to do that? If I remember correctly this was asked during one of the fireside chats at this year's google I/O, regarding gift certificates and the like similar to iTunes gift certificates. I can't recall if it was this question was outright dismissed, but I don't remember the response being positive, or any time horizon for this. As a developer I would love to be able to comp other developers or friends and colleagues who otherwise would have no use for my paid app, through the use of a free one-off download code, or even some form of gift currency. Right now the options seem to be the awkward if you buy it, I'll refund your money (not very helpful for people who actually have never purchased anything in the market before, and are loath to give their credit card info out to yet another service), and sideload this onto your phone, here's the instructions, but you wont be able to get any updates. I imagine though with the market now selling movies and music, books, etc, this concept will gain traction with the Market team. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: getOrientation() madness
On Mon, Aug 22, 2011 at 10:40 AM, Greg Donald gdon...@gmail.com wrote: From where I sit Android is becoming really hard to keep up with. I have a ton of 2.1 users still so I need to stay with API version 7. The current API is 13, that's almost double the version I need to stay at. I can't force people to upgrade or buy a new phone. Meanwhile the SDK docs show more and more non documentation for API version 7 every day due the continuing deprecation. What's a developer to do? Pick the minimum version you want to support, and focus on that. The API version is just a number. It is bumped every time there are new APIs introduced. Whether this happens 4 times in a year as a smaller series of updates, or one time as a large update, it's still the same number of APIs being added. Also each bump is a pure progression from the previous, so if you only want to think about the minimum version you want to support (let's say API 7) and the highest (let's say 13), just look at those and the fact that there are some API levels between them is irrelevant. As a general rule, we don't deprecate a method in the API unless it is (a) something developers simply should not use, (b) something developers no longer need to care about (such as APIs from 1.5), or (c) something that has an alternative for any developers who want that functionality. In the case of getOrientation(), it is trivial to use the old API instead of the new getRotation(). It was important to deprecate the old API because it was causing a lot of confusion, and doing this helps make it stand out that there is an important issue with the API. We have been deprecating a lot of other things like Activity's managed cursor APIs because we now have a much better solution (Loaders) which is usable down to 1.6 (through the support lib). This doesn't mean you can't continue to use the original API (and as a general rule I don't think the original documentation is typically removed), but for any new developer looking at the documentation it is important to direct them to a better way to go. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: market links not launching market
On Mon, Aug 22, 2011 at 12:45:49PM -0700, Raziel23x wrote: To clareafy it is on a webpage a href=market://details? id=xxx../a Do I still need to create a intent for this to workor am I just doing something wrong Thanks for posting the added informtion---that allows a quick answer (and a detailed one to explain in more detail) for you. Quick answer: if you are trying to access the Market from a web browser, use the INTERNET link. If you are trying to access it via the Market app, use the above links. Ideally, you should use a QR barcode for the above links, and for the Internet Market link, a barcode and a normal (HTML) link. More on this in a bit. MORE DETAILED ANSWER: For example, my latest app, a live wallpaper, is at: http://market.android.com/details?id=com.jdgapps.BouncingBuckies AND http://developer.soc.io/apps/Bouncing_Buckies_Live_Wallpaper AND (on the device-accessed Market) market://details?id=com.jdgapps.BouncingBuckies I was using both the first and the last (Internet Market and Android-based Market) for QR Barcodes, but then I realized that, when scanning with the free app, Barcode Scanner, both will take you to the same spot on the usual Android Market, so now I only use the first. Suggestions on making and using QR barcodes: 1) Use the free site at http://www.qrdvark.com/qr-generator/ to make them. Just enter the link, and (IMHO) follow the remaining suggestions: 2) Use 512x512 for your barcode. It takes up more screen space, but it's also easier to scan from a bit farther back---the user doesn't have to put the phone's camera right up to the screen. 3) Use the maximum amount of error correction (H). 4) On the above site, you MUST make the barcode's link TEXT, not URL. Where it asks you to enter the text for your link, enter the link itself. The click on Create QR Barcode and it'll be a bit lower on the screen. Hope this helps Later, --jim -- 73 DE N5IAL (/4)MiSTie #49997 Running FreeBSD 7.0 spooky1...@gmail.com ICBM/Hurricane: 30.44406N 86.59909W sigh, once upon a time T-1 was fast --seen in alt.sysadmin.net-abuse.email Android Apps Listing at http://www.jstrack.org/barcodes.html -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: market links not launching market
On Monday, August 22, 2011 3:45:49 PM UTC-4, Raziel23x wrote: To clareafy it is on a webpage a href=market://details? id=xxx../a Do I still need to create a intent for this to workor am I just doing something wrong try: http://market.android.com/details?id=your package name this will trigger a chooser where the user can choose to use the web , or the market app -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Is it possible to use MonkeyRunner from java
We re-factored a bunch of code to take a lot of the MonkeyRunner source and make it available as a library, specifically for people doing project similar to what you're doing. You should probably stop depending on the monkeyrunner.jar and start depending on chimpchat.jar (the new java library that encapsulates this functionality). A new example looks like this: MapString, String options = new TreeMapString, String(); options.put(backend, adb); ChimpChat chimpchat = ChimpChat.getInstance(options); IChimpDevice device = chimpchat.waitForConnection(); Which is the same snippet as before, but with the updated code. Bill On Sat, Aug 20, 2011 at 1:34 PM, Vikram smartd...@gmail.com wrote: Dear Bill, Why would I be getting the following error while trying to compile ? Exception in thread AWT-EventQueue-0 java.lang.Error: Unresolved compilation problem: Type mismatch: cannot convert from AdbBackend to IMonkeyBackend AM using what you had quoted to initiate the connection to the device. CHeers, Vikram. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: how to retrieve images from a sql database?
Well, that's an option I don't have at the moment. I have a pre- existing sql database that has to go into the application. On Aug 22, 4:09 pm, lbendlin l...@bendlin.us wrote: generally with mobile databases like SQLite it may be easier to keep the images in the RAW resource folder and only maintain the (string) pointers in the database. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: market links not launching market
On Mon, Aug 22, 2011 at 01:39:35PM -0700, Adam Ratana wrote: this will trigger a chooser where the user can choose to use the web , or the market app Ah, yes, thanks---I forgot to include that in my instructions in my previous e-mail. When you scan a barcode link to the market, as Adam indicates, it will ask you to choose whether to use a web browser or the market app. Choose the market app. Later, --jim -- 73 DE N5IAL (/4)MiSTie #49997 Running FreeBSD 7.0 spooky1...@gmail.com ICBM/Hurricane: 30.44406N 86.59909W sigh, once upon a time T-1 was fast --seen in alt.sysadmin.net-abuse.email Android Apps Listing at http://www.jstrack.org/barcodes.html -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: how to retrieve images from a sql database?
SQL what? SQLite on device, or something else server based? -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Bug in connectivityManager?
It would be nice if the documentation at least described that it can return null On Aug 16, 1:17 pm, darrinps darri...@gmail.com wrote: Does anyone know why when you advance your phone's date, say three months, into the future that the connectivityManager.getActiveNetworkInfo() returns null? I have code in my application like this NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); After setting the date into the future, networkInfo is ALWAYS null. Looking at the Android source I see this: public NetworkInfo getActiveNetworkInfo() { try { return mService.getActiveNetworkInfo(); } catch (RemoteException e) { return null; } } I guess this isn't a big issue, but as you cannot guarantee that the user has their phone set to automatic date/time update, you can see where it could be a problem. Anyone else see this or know why it occurs? To reproduce it just execute the above code after you set your phone's date up three months. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] SQLite: Tables not created onCreate without any error
Ok guys.. I've tried and tried in the hope not to be forced to bother you. but I have to :) I'm trying to do a simple thing.. creating a DB when my activity first starts: @Override public void onCreate(Bundle savedInstanceState) { currenciesDB = new CurrenciesDB(this); currenciesDB.open(); } then in my CurrenciesDB constructor/open: public CurrenciesDB(Context mCtx) { this.ctx = mCtx; } public CurrenciesDB open() throws SQLException { this.dbHelper = new CurrencyStorageHelper(this.ctx); this.db = dbHelper.getWritableDatabase(); return this; } and, as you might reckon, my CurrencyStorageHelper class extends the SQLOpenHelper class and specifically: public CurrencyStorageHelper(Context context) { super(context, DATABASE_NAME, null, DATABASE_VERSION); } @Override public void onOpen(SQLiteDatabase db) { super.onOpen(db); Log.d(TAG, Opening the database... + db.getPath() + version + db.getVersion()); db.setLockingEnabled(true); } @Override public void onCreate(SQLiteDatabase database) { database.execSQL(DATABASE_CREATE_1); Log.d(TAG, Creating table... + DATABASE_CREATE_2); database.execSQL(DATABASE_CREATE_2); Log.d(TAG, Creating table... + DATABASE_CREATE_3); database.execSQL(DATABASE_CREATE_3); insertDefinitions(database); insertInitialCurrencies(database); } What is happening here is that despite launcing the CREATE TABLE statements, nothing gets created on the database. After those statements I even insert records using SQLiteDatabase.insert. But nothing happens.. no expections and no records get created. Afterward, when I try to query the DB, I get an option saying that the table I'm trying to query doesn't (obviously) exists. I'm not a newbie developer and I've tried to debug my app as much as I can/know but I have only these clues: 1. During the debug process, the instance of SQLiteDatabase has a mStrackTrace private attribute set to DatabaseObjectNotClosedException, but obviously no cursor has been opened.. yet. 2. The db version gets set to zero :( 3. Same behaviour using the Emulator and my Samsunga Galaxy S2 2.3.3 (hence no wrong configuration of the emulator). If you had patient to go through the entire email I hope you have even one single clue on why this is happening (maybe you experienced the same problem?? ) !! Log.d(Nico, THANK YOU); Nico -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] news app
Ok, let's say you are working on a news app. So, you have a ListView with some article titles. Then, when an article is clicked you have a TextView that replaces the ListView. What is the best way to do this? I'm thinking of having the ListView and TextView on top of each other in an AbsoluteLayout and showing/hiding as needed. Or, I can create two XML files and using setContentView as needed. Any ideas? -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: how to retrieve images from a sql database?
What you're looking for in SQLite is called a BLOB (Binary Large Object) but this is usually NOT recommended, the better approach would be to add the images to your MediaStore and then store the file path in your SQLite database. Then you can retrieve the images as needed from the resource path like this: BitmapFactory.Options options = new BitmapFactory.Options(); options.inSampleSize = 2; options.inTempStorage = new byte[16*1024]; options.inJustDecodeBounds = false; Bitmap preview = BitmapFactory.decodeStream(getContentResolver().openInputStream(imagePath),null,options); Hope this helps. On Aug 22, 3:04 pm, Abhi abhishek.r.sha...@gmail.com wrote: Hi I have a database of low res images that I am trying to use for one of my applications. What I would like to do is to retrieve the images one by one and display them in a slideshow. I was told that images are stored as byte arrays in sql database. I am new to sql and looking for some direction on how to do this, what query to put and how to extract the byte array from the database for further use. Any help appreciated. Thanks, AB -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: SQLite: Tables not created onCreate without any error
If possible post a complete class file for your database helper, it's really hard to know what's happening when you show random parts from all of your classes. On Aug 22, 4:07 pm, Nico Balestra nicobales...@gmail.com wrote: Ok guys.. I've tried and tried in the hope not to be forced to bother you. but I have to :) I'm trying to do a simple thing.. creating a DB when my activity first starts: @Override public void onCreate(Bundle savedInstanceState) { currenciesDB = new CurrenciesDB(this); currenciesDB.open(); } then in my CurrenciesDB constructor/open: public CurrenciesDB(Context mCtx) { this.ctx = mCtx;} public CurrenciesDB open() throws SQLException { this.dbHelper = new CurrencyStorageHelper(this.ctx); this.db = dbHelper.getWritableDatabase(); return this; } and, as you might reckon, my CurrencyStorageHelper class extends the SQLOpenHelper class and specifically: public CurrencyStorageHelper(Context context) { super(context, DATABASE_NAME, null, DATABASE_VERSION); } @Override public void onOpen(SQLiteDatabase db) { super.onOpen(db); Log.d(TAG, Opening the database... + db.getPath() + version + db.getVersion()); db.setLockingEnabled(true);} @Override public void onCreate(SQLiteDatabase database) { database.execSQL(DATABASE_CREATE_1); Log.d(TAG, Creating table... + DATABASE_CREATE_2); database.execSQL(DATABASE_CREATE_2); Log.d(TAG, Creating table... + DATABASE_CREATE_3); database.execSQL(DATABASE_CREATE_3); insertDefinitions(database); insertInitialCurrencies(database); } What is happening here is that despite launcing the CREATE TABLE statements, nothing gets created on the database. After those statements I even insert records using SQLiteDatabase.insert. But nothing happens.. no expections and no records get created. Afterward, when I try to query the DB, I get an option saying that the table I'm trying to query doesn't (obviously) exists. I'm not a newbie developer and I've tried to debug my app as much as I can/know but I have only these clues: 1. During the debug process, the instance of SQLiteDatabase has a mStrackTrace private attribute set to DatabaseObjectNotClosedException, but obviously no cursor has been opened.. yet. 2. The db version gets set to zero :( 3. Same behaviour using the Emulator and my Samsunga Galaxy S2 2.3.3 (hence no wrong configuration of the emulator). If you had patient to go through the entire email I hope you have even one single clue on why this is happening (maybe you experienced the same problem?? ) !! Log.d(Nico, THANK YOU); Nico -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: need help on take snapshot and save
Another user asked the same question, your best option is probably to capture the image path in your onActivityResult from the camera and save this path to the database. Then you can restore this bitmap later by loading it through the BitmapFactory using decodeStream. On Aug 22, 4:45 am, sktniran sktniranjanad...@gmail.com wrote: Hi friends, i want to take snapshot and save it in database in android.i dont have any idea about this. i need some information related to this. can anyone please help to start this application? Thanks. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] news app
Seems like editing the item should be an activity. On Mon, Aug 22, 2011 at 2:30 PM, bob b...@coolgroups.com wrote: Ok, let's say you are working on a news app. So, you have a ListView with some article titles. Then, when an article is clicked you have a TextView that replaces the ListView. What is the best way to do this? I'm thinking of having the ListView and TextView on top of each other in an AbsoluteLayout and showing/hiding as needed. Or, I can create two XML files and using setContentView as needed. Any ideas? -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: SQLite: Tables not created onCreate without any error
Ok, sorry.. I didn't want to be too verbose.. This is the first part of the openHandler (the one which is in charge of opening the db and creating it).. public class CurrencyStorageHelper extends SQLiteOpenHelper { private static final String TAG = CurrencyStorageHelper; private static final int DATABASE_VERSION = 1; public static final String DATABASE_NAME = easycurrencyconverter.db; public static final String COL_ID = _id; public static final String COL_CURRENCY_CODE = currency_code; public static final String COL_CURRENCY_VALUE = currency_value; public static final String COL_LAST_UPDATE = last_update; public static final String COL_LAST_DOWNLOADED = last_downloaded; public static final String COL_IS_TARGET_CURRENCY = is_target_currency; public static final String COL_CURRENCY_POSITION = position; public static final String TABLE_DEFAULT_CURRENCIES = defaultcurrencies; public static final String TABLE_CURRENCIES = currencyhistory; public static final String TABLE_CURRENCY_DEFINITION = currencydefinition; public static final String COL_DEFINITION_CODE = code; public static final String COL_DEFINITION_FULL_NAME = full_name; private static final String DATABASE_CREATE_1 = CREATE TABLE + TABLE_CURRENCIES + ( + COL_ID + INTEGER PRIMARY KEY AUTOINCREMENT + , + COL_CURRENCY_CODE + TEXT NOT NULL + , + COL_CURRENCY_VALUE + REAL NOT NULL + , + COL_LAST_UPDATE + REAL NOT NULL + , + COL_LAST_DOWNLOADED + REAL NOT NULL); ; private static final String DATABASE_CREATE_2 = CREATE TABLE + TABLE_DEFAULT_CURRENCIES + ( + COL_ID + INTEGER PRIMARY KEY AUTOINCREMENT + , + COL_CURRENCY_CODE + TEXT NOT NULL + , + COL_CURRENCY_VALUE + REAL NOT NULL + , + COL_CURRENCY_POSITION + INTEGER NOT NULL + , + COL_LAST_UPDATE + REAL NOT NULL + , + COL_LAST_DOWNLOADED + REAL NOT NULL + , + COL_IS_TARGET_CURRENCY + NUMERIC ); ; private static final String DATABASE_CREATE_3 = CREATE TABLE + TABLE_CURRENCY_DEFINITION + ( + COL_ID + INTEGER PRIMARY KEY AUTOINCREMENT + , + COL_DEFINITION_CODE + TEXT NOT NULL + , + COL_DEFINITION_FULL_NAME + TEXT NOT NULL); ; private static final String DATABASE_DROP = DROP TABLE IF EXISTS + TABLE_CURRENCIES + ; + DROP TABLE IF EXISTS + TABLE_DEFAULT_CURRENCIES + ; + DROP TABLE IF EXISTS + TABLE_CURRENCY_DEFINITION + ;; public CurrencyStorageHelper(Context context) { super(context, DATABASE_NAME, null, DATABASE_VERSION); } @Override public void onOpen(SQLiteDatabase db) { super.onOpen(db); Log.d(TAG, Opening the database... + db.getPath() + version + db.getVersion()); db.setLockingEnabled(true); } @Override public void onCreate(SQLiteDatabase database) { Log.d(TAG, Call to onCreate); Log.d(TAG, Creating table... + DATABASE_CREATE_1); database.execSQL(DATABASE_CREATE_1); Log.d(TAG, Creating table... + DATABASE_CREATE_2); database.execSQL(DATABASE_CREATE_2); Log.d(TAG, Creating table... + DATABASE_CREATE_3); database.execSQL(DATABASE_CREATE_3); insertDefinitions(database); } @Override public void onUpgrade(SQLiteDatabase database, int oldVersion, int newVersion) { database.execSQL(DATABASE_DROP); onCreate(database); } /** * Create the default values to be shown to the user main activity when the application * is ran for the first time and no currencies have been downloaded yet. * @param database */ private void insertInitialCurrencies(SQLiteDatabase database){ int i = 1; //TODO The fact that USD is the target currency is arbitrary. Maybe we should read user's //locale to get her currency insertDefaultCurrency(database, USD, U.S. Dollar, 1, i++, true, (new Date()).getTime(), (new Date()).getTime(), true, false); insertDefaultCurrency(database, EUR, Euro, 1, i++, false, (new Date()).getTime(), (new Date()).getTime(), false, false); insertDefaultCurrency(database, GBP, British Pound, 1, i++, false, (new Date()).getTime(), (new Date()).getTime(), false, false); insertDefaultCurrency(database, JPY, Japanese Yen, 1, i++, false, (new Date()).getTime(), (new Date()).getTime(), false, false); insertDefaultCurrency(database, CNY, Chinese Yuan, 1, i++, false, (new Date()).getTime(), (new Date()).getTime(), false, false); insertDefaultCurrency(database, CHF, Swiss Franc, 1, i++, false, (new Date()).getTime(), (new Date()).getTime(), false, true); } /** * Insert a new currency value which will be shown on the user main activity. */ private void insertDefaultCurrency(SQLiteDatabase database, String currencyCode, String currencyFullName, double value, int position, boolean isTargetCurrency, long lastModifiedDate, long lastDownloadedDate, boolean startTransaction, boolean endTransaction){ ContentValues vals = new ContentValues(); vals.put(COL_CURRENCY_CODE, currencyCode); vals.put(COL_CURRENCY_VALUE, value); vals.put(COL_LAST_DOWNLOADED, lastDownloadedDate); vals.put(COL_LAST_UPDATE, lastModifiedDate); vals.put(COL_IS_TARGET_CURRENCY, (isTargetCurrency? 1 : 0));
Re: [android-developers] Question about Button
OK. Will create another image. How do I then apply this image at code level. Are you able to give me an example? Appreciate your help. Thanks -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Question about Button
You can create a selector xml file and place resource references for all the different states within it, then use the selector.xml file as your button background. Here is a push-button example ?xml version=1.0 encoding=utf-8? selector xmlns:android=http://schemas.android.com/apk/res/android; item android:state_pressed=false android:drawable=@drawable/ global_btn_off / item android:state_pressed=true android:drawable=@drawable/ global_btn_on / /selector There are many more button states available, look it up in the docs. On Aug 22, 6:58 am, Ash anan...@gmail.com wrote: Hi All, Wondering if anyone can advice me on the following. I wish to create a button which will allow me to have: 1. a color when the button is disabled 2. a color when the button is enabled but idle 3. a color when the button is enabled and pressed 4. a border which will change color upon some external activity. After reading this tutorial (http://blog.androgames.net/40/custom-button-style-and-theme/) I have to able to achieve steps 1-3. However, I am struggling to achieve step 4. Also note that step 4 will need to happen programmatically as my application implements a 3rd party observer which notifies me when a task is active. Can someone please guide me on how to achieve step 4. Ideally I would like to use the shape that is described in the above link with a border which I can control via my code? Please advice. Thanks. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Giving licenses as present.
what a raw market. On Aug 22, 10:33 pm, Adam Ratana adam.rat...@gmail.com wrote: On Monday, August 22, 2011 4:01:01 PM UTC-4, sblantipodi wrote: Hi, is it possible to give a free license of our apps to some users? I mean, can I let some people to download freely our paied apps? Is there a way to do that? If I remember correctly this was asked during one of the fireside chats at this year's google I/O, regarding gift certificates and the like similar to iTunes gift certificates. I can't recall if it was this question was outright dismissed, but I don't remember the response being positive, or any time horizon for this. As a developer I would love to be able to comp other developers or friends and colleagues who otherwise would have no use for my paid app, through the use of a free one-off download code, or even some form of gift currency. Right now the options seem to be the awkward if you buy it, I'll refund your money (not very helpful for people who actually have never purchased anything in the market before, and are loath to give their credit card info out to yet another service), and sideload this onto your phone, here's the instructions, but you wont be able to get any updates. I imagine though with the market now selling movies and music, books, etc, this concept will gain traction with the Market team. -- 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.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en