Re: [android-developers] ActionBar on 2.3 API

2012-08-29 Thread Raghav Sood
Use ActionBarSherlock. Raghav Sood Sent from my Nexus 7 On Aug 30, 2012 12:02 PM, "Copa" wrote: > Hi, > > I'm developing an app to 2.3 API level, and I want to implement an > ActionBar (with dropdown list) on it, like is present on patterns for > Android 4.0. But this is just possible on API =>4

[android-developers] Re: how to get event by broadcast receiver when application installed first time?

2012-08-29 Thread assaf passal
On Thursday, June 16, 2011 9:04:39 AM UTC+3, Hitendrasinh Gohil wrote: > > Hi, > > I m just trying to get event through broadcast receiver when > application installed firsttime. > > Here is my broadcastreceiver class. > public class LaunchReceiver extends BroadcastReceiver > { > pub

Re: [android-developers] Get activity class instance

2012-08-29 Thread Stephen Shaw
On Wed, Aug 29, 2012 at 9:47 AM, TreKing wrote: > On Wed, Aug 29, 2012 at 3:00 AM, Filipe wrote: >> >> I would really prefer to access the MyActivityB class public variables. > > > If you explain why you want to do things this way, someone can probably > suggest a better alternative. > I'd say g

[android-developers] Problem with Galaxy Mini 2 ADB

2012-08-29 Thread Girafe
Hi Everybody! I have a little (or big?) problem. I would like to develop application on Samsung Galaxy Mini 2. But the ADB driver isn't work. My Op system is Windows Xp. Eclipse and Emulator and anything else are running fine, so The only problem with ADB driver. Which ADB driver can be prope

[android-developers] Re: merge images

2012-08-29 Thread Chandra Sekhar Nayak
I hope the below link will help you. http://androidattop.blogspot.com/ On Tuesday, 15 September 2009 12:11:35 UTC+5:30, chan wrote: > > can you give some sample codes for merge several images into a one > single image.. > Thank you advance -- You received this message because you are subscrib

[android-developers] Android 4.1.1 errors

2012-08-29 Thread Mihai
Hi, i have google nexus s and one month ago the "system update available" pops up to upgrade my icecraem sandwich to jelly bean. First i was so enthusiastic because whats new its better BUT it wasnt. Since then my phone is so slow and it barely respond to some commands for the first time...even

[android-developers] Adding virtual device on Emulator.

2012-08-29 Thread Mun won Choi
Hi All. I want to add virtual device on emulator. so I have built SDK on platform source. And I am searching about goldfish in googling But I don't know how to approach it. Please help me anyone, anything. Thanks, MW -- You received this message because you are subscribed to the Google Groups

[android-developers] Uploading large size files to server using HttpUrlConnection in Android

2012-08-29 Thread Raj
Hi: If we use HttpUrlConnection for uploading large MB files (20 MB) with PUT method, getting out of memory error. We have used the method setFixedLengthOnStream() to over come from Out of Memory error. However the response from server is coming as 411 (CONTENT_LENGTH NOT FOUND), though we hav

[android-developers] android-sdk dose not running on win8

2012-08-29 Thread Wei Hao
I installed win8 yesterday, and of course I setup android sdk immediately. But it cannot run. After double-click it SDK.exe or AVD.exe, it activates a cmd window and disappear right away. That is all. it was not running.T_T . who knows how to solve this issue? -- You received this message beca

[android-developers] Insert an Image from the gallery on a button in Android

2012-08-29 Thread noobDevv
Im trying to do this: protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); if (requestCode == 1 && resultCode == RESULT_OK && null != data) { Uri selectedImage = data.getData(); String[] fi

[android-developers] How to support vietnamese language when upload android app

2012-08-29 Thread thegioisach
I'm vietnamese I'm using vietnamese in app. When i upload my app to google play, i don't see vietnamese in list of language. So how can i upload my app with vietnamese. Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] Concurrent 3G and WiFi : Socket creation problem

2012-08-29 Thread glex
I am aware that concurrent usage of WiFi and 3G/4G is not supported on Android devices right now. I am working on a research project which tries to analyse the pros and cons for the same. I used the approach used by Android WiFi tether to reload the WiFi driver and configure the routing table a

[android-developers] Re: How to set the bitmap to Transparent

2012-08-29 Thread Nitin choudhary
Thanks, its help me a lot. Nitin Choudhary On Monday, April 2, 2012 9:24:47 PM UTC+5:30, Perry168 wrote: > > hi, > > I used following method to create a canvas. > > temp = Bitmap.createBitmap(thisWidth, thisHeight, Config.ARGB_); > Canvas thisCanvas = new Canvas(temp); > > I don't know wh

[android-developers] Positive reviews being sold in spam email

2012-08-29 Thread Rich Woods
Hello Android developer community, I've just received an email from a company that I won't name here that is offering positive Play store reviews for sale. This "service" perverts the review system on the Play store and I'd like to report the business to Google. What would be the best way to

[android-developers] Re: Google analytics crash

2012-08-29 Thread David Bradley
I hit the same exception. From reading about SQLite it appears to be creating separate database connections from two different threads can lead to this. I'm not sure if that's the case, but from the previous poster talking about posting the events at a later time I could see that might be. Whil

[android-developers] Database of Android Games/Apps

2012-08-29 Thread Corey Eadie
I was wondering if anyone knows of a way to download and maintain a database of Android games and apps. Does Google offer any sort of API's to access the information similar to what Apple offers with their App Store? If not, does anyone know of any services that would be able to provide a lis

[android-developers] Android NDK superuser permissions

2012-08-29 Thread Alvin Schurman
Can someone tell me how to run a native c program on the android as root? Giving the java wrapper superuser permissions seems to still result in a permission denied error in the c program. Thanks, A -- You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] ActionBar on 2.3 API

