Re: [android-developers] Re: Mirroring a RelativeLayout

2011-03-05 Thread TreKing
On Fri, Mar 4, 2011 at 9:15 PM, lbendlin l...@bendlin.us wrote: Not a stupid question. The setting (mirror or regular) should be selectable at runtime, and may also be controlled by the accelerometer (eg mirror when lying flat facing up, and regular in all other orientations. Interesting.

Re: [android-developers] Mirroring a RelativeLayout

2011-03-05 Thread TreKing
On Fri, Mar 4, 2011 at 3:23 PM, lbendlin l...@bendlin.us wrote: @Override protected void dispatchDraw(Canvas canvas) { canvas.save(Canvas.MATRIX_SAVE_FLAG); super.dispatchDraw(canvas); Log.v(This,+getWidth()); canvas.scale(-1f,1f, getWidth() * 0.5f,

[android-developers] Re: Install % drop again?

2011-03-05 Thread Pent
Media Video.  The ranking drop was worse than I indicated before.   Fortunately, sales has not suffered too much, but I'd hate to be losing money over a market bug. Maybe your ranking was too high before and you've made more money than you should have :-) The point is that it doesn't make

Re: [android-developers] Send sms to multiple numbers in single call to sendTextMessage

2011-03-05 Thread Sarwar Erfan
On Friday, March 4, 2011 4:18:14 PM UTC+6, Marcin Orlowski wrote: And if you planned to do some savings by hitting 10 receipients while paying for 1 message - it's not gonna happen :) No, I am only thinking of saving program execution time. Anyways, thanks for your feedback. Regards Sarwar

[android-developers] How to display current default ringtone?

2011-03-05 Thread mort
I try to display (and change) the current default ringtone in an app. Both Settings.System.getUriFor(Settings.System.RINGTONE) and RingtoneManager.getDefaultUri(RingtoneManager.TYPE_RINGTONE) will return content://settings/system/ringtone (at least on my device). I tried to get the title with

Re: [android-developers] How to display current default ringtone?

2011-03-05 Thread Kostya Vasilyev
How about: static Uri getActualDefaultRingtoneUri(Context context, int type) or static Ringtone getRingtone(Context context, Uri ringtoneUri) Ringtone in turn has: String getTitle(Context context) -- Kostya 05.03.2011 14:17, mort пишет: I try to display (and change) the current default

[android-developers] A small problem with text on button

2011-03-05 Thread Hermes
Hello comrades I have a small problem. Look. If I change background (on my own) for any button instance the text becomes out on left-top corner. How to back text drawing on the centre on button with custom background? here is my example. if I use the following code: Button btnTicket = new

Re: [android-developers] A small problem with text on button

2011-03-05 Thread Kostya Vasilyev
05.03.2011 15:29, Hermes пишет: How to back text drawing on the centre on button with custom background? Try calling button.setGravity(Gravity.CENTER). -- Kostya Vasilyev -- http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups Android

[android-developers] how to check my sign is correct not

2011-03-05 Thread rishabh agrawal
how to check my sign is correct or not,becouse i have no android phone where i can test.i sign my apps using eclipse so how i will chek ..plz help -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: How to use the static fragment library in legacy apps?

2011-03-05 Thread Alessio Grumiro
Can you give me another sample app, please? 2011/3/4 Dianne Hackborn hack...@android.com If it helps, ApiDemos has all of the same fragment samples as the ones originally released for HC, but using this library. You can run them from App/Fragment Support in the UI, and the code is the

[android-developers] Re: PHP array to json to android List view (Spinner)

2011-03-05 Thread Atif Musaddaq
i found this resource http://www.embarcadero.com/rad-in-action/php-android but could not found the solution Yet. Atif On Sat, Mar 5, 2011 at 2:17 PM, Atif Musaddaq atif.musad...@gmail.comwrote: Hi, All I would like to generate a List view in android (spinner) from the list i will get from

Re: [android-developers] Re: How to use the static fragment library in legacy apps?

2011-03-05 Thread Alessio Grumiro
I've, also, attended this tutorial http://goo.gl/i45OX with same error. 03-05 14:26:57.266: ERROR/AndroidRuntime(401): Uncaught handler: thread main exiting due to uncaught exception 03-05 14:26:57.395: ERROR/AndroidRuntime(401): java.lang.RuntimeException: Unable to start activity

[android-developers] Re: Disappearing Alarms

2011-03-05 Thread Pent
I exactly the same problem with Droid-X users. I set an Alarm using RTC_WAKEUP and the first thing the Alarm Receiver does is log a message and then grab the WakeLock. The Alarm Broadcast does not go off and the LOG message is not shown.  This seems to affect only a few users, but only if

[android-developers] Re: A small problem with text on button

2011-03-05 Thread Hermes
It does not help... On 5 мар, 15:45, Kostya Vasilyev kmans...@gmail.com wrote: 05.03.2011 15:29, Hermes пишет:   How to back text drawing on the centre on button with custom background? Try calling button.setGravity(Gravity.CENTER). -- Kostya Vasilyev --http://kmansoft.wordpress.com

[android-developers] Android Layout: Merge how to position an include

2011-03-05 Thread Mike
I have a merge layout that has a few includes in it . I need to be able to position relatively. The top and bottom ones are easy because you can use android:layout_gravity=bottom OR android:layout_gravity=top. Now, is there a way to positing a third include relative to the one at the top (right

[android-developers] Re: service process priority: startService() vs bindService()

2011-03-05 Thread pedro242
Still no anwsers/comments.. Not any specialist of Android Services?... On Mar 1, 8:06 pm, pedro242 pedro.contreir...@gmail.com wrote: Hi there, I would need your help to clarify what is the priority of a process hosting a Service when the service is either started (startService() ) or bound

Re: [android-developers] Android Layout: Merge how to position an include

2011-03-05 Thread Kostya Vasilyev
Mike, The contents of merge file is simply, um, merged at the point where it's include'd. If you use the include inside a relative layout, then the views inside the merge can use realtive layout-specific attributes, and same for other layout types. To position one view between two others,

Re: [android-developers] service process priority: startService() vs bindService()

2011-03-05 Thread Mark Murphy
On Tue, Mar 1, 2011 at 2:06 PM, pedro242 pedro.contreir...@gmail.com wrote: When the Service is started, the Android doc is quite clear saying: If the service has been started, then its hosting process is considered to be less important than any processes that are currently visible to the user

[android-developers] Best Practices for DB Definition

2011-03-05 Thread Jay Bloodworth
Where is the best place to store the CREATE TABLE... statement strings for an app that uses a SQLite database? Most of the examples I have come across include them directly in the source code. Is there a reason why this is preferable to storing them as resources, say as a string array? Thanks,

Re: [android-developers] Best Practices for DB Definition

2011-03-05 Thread Mark Murphy
Unless you plan on having different schemas for different situations (e.g., small screens vs. normal screens, English vs. Spanish), there is no particular gain from having them in string resources. And, resources are publicly visible to other applications. This does not mean that string resources

Re: [android-developers] TextView gravity off on Galaxy Tab?

2011-03-05 Thread Nikolay Elenkov
On Sat, Mar 5, 2011 at 1:10 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: Hi, I have a TextView displaying a single character, centered inside the view. It works fine on all sort of devices, but on Galaxy Tab, the character is aligned with the top of the view and slightly clipped. I've

Re: [android-developers] Re: Google Nexus S - Secure storage

2011-03-05 Thread Marc Petit-Huguenin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/03/2011 07:06 PM, sebastian nielsen wrote: Also found some on the internet, about Nexus S having a PN65N which according to sources of the internet, is a SmartMX security chip combined with a NFC chip. It seems that it is in fact an NXP

[android-developers] Re: service process priority: startService() vs bindService()

2011-03-05 Thread pedro242
(Great! An answer from the prestigious M.Murphy!! Great books!!) Thanks Mark for your answer.. But the Services in bound mode are still not clear for me.. Android Doc says: If there are clients bound to the service, then the service's hosting process is never less important than the most

Re: [android-developers] Re: service process priority: startService() vs bindService()

2011-03-05 Thread Mark Murphy
On Sat, Mar 5, 2011 at 11:30 AM, pedro242 pedro.contreir...@gmail.com wrote: So if my most important client gets stopped and goes in the background (or even worse, is destroyed), the Service process is then ranked in the same way?? If your activity is no longer in the foreground (e.g., user

[android-developers] Spinner Retrievation

2011-03-05 Thread Brad Stintson
I have created list elements in spinner from strings.xml. I store element in database using spinner1.getSelectedItem().toString(); How to retrieve that element from database? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: How do you exclude sales to a specific country?

2011-03-05 Thread gcstang
Thank you for your help. On Mar 4, 9:45 am, TreKing treking...@gmail.com wrote: On Fri, Mar 4, 2011 at 9:00 AM, gcstang gcst...@gmail.com wrote: If I remove the country from the pricing by unchecking is that suppose to do the same thing? Yes. It's a terrible UI. That grouping is to select

[android-developers] Re: TextView gravity off on Galaxy Tab?

2011-03-05 Thread Hari Edo
Try setting the text value after setting the typeface? It may incorrectly cache the measurement using the view's Paint's font, and not revise that measurement when the typeface is changed. On Mar 5, 10:38 am, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Sat, Mar 5, 2011 at 1:10 PM,

[android-developers] Re: how to check my sign is correct not

2011-03-05 Thread rishabh agrawal
plz suggest me On Mar 5, 5:47 pm, rishabh agrawal android.rish...@gmail.com wrote: how to check my sign is correct or not,becouse i have no android phone where i can test.i sign my apps using eclipse so how i will chek ..plz help -- You received this message because you are

[android-developers] Re: How to use the static fragment library in legacy apps?

2011-03-05 Thread Dan Watling
Make sure you are including 'android-support-v4.jar' in your project and are extending the FragmentActivity class, not Activity. -Dan On Mar 5, 7:29 am, Alessio Grumiro a.grum...@gmail.com wrote: I've, also, attended this tutorialhttp://goo.gl/i45OXwith same error. 03-05 14:26:57.266:

[android-developers] Create a Bitmap to put in a canvas using BitmapFactory

2011-03-05 Thread Mariux
I want to create a bitmap from a drawable, which is in res/drawables. I know I should use BitmapFactory to do that, something like: Bitmap bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.filename) as written here:

Re: [android-developers] Re: How to use the static fragment library in legacy apps?

2011-03-05 Thread Dianne Hackborn
On Sat, Mar 5, 2011 at 5:08 AM, Alessio Grumiro a.grum...@gmail.com wrote: Can you give me another sample app, please? Um, no. I've already written a lot of samples. I'd suggest as a first step copying the code from one of the 10 or so samples in ApiDemos and making sure it works in your

Re: [android-developers] Re: service process priority: startService() vs bindService()

2011-03-05 Thread Dianne Hackborn
The service will be at the level of the most important thing it is doing. If it has a service that is started, and an application that is in the foreground bound to it, then it will be in the foreground as long as any such bound application is foreground. When the application goes to the

[android-developers] Re: Install % drop again?

2011-03-05 Thread Seni Sangrujee
For those that this is happening to, did you release an update to your app recently? What do you guys have in common? Remember the dreaded Active Install Drop of December 2009, where it didn't affect everyone except those who released an update on or near a certain date? ==

[android-developers] Re: ListView update problem.

2011-03-05 Thread NR
Hi, I think i got the answer from one of the posts of Boston, But not verified yet. But its a good hint, I guess http://groups.google.com/group/android-developers/browse_thread/thread/d946f8ca1c8aba63 On Mar 5, 8:37 am, NR namit...@gmail.com wrote: Hi Boston, Thanks for your time.

[android-developers] Re: Flickr widget app

2011-03-05 Thread mcclanahoochie
You could try searching Flickr's App Garden also: http://www.flickr.com/services/apps/search/?q=android I've discovered Flickroid there. ~Chris On Mar 4, 6:08 pm, Tom thomas.bruye...@gmail.com wrote: Hi all, Is anyone has ever heard of a Flickr application for Android, which could provide a

[android-developers] WebGL on Android

2011-03-05 Thread John Davis
What's the best way to test WebGL on Android? I have some demos which work on Chrome/FireFox, but would like to keep them up to date for Android as well. http://www.pcprogramming.com JD -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Creating separate versions of apps for tablets

2011-03-05 Thread davemac
There's a difference between the XOOM's screen size (xlarge) and the screen density. The XOOM has a screen density of 160 dpi, which is considered mdpi. Higher density screens would be xhdpi. This page has a good explanation: http://developer.android.com/guide/practices/screens_support.html -

[android-developers] Re: how to check my sign is correct not

2011-03-05 Thread Hari Edo
On Mar 5, 7:47 am, rishabh agrawal android.rish...@gmail.com wrote: how to check my sign is correct or not,becouse i have no android phone where i can test.i sign my apps using eclipse so how i will chek ..plz help Why would you start publishing without even having one device? The

Re: [android-developers] Display facebook frinds who are installed our app

2011-03-05 Thread TreKing
On Thu, Mar 3, 2011 at 1:32 AM, yanamala siddaiah siddaiahforj...@gmail.com wrote: I want to get friends who are installed our app , send requests like (me/friends.), ..etc friends.getAppUser syntax give me . how to use this one how to retrieve the friends using this method i want.

[android-developers] Re: Google Nexus S - Secure storage

2011-03-05 Thread sebastian nielsen
Another idea I have, is to use a RFID card/tag compatible with Nexus S which contains such a secure element and has some sort of Challenge- response scheme. Is the tag reader always active, or is it only active when a app requests it active? Then I could just put the secure tag behind the battery

[android-developers] Re: Mirroring a RelativeLayout

2011-03-05 Thread lbendlin
I want to flip the canvas _after_ all subviews are rendered, so that the entire view is mirrored. That's why I put the transform after the super. I do admit that is not based on actual knowledge how this stuff really works. (by the way, the same function on iOS requires only a single line of

[android-developers] Re: new to android..............

2011-03-05 Thread lbendlin
What have you tried? And are you running Windows, Linux or OSX? On Mar 4, 10:16 am, Kailash Adhikari adhi.fr...@gmail.com wrote: hi everyone..., as i am a newly introduced to android  and i'm finding it difficult to install android adt tools,eclipse,sdk... so if anyone help me

[android-developers] Re: Can i manipulate JavaScript events or functions in WebView ?.

2011-03-05 Thread lbendlin
Yes On Mar 4, 3:58 am, Santhosh Kumar santhoshgu...@gmail.com wrote: thanks regards, G.Santhosh Kumar+91 9966973790 -- 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

[android-developers] Re: Attempt to read preferences file without permission

2011-03-05 Thread Kevin TeslaCoil Software
The CTS needs to be updated to test that shared_prefs (and all app data) is actually deleted during an uninstall. Especially if the vendor randomly picked /dbdata/databases rather than /data/data. Or maybe just ban Samsung. I finally got my hands on an affected phone. This one is a Galaxy S

Re: [android-developers] Re: Attempt to read preferences file without permission

2011-03-05 Thread Mark Murphy
If you have not done so already, post this information to http://b.android.com. On Sat, Mar 5, 2011 at 5:09 PM, Kevin TeslaCoil Software ke...@teslacoilsw.com wrote: The CTS needs to be updated to test that shared_prefs (and all app data) is actually deleted during an uninstall. Especially if

[android-developers] Re: PHP array to json to android List view (Spinner)

2011-03-05 Thread Samsung Galaxy
This one is working, enjoy.. I will post l8r on code how to generate a spinner from server json response. package it.danieleteti.whitepaper01; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.http.HeaderElement; import

[android-developers] Re: Long server process...solution

2011-03-05 Thread pedro242
on the client side, is there a solution that'll keep a connection open and poll every few seconds to find out how far along the process is. Since you perform an HTTP POST, your client just waits for the server response, in meantime from your java code point of view you can no do nothing

[android-developers] 2.3.3 View setVisibility bug?

2011-03-05 Thread Jeremy Statz
One of my products has an activity with three LinearLayouts that start out invisible. The user has buttons that toggle these layouts on and off, so they don't have the additional interface getting in the way if they don't want it. This toggle behavior has broken on the 2.3.3 version of Android,

[android-developers] Re: Can i manipulate JavaScript events or functions in WebView ?.

2011-03-05 Thread pedro242
Everything is explained here: http://developer.android.com/guide/webapps/webview.html On Mar 4, 9:58 am, Santhosh Kumar santhoshgu...@gmail.com wrote: thanks regards, G.Santhosh Kumar +91 9966973790 -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: service process priority: startService() vs bindService()

2011-03-05 Thread pedro242
Thanks Dianne for your answer.. I just compared the basic thread and a thread launched in a service process upon an AIDL request in the sense that if the client actvity was destroyed, then in both cases, the basic long time running thread and the service thread would also be destroyed... With

Re: [android-developers] Re: service process priority: startService() vs bindService()

2011-03-05 Thread Kostya Vasilyev
Service.startForeground does increase the chances that the service will keep running (as this puts the service into foreground process class). You can use this independently of binding, it's orthogonal that way. Can be useful if the user requests some kind of update from the network (for

Re: [android-developers] Re: Mirroring a RelativeLayout

2011-03-05 Thread TreKing
On Sat, Mar 5, 2011 at 3:58 PM, lbendlin l...@bendlin.us wrote: I want to flip the canvas _after_ all subviews are rendered, so that the entire view is mirrored. That's why I put the transform after the super. Try doing the tranform first, then call super. This sets up the Canvas for drawing

[android-developers] Re: Install % drop again?

2011-03-05 Thread Zsolt Vasvari
I released an update on Feb 28th. My sales have been halved since the drop in active %/rank, so I am not happy about it, obviously. On Mar 6, 2:39 am, Seni Sangrujee s...@fieldteams.com wrote: For those that this is happening to, did you release an update to your app recently?  What do you

[android-developers] Adjusting ListView Height

2011-03-05 Thread Andrey
Hello, I have a ListView that has items added to it at runtime. It is nested within a LinearLayout, which is inside a ScrollView. Right now, it only shows the first item on the list. I am trying to figure out how to adjust the ListView height to change dynamically to always display all the

Re: [android-developers] Adjusting ListView Height

2011-03-05 Thread Mark Murphy
On Sat, Mar 5, 2011 at 6:41 PM, Andrey tur...@gmail.com wrote: I have a ListView that has items added to it at runtime.  It is nested within a LinearLayout, which is inside a ScrollView. That will not work. You cannot place a ListView in a ScrollView. -- Mark Murphy (a Commons Guy)

[android-developers] Re: Adjusting ListView Height

2011-03-05 Thread Andrey
Is there anything I can do to achieve a similar effect? I want to have several sections (each with a ListView, EditText, and a submit button) that people can add items to on one page. For example, a user should be able to add their favorite colors and favorite numbers to two separate lists.

Re: [android-developers] Dynamic code for views in layout

2011-03-05 Thread TreKing
On Fri, Mar 4, 2011 at 8:17 AM, Justin Anderson magouyaw...@gmail.comwrote: Cool. Have fun. LOL Good grief. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking

Re: [android-developers] Moving an image in android

2011-03-05 Thread TreKing
On Fri, Mar 4, 2011 at 9:28 AM, Raghav Sood raghavs...@gmail.com wrote: I am very new to android and am trying to make a game Please, if you're very new in Android, don't try to make a game. Games are complicated. Start a little smaller and work your way up. Can anyone please tell me the

[android-developers] problem with empty cursor

2011-03-05 Thread Marshall Farrier
The following code is supposed to test whether the SelfCursor is empty or not and to do different things depending on that result: private void register() { registered = false; db = new ChessDataBaseAdapter(this); db.open(); Cursor c = db.getSelfCursor();

Re: [android-developers] Re: Adjusting ListView Height

2011-03-05 Thread Mark Murphy
On Sat, Mar 5, 2011 at 6:55 PM, Andrey tur...@gmail.com wrote: Is there anything I can do to achieve a similar effect?  I want to have several sections (each with a  ListView, EditText, and a submit button) that people can add items to on one page.  For example, a user should be able to add

Re: [android-developers] problem with empty cursor

2011-03-05 Thread Mark Murphy
I am skeptical that your error is being caused by this code. Check out: http://stackoverflow.com/questions/4195089/what-does-invalid-statement-in-fillwindow-in-android-cursor-mean On Sat, Mar 5, 2011 at 7:21 PM, Marshall Farrier marsh...@marshallfarrier.com wrote: The following code is supposed

[android-developers] Build broken after latest updates.

2011-03-05 Thread Nathan
I accepted updates today including the HoneyComb SDKs and version 10 of the ADT plugin and DDMS. Now all my builds in Eclipse are broken. They have hundreds of errors saying that R cannot be resolved I've already tried Project Clean, which is the only trick I know for weird build errors. The

Re: [android-developers] Build broken after latest updates.

2011-03-05 Thread Mark Murphy
On Sat, Mar 5, 2011 at 7:50 PM, Nathan critter...@crittermap.com wrote: I accepted updates today including the HoneyComb SDKs and version 10 of the ADT plugin and DDMS. Now all my builds in Eclipse are broken. They have hundreds of errors saying that R cannot be resolved I've already tried

Re: [android-developers] Build broken after latest updates.

2011-03-05 Thread TreKing
On Sat, Mar 5, 2011 at 6:50 PM, Nathan critter...@crittermap.com wrote: Now all my builds in Eclipse are broken. They have hundreds of errors saying that R cannot be resolved I've already tried Project Clean, which is the only trick I know for weird build errors. The projects include a

[android-developers] Starting an intent, then pressing the back button, how to resume the Handler that was running?

2011-03-05 Thread Chris Stewart
Here's the scenario: - On an Activity I have a Handler that is posting a message every 5 seconds. - If I click on an item in my ListView, for the above Activity, it starts a new Activity by way of Intent. - Clicking back on the phone will take me back to the previous Activity but my Handler isn't

Re: [android-developers] Starting an intent, then pressing the back button, how to resume the Handler that was running?

2011-03-05 Thread TreKing
On Sat, Mar 5, 2011 at 7:26 PM, Chris Stewart cstewart...@gmail.com wrote: I tried onResume but that was even called when I visited the initial Activity the first time, so I'm guessing there's something else I should be doing. I usually go with onStart() / onStop() for things that need to

[android-developers] Re: problem with empty cursor

2011-03-05 Thread Aisthesis
that solved it, tx! i just waited to close the database until after closing the cursor, and no more error. (i had thought that the cursor had a life independent from the database, so very interesting fact!) On Mar 5, 6:44 pm, Mark Murphy mmur...@commonsware.com wrote: I am skeptical that your

[android-developers] Re: Build broken after latest updates.

2011-03-05 Thread Zsolt Vasvari
This happens to me very often. Every time I do a release build outside of Eclipse, when I go back into Eclipse, the build will fail every time. It will eventually work with no pattern that I could establish -- I need to clean/rebuild about 10 times and then it will build without errors and from

[android-developers] Re: Build broken after latest updates.

2011-03-05 Thread Nathan
On Mar 5, 4:52 pm, Mark Murphy mmur...@commonsware.com wrote: Fix the problems that are showing up in your Eclipse console. The console says it can't find R.java. Isn't the build supposed to generate that? Am I supposed to start writing one from scratch now. Nathan -- You received this

Re: [android-developers] Create native typeface in 2.31

2011-03-05 Thread Nikolay Elenkov
On Tue, Mar 1, 2011 at 4:51 AM, intbt in...@tacberry.com wrote: Code: final Typeface font2 = Typeface.createFromAsset(getAssets(), fonts/ CHOPS___.TTF); App works fine in 1.6 but when I run 2.3 I get this error: 02-28 11:48:33.751: ERROR/AndroidRuntime(539): FATAL EXCEPTION: main 02-28

[android-developers] Re: Build broken after latest updates.

2011-03-05 Thread Nathan
There isn't anything in the Console if I start Eclipse from scratch and try some builds. ApiDemos doesn't build either, so it's not a just a problem with my projects. Nathan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Display facebook frinds who are installed our app

2011-03-05 Thread DanH
Have you studied the excellent Facebook documentation? http://developers.facebook.com/docs/guides/mobile/ On Mar 3, 1:32 am, yanamala siddaiah siddaiahforj...@gmail.com wrote:  I want to get friends who are installed our app , send requests like (me/friends.), ..etc friends.getAppUser  

Re: [android-developers] Re: TextView gravity off on Galaxy Tab?

2011-03-05 Thread Nikolay Elenkov
On Sun, Mar 6, 2011 at 2:23 AM, Hari Edo hari@gmail.com wrote: Try setting the text value after setting the typeface?  It may incorrectly cache the measurement using the view's Paint's font, and not revise that measurement when the typeface is changed. Thanks. I had the same idea, but

[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-05 Thread Nathan
OK, what's the deal? I'm getting this too and I just installed the updates today. I can't even seem to revert my Eclipse, either. Nathan -- 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] Re: Build broken after latest updates.

2011-03-05 Thread Nathan
This might all be due to proguard.cfg. Newly created projects will have this file. Other projects won't. Older projects don't, and the precompiler fails silently, with a note in the log saying: java.lang.NullPointerException encountered while running Android Pre Compiler Nathan On Mar 5, 6:41 

[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-05 Thread Nathan
This might be a proguard.cfg that has suddenly become mandatory. On Mar 5, 9:09 pm, Nathan critter...@crittermap.com wrote: OK, what's the deal? I'm getting this too and I just installed the updates today. I can't even seem to revert my Eclipse, either. Nathan -- You received this

Re: [android-developers] Moving an image in android

2011-03-05 Thread Raghav Sood
Please, if you're very new in Android, don't try to make a game. Games are complicated. Start a little smaller and work your way up. Hi, I may be new to android but I have been programming for 4 years in 12 langages including java. I don't have a problem creating the code but I am not