[android-developers] Fwd: Us congress hearing of maan alsaan Money laundry قضية الكونغجرس لغسيل الأموال للمليادير معن الصانع
YouTube videos of U.S. Congress money laundering hearing of Saudi Billionaire " Maan Al sanea" with *bank of America* and The owner of Saad Hospital and Schools in the Eastern Province in *Saudi Arabia* and the Chairman of the Board of Directors of Awal Bank in *Bahrain* With Arabic Subtitles *موقع اليوتيوب الذي عرض جلسة استماع الكونجرس الأمريكي * * لمتابعة نشاطات غسل الأموال ونشاطات* *السعودي معن عبدالواحد الصانع* *مالك مستشفى وشركة سعد ومدارس سعد بالمنطقة الشرقية بالسعودية ورئيس مجلس ادارة بنك اوال البحريني* *مترجم باللغة العربية* http://www.youtube.com/watch?v=mIBNnQvhU8s ... [Message clipped] -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CADi0dRK7sQgEAVougbusRsaH1g4TZGoDv-%3Dnu2V8pdVf%2B%2BAHZg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Google Maps API on Android 4.4 taking wrong location
I am using the Google Play Location API to locate my destination from my current location. My current location is picked up correctly by Android 4.0 to 4.3 but getting wrong current location in 4.4 device. If there is no fix for this, then they should deprecate the requestLocationUpdates method. Also pointing to my destination, when I type, it gives me suggestions, and when I choose the suggestion, it automatically takes wrong suggestion. For ex- I am searching for Sydney Domestic Airport and it gives me suggestion, and when I choose the ’Sydney Domestic Airport’ suggestion, Google Maps by itself start pointing to ’Sydney Airport’ and end up in wrong destination. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Regarding SlidingDrawer
This concern regarding sliding drawer, i want my slidingdrawer should open only on touch with drag , currently on touch of handle its getting opened, Please tell me alernative way or custom thing for this. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Edittext phone style not retaining
I am making an app,, in which i am setting edittext font from asset folder, and i want to share this text with other apps like whatsapp facebook, but this is not retaining its property when i am sharing. -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Gravity Center not working for Sanskrit Font
Hello Everyone... I need your help urgently.. I am working on application where I require to use Sanskrit fonts & align them in center. I am able to display sanskrit font using following code. I do specify the property for center gravity, still it is not working any more. Text is not getting proper center of the screen. Here is my code that I am using. *TextView tv = new TextView(this); * *tv.setGravity(Gravity.CENTER_HORIZONTAL**| Gravity.CENTER_VERTICAL);* *Typeface font = Typeface.createFromAsset(getAssets(), "mangal.ttf"); * *tv.setTypeface(font); * *tv.setText(R.string.string1);* * * Please help me to solve this issue. Waiting for your replies. Thank You -- 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: JellyBean problem on Long click when context menu and android:autolink= "all"
problem is that , Autolink should not work on longclick... till 4.0 its working like that. but from 4.1 its getting called on long click also. On Aug 29, 2:26 pm, Amey Bapat wrote: > yes jus change the text to google.com > it works.. > > > > > > > > > > On Wed, Aug 29, 2012 at 2:47 PM, Jason Sesso wrote: > > Change your "" to actual text. :P I bet its because it thinks > > its a phone number. > > > On Wednesday, August 29, 2012 2:08:22 AM UTC-7, Sandy wrote: > > >> I tried this also .. but the dialer coming in this case also , I think > >> its platform bug, what u say?? > > >> On Aug 29, 12:48 pm, Jason Sesso wrote: > >> > listView.**setOnItemLongClickListener(new > >> > AdapterView.**OnItemLongClickListener() { > >> > public boolean onItemLongClick(AdapterView arg0, final View arg1, > >> > int arg2, long arg3) { > >> > IN here you would put something to do > >> on > >> > long click > >> > } > > >> > } > >> > On Tuesday, August 28, 2012 9:05:58 PM UTC-7, Sandy wrote: > > >> > > Hi Please let me know asap, I am stuck. > >> > > On Aug 28, 1:32 pm, Jason Sesso wrote: > >> > > > It seems that you. Need to add the onlongclick method. I just did > >> this > >> > > recently. Ill get you an example in awhile. > > > -- > > 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 > > -- > live and let LIVE!!! -- 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: JellyBean problem on Long click when context menu and android:autolink= "all"
but i want that to be number , i want that autolink should work only in single click, but dialer is getting open in both single click and long click. On Aug 29, 2:17 pm, Jason Sesso wrote: > Change your "" to actual text. :P I bet its because it thinks > its a phone number. > > > > > > > > On Wednesday, August 29, 2012 2:08:22 AM UTC-7, Sandy wrote: > > > I tried this also .. but the dialer coming in this case also , I think > > its platform bug, what u say?? > > > On Aug 29, 12:48 pm, Jason Sesso wrote: > > > listView.setOnItemLongClickListener(new > > > AdapterView.OnItemLongClickListener() { > > > public boolean onItemLongClick(AdapterView arg0, final View arg1, > > > int arg2, long arg3) { > > > IN here you would put something to do on > > > long click > > > } > > > > } > > > On Tuesday, August 28, 2012 9:05:58 PM UTC-7, Sandy wrote: > > > > > Hi Please let me know asap, I am stuck. > > > > On Aug 28, 1:32 pm, Jason Sesso wrote: > > > > > It seems that you. Need to add the onlongclick method. I just did > > this > > > > recently. Ill get you an example in awhile. -- 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: JellyBean problem on Long click when context menu and android:autolink= "all"
I tried this also .. but the dialer coming in this case also , I think its platform bug, what u say?? On Aug 29, 12:48 pm, Jason Sesso wrote: > listView.setOnItemLongClickListener(new > AdapterView.OnItemLongClickListener() { > public boolean onItemLongClick(AdapterView arg0, final View arg1, > int arg2, long arg3) { > IN here you would put something to do on > long click > } > > > > > > > > } > On Tuesday, August 28, 2012 9:05:58 PM UTC-7, Sandy wrote: > > > Hi Please let me know asap, I am stuck. > > On Aug 28, 1:32 pm, Jason Sesso wrote: > > > It seems that you. Need to add the onlongclick method. I just did this > > recently. Ill get you an example in awhile. -- 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: JellyBean problem on Long click when context menu and android:autolink= "all"
Please post the solution asap i am stuck. On Aug 28, 1:32 pm, Jason Sesso wrote: > It seems that you. Need to add the onlongclick method. I just did this > recently. Ill get you an example in awhile. -- 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: JellyBean problem on Long click when context menu and android:autolink= "all"
Hi Please let me know asap, I am stuck. On Aug 28, 1:32 pm, Jason Sesso wrote: > It seems that you. Need to add the onlongclick method. I just did this > recently. Ill get you an example in awhile. -- 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] JellyBean problem on Long click when context menu and android:autolink= "all"
I found a strange problem on Jelly bean android 4.1 version till android 4.0 its working fine .But in android 4.1 its creating problem.. below is my Activity ackage com.sample; import android.os.Bundle; import android.app.Activity; import android.text.util.Linkify; import android.view.ContextMenu; import android.view.ContextMenu.ContextMenuInfo; import android.view.Menu; import android.view.View; import android.widget.TextView; public class MainActivity extends Activity { TextView tv; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); tv = (TextView)findViewById(R.id.sampletext); registerForContextMenu(tv); } @Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.activity_main, menu); return true; } @Override public void onCreateContextMenu(ContextMenu menu, View v,ContextMenuInfo menuInfo) { super.onCreateContextMenu(menu, v, menuInfo); // Create your context menu here tv.setAutoLinkMask(Linkify.WEB_URLS); menu.setHeaderTitle("Context Menu"); menu.add(0, v.getId(), 0, "Action 1"); } } Layout file .. http://schemas.android.com/apk/res/android"; xmlns:tools="http://schemas.android.com/tools"; android:layout_width="match_parent" android:layout_height="match_parent" > In this i declared android:autoLink="all" , and registered for context menu as well, so when long click its showing context menu and its going to dialer.. but dialer should work only on single click Please suggest me the solutions, I think the problem comes with Jelly bean android 4.1 version. -- 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: WebView and Native Browser
To load a HTML5 webpage try following settings on client side(in webview) : myWebView = new HTML5WebView(context); myWebView.clearFormData(); myWebView.clearHistory(); myWebView.clearCache(true); myWebView.getSettings().setAppCacheEnabled(true); myWebView.getSettings().setDatabaseEnabled(true); myWebView.getSettings().setDomStorageEnabled(true); myWebView.loadUrl(url); On Tuesday, April 27, 2010 7:45:19 AM UTC+5:30, thrusty wrote: > > I'm having a similar problem. Here's an example of a web page that > doesn't work within a WebView: > > https://m.gmail.com/ > > I setup my WebView in a manner similar to Nelson...even setup a > WebChromeClient that implements onExceededDatabaseQuota as suggested > previously by the PhoneGap folks. > > No luck -- the browser displays a black page with no text or > anything. This does not happen with simple pages or pages that merely > "detect" the support for HTML5 features such as http://html5test.com/ > > > On Mar 16, 10:46 am, AJ wrote: > > Hi Nelson > > Can you share the link/webpage which you are trying ? > > > > Thanks, > > AJ > > > > On Mar 16, 7:36 pm, nikhil wrote: > > > > > Normally, this works for me > > > > > webView= (WebView) findViewById(R.id.webview); > > > webView.setWebChromeClient(new WebChromeClient()); > > > webView.setWebViewClient(new WebViewClient()); > > > webView.getSettings().setJavaScriptEnabled(true); > > > webView.loadUrl(url); > > > > > On Mar 16, 10:34 am, Nelson wrote: > > > > > > Thanks for your reply. > > > > > > Yes I did: > > > > > > webView.setWebChromeClient(new WebClient(this)); > > > > WebSettings webSettings = webView.getSettings(); > > > > webSettings.setSavePassword(false); > > > > webSettings.setSaveFormData(false); > > > > webSettings.setJavaScriptEnabled(true); > > > > webSettings.setSupportZoom(false); > > > > webSettings.setDatabaseEnabled(true); > > > > > webSettings.setJavaScriptCanOpenWindowsAutomatically(true); > > > > webSettings > > > > .setDatabasePath("/data/data/ > > > > my.android.workbench.webviewoverridedemo/app_database"); > > > > webSettings.setAllowFileAccess(true); > > > > > > // workaround so that the default browser doesn't > take over > > > > webView.setWebViewClient(new MyWebViewClient()) > > > > > > Even that, the webview browser still cannot render the web page, > which > > > > can be rendered well on the native browser of Android emulator. > > > > > > Thanks, > > > > > > Nelson > > > > > > On Mar 10, 12:51 pm, nikhil wrote: > > > > > > > have you added all the clients? webviewclient,webchromeclient, > enabled > > > > > javascript etc. > > > > > > > On Mar 8, 4:08 pm, Nelson wrote: > > > > > > > > Dear All, > > > > > > > > I am working on a WebView browser on Android (like here: > http://developer.android.com/resources/tutorials/views/hello-webview) > > > > > > and trying to load a webpage with HTML5 features. However, the > page > > > > > > was not loaded very well - only part of it can be shown on the > WebView > > > > > > browser. Interestingly, this same page can be loaded by the > native > > > > > > browser of Android emulator very well. I am working on Android > 2.0. > > > > > > > > Can anyone give me some suggestions that what could the things I > can > > > > > > work on (like settings) to make my WebView browser behave same > as the > > > > > > native browser? My page has HTML 5 features as said, are there > > > > > > differences between what WebView can do and what native browser > can do > > > > > > in this regard? > > > > > > > > Thanks a millions for you guys' help. Really appreciate it. > > > > > > > > Nelson > > -- > 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] Problem booting android icecream sandwich on beagle board-xM
Hi, I'm not able to boot icecream sandwich (ICS) on beagleboard (prebuilt images) downloaded from the following site: http://code.google.com/p/rowboat/wiki/ICSonBeagleboard Android logo is appearing on the monitor for 40-50 seconds and it's getting freezed. The following message appears on the gtk terminal Texas Instruments X-Loader 1.51 (Jul 11 2011 - 21:11:32) Unsupported Chip! Beagle xM Rev A Starting X-loader on MMC Reading boot sector 213256 Bytes Read from MMC Starting OS Bootloader from MMC... Starting OS Bootloader... U-Boot 2010.06 (Jul 08 2011 - 04:37:45) OMAP34xx/35xx-GP ES2.0, CPU-OPP2 L3-165MHz OMAP3 Beagle board + LPDDR/NAND I2C: ready DRAM: 384 MiB NAND: HW ECC [Kernel/FS layout] selected 0 MiB *** Warning - bad CRC or NAND, using default environment In:serial Out: serial Err: serial Beagle xM Rev A/C Die ID #08d800211ff0015739eb0802e02b Hit any key to stop autoboot: 10 9 8 7 6 5 4 3 2 1 0 mmc1 is available reading boot.scr 479 bytes read Running bootscript from mmc ... ## Executing script at 8200 reading uImage 2745172 bytes read * Kernel: /dev/mmcblk0p1/uImage * * RootFS: /dev/mmcblk0p2 * ## Booting kernel from Legacy Image at 8200 ... Image Name: Linux-2.6.37-g06ebbba Image Type: ARM Linux Kernel Image (uncompressed) Data Size:2745108 Bytes = 2.6 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Linux version 2.6.37-g06ebbba (a0131746@swubn01) (gcc version 4.4.3 (GCC) ) #1 Fri Jul 8 04:28:11 IST 2011 CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: OMAP3 Beagle Board Reserving 8388608 bytes SDRAM for VRAM Memory policy: ECC disabled, Data cache writeback OMAP3630 ES1.1 (l2cache iva sgx neon isp 192mhz_clk ) SRAM: Mapped pa 0x4020 to va 0xfe40 size: 0x1 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 62976 Kernel command line: console=ttyO2,115200n8 androidboot.console=ttyO2 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootdelay=1 init=/init ip=off omap_vout.vid1_static_vrfb_alloc=y vram=8M omapfb.vram=0:8M omapdss.def_disp=dvi omapfb.mode=dvi:1024x768-16 PID hash table entries: 1024 (order: 0, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 248MB = 248MB total Memory: 245300k/245300k available, 16844k reserved, 0K highmem Virtual kernel memory layout: vector : 0x - 0x1000 ( 4 kB) fixmap : 0xfff0 - 0xfffe ( 896 kB) DMA : 0xffc0 - 0xffe0 ( 2 MB) vmalloc : 0xd080 - 0xf800 ( 632 MB) lowmem : 0xc000 - 0xd000 ( 256 MB) modules : 0xbf00 - 0xc000 ( 16 MB) .init : 0xc0008000 - 0xc003b000 ( 204 kB) .text : 0xc003b000 - 0xc052f000 (5072 kB) .data : 0xc053 - 0xc0574940 ( 275 kB) NR_IRQS:409 Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz Reprogramming SDRC clock to 4 Hz dpll3_m2_clk rate change failed: -22 IRQ: Found an INTC at 0xfa20 (revision 4.0) with 96 interrupts Total of 96 interrupts on 1 active controller GPMC revision 5.0 Trying to install interrupt handler for IRQ402 Trying to install interrupt handler for IRQ403 Trying to install interrupt handler for IRQ404 Trying to install interrupt handler for IRQ405 Trying to install interrupt handler for IRQ406 Trying to install interrupt handler for IRQ407 Trying to install interrupt handler for IRQ408 Trying to install type control for IRQ409 Trying to set irq flags for IRQ409 OMAP clockevent source: GPTIMER1 at 32768 Hz Console: colour dummy device 80x30 Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720) pid_max: default: 32768 minimum: 301 Security Framework initialized Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok regulator: core version 0.5 regulator: dummy: NET: Registered protocol family 16 OMAP GPIO hardware version 2.5 OMAP GPIO hardware version 2.5 OMAP GPIO hardware version 2.5 OMAP GPIO hardware version 2.5 OMAP GPIO hardware version 2.5 OMAP GPIO hardware version 2.5 omap_mux_init: Add partition: #1: core, flags: 0 OMAP3 Beagle Rev: xM Found NAND on CS0 Registering NAND on CS0 Unable to get DVI reset GPIO hw-breakpoint: debug architecture 0x4 unsupported. OMAP DMA hardware revision 5.0 bio: create slab at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb omap_device: omap_i2c.1: new worst case activate latency 0: 30517 omap_i2c omap_i2c.1: bus 1 rev4.0 at 2600 kHz twl4030: PIH (irq 7) chaining IRQs 368..375 twl4030: power (irq 373) chaining IRQs 376..383 twl4030: gpio (irq 368) chaini
[android-developers] Re: Using google map api key for production
Hi, i want to use the application using google maps for production. I want to know whether we need to pay for it?? On Dec 7, 1:53 pm, sonendra mishra wrote: > Hi > Use following link to Obtaining the MD5 fingerprint of the debug > keystorehttp://mobiforge.com/developing/story/using-google-maps-android > > if you get MD5 finger print key , note this key .and try to get Google map > api key on Google. > You will get this key easily. -- 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] Using google map api key for production
Hi, I have to develop an application which uses google maps. My company wants to deploy that application in its device. Do i need to have separate license from google to use the google map in our device? My company got a license from google for using the google maps key for a applciation to run in desktop for which they have paid. So for this android device also do we need to get a separate api key. Please help and reply ASAP. -- 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] Renderscript APIs specification
The method rsgDrawQuadTexCoords (...) takes in 20 params. I could not find any detailed API docs on what each parameter for this method represents. Anyone know of a link to API docs for all the renderscript APIs and what each argument means in these methods? Thanks, Sandy -- 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] Music beta app in HoneyComb source available?
Hi All, One thing I really like about Music beta is the way it displays multiple albums by Artist, and multiple artists by Genre. It will “stack” all of the album art one on top of another, so you can view multiple albums or artists at the same time. Also, on selecting a genre, it arranges the cards and displays the items in a neat animation. Similarly, when you close the genre, it collapses all the items and stack them into one place. I would like to know if anybody has implemented this or have ideas on how to implement this. In the music beta app, it looks like "New and recent" screen seems to be using the render script. What about other screens like "Genres" and "Artists" ? Are they using render script or open GL or just java canvas APIs? Appreciate any help and suggestions on how to implement this. Thanks, Sandy -- 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] exit application
how t exit application on a single click of a button. -- 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] multitasking implementation
I have to divide my my screen in four parts and show different activity running on different parts of screen running together.help me to do this. -- 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: Unlock thing
On May 21, 3:52 am, Justin Anderson wrote: > You can't well i use an app called 'Go SMS'.. they have a feature "Unlock screen" in the notification settings.. if they can implement it, then there is a certain possibility... Thanks, Sandeep Samdaria -- 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] regarding controlling dialogs display
Hi, I am doing an app where i have to show multiple activities in same screen by splitting the window. But when one activity is trying to show a dialog , it is showing in the middle of the screen. Is there any way to control the dialog so that it will show to the right or left but not exactly in the center. Please help me. -- 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] Regarding accessing resources of other applications
I have heard about Class loaders. By using class loaders can i access other application's resources such as Views if both applications have the same userid and both apps run in same process?? If Yes anyone tell me how to do that or where can i find some sample code ? Please its very urgent. I am going through Class Loaders but its very difficult to understand its implementation. -- 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 access other application's resources?
hi, I want to know whether can i access other application's resources like application's buttons,views etc from another application. I tried the following: res = pm.getResourcesForApplication("com.example"); int i = res.getIdentifier("button1", "id", "com.example"); But the problem is,eventhough i am getting the id properly, i am not able to access that particular view. For Ex: In one application i have a button, and from other application i want to alter the button's text..how can i achieve this? What permissions do i need to give? And in the example code above what i can do with that id if its not possible to directly alter the view in original application? -- 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] EnvironmentalReverb unsupported operation exception in android
Hi everyone, When i am trying to use EnvironmentReverb class in android 2.3 i am getting exception UnsupportedOperation. Can anyone explain why i am getting this? I am just creating a new instance and i am getting this. Thanks in advance. -- 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] Regarding Fragment Management.
Can you tell me Who is it responsible for creating fragments i.e who will call onCreateView()..etc functions? Is it taken care by Fragment Manager or Activity Manager?? And is it True that fragmentTransaction.commit() is the function responsible for creating fragments means is it that function after which fragment's lifecycle's functions will be called? -- 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 2.3 Vs 3.0
Hi siva, If a OEM is writting its own library or whatever, it should pass CTS testcases. Then only it will be a google branded phone. If it is google branded phone then it is made sure that all apps in the market are going to work. -- 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: Multiple Sliding Drawers in a ListView
there is not straight forward method for this. U have to write your own logic to see which all drawers are open and which all are closed and handle 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
[android-developers] Re: Media Player - crop video for fullscreen mode
I've a similar usecase. Has anyone figured out how this (cropping video or surface views) can be achieved? Thanks, Sandy On Jun 30, 9:41 am, TeddybearCrisis wrote: > I've got the same question though I have a slightly different use for > it. I must render only a part of thevideofullscreen. > Any Ideas? > I didn't make any experiments with the ImageView yet. Do you think it > is possible to extend it to some kind ofvideo-player? -- 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: Resize a view with animation
I tried this but it does not seem to give the same effect that I was expecting. When I set it to GONE state, this is not done as an animation but it just transitions as a single update to the new final new layout. I initially thought it is easy to do this in android because it is simple and pretty common use case, but have not found any solution so far on how to address this. Thanks, Sandy On Aug 18, 8:56 pm, Jenus Dong wrote: > You could make some subitem in the GONE state, when zoom out, set it in the > VISIBLE state; zoom in, set it in the GONE state reversily. > Hope it would be helpful. > > > > On Thu, Aug 19, 2010 at 9:39 AM, Sandy wrote: > > I would like to resize the height of a list item with a smooth > > animation i.e reduce the size from say height y to x. I've tried a > > tweened animation to scale down the view but it does not move the rest > > of the list items. Any thoughts or suggestions on how to proceed > > would be greatly appreciated. > > > Thanks, > > Sandy > > > On Aug 4, 11:32 am, Sandy wrote: > > > Is it possible to resize a view over the period of tweenanimation. I > > > do not want theviewto be scaled but it should be resized giving the > > > effect that it is zooming out and as it zooms out reveals more content > > > of theview. Is there an existing way I can use theanimation > > > framework to achieve this effect? > > > > Thanks, > > > Sandy > > > -- > > 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 > cr...@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: Resize a view with animation
I would like to resize the height of a list item with a smooth animation i.e reduce the size from say height y to x. I've tried a tweened animation to scale down the view but it does not move the rest of the list items. Any thoughts or suggestions on how to proceed would be greatly appreciated. Thanks, Sandy On Aug 4, 11:32 am, Sandy wrote: > Is it possible to resize a view over the period of tweenanimation. I > do not want theviewto be scaled but it should be resized giving the > effect that it is zooming out and as it zooms out reveals more content > of theview. Is there an existing way I can use theanimation > framework to achieve this effect? > > Thanks, > Sandy -- 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: VideoView inside a ListView
Thanks Mark. I tried other containers like HorizontalScrollView which seem to work fine when used in a ListView. I could not find anywhere in the API documentation that the video view cannot be used inside other scrolling containers hence want to confirm if this is limitation in android or a defect that need to be opened. The use case is mostly for having a gallery or list of videos (or video calls) with one active video playing at a time and user has a chance to switch between full screen and list view and navigate to the rest of the videos. Thanks, Sandy On Aug 13, 2:20 pm, Mark Murphy wrote: > On Fri, Aug 13, 2010 at 1:49 PM, Sandy wrote: > > Thanks Dianne for quick response. My requirement is to show a video > > as a list item (there is only 1 video item and rest of the items in > > the list are simple views) and the video item should scroll with the > > list. I was able to implement this using videoview inside listview and > > noticed that video plays fine when within a list. However, there were > > rendering artifacts during scrolling. I was wondering if there are any > > other alternate ways to make the video scrolling possible ?? > > I would be somewhat surprised if any sort of widget scrolling > (ScrollView, ListView) and a SurfaceView (e.g., the one used by > VideoView) will get along. > > That being said, there may be a greater chance of a ScrollView > working. Put the VideoView and other stuff in some type of layout > (e.g., LinearLayout) and put the whole thing in the ScrollView. > > Frankly, I fail to see how having a VideoView in a scrolling container > will give the user anything the user would want. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 3.1 Available! -- 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: VideoView inside a ListView
Thanks Dianne for quick response. My requirement is to show a video as a list item (there is only 1 video item and rest of the items in the list are simple views) and the video item should scroll with the list. I was able to implement this using videoview inside listview and noticed that video plays fine when within a list. However, there were rendering artifacts during scrolling. I was wondering if there are any other alternate ways to make the video scrolling possible ?? One option that I was thinking is to place the video view on top of the list view and change its position as the list scrolls. But, I don't know if it would be possible to move the video view at the same speed as list during scroll/fling. The built in android contacts application has implemented the section headers or separators (A, B, C etc) and pinned header to get a similar effect. Is the same thing possible with VideoView? Regarding your comment on recycling view, my understanding was that when you return the IGNORE_ITEM_VIEW_TYPE in the adapter method "public int getItemViewType(int position)", ListView does not recycle that view. I was thinking of implementing along these lines. Do you recommend this way? public int getItemViewType(int position) { if (isVideoViewAt(position) != 0) { // We don't want the video view to be recycled. return IGNORE_ITEM_VIEW_TYPE; } return super.getItemViewType(position); } Thanks, Sandy On Aug 12, 6:17 pm, Dianne Hackborn wrote: > Er. Just don't do that. A list view contains views that are created and > destroyed dynamically as you scroll through the list so that it doesn't need > to have an object instantiated for every single row. > > This is so very much not how you want a video view to work. > > > > > > On Thu, Aug 12, 2010 at 3:31 PM, Sandy wrote: > > I am trying to play a video via VideoView in my android application. > > The VideoView is one of items inside a ListView. Video playing > > functionality works good but when the list scroll happens, there are > > rendering artifacts at the boundaries of the list. Also, the video > > view surface changes location only after scroll/flick is complete. > > > Anyone tried this before in android? Does android allow this ? If so, > > can you please suggest of how to fix the rendering artifacts? > > > Thanks, > > Sandy > > > -- > > 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 > cr...@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] VideoView inside a ListView
I am trying to play a video via VideoView in my android application. The VideoView is one of items inside a ListView. Video playing functionality works good but when the list scroll happens, there are rendering artifacts at the boundaries of the list. Also, the video view surface changes location only after scroll/flick is complete. Anyone tried this before in android? Does android allow this ? If so, can you please suggest of how to fix the rendering artifacts? Thanks, Sandy -- 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] Resize a view with animation
Is it possible to resize a view over the period of tween animation. I do not want the view to be scaled but it should be resized giving the effect that it is zooming out and as it zooms out reveals more content of the view. Is there an existing way I can use the animation framework to achieve this effect? Thanks, Sandy -- 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] Synchronize animations on multiple view
Is it possible to animate multiple views at the same time i.e. with each child view doing some increment of tween animation? Basically I want to apply some transformations to child views but not sequentially, they should all do the transition frame by frame. Any suggestions on how to achieve this ? Thanks, Sandy -- 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] Selected listview item with a shadow effect at boundaries
Is there a way to have selected listview item appear to be on top of its adjacent list items ? Gallery seems to be supporting this. Selected list item seems to have a shadow effect at the boundaries and appears to be on top of its next and previous items. Appreciate any pointers/tip on how to achieve this or how gallery implements this. Thanks, Sandy -- 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: Bounce animation
Can someone please comment on this? Also, when height of one vertical list item is increased, it should result in the slide animation of the rest of the items in the list view (basically other items should slide down). I have noticed that list view does not support this, but any other suggestions on what is the best approach to achieve this? Thanks, Sandy On Jul 12, 5:38 pm, Sandy wrote: > I've noticed that in froyo on nexus 1, app menu thumbnail list can be > scrolled up and down and, as it's scrolled, the applications roll up > into a 3D cube instead of disappearing from the screen. Once the > bottom of the application thumbnail list is hit, the screen bounces > off similar to the iPhone functionality. > > Is the bounce effect at the boundaries of the list available on a > vertical ListView? If not, is it easy to customize this in on vertical > lists? > > Thanks, > Sandy -- 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] Bounce animation
I've noticed that in froyo on nexus 1, app menu thumbnail list can be scrolled up and down and, as it's scrolled, the applications roll up into a 3D cube instead of disappearing from the screen. Once the bottom of the application thumbnail list is hit, the screen bounces off similar to the iPhone functionality. Is the bounce effect at the boundaries of the list available on a vertical ListView? If not, is it easy to customize this in on vertical lists? Thanks, Sandy -- 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] Bounce animation
I've noticed that in froyo on nexus 1, app menu thumbnail list can be scrolled up and down and, as it's scrolled, the applications roll up into a 3D cube instead of disappearing from the screen. Once the bottom of the application thumbnail list is hit, the screen bounces off similar to the iPhone functionality. Is the bounce effect at the boundaries of the list available on a vertical ListView? If not, is it easy to customize this in on vertical lists? Thanks, Sandy -- 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] Scrolling direction and velocity
Is there an easy to know the direction of scroll (up or down for a vertical list) and the scroll velocity for ListView's? Thanks, Sandeep -- 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] Scrolling direction and velocity
Is there an easy to know the direction of scroll (up or down for a vertical list) and the scroll velocity for ListView's? Thanks, Sandeep -- 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: ListView
I was able to successfully add HorizontalScrollView to the ListView's item without having to do any custom changes. I did not fully test all the functionality but haven't seen any obvious issues so far. In some of the previous forums it was mentioned that this is not possible, what are the issues you are having when using the HorizontalScrollView within a ListView ? Just want to make sure so that I understand better if I'm missing something that will break and haven't noticed yet. I defined my list item to be something like this: http://schemas.android.com/apk/res/android"; android:orientation="vertical"> Thanks, Sandy On Jun 10, 2:29 pm, Sandy wrote: > I was thinking more along these lines i.e. have a bunch of buttons > that are added to the list item and then move these items on a gesture > by repainting the list item couple of times but I dont know if this > will work. > > 1. Have a custom list item component which has linear layout of > buttons. > 2. Listen to horizontal gesture events in aListVIew > 3. Animate the list view programmatically to move the buttons on a > horizontal gesture > > If you have ideas for how to make this work without using a secondlistviewor > horizontalscrollview , please suggest. > > Thanks, > Sandy > > On Jun 10, 6:06 am, Mark Murphy wrote: > > > > > Sandy wrote: > > > Actually the link I was referring to was horizontalscrollview within a > > > scrollview (NOT alistviewlike i mentioned below). Here it is: > > > >http://stackoverflow.com/questions/2646028/android-horizontalscrollvi... > > > > This will not work for me because the functionality I desire to have > > > is a verticalListViewwith 100 list items and the selected item will > > > have few buttons (around 10) which can be scrolled horizontally. > > > I will be stunned if a HorizontalScrollView will work in aListViewrow. > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > _The Busy Coder's Guide to Android Development_ Version 3.1 > > Available!- Hide quoted text - > > - Show quoted text - -- 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: ListView
I was thinking more along these lines i.e. have a bunch of buttons that are added to the list item and then move these items on a gesture by repainting the list item couple of times but I dont know if this will work. 1. Have a custom list item component which has linear layout of buttons. 2. Listen to horizontal gesture events in a ListVIew 3. Animate the list view programmatically to move the buttons on a horizontal gesture If you have ideas for how to make this work without using a second listview or horizontalscrollview , please suggest. Thanks, Sandy On Jun 10, 6:06 am, Mark Murphy wrote: > Sandy wrote: > > Actually the link I was referring to was horizontalscrollview within a > > scrollview (NOT a listview like i mentioned below). Here it is: > > >http://stackoverflow.com/questions/2646028/android-horizontalscrollvi... > > > This will not work for me because the functionality I desire to have > > is a vertical ListView with 100 list items and the selected item will > > have few buttons (around 10) which can be scrolled horizontally. > > I will be stunned if a HorizontalScrollView will work in a ListView row. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 3.1 > Available! -- 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: ListView
Actually the link I was referring to was horizontalscrollview within a scrollview (NOT a listview like i mentioned below). Here it is: http://stackoverflow.com/questions/2646028/android-horizontalscrollview-within-scrollview-touch-handling This will not work for me because the functionality I desire to have is a vertical ListView with 100 list items and the selected item will have few buttons (around 10) which can be scrolled horizontally. Thanks, Sandy On Jun 9, 6:02 pm, Mark Murphy wrote: > Sandy wrote: > > I read in few articles about using HorizontalScrollView within a > > ListView to achive horzintal scroll within a vertical list item. Has > > anyone tried this ? > > Please provide links. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android Training...At Your Office:http://commonsware.com/training -- 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: ListView
I read in few articles about using HorizontalScrollView within a ListView to achive horzintal scroll within a vertical list item. Has anyone tried this ? Thanks, Sandy On Jun 9, 11:24 am, Sandy wrote: > Would it possible to have a gallary inside a ListView? > > Thanks, > Sandy > > On Jun 9, 10:01 am, TreKing wrote: > > > > > On Tue, Jun 8, 2010 at 9:19 PM, schwiz wrote: > > > There has got to be an example of this somewhere in the source code > > > to Launcher2 or somewhere in the 2.x framework, this is exactly what they > > > do for contacts in 2.x > > > What they do for contacts, I believe, is a PopupWindow, not another ListView > > embedded in a the main ListView, which I really don't think is possible > > anyway since you can't have a scrollable item inside another scrollable > > item. > > > --- > > -- > > TreKing - Chicago transit tracking app for Android-powered > > deviceshttp://sites.google.com/site/rezmobileapps/treking -- 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: ListView
Would it possible to have a gallary inside a ListView? Thanks, Sandy On Jun 9, 10:01 am, TreKing wrote: > On Tue, Jun 8, 2010 at 9:19 PM, schwiz wrote: > > There has got to be an example of this somewhere in the source code > > to Launcher2 or somewhere in the 2.x framework, this is exactly what they > > do for contacts in 2.x > > What they do for contacts, I believe, is a PopupWindow, not another ListView > embedded in a the main ListView, which I really don't think is possible > anyway since you can't have a scrollable item inside another scrollable > item. > > --- > -- > TreKing - Chicago transit tracking app for Android-powered > deviceshttp://sites.google.com/site/rezmobileapps/treking -- 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: ListView
Any tips on how to do this ? On Jun 8, 2:24 pm, Sandy wrote: > Is it possible to have a horizontal list view with an vertical list > view? I would like to horizontal list scroll within a vertical list > scroll. Any suggestions please? > > |-| > | ListItem | > |--| > | ListItem | > |-| > | ListItem | > |-| > | ListItem | > | -- -- | > | | LI | LI | LI | | > | | > || > | ListItem | > || > > LI - stands for horizontal listview item > > Thanks, > Sandy -- 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
Is it possible to have a horizontal list view with an vertical list view? I would like to horizontal list scroll within a vertical list scroll. Any suggestions please? |-| | ListItem | |--| | ListItem | |-| | ListItem | |-| | ListItem | | -- -- | | | LI | LI | LI || | | || | ListItem | || LI - stands for horizontal listview item Thanks, Sandy -- 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] Creating a Test projects using ANT for an existing android project
Hi, I created a new android test project with the android tool android create test-project -m -n -p I followed the instructions from this site to generate the ant files for the existing eclipse test project. http://developer.android.com/guide/developing/testing/testing_otheride.html But when I compile the test project using “ant run-tests” target I got the following error: “taskdef class com.android.ant.SetupTask cannot be found...” I would greatly appreciate your advice on this if you can give me any suggestions. Thanks, Sandy -- 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] Building app outside android source tree
I'd like to have a separate android project outside the android source tree for my application but would like to be included as part of the android platform build. The idea is to replace the built-in contacts app with my custom contacts application which is outside the android src tree. When I try to build my app outside using the "mm" function, it gives this error "Couldn't locate the top of the tree. Try setting TOP." Anyway to fix this issue? or any other suggestions on how to build application outside the android src tree (I dont want to use eclipse though) ? Thanks, Sandy -- 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: Development and debugging tools
Can someone please help answer these questions? On Apr 29, 2:41 pm, Sandy wrote: > I'm trying to figure out a way to do the following in android, > appreciate any help on this. > > 1. How to generate a Full Java stack trace (basically thread stack) in > Android. In J2SE, we use to use something like this - send a signal > to the JVM; the JVM generates a stack trace for you; or we can also > usedebuggingtools or Java API calls like Thread.dumpStack. What are > the android equivalents to get the same output? > . > 2. How to generate a java heap dump? And are there any tools to > analyze the heap dumps ? > > 3. Does thread and heap dump be generated if the Application crashes > due to a segment violation ? Where does the core files be generated? > > 4. Are there any profiling APIs in android APIs that will allow to > measure the UI performance and responsiveness (basically times taken > to launch an activity/application and also times taken to scroll a > list)? > > 5. Is there a tool similar to hprof that is available in J2SE for CPU > usage, heap allocation statistics etc? > > 6. Tool on GC activities.. > > Thanks in advance, > Sandy > > -- > 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 > athttp://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] Development and debugging tools
I'm trying to figure out a way to do the following in android, appreciate any help on this. 1. How to generate a Full Java stack trace (basically thread stack) in Android. In J2SE, we use to use something like this - send a signal to the JVM; the JVM generates a stack trace for you; or we can also use debugging tools or Java API calls like Thread.dumpStack. What are the android equivalents to get the same output? . 2. How to generate a java heap dump? And are there any tools to analyze the heap dumps ? 3. Does thread and heap dump be generated if the Application crashes due to a segment violation ? Where does the core files be generated? 4. Are there any profiling APIs in android APIs that will allow to measure the UI performance and responsiveness (basically times taken to launch an activity/application and also times taken to scroll a list)? 5. Is there a tool similar to hprof that is available in J2SE for CPU usage, heap allocation statistics etc? 6. Tool on GC activities.. Thanks in advance, Sandy -- 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] Development and debugging tools
Is there a way to achieve the following in Android? 1. generate a Java stack trace in Android. In J2SE, we use to use something like this - send a signal to the Java Virtual Machine; the Java Virtual Machine generates a stack trace for you; or we can also use debugging tools or Java API calls. -- 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 for list view
Hi all I call setBackgroundResource to set background for list adapter. it works fine. But the highlight will be disappear. I have to reset setBackgroundResource (0) to show highlight . how to resolved this issue? thanks -Sandy -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Using java surface on the native side
Basically I'm trying to pass the surface which is created by Java Application to my native library. When I use the GetIntField() function to get the surface object (ISurface) function, the object passed by app is becoimg null. Anyone faced similar issues? Thanks, Sandeep On Mar 18, 2:31 pm, Sandy wrote: > I'm having issues when trying to use the java surface on the native > side. However, when I create the surface on the native side, the media > playback is fine. > > The following are the things that I'm doing in my code: > > 1. Creating a Surface View and getting the Surface from the Surface > Holder from the application layer. > 2. Using JNI, pass the Surface Holder object to your native > application. > 3. Use this object to obtain Surface object > > However, the sufracehandle is null in the JNI. Have anyone faced > similar issues ? Any workarounds or suggestions on how to fix this > issue? > > My code would look like: > > Player.java: > Class Player > { > Surface mSurface; > private SurfaceView surfaceView; > private SurfaceHolder surfaceHolder; > native void play (); > > onCreate () > { > surfaceView = (SurfaceView) > findViewById(R.id.SurfaceViewRendererSurface); > surfaceHolder = surfaceView.getHolder(); > surfaceHolder.addCallback(this); > surfaceHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); > /* Populate mSurface object here. */ > mSurface = surfaceHolder.getSurface (); > .. > play (); > .. > > } > } > > Player.cpp: > . > . > struct fields_t { > jfieldID surface; > jfieldID surface_native;}; > > static fields_t fields; > > static sp get_surface(JNIEnv* env, jobject thiz) { > Surface* const p = (Surface*)env->GetIntField(thiz, > fields.surface_native); > return sp(p); > > } > > jint Java_com_test_Media_Media_play (JNIEnv *env, jobject thiz) > { > sp nSurfaceHandle; > jobject surface = env->GetObjectField(thiz, fields.surface); > > if (surface != NULL) { > const sp& native_surface = get_surface(env, surface); > nSurfaceHandle = native_surface; > > if (nSurfaceHandle == NULL) > { > LOGE ("ERROR :: Surface Handle NULL"); > > } > } > return 0; > } > > Thanks in advance. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Using java surface on the native side
I'm having issues when trying to use the java surface on the native side. However, when I create the surface on the native side, the media playback is fine. The following are the things that I'm doing in my code: 1. Creating a Surface View and getting the Surface from the Surface Holder from the application layer. 2. Using JNI, pass the Surface Holder object to your native application. 3. Use this object to obtain Surface object However, the sufracehandle is null in the JNI. Have anyone faced similar issues ? Any workarounds or suggestions on how to fix this issue? My code would look like: Player.java: Class Player { Surface mSurface; private SurfaceView surfaceView; private SurfaceHolder surfaceHolder; native void play (); onCreate () { surfaceView = (SurfaceView) findViewById(R.id.SurfaceViewRendererSurface); surfaceHolder = surfaceView.getHolder(); surfaceHolder.addCallback(this); surfaceHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); /* Populate mSurface object here. */ mSurface = surfaceHolder.getSurface (); .. play (); .. } } Player.cpp: . . struct fields_t { jfieldID surface; jfieldID surface_native; }; static fields_t fields; static sp get_surface(JNIEnv* env, jobject thiz) { Surface* const p = (Surface*)env->GetIntField(thiz, fields.surface_native); return sp(p); } jint Java_com_test_Media_Media_play (JNIEnv *env, jobject thiz) { sp nSurfaceHandle; jobject surface = env->GetObjectField(thiz, fields.surface); if (surface != NULL) { const sp& native_surface = get_surface(env, surface); nSurfaceHandle = native_surface; if (nSurfaceHandle == NULL) { LOGE ("ERROR :: Surface Handle NULL"); } } return 0; } Thanks in advance. -- 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] Fonts
I would like to have the flexibility of using the bold and normal styles from 2 separate font files, but I am unclear how to accomplish this. Is there some special configuration required in android that permits the flexibility to pick the regular font style from one font file (.ttf file) and bold font style from a different font file (.ttf file) ? Also, is it possible to include a custom font with my application that all of my views (TextView, EditText etc) can use by default without having to go through each view and set the typeface ? or if there is a way to change the system default font used by the android ? Thanks, in advance, for any information you can provide on this subject. -- 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] strange exception when calling getBlob
Hi all I'm using blob to store encoded byte data. It could be stored. But when I try to read it ,application throws android.database.sqlite.SQLiteException: unknown error: INTEGER data in getBlob_native. I just try to change other way to encode byte data and then put it in blob field , the exception will gone. I really want to know why i got this exception. thanks -Sandy -- 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] Video overlays and PIP
One of the things I'm trying to design is a Picture in Picture, or PiP, effect which displays one video playing on the "full screen" while another plays as an insert. This is the same type of effect you see when watching a news program on TV in which the commentator is shown sitting at a desk and recorded footage is shown in a "box" on the same screen. However, in my use-case, the full screen is a camera preview and the PIP window is the video playback. Apart from the PIP overlay I want to overlap some buttons like pause, resume to control the preview settings. The camera preview uses a SurfaceView and Camera classes and video playback uses the VideoView as in the samples. But not sure how the overlapping windows can be achieved. I have looked through the reference docs and did not find any explanation on what is the best way is to achieve overlays. Maybe multiple SurfaceViews is more suited for this, can someone please comment on the use-case that I have described above and suggest any ideas on how to achieve this. Thanks, Sandy -- 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 UI questions
I am pretty new to Android and have a couple of questions: 1. Is it possible to drag and drop a UI widget from one activity to another activity? 2. Does android support multiple non fullscreen applications running active concurently (say a browser and phone screen next to each other)? 3. Is it possible to customize the home screen instead of going with android default home screen? If so, can we change the layout and widgets in that screen completely? Waiting for your valuable inputs. 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: Android XMLRPC client
seems there has some bugs when parsering struct data. On Wed, Apr 8, 2009 at 4:05 PM, Saravanan.K wrote: > > Thanks for the reply..I will try there... Also if anyone has used > this... please reply > > Marco if you have any other method to access a WSDL please let me know > so that i can try that also > > Thank you > > > --~--~-~--~~~---~--~~ 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: why I can't access http://developer.android.com
sorry gfw On Mon, Mar 30, 2009 at 10:51 PM, Sandy wrote: > please try opera 10 with opera turbo + OpenDns > It can help you break the GWF > > > On Mon, Mar 30, 2009 at 9:58 PM, Daliang Luo wrote: >> Why? >> >> 2009/3/29 meaglith >>> >>> All the appspot proxy server blocked. >>> >>> On Fri, Mar 27, 2009 at 7:41 PM, John wrote: >>>> >>>> it doesn't matter, you can access it via proxy server. >>>> >>>> John >>>> >>>> On Mar 27, 2:34 pm, Eric Chan wrote: >>>> > If you being China Mainland , it is blocked. >>>> > >>>> > Best Regards >>>> > >>>> > Eric Chan >>>> > >>>> > 2009/3/27 >>>> > >>>> > > I met this problem too. >>>> > >>>> > > -Original Message- >>>> > > From: android-developers@googlegroups.com [mailto: >>>> > > android-develop...@googlegroups.com] On Behalf Of kingfu >>>> > > Sent: Friday, March 27, 2009 2:09 PM >>>> > > To: Android Developers >>>> > > Subject: [android-developers] why I can't access >>>> > >http://developer.android.com >>>> > >>>> > > Now I am in China. >>>> >>>> >>> >>> >>> >> >> >> >> >> > --~--~-~--~~~---~--~~ 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: why I can't access http://developer.android.com
please try opera 10 with opera turbo + OpenDns It can help you break the GWF On Mon, Mar 30, 2009 at 9:58 PM, Daliang Luo wrote: > Why? > > 2009/3/29 meaglith >> >> All the appspot proxy server blocked. >> >> On Fri, Mar 27, 2009 at 7:41 PM, John wrote: >>> >>> it doesn't matter, you can access it via proxy server. >>> >>> John >>> >>> On Mar 27, 2:34 pm, Eric Chan wrote: >>> > If you being China Mainland , it is blocked. >>> > >>> > Best Regards >>> > >>> > Eric Chan >>> > >>> > 2009/3/27 >>> > >>> > > I met this problem too. >>> > >>> > > -Original Message- >>> > > From: android-developers@googlegroups.com [mailto: >>> > > android-develop...@googlegroups.com] On Behalf Of kingfu >>> > > Sent: Friday, March 27, 2009 2:09 PM >>> > > To: Android Developers >>> > > Subject: [android-developers] why I can't access >>> > >http://developer.android.com >>> > >>> > > Now I am in China. >>> >>> >> >> >> > > > > > --~--~-~--~~~---~--~~ 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] cannot compile source with OoO issue.
Hi All I experienced one issue when I try to build my app. java.lang.OutOfMemoryError: Java heap space : at com.android.dx.ssa.SsaMethod.getGoto(Ssa Method.java :231) .. ... Thanks Sandy --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---