2012-08-29 Thread Copa
Hi, I'm developing an app to 2.3 API level, and I want to implement an ActionBar (with dropdown list) on it, like is present on patterns for Android 4.0. But this is just possible on API =>4.0. It is possible create this ActionBar in an application with API 2.3 using some library for that or s

[android-developers] JDBC Connectivity through Android

2012-08-29 Thread Arpit parikh
Guys, Is it possible to connect JDBC connectivity through android emulator?I have been tried a lot but could get success. I have been tried following code : package com.da; import java.sql.*; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class

[android-developers] how to show the database(ListView) from another activity

2012-08-29 Thread MY Anggara
hi guys, i'm just a newbie in android world. i got a problem about to show my database as a ListView from another activity. 1. i have ActivityA that i use to insert a value. and in this activity i use to send data to ActivityB. 2. i have ActivityB as a ListView that show a database of input data

[android-developers] Locking Android O.S. on Tablet

2012-08-29 Thread Ayse Karahasan
I have a question. We developed an android application for its working on Tablet. The user could not use any other application and services on the Tablet than this application. I need lock all Android O.S. spesifications plus bottom navigations etc. Any application or solution ? -- You receiv

[android-developers] how to get public API's

2012-08-29 Thread Ana
Hi all, i want to develop one app using web services.but i am stuck on "How to get api's" of any entity. For simplicity i will briefly explain my idea .suppose i want to tell user that ,which is the nearest domino's pizza center for you using location.but problem is how to get domino's cent

Re: [android-developers] Re: USB Extension Cables Breaks USB Driver/ADB Composite Device

2012-08-29 Thread Ralph Brickley
I think you nailed it. I bought a nice powered hub and had the same problem. The hub does get me closer but still had to use stock cable. I have a nice Scoshe USB 6' cable but obviously it's not nice enough On Aug 29, 2012 4:48 PM, "Lew" wrote: > Not all USB cables are equal. Make sure your

Re: [android-developers] How to hide android application icon

2012-08-29 Thread Asheesh Arya
then try to solve his query instead creating nonsenses here!! -- 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-dev

[android-developers] Not able to download Google play services in extras folder

2012-08-29 Thread ANKUR GOEL
Hi all , i just updated the extras folder with Google play services ..but it says not able to download folder . Can anybody help is something wrong with server . Thanks Ankur Goel -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

Re: [android-developers] how to apply validation in android

2012-08-29 Thread vinay kumar
You can do the same in either of the ways By using addTextChangeListiner or by defining your own function and check the validation when ever user try to access the Edittext input check the following links for more details. http://developer.android.com/reference/android/widget/TextView.html#addTex

[android-developers] Re: how to apply validation in android

2012-08-29 Thread skink
Sadhna Upadhyay wrote: > Hi everybode, > > please tell me how to apply validation on edit text box,for > email,numeric,phon num etc/ > see http://developer.android.com/reference/android/text/InputType.html and android:inputType attribute pskink -- You received this message because you are su

[android-developers] how to apply validation in android

2012-08-29 Thread Sadhna Upadhyay
Hi everybode, please tell me how to apply validation on edit text box,for email,numeric,phon num etc/ i have this link but dont know how to implement how to compare wuth edittext this is link,but dont know how to implement.pls help me public boolean validateEmail(String email) { Pattern

[android-developers] Re: Passing information between two Fragments (Map Fragment and List Fragment)

2012-08-29 Thread metal mikey
have a look at how I've passed data around in the example app that's part of android-tandemactivities library (it's largely based off inazaruk's method, but goes a bit further): https://github.com/coreform/android-tandemactivities Effectively you just need to bundle the data and pass it when yo

Re: [android-developers] how to get value from database in android

2012-08-29 Thread Sadhna Upadhyay
how to make connectoin with data On Thu, Aug 30, 2012 at 9:32 AM, ravi saini wrote: > first make the connection with database i.e sqlite so first create the > connection and after execute query to get the data and put it in cursor and > from cursor you can get the data > > -- > You received t

[android-developers] Re: Provide pptx support in my app

2012-08-29 Thread prateek
yes, i have verified this issue also but still no solution. On Wednesday, August 29, 2012 5:48:44 PM UTC+5:30, sparky wrote: > > Try to verify that you aren't including any library twice. > > On Aug 29, 8:31 am, prateek wrote: > > Hello, I am trying to give pptx support in my app by converting

Re: [android-developers] Implementing ScheduledExecutorService (or an alternative)

2012-08-29 Thread Kristopher Micinski
good point :-) kris On Wed, Aug 29, 2012 at 11:56 PM, TreKing wrote: > On Wed, Aug 29, 2012 at 10:49 PM, Jason Hsu wrote: >> >> This app has a settings page, and I want it to AUTOMATICALLY update the >> status of the WiFi, Bluetooth, and GPS functions (on or off). The Bluetooth >> status and t

Re: [android-developers] how to get value from database in android

2012-08-29 Thread ravi saini
first make the connection with database i.e sqlite so first create the connection and after execute query to get the data and put it in cursor and from cursor you can get the data -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to t

[android-developers] anyway to zoom in webview and to scroll complete content in both side(vertically and horizontally)

2012-08-29 Thread ravi saini
i am working with HTML webpages in web-view android so here i want to zoom the page on click of zoom button(i.e zoom level 30%,100%,200% ,300% etc) but i am not finding any function to zoom the page in webview upon the value i am passing like 30 for 30% etc. So i used scaling in web-view ,i s

[android-developers] how to get value from database in android

2012-08-29 Thread Sadhna Upadhyay
Hi everibody, i am making an app in which i have to save the data in database retrieve,and also put a cross button in every row so that when user click on cross button that particular row(item) should be deleted. please help me if any one have idea. Thanks Sadhana. -- You received this

Re: [android-developers] Implementing ScheduledExecutorService (or an alternative)

2012-08-29 Thread TreKing
On Wed, Aug 29, 2012 at 10:49 PM, Jason Hsu wrote: > This app has a settings page, and I want it to AUTOMATICALLY update the > status of the WiFi, Bluetooth, and GPS functions (on or off). The > Bluetooth status and the GPS status lag the action of clicking the > Enable/Disable buttons and thus

Re: [android-developers] Implementing ScheduledExecutorService (or an alternative)

2012-08-29 Thread Kristopher Micinski
Using an AlarmManager, kris On Wed, Aug 29, 2012 at 11:49 PM, Jason Hsu wrote: > What is the best way to make an Android app AUTOMATICALLY execute a series > of certain commands periodically? > > I just published an app called the Battery Saver Flashlight. The source > code is on GitHub at http

[android-developers] Implementing ScheduledExecutorService (or an alternative)

2012-08-29 Thread Jason Hsu
What is the best way to make an Android app AUTOMATICALLY execute a series of certain commands periodically? I just published an app called the Battery Saver Flashlight. The source code is on GitHub at https://github.com/jhsu-android/BatterySaverFlashlight . This app has a settings page, and

[android-developers] How to show scrollbar for a customizing view which is not drawn whole content

2012-08-29 Thread xeagle
I implement a customizing view and draw the content of view in "onDraw()". I draw only one page of content in "onDraw()". Now, I need show a scrollbar for this view. As I know, any view can support scrollbar. However, you must draw whole content of the view in "onDraw()" and use "scrollTo()" t

Re: [android-developers] How can I reach Google Play developer support team via phone (EU/Israel)?

2012-08-29 Thread John Coryat
I got a good laugh from that. Really though, if you need to talk to someone on the phone, you're probably lost. There are so many resources available both free and paid online. Remember, Google is your friend! -John Coryat On Wednesday, August 29, 2012 2:46:35 PM UTC-5, MagouyaWare wrote: > >

Re: [android-developers] Handle MIC icon click

2012-08-29 Thread TreKing
On Wed, Aug 29, 2012 at 7:49 AM, dhiren patel wrote: > I am not able to get the keycode of the MIC icon or how should I handle > the MIC icon click event? You don't, as you're not the keyboard. What you would do is handle whatever intent is generated when the user clicks that Mic icon and allow

[android-developers] PhoneStateListener not getting called on Registration with listen

2012-08-29 Thread Edmund
Hi All, I was wondering if anyone had seen the same behavior or know what's wrong. I am trying to register my PhoneStateListener to listen for ServiceState changes using the TelephonyManager System Service and it is not being called on the initial registration with the 'tm.listen(...,...)' as t

[android-developers] Re: Merging Bundles

2012-08-29 Thread Kevin
Looked at the source, it overwrites. On Wednesday, August 29, 2012 3:01:50 PM UTC-7, Kevin wrote: > > I want to merge two Bundles in my app. I see that there's a putAll method > in the Bundle that I could use. How does this method handle duplicate > keys? Most of the two bundles will be dupli

[android-developers] Re: USB Extension Cables Breaks USB Driver/ADB Composite Device

2012-08-29 Thread Lew
Not all USB cables are equal. Make sure your extender cable is at least USB-2 and is of good quality. I use an extender cable on my home system and I've successfully connected four different Android phones and a Motorola tablet to my computer through it. I've also used various flavors of exten

Re: [android-developers] Merging Bundles

2012-08-29 Thread Justin Anderson
Ummm... why not just create two bundles as a test case, put some dummy values in them, and look at the behavior of putAll()? You can do that all in one method... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Aug 29, 2012 at 4:40 PM, Kevin wrote:

[android-developers] Re: USB Extension Cables Breaks USB Driver/ADB Composite Device

2012-08-29 Thread TopSoft
Thanks for the insights. I'll try a powered USB hub and see if that helps. On Wednesday, August 29, 2012 2:40:09 PM UTC-7, bob wrote: > > Maybe buy a longer microUSB cable? > > > > On Wednesday, August 29, 2012 1:18:12 PM UTC-5, TopSoft wrote: >> >> Hello >> >> I'm getting into Android developme

Re: [android-developers] Merging Bundles

2012-08-29 Thread Kevin
Well no, because I haven't figured out how to get the two bundles in the same place at the same time yet... On Wednesday, August 29, 2012 3:17:29 PM UTC-7, MagouyaWare wrote: > > Have you tried it? What does it do? You can probably test the behavior > in about 5 minutes > > Thanks, > Justi

Re: [android-developers] Merging Bundles

2012-08-29 Thread Justin Anderson
Have you tried it? What does it do? You can probably test the behavior in about 5 minutes Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Aug 29, 2012 at 4:01 PM, Kevin wrote: > I want to merge two Bundles in my app. I see that there's a pu

Re: [android-developers] Re: package name

2012-08-29 Thread Justin Anderson
> > Just put "com.example.test" for now. > That's not a good idea... It is a pain in the @$$ to change the package names at a later time. Especially if you use sub-packages and version control systems... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On

[android-developers] Merging Bundles

2012-08-29 Thread Kevin
I want to merge two Bundles in my app. I see that there's a putAll method in the Bundle that I could use. How does this method handle duplicate keys? Most of the two bundles will be duplicates, I'm doing the merge to combine the unique data between the two into one single Bundle containing e

RE: [android-developers] Getting the google voice synthesizer

2012-08-29 Thread Tommy Hartz
I don't think the source code is available. What exactly are you needing to change? From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of TreKing Sent: Wednesday, August 29, 2012 5:48 PM To: android-developers@googlegroups.com Subject: Re: [android-

Re: [android-developers] Getting the google voice synthesizer

2012-08-29 Thread TreKing
On Wed, Aug 29, 2012 at 3:31 PM, nikulau wrote: > I need to edit a couple of things to de google voice synthesizer What is "de google voice synthesizer"? - TreKing

[android-developers] Re: USB Extension Cables Breaks USB Driver/ADB Composite Device

2012-08-29 Thread bob
Maybe buy a longer microUSB cable? On Wednesday, August 29, 2012 1:18:12 PM UTC-5, TopSoft wrote: > > Hello > > I'm getting into Android development - coming along well. I have a single > problem at this point - any USB extension cable I use causes my machine not > to recognize my devices.

[android-developers] Re: package name

2012-08-29 Thread bob
Just put "com.example.test" for now. On Tuesday, August 28, 2012 9:17:50 AM UTC-5, Vignesh pandian wrote: > > i am new to android development .. while creating a new android project > in eclipse it asks for " package name " what should be specified in it pls > explain me in detail . th

[android-developers] Re: camera

2012-08-29 Thread bob
Maybe this will help? On Wednesday, August 29, 2012 3:03:15 PM UTC-5, aek wrote: > > > Thank you, > > Yes indeed it was a pb of permission. Now I saw some light. However still > I have a pb that concerns the saving > (The picture can not be saved). > > In the procedure done () { }

[android-developers] Re: Async pattern required (professionals welcome)

2012-08-29 Thread Sean O'Neil
Keep a reference to the current Context inside your AsyncTask. Then in your onCreate(), either start up new tasks if they aren't running, or set the new Context in them if they are. On Wednesday, August 29, 2012 3:25:31 PM UTC-4, itai wrote: > > I’m struggling to figure out a straight forward de

[android-developers] Re: camera

2012-08-29 Thread aek
Thank you, Yes indeed it was a pb of permission. Now I saw some light. However still I have a pb that concerns the saving (The picture can not be saved). In the procedure done () { }, the variable url = null and I dont know why Images.Media.insertImage(getContentResolver(), bm, nu

Re: [android-developers] How can I reach Google Play developer support team via phone (EU/Israel)?

2012-08-29 Thread Justin Anderson
Seriously? Good luck with that... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Aug 28, 2012 at 5:52 AM, Fossor wrote: > Topic. Thanx. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" gro

Re: [android-developers] access methods and objects of mainactivity from a sub class

2012-08-29 Thread Justin Anderson
Use a callback... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Aug 28, 2012 at 5:16 AM, DarkDucke wrote: > Hello guys, I have a class that queries a webservice for logging, is an > AsyncTask, what I need is to update some controls and call a me

[android-developers] Getting the google voice synthesizer

2012-08-29 Thread nikulau
Hello,(excuse my poor english)I'm with a school project and I need to edit a couple of things to de google voice synthesizer, which works on android. I surfed the web but I haven't found the source code. Could anybody say me where to find it? Or if it's impossible to modify it? Thanks -- You re

[android-developers] Async pattern required (professionals welcome)

2012-08-29 Thread itai
I’m struggling to figure out a straight forward design for the following scenario: A user clicks a button which results in sending an http request asynchronously to fetch a list of image URL’s (e.g some json collection response). Upon completion, a ListView would need to be populated with the imag

[android-developers] Re: Will all notification ads and app icons be forbidden?

2012-08-29 Thread John Coryat
Notification ads SHOULD be forbidden. Any developer who knowingly includes such content in their app is being disrespectful of their user base. -John Coryat -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

Re: [android-developers] USB Extension Cables Breaks USB Driver/ADB Composite Device

2012-08-29 Thread Kostya Vasilyev
I'd consider a powered usb hub, possibly usb3 (has higher power capacity). Personally, I opted for a Sony Tablet S and an Acer Iconia, both of which use standard micro usb connectors (and separate power connectors, which is great for keeping the devices connected to my development system and power

Re: [android-developers] using pixel coordinates in opengl es 2

2012-08-29 Thread Latimerius
You could do that and set the matrix via glLoadMatrix(), however a more usual way would be to call glOrthof (0, w, h, 0, ...); Check glOrhtof() docs and note I'm passing height for bottom and zero for top which achieves the swap. (Also note that GLES can't render quads directly. Your square has

Re: [android-developers] Loading Gallery widget with 1000 images

2012-08-29 Thread Justin Anderson
> > So I am planning to download only first 50 images from the server and > display in the gallery. Once it is done, the next 50 images has to be > downloaded and added in the gallery and so on... > Ok... I am not able to implement this > Why not? > can any one provide some ideas to implement

Re: [android-developers] Need assistance reg using single layout, create AlertDialog & handle events in different Activity's

2012-08-29 Thread Justin Anderson
> > Treking, Thanks > But pls read & understand my question proeprly. > I don't want to know how to handle events in the same dialog, it is how to > handle events in different Activity that is calling that AlertDialog. > The link Treking gave you gives you everything you need to know... Notice ho

[android-developers] Will all notification ads and app icons be forbidden?

2012-08-29 Thread MobileVisuals
The new policies from Google says “Ads must not make changes to the functioning of the user’s device outside the ad by doing things such as installing shortcuts, bookmarks or icons or changing default settings. Ads must not simulate or impersonate system notifications or warnings.” Does this me

[android-developers] USB Extension Cables Breaks USB Driver/ADB Composite Device

2012-08-29 Thread TopSoft
Hello I'm getting into Android development - coming along well. I have a single problem at this point - any USB extension cable I use causes my machine not to recognize my devices. Namely a Samsung Galaxy Tab 10.1 Wi-Fi or my Samsung Galaxy SII phone. If I plug in directly with samsungs pathet

Re: [android-developers] Need assistance reg using single layout, create AlertDialog & handle events in different Activity's

2012-08-29 Thread tvdalia
Treking, Thanks But pls read & understand my question proeprly. I don't want to know how to handle events in the same dialog, it is how to handle events in different Activity that is calling that AlertDialog. - Regards On Wednesday, 29 August 2012 22:07:35 UTC+5:30, TreKing wrote: > On Wed

Re: [android-developers] Custom Activity Loading in Dalvik

2012-08-29 Thread Kristopher Micinski
There is a proper way: don't do this and instead use an intent with another program on the phone. Class loading is sometimes "the only way," but for your case it's almost certainly a bad idea. (By the way, using this should be considered extremely dangerous and hacky, and avoided if at all possi

Re: [android-developers] using pixel coordinates in opengl es 2

2012-08-29 Thread Harri Smått
Hi, I might be wrong but I think you can create an orthographic projection matrix for this purpose using Matrix.orthoM. Just provide it with top=0, bottom=height, left=0, right=width. -- H On Aug 29, 2012, at 8:50 PM, guich wrote: > Hi, > > I downloaded and played with the opengl sample at

[android-developers] using pixel coordinates in opengl es 2

2012-08-29 Thread guich
Hi, I downloaded and played with the opengl sample at http://developer.android.com/training/graphics/opengl/draw.html However, it uses the standard coordinate system for opengl, where 0,0 is at the center of the screen and -1,-1 at top-left and 1,1 at bottom- right. I want to use the screen's co

Re: [android-developers] ICS: White screen while changing visibility on Webview

2012-08-29 Thread Marina Cuello
Thanks once again! I didn't think of using values like that! Marina On Wed, Aug 29, 2012 at 11:48 AM, Kostya Vasilyev wrote: > Yeah, it's too bad, but I guess every bit of code needs time to mature (and > GPU acceleration first appeared in 3.0, IIRC). > > What I do in my project is use a @bool r

Re: [android-developers] package name

2012-08-29 Thread Justin Anderson
Read the docs... http://developer.android.com/guide/topics/manifest/manifest-element.html#package Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Aug 28, 2012 at 8:17 AM, Vignesh pandian wrote: > i am new to android development .. while creating a

Re: [android-developers] system_server crash coz of GREF > 2000

2012-08-29 Thread shenchx
On 08/29/2012 01:33 PM, ZnZn wrote: HI guys, How to find the memory leak from log, or how to detect where the leak occur? TIA! -- 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@googl

Re: [android-developers] How to hide android application icon

2012-08-29 Thread Justin Anderson
> > remove activity tag from your android manifest file!!! then your > application become hidden!! > Read the question more carefully... this isn't what he wants. How to hide android application icon after pressing ex:123 and show the > hidden icon after pressing same key ex:123 > This doesn't rea

Re: [android-developers] Get activity class instance

2012-08-29 Thread Justin Anderson
> > I might have missed it, but I didn't see an explanation of *why* he > thinks he needs public access to another Activity. If it is, in fact, > simply as a data sharing mechanism, then yes, the issue has been addressed. > I thought he might be facing a bigger architectural design problem due to >

Re: [android-developers] Need assistance reg using single layout, create AlertDialog & handle events in different Activity's

2012-08-29 Thread TreKing
On Wed, Aug 29, 2012 at 11:06 AM, tvdalia wrote: > Now how do I handle click events for the ListView that is in AlertDialog ?? Review the Dialogs section in the documentation. It shows how to handle single and multiple choice selections in Diaogs. --

Re: [android-developers] gridview onItemClick gets executed even on empty space after the last item

2012-08-29 Thread Justin Anderson
Please post the relevant code where you are setting up and handling your item click. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Aug 29, 2012 at 4:21 AM, Narendra Singh Rathore < nsr.curi...@gmail.com> wrote: > Hi all developers, > > I am perfo

Re: [android-developers] Get activity class instance

2012-08-29 Thread TreKing
On Wed, Aug 29, 2012 at 11:01 AM, Justin Anderson wrote: > If you explain why you want to do things this way, someone can probably >> suggest a better alternative. >> > > As far as I can tell he has already received a number of alternatives: I might have missed it, but I didn't see an explanatio

[android-developers] Need assistance reg using single layout, create AlertDialog & handle events in different Activity's

2012-08-29 Thread tvdalia
Hello, I am new to this group. In my app I have a scene where I need to show listView with title in many situations. So I created a gen_list_layout.xml with a TextView & a ListView in it. Now to show the list, I planned to create a method "public static AlertDialog createAlertD

Re: [android-developers] Get activity class instance

2012-08-29 Thread Justin Anderson
> > If you explain why you want to do things this way, someone can probably > suggest a better alternative. > As far as I can tell he has already received a number of alternatives: - SharedPreferences - Subclassing Application - Singletons - Passing data via intents Thanks, Justin A

Re: [android-developers] Get activity class instance

2012-08-29 Thread TreKing
On Wed, Aug 29, 2012 at 3:00 AM, Filipe wrote: > I would really prefer to access the MyActivityB class public variables. If you explain why you want to do things this way, someone can probably suggest a better alternative. ---

[android-developers] Custom Activity Loading in Dalvik

2012-08-29 Thread rk
http://android-developers.blogspot.in/2011/07/custom-class-loading-in-dalvik.html This link refers loading of classes from Second Dex, this is working fine Instead of calling a simple method available in Second Dex, I tried to add an activity in Second dex, and Tried to access from my MainActivi

Re: [android-developers] Re: Get activity class instance

2012-08-29 Thread Justin Anderson
> > I have 2 classes that extend "Activity", MyActivityA.java and > MyActivityB.java. > How do I start MyActivityB from MyActivityA and access its public > variables? > You don't... { > MyActivityB actB=new MyActivityB(); > actB.varX="Hello"; > actB.startActivity(new Intent(this, MyActivity

Re: [android-developers] Re: does NFC in gingerbread support card simulate?

2012-08-29 Thread Nikolay Elenkov
On Thu, Aug 30, 2012 at 12:02 AM, Michael Roland wrote: >> >> https://play.google.com/store/apps/details?id=com.mobilesuica.msb.android >> >> Does it really work with stock Android? I always assumed that it uses some >> proprietary protocol and driver to talk to the FeliCa chip. The whole thing

Re: [android-developers] Fancy_Text_View

2012-08-29 Thread Justin Anderson
> > I'm trying to make my own subclass of TextView called Fancy_Text_View. > It will basically have fancy text. > I want to override setText in order to adjust the width/height according > to the new text. > Seems like a better choice would be to subclass View... > Since it is "final", it cannot

Re: [android-developers] Re: how to set two spinners with different strings and icons?

2012-08-29 Thread vinay kumar
What is the Issue? On Tue, Aug 28, 2012 at 10:15 PM, Sobia Awan wrote: > actually i got solution of "intent in spinner" not this so if it will b > possible for u then please reply me...Thanks > > > On Tue, Aug 28, 2012 at 9:26 PM, Sobia Awan wrote: > >> shall i send u my coding again? >> >> >> >>

Re: [android-developers] Re: does NFC in gingerbread support card simulate?

2012-08-29 Thread Michael Roland
Hi, > This just made the news :) > > http://www.cyanogenmod.com/blog/cyanogenmod9-1-and-simplytapp Thanks for the info. > It is probably only visible from Japan, but here it is: > > https://play.google.com/store/apps/details?id=com.mobilesuica.msb.android > > Does it really work with stock A

Re: [android-developers] Re: Connection RESTful service with AsyncTask

2012-08-29 Thread anaOliveira
My problem iis in the call of Ask Task. I think.. I have update my code since that post. I have posted another question and I think It's better to understand the problem. But thnks.. If you want to take a look.. AsyncTask - onPostExecute is not called Quarta-feira, 29 de Agosto de 2012 15:47:28

Re: [android-developers] Re: tileMode = repeat with stretching the image in order to get an exact number of repetitions.

2012-08-29 Thread Justin Anderson
You can use a shape drawable defined in XML Perhaps something like this: http://schemas.android.com/apk/res/android"; android:shape="line"> Note that I have not tested this, so some tweaking may be required... But if you use this method you shouldn't have to do any sort of calcu

Re: [android-developers] Re: ViewPager and setClipChildren(false)

2012-08-29 Thread Dave Smith
Which is why we will all be eagerly watching the bug that Mark filed in anticipation :) Cheers, Dave Smith @devunwired On Wednesday, August 29, 2012 3:24:50 AM UTC-6, Romain Guy (Google) wrote: > > Note that using software layers comes at a performance and memory cost. > > > On Tue, Aug 28, 2012

Re: [android-developers] ICS: White screen while changing visibility on Webview

2012-08-29 Thread Kostya Vasilyev
Yeah, it's too bad, but I guess every bit of code needs time to mature (and GPU acceleration first appeared in 3.0, IIRC). What I do in my project is use a @bool reference like this: false and in res/values-v16/values_ui.xml: true I suppose switching just the webview might be

Re: [android-developers] Re: Connection RESTful service with AsyncTask

2012-08-29 Thread bob
This is one of her observers: public void onChange(String s) { ((MainActivity) act).getTextView().setText(s); } On Wednesday, August 29, 2012 9:22:31 AM UTC-5, MagouyaWare wrote: > > Also, please notice that your observers will be getting notified on a >> thread other than the UI thread with y

[android-developers] Fancy_Text_View

2012-08-29 Thread bob
I'm trying to make my own subclass of TextView called Fancy_Text_View. It will basically have fancy text. I want to override setText in order to adjust the width/height according to the new text. However, I noticed this: public *final* void setText (CharSequence text) Since it is "final", it

Re: [android-developers] Re: does NFC in gingerbread support card simulate?

2012-08-29 Thread Nikolay Elenkov
On Wed, Aug 29, 2012 at 11:21 PM, Michael Roland wrote: > > At the moment: There is no support for software card emulation in the > standard Android system. You should be able to do this with CyanogenMod > 9(? don't know exactly which in version the necessary patches were > included, but the patc

Re: [android-developers] Integrating you tube

2012-08-29 Thread Justin Anderson
I have two links for you: 1. http://android-dev-tips-and-tricks.blogspot.com/2012/08/so-you-need-help.html 2. http://lmgtfy.com/?q=android+embed+youtube+in+app Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Aug 29, 2012 at 5:45 AM, siter

Re: [android-developers] Re: Listview text size

2012-08-29 Thread Justin Anderson
> > Ate you need to change the font size programmatically, you need to use > your own simplecursoradapter. > 1. If you use your own layout you don't need to set the font size programmatically 2. You don't have to use SimpleCursorAdapter... You can use any adapter you want, and it doesn

Re: [android-developers] ICS: White screen while changing visibility on Webview

2012-08-29 Thread Marina Cuello
Thanks a lot! Adding the worked like a charm. I knew the solution was going to be simple. I was just looking into the wrong direction :) I'll see if I can fix it by code to let the hardware acceleration on with Jelly Bean, but at least it works now. Marina On Tue, Aug 28, 2012 at 7:00 PM, Kosty

Re: [android-developers] Re: does NFC in gingerbread support card simulate?

2012-08-29 Thread Michael Roland
Hi, > Thanks for the series of fascinating posts and NFCTagInfo (I just > installed it today!). :-) > There's still a few things that are unclear to me about why card > emulation isn't possible. I realize that applets within the secure > element can't be modified without the vendor crypto key, b

  1   2   3   >