[android-developers] Re: Please help how can use WiFi hotspot feature in application

2011-03-10 Thread peter
If you have root access to the device I believe you can use iwconfig through adb to create a wifi hotspot. You will need to know a bit of linux and how iwconfig works. See information here or on iwconfig man page:

[android-developers] Re: Buyer’s Currency

2011-03-10 Thread Pent
Turned ON I also have it enabled (UK), but all the sales are still for the specified amount of my native currency. Are you getting different sale amounts in checkout ? Pent -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Small game develop

2011-03-10 Thread Robert Green
Have one big custom surface view for your game. Use canvas to draw stuff to it. Keep fields that are the position. Process input to change the position. Draw the ball where the position is on your surface (using canvas). See the examples that come with Android SDK for more info on using

Re: [android-developers] Re: Buyer’s Currency

2011-03-10 Thread Marcin Orlowski
On 10 March 2011 09:10, Pent supp...@apps.dinglisch.net wrote: Turned ON I also have it enabled (UK), but all the sales are still for the specified amount of my native currency. Are you getting different sale amounts in checkout ? Yes. It works. -- Regards, Marcin Orlowski -- You

Re: [android-developers] Re: Please help how can use WiFi hotspot feature in application

2011-03-10 Thread Marcin Orlowski
I want to use WiFi hotspot feature in my application. But I can't find how can set a arbitrarily SSID or WiFi security option by myself in my application. Would you tell me how can set a arbitrarily SSID and WiFi security option in my application. There's no standarized way as wifi hotspot

Re: [android-developers] How to navigate to nested PreferencesScreen

2011-03-10 Thread Witold Szymaniak [gmail]
Probably I was misunderstooded. My problem is not how to navigate from a parent preference screen to child preference screen (this is done by framework), but how to navigate from another activity in my application to child preference screen. How can Preference.setOnPreferenceClickListener()

[android-developers] Re: Buyer’s Currency

2011-03-10 Thread Zsolt Vasvari
Yes, US only. On Mar 10, 4:10 pm, Pent supp...@apps.dinglisch.net wrote: Turned ON I also have it enabled (UK), but all the sales are still for the specified amount of my native currency. Are you getting different sale amounts in checkout ? Pent -- You received this message because you

[android-developers] C2DM for production. Please sort this out Google!

2011-03-10 Thread Eurig Jones
Hi, I am having no luck getting google to upgrade my C2DM developer quota. I have emailed google a number of times to android-c...@google.com to request an upgrade to production level quota for my c2dm application (for cont...@chesspresso.net ) with no reply. It's frustrating to say the least!

[android-developers] game source code

2011-03-10 Thread a a
HI guys, would you share with me where can i get some android game souce code like angrybirds...? i want to develop the game, but i don't know how start? -- 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] game source code

2011-03-10 Thread Robin Talwar
On Thu, Mar 10, 2011 at 2:49 PM, a a harvey.a...@gmail.com wrote: HI guys, would you share with me where can i get some android game souce code like angrybirds...? Nobody has that and the owner will not do that. Even if someone provides you, u wont be able to understand that complex code

[android-developers] Re: HTC Hero getPicture failed error

2011-03-10 Thread Sebastian Lindström
This is my code, and i have the following as childs of my manifest-tag in the manifest-file: uses-permission android:name=android.permission.CAMERA / uses-permission android:name=android.permission.INTERNET / uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE/

[android-developers] invisible part of layout

2011-03-10 Thread Richard Sámela
hallo, my issue is that I have a layout and at the bottom of layout I have a EditText like this: EditText android:id=@+id/EditText05 android:layout_width=fill_parent android:layout_height=fill_parent

[android-developers] Re: To detect a nfc tag

2011-03-10 Thread Dominik
the pre-installed Tags aplication defines the following intents: intent-filter action android:name=android.nfc.action.TAG_DISCOVERED/ category android:name=android.intent.category.DEFAULT/ /intent-filter !-- Offer to display anything with NDEF data -- intent-filter

[android-developers] Re: How to navigate to nested PreferencesScreen

2011-03-10 Thread Zsolt Vasvari
setPreferenceScreen(PreferenceScreen) On Mar 10, 4:52 pm, Witold Szymaniak [gmail] witold.szyman...@gmail.com wrote:   Probably I was misunderstooded. My problem is not how to navigate from a parent preference screen to child preference screen (this is done by framework), but how to navigate

[android-developers] Action bar: attribute for changing background color when clicking an action button?

2011-03-10 Thread Clément Plantier
Hi all, Using the Honeycomb action bar, when touching an action button, its background become orange-colored (I'm using the Holo.Light theme). I would like to override the theme to change the color of this background, but I can't find the attribute that defines this color. Does someone knows the

Re: [android-developers] Fragment.onActivityResult is not called

2011-03-10 Thread Pete Doyle
Ran into this issue tonight on my Droid (2.2). I think there's an issue in FragmentActivity.startActivityFromFragment(...). YMMV, but this seems to fix it for me: https://github.com/petedoyle/android-support-v4-googlemaps/commit/06307de35a9de0a89ff52bb42a358ba6740e542c Basically there are two

[android-developers] Android-voice chat

2011-03-10 Thread Jayanthi
Hi, can anyine tell me Whether voice chat and video conference is possible in android -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Re: Gettting data from web page

2011-03-10 Thread Sravan
Hi Kunju, First you should know about what data/request info do those 20 sites need, to send back the flight rate for your request in some format (JSON, XML etc.,). That means, you first need to identify the below 2 points, 1. Individual 20 request URLs for each of your 20 sites. 2. The response

[android-developers] Re: Gyroscope affecting other sensor event types?

2011-03-10 Thread nadam
Just got an email from Google that Nexus S and Xoom currently do not use the gyroscope for TYPE_GRAVITY, TYPE_LINEAR_ACCELERATION and TYPE_ROTATION_VECTOR but it will be improved sometime in the future. Currently the only way to us the gyroscope in Java is to use TYPE_GYROSCOPE where you get

[android-developers] TranslateAnimation and scaleAnimation run at a time.

2011-03-10 Thread leela
Hi all, i am able to run Scale adn Translate animations one after another is it possible to run both at a time.. if possible please help me with some solution.. thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Action bar: attribute for changing background color when clicking an action button?

2011-03-10 Thread Clément Plantier
Well the answer was simple: the attribute is background. I use the following drawable to specify a red background color when clicking the button: selector xmlns:android=http://schemas.android.com/apk/res/android; android:exitFadeDuration=@android:integer/config_mediumAnimTime item

Re: [android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-10 Thread Donal Rafferty
Yep, tried all those and nothing happens when I try to use the fix project propeties. On Wed, Mar 9, 2011 at 3:13 PM, gary lucas lucas.g...@gmail.com wrote: Something similar to this happened to me. Have you tried using the 'android' -- Fix this application from the eclipse project manager

[android-developers] java.net.UnknownHostException: android.clients.google.com

2011-03-10 Thread Shawn Brown
Why do I keep seeing this error E/CheckinTask( 243): Checkin failed: https://android.clients.google.com/checkin (request #0) E/CheckinTask( 243): java.net.UnknownHostException: android.clients.google.com E/CheckinTask( 243): at java.net.InetAddress.lookupHostByName(InetAddress.java:506)

Re: [android-developers] Android-voice chat

2011-03-10 Thread Robin Talwar
Yes i am sure it must be by some way or other On Thu, Mar 10, 2011 at 2:40 PM, Jayanthi jaia...@gmail.com wrote: Hi, can anyine tell me Whether voice chat and video conference is possible in android -- You received this message because you are subscribed to the Google Groups Android

[android-developers] To add an footer ImageView on a layout having ScrollView and relative layout

2011-03-10 Thread Sapna Srivastav
Hi every one, I have an query that, if I add an image view by align parent then it sticks to ScrollView not to relative layout. My layout xml is as follow ScrollView xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent

[android-developers] Re: Android-voice chat

2011-03-10 Thread Jayanthi
Fine, Do google provide any Library for video conference On Mar 10, 4:18 pm, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Yes i am sure it must be by some way or other On Thu, Mar 10, 2011 at 2:40 PM, Jayanthi jaia...@gmail.com wrote: Hi,    can anyine tell me  Whether voice chat and

Re: [android-developers] Re: Android-voice chat

2011-03-10 Thread Robin Talwar
Ya sure... just wait i will provide you the complete source code On Thu, Mar 10, 2011 at 5:30 PM, Jayanthi jaia...@gmail.com wrote: Fine, Do google provide any Library for video conference On Mar 10, 4:18 pm, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Yes i am sure it must be by some

[android-developers] Re: How to keep the code base same for Lower and Higher API levels

2011-03-10 Thread lbendlin
Like this, for the audio manager (older API versions do not support audio fading) public static CustomAudioManager newInstance(Context context) { final int sdkVersion = Integer.parseInt(Build.VERSION.SDK); CustomAudioManager cam = null; if (sdkVersion 8)

Re: [android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-10 Thread Donal Rafferty
Ok, I've tried everything and this is eating up far too much development time, Is there anyone with a proper solution to this? I have SDK 2.3 and the latest ADT on 3 different machines now and R.java wont rengenrate on any of them so someone else has to have the exact same problem and a solution?

Re: [android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-10 Thread Kostya Vasilyev
Are you also seeing Project cannot be built until path dependencies are fixed (or something like that) in the Problems view? Is the gen folder missing entirely? When this happened to me, I was able to fix it by repeatedly doing Refresh in the Package Explorer view (Right mouse - Refresh, or

[android-developers] Problem about using resource in jar file

2011-03-10 Thread Siu Man Yu
I have use an external jar in my application. I add the jar by adding LOCAL_STATIC_JAVA_LIBRARIES := my-jar in Android.mk. However, I found that the resource files of the jar are not included into my apk. I have compile the problem in eclipse but the resource can be included in the apk build by

[android-developers] Re: May i join the group?

2011-03-10 Thread DanH
I think you already have. On Mar 9, 5:37 am, yy xuye xueyy2...@gmail.com wrote: Dear sir, I'm a developer from China. For the current, i have some problem about android development. So i hope to get some help. May i join the group? Tks. Best regards. -- You received this message because

[android-developers] Re: class cast exception

2011-03-10 Thread DanH
You know, indicating which line the error occurred on would make it likely that someone would actually look at your problem, rather than just ignoring you. On Mar 8, 12:29 am, Sarath Krishna sarathkrishn...@gmail.com wrote: I am getting class cat exception while running the following code. I

[android-developers] Re: Managing Out of memory

2011-03-10 Thread DanH
Of course, the Runtime values are reporting on the garbage-collected heap, and are only really valid immediately after a GC has been performed. Plus, images are stored in a DIFFERENT heap that is harder (if even possible) to query. On Mar 9, 1:42 am, Thomas thomasjakw...@gmail.com wrote: you

[android-developers] Re: Small game develop

2011-03-10 Thread Daniel Felix
After update the changes of the position, call the invalidate() method. This method redraw the canvas. Regards, Felix On Mar 8, 10:11 am, JackeyChan a397420...@gmail.com wrote: I only want the ball can move with user input: up , down, left, right. now , the ball is created by extend the View

Re: [android-developers] Parsing a JSON response

2011-03-10 Thread Mark Murphy
On Wed, Mar 9, 2011 at 11:20 PM, David Williams dwilli...@dtw-consulting.com wrote: Thanks for the reply.  Perhaps I need to revisit PhoneGap.  I did take a quick look but didn't get very far with it. It certainly seems to be a closer match to WebOS development than is standard Android SDK

[android-developers] Fwd: get contacts with email id

2011-03-10 Thread techno dHr
hi all, i've got problem with cursor joiner i am trying to fetch contacts with email id.but stuck in strange problem i want to fetch rows who are in both so i am doing it when cursorjoinerresult returns BOTH but i got this output see this log after 9th row id it directly jumps to other row ids

Re: [android-developers] Re: May i join the group?

2011-03-10 Thread 黎鹏肖
I think you already have. 2011/3/10 DanH danhi...@ieee.org I think you already have. On Mar 9, 5:37 am, yy xuye xueyy2...@gmail.com wrote: Dear sir, I'm a developer from China. For the current, i have some problem about android development. So i hope to get some help. May i join the

Re: [android-developers] Re: Status Bar Notifications

2011-03-10 Thread Brad Stintson
How to get time from database n trigger notification on that time? On Thu, Mar 10, 2011 at 4:45 AM, roberto roberto.fo...@gmail.com wrote: On Mar 9, 11:41 am, Marcin Orlowski webnet.andr...@gmail.com wrote: On 9 March 2011 19:59, roberto roberto.fo...@gmail.com wrote:

Re: [android-developers] Re: Status Bar Notifications

2011-03-10 Thread Kostya Vasilyev
From a database? Same as anything else, by using a query. Probably easiest to keep date/time values as a long integer (standard Unix representation). Once you have the time value, use AlarmManager and NotificationManager classes in Android. 10.03.2011 16:47 пользователь Brad Stintson

[android-developers] Publishing App to Android Market

2011-03-10 Thread Ajmer singh
Hi All I need to publish my android app to android market,Could anyone please let me know the procedure?, Is there any specific guidelines from android market to do publish the app,Like UI guideline or Does the Android market guys check the app before putting it in Android market. -- Thanks and

Re: [android-developers] Publishing App to Android Market

2011-03-10 Thread Marcin Orlowski
On 10 March 2011 14:51, Ajmer singh ajmer.si...@evontech.com wrote: Hi All I need to publish my android app to android market,Could anyone please let me know the procedure?, Is there any specific guidelines from android market to do publish the app,Like UI guideline or Does the Android market

[android-developers] Re: Map tiles unnecessarily reloading when panning

2011-03-10 Thread Bingo
Having the same issue and could not find anything about it until someone directed me here. I posted an example video on youtube that shows the problem - especially around 0:40 second mark: http://www.youtube.com/watch?v=bBnzB5s1I5c -- You received this message because you are subscribed to

[android-developers] Re: 2.2.1 FRG83D: Existing map tiles are unnecessarily reloaded when panning, is it just me?

2011-03-10 Thread Bingo
Having the same issue and could not find anything about it until someone directed me here. I posted an example video on youtube that shows the problem - especially around 0:40 second mark: http://www.youtube.com/watch?v=bBnzB5s1I5c -- You received this message because you are subscribed to

Re: [android-developers] C2DM for production. Please sort this out Google!

2011-03-10 Thread TreKing
On Thu, Mar 10, 2011 at 3:12 AM, Eurig Jones eurigjo...@gmail.com wrote: What is the hold-up? It's Google. Customer service is not something they're exactly known for. - TreKing

[android-developers] Android AVD 3.0 Problem

2011-03-10 Thread Ali Murtaza
Hi All I have just installed the Android 3.0. I am facing a problem. I am using Window XP, I have installed the .NET 4.0 version also. As i started the AVD 3.0, The visual studio gives me debugging problem of Emulator. Any body now, how to do it. -- You received this message because you

[android-developers] Re: Using a Freemium Model

2011-03-10 Thread Jake Colman
Justin, So the donate key app doesn't actually implement any logic? The mere fact that it is an available package on the phone (means that the user paid money for the download) is the flag that tells the main app to unlock code features? Nice. ...Jake JA == Justin Anderson

[android-developers] Request a webpage and display in app

2011-03-10 Thread Raghav Sood
Hi everyone, I am trying to create an app that take an URl as a user input and displays the webpage below the textbox. I would like to know how to get and dipslay the webpage and how to pass the URL to the webpage method. Thanks -- Raghav Sood http://www.raghavsood.com/ -- You received this

[android-developers] achartengine size problem.

2011-03-10 Thread vnv
Hi, first I know that there is a group for achartengine but it's rather slowly one so sorry for trying to solve it here. I am trying to display BarChart with ChartFactory.getBarChartView. I have created xml file that's like this: ?xml version=1.0 encoding=utf-8? LinearLayout

Re: [android-developers] Request a webpage and display in app

2011-03-10 Thread Mark Murphy
Use a WebView. Here is a sample application: https://github.com/commonsguy/cw-android/tree/master/WebKit/Browser1 You may also wish to read the Basic Usage section of the WebView documentation: http://developer.android.com/reference/android/webkit/WebView.html On Thu, Mar 10, 2011 at 9:24 AM,

[android-developers] Re: TranslateAnimation and scaleAnimation run at a time.

2011-03-10 Thread Hari Edo
On Mar 10, 5:21 am, leela morampudile...@gmail.com wrote: i am able to run Scale adn Translate animations one after another is it possible to run both at a time.. Read the documentation for AnimationSet. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Request a webpage and display in app

2011-03-10 Thread vnv
On Mar 10, 3:24 pm, Raghav Sood raghavs...@gmail.com wrote: Hi everyone, Hi to you also! I am trying to create an app that take an URl as a user input This is first part. http://developer.android.com/guide/tutorials/hello-world.html Learn how to use components and take input from views

[android-developers] Geocoder IOException

2011-03-10 Thread Jake Colman
At random times my production app will get GeoCoder error: java.io.IOException: Unable to parse response from server When I try to get the location name corresponding to a given latitude/longitude taken from a Location object. Is there anything I should be doing differently so that this

[android-developers] Assets in the assets folder

2011-03-10 Thread Justin
Some of my users are running across a very peculiar bug in the most recent update to one of my apps. I released an update to my app a few days ago. In this update, I placed some files in the apps assets folder. One of the activities needs to read a couple of these files when it starts. Through

Re: [android-developers] Re: Using a Freemium Model

2011-03-10 Thread Jake Wharton
Couldn't a user just create their own dummy APK with the same package and install it to circumvent 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

Re: [android-developers] Publishing App to Android Market

2011-03-10 Thread TreKing
On Thu, Mar 10, 2011 at 7:51 AM, Ajmer singh ajmer.si...@evontech.comwrote: Could anyone please let me know the procedure? Read the official documentation. Is there any specific guidelines from android market to do publish the app,Like UI guideline or Does the Android market guys check the

Re: [android-developers] Re: Request a webpage and display in app

2011-03-10 Thread Raghav Sood
Thanks Mark and Nikola, You have solved my problem. I have one more question. How do I restrict the WebView Browsing to only 1 domain i.e. users can only browse .com sites. P.S. Mark your commonsware site copyright reads 2009 Thanks -- Raghav Sood http://www.raghavsood.com/ -- You received

Re: [android-developers] Re: Request a webpage and display in app

2011-03-10 Thread Mark Murphy
On Thu, Mar 10, 2011 at 9:57 AM, Raghav Sood raghavs...@gmail.com wrote: I have one more question. How do I restrict the WebView Browsing to only 1 domain i.e. users can only browse .com sites. Use a WebViewClient and shouldOverrideUrlLoading(). P.S. Mark your commonsware site copyright reads

Re: [android-developers] Re: Request a webpage and display in app

2011-03-10 Thread Raghav Sood
Thanks Mark, I'll see how this goes. -- Raghav Sood http://www.raghavsood.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Re: Global Variables

2011-03-10 Thread Kenny Riddile
On 3/9/2011 7:35 PM, TreKing wrote: On Wed, Mar 9, 2011 at 4:30 PM, Kenny Riddile kfridd...@gmail.com mailto:kfridd...@gmail.com wrote: Assuming the singleton is modifiable via its interface, then for all intents and purposes, yes, they are. Again, no. Singleton is a design pattern

Re: [android-developers] lost the password of the keystore

2011-03-10 Thread Justin Anderson
* Just another proof that the current scheme is broken.* The current scheme is not broken. It was intentionally designed the way it is for security purposes. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Mar 9, 2011 at 11:48 PM, Nikolay

[android-developers] Re: Fragment.onActivityResult is not called

2011-03-10 Thread drasticp
I think Peter's response is accurate. There seems to be a bug in the FragmentActivity.startActivityFromFragment method. I went back and looked at the ApiDemos code and it does work as long as requestCode = 0. However, if you change the request code to anything other than zero, the ApiDemos will

[android-developers] Re: Android AVD 3.0 Problem

2011-03-10 Thread Chrystian Vieyra
I don't quite understand your problem, are you trying to do Android development using Visual Studio?? On Mar 10, 8:16 am, Ali Murtaza mralimurt...@gmail.com wrote: Hi All I have just installed the Android 3.0. I am facing a problem. I am using Window XP, I have installed the .NET 4.0 version

Re: [android-developers] Re: Using a Freemium Model

2011-03-10 Thread Justin Anderson
No, because of the signature check. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Mar 10, 2011 at 7:48 AM, Jake Wharton jakewhar...@gmail.com wrote: Couldn't a user just create their own dummy APK with the same package and install it to

Re: [android-developers] Re: How to navigate to nested PreferencesScreen

2011-03-10 Thread Justin Anderson
* Probably I was misunderstooded. * Ahhh... Indeed I did misunderstand * My problem is not how to navigate from a parent preference screen to child preference screen (this is done by framework), but how to navigate from another activity in my application to child preference screen. How can

Re: [android-developers] lost the password of the keystore

2011-03-10 Thread TreKing
On Tue, Mar 8, 2011 at 8:32 PM, Pure J purej1...@gmail.com wrote: However, when doing the process of jarsigner. It prompt me for the passphrase, unluckily , I forgot the passphrase. So, I would like to have some advice on it.

Re: [android-developers] Re: Using a Freemium Model

2011-03-10 Thread Justin Anderson
* So the donate key app doesn't actually implement any logic? * I actually have mine set up so that if they try to launch the donate key it will just launch the full version of the app. If the full version of the app doesn't exist then I display a dialog giving them the option to go the market

Re: [android-developers] Re: Global Variables

2011-03-10 Thread TreKing
On Thu, Mar 10, 2011 at 9:11 AM, Kenny Riddile kfridd...@gmail.com wrote: Perhaps my blanket statement was to simplistic. Not ALL singletons are global variables. Also, not all globals are variables (globally accessible static constants for example). However, all STATEFUL singletons are

[android-developers] Re: Global Variables

2011-03-10 Thread Kenny Riddile
On 3/10/2011 10:41 AM, TreKing wrote: Hmm, perhaps this is semantics at this point. I don't think a singleton is a global, as it's usually a private member that is statically accessible. However, there is global access, of course. If it's a single piece of state that's accessible globally,

Re: [android-developers] Re: Global Variables

2011-03-10 Thread TreKing
On Thu, Mar 10, 2011 at 10:03 AM, Kenny Riddile kfridd...@gmail.com wrote: Anyways, this has gotten a bit off-topic from the OP's original question, and for that, I apologize :) Thread title: Global Variables - seems quite on topic. It's not like we're exchanging cookie recipes =P

Re: [android-developers] Notification

2011-03-10 Thread TreKing
On Thu, Mar 10, 2011 at 12:17 AM, Chirayu Dalwadi chirayu.dalw...@gmail.com wrote: How to notify using status bar notifications at user specified time? AlarmManager - TreKing

Re: [android-developers] Re: Global Variables

2011-03-10 Thread Kostya Vasilyev
10.03.2011 19:03, Kenny Riddile ?: No, but in terms of clarity, readability, and ease of debugging, there is a *huge* difference in using a singleton to modify some globally accessible object versus a classic global. To me, the third option of don't use either one is almost always

[android-developers] ActionBarSherlock: Action Bar Helper for All Android Versions.

2011-03-10 Thread Jake Wharton
Good morning developers, I wanted to let everyone know that I have released version 2.0 of my library, ActionBarSherlockhttps://github.com/JakeWharton/ActionBarSherlock/, which facilitates the use of the action bar design pattern on all version of Android. The library will automatically use

[android-developers] Action Bar

2011-03-10 Thread rishabh agrawal
how to create action bar in Android 2.2.it is possible ? if it is possible plz suggest me which theme or style i will use for better action bar. -- 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: Action Bar

2011-03-10 Thread Jake Wharton
Try a third https://github.com/johannilsson/android-actionbar partyhttps://github.com/cyrilmottier/GreenDroid library http://code.google.com/p/iosched/. -- 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] Notification bar size

2011-03-10 Thread Kostya Vasilyev
It's just the right size to accommodate status icons that follow the official status icon guidelines: http://developer.android.com/guide/practices/ui_guidelines/icon_design_status_bar.html And that's 38px for HDPI devices, 25px for MDPI and so on (following standard DPI scaling). -- Kostya

Re: [android-developers] Re: How to navigate to nested PreferencesScreen

2011-03-10 Thread Mark Murphy
On Thu, Mar 10, 2011 at 10:29 AM, Justin Anderson magouyaw...@gmail.com wrote: Create a Preference subclass for each preference xml file and inflate the appropriate layout Couldn't you have done just one Preference subclass, with the child XML file as a custom attribute? I ask in part because

[android-developers] Change the text style according to state, in XML

2011-03-10 Thread Clément Plantier
Does someone know if it's possible to change a text view style (bold, italic...) according to its state (pressed, selected...), the same way a drawable can depend on the state using a selector? I don't want to do that in Java, only with XML styles, but it seems that's not possible. -- You

[android-developers] Dynamically including a custom view defined in another app

2011-03-10 Thread Mark Carter
Suppose I have one app who's functionality can be accessed entirely through a single custom view (which does not take up the whole screen, because it needs to be displayed with something else). Now suppose I have another app which wants to be able to show that custom view within one of its own

[android-developers] Re: Request a webpage and display in app

2011-03-10 Thread vnv
On Mar 10, 4:06 pm, Raghav Sood raghavs...@gmail.com wrote: Thanks Mark, I'll see how this goes. -- Raghav Soodhttp://www.raghavsood.com/ Here is tutorial ! http://www.firstdroid.com/2010/08/05/override-url-loading-in-webview-android-tutorial/ Nikola. -- You received this message

[android-developers] Re: Action Bar

2011-03-10 Thread rishabh agrawal
THANKS SIR... On Mar 10, 9:27 pm, Jake Wharton jakewhar...@gmail.com wrote: Try a third https://github.com/johannilsson/android-actionbar partyhttps://github.com/cyrilmottier/GreenDroid library http://code.google.com/p/iosched/. -- You received this message because you are

Re: [android-developers] Re: How to navigate to nested PreferencesScreen

2011-03-10 Thread Justin Anderson
Hi Mark, Now that you mention it I probably could have for some of the more generic screens. However I do have some child screens that are a bit more complex and would need its own subclass. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Mar 10,

[android-developers] Action Bar

2011-03-10 Thread rishabh agrawal
Action Bar develop in android2.3 or not???plz help.or it developed only Android 3.0 ??? -- 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

Re: [android-developers] Change the text style according to state, in XML

2011-03-10 Thread Justin Anderson
* Does someone know if it's possible to change a text view style (bold, italic...) according to its state (pressed, selected...), the same way a drawable can depend on the state using a selector?* Yes, it is possible. Set the textColor attribute to something like this:

[android-developers] Re: How to share data among different devices

2011-03-10 Thread ez
Thanks for replying. We don't have a remote server and are looking for Google Cloud solution. Any ideas? Thanks On Mar 9, 11:52 pm, Stephan Wiesner testexpe...@googlemail.com wrote: Well, you can always implement a sync service on a remote server. Using JSON objects this is surprisingly

Re: [android-developers] Dynamically including a custom view defined in another app

2011-03-10 Thread Mark Murphy
On Thu, Mar 10, 2011 at 11:44 AM, Mark Carter mjc1...@googlemail.com wrote: Suppose I have one app who's functionality can be accessed entirely through a single custom view (which does not take up the whole screen, because it needs to be displayed with something else). Now suppose I have

Re: [android-developers] Re: How to share data among different devices

2011-03-10 Thread Greg Donald
On Thu, Mar 10, 2011 at 11:11 AM, ez qzh...@gmail.com wrote: We don't have a remote server and are looking for Google Cloud solution. Any ideas? Do you just not know the URL? http://code.google.com/appengine/ -- Greg Donald destiney.com | gregdonald.com -- You received this message

[android-developers] Toggle button with more states that two

2011-03-10 Thread Duskox
I am trying to find if there is a possibility to use togglebutton in such a way to have more states that two? So I want a single button to change appearance (background image) depending on what state it is in. So if I have states 1, 2, 3, 4, 5 and off to be able to change between all those states

Re: [android-developers] Dynamically including a custom view defined in another app

2011-03-10 Thread Mark Carter
How about TabActivity? Doesn't that do something similar to what I'm talking about (i.e. using a portion of the screen to show something created/controlled by (potentially) another app)? On 11 March 2011 00:25, Mark Murphy mmur...@commonsware.com wrote: On Thu, Mar 10, 2011 at 11:44 AM, Mark

Re: [android-developers] Dynamically including a custom view defined in another app

2011-03-10 Thread Mark Murphy
On Thu, Mar 10, 2011 at 12:54 PM, Mark Carter mjc1...@googlemail.com wrote: How about TabActivity? Doesn't that do something similar to what I'm talking about (i.e. using a portion of the screen to show something created/controlled by (potentially) another app)? TabActivity cannot display

[android-developers] Re: May i join the group?

2011-03-10 Thread Indicator Veritatis
For which he has my condolences;) But seriously now: we should welcome newcomers to the group with a generous invitation to become familiar with http://www.catb.org/~esr/faqs/smart-questions.html as a most excellent guide to how to actually get real help from the group. On Mar 10, 4:53 am, DanH

Re: [android-developers] Toggle button with more states that two

2011-03-10 Thread Justin Anderson
I don't think so, but it shouldn't be too hard to just subclass the Button class and implement this behavior yourself. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Mar 10, 2011 at 10:51 AM, Duskox dus...@gmail.com wrote: I am trying to find if

[android-developers] Re: Which Mobile Advertising Site?

2011-03-10 Thread LAM_Creations
It is a little more than just clicking but to simply answer your question is it is pay per click. In keeping it simple, each click is valued at $0.20 - $1 in my experience and you can give higher valued ads more priority. -- You received this message because you are subscribed to the Google

[android-developers] Re: How to keep the code base same for Lower and Higher API levels

2011-03-10 Thread Jacob
Thank you; appreciate the input. I will try to use Java reflection. On Mar 10, 5:48 am, lbendlin l...@bendlin.us wrote: Like this, for the audio manager (older API versions do not support audio fading) public static CustomAudioManager newInstance(Context context) {         final int

Re: [android-developers] Dynamically including a custom view defined in another app

2011-03-10 Thread Justin Anderson
And TabActivity doesn't fully support displaying activities... That functionality is left over from very early Android development days and there are all sorts of little gotchas and subtleties when using them to display activities. Really, each tab in a TabActivity should be a View and then it

Re: [android-developers] Fragment.onActivityResult is not called

2011-03-10 Thread Dianne Hackborn
Whoops, yeah that is a bug. Thanks for finding it. I'll fix it in the next update. On Thu, Mar 10, 2011 at 1:55 AM, Pete Doyle petedo...@gmail.com wrote: Ran into this issue tonight on my Droid (2.2). I think there's an issue in FragmentActivity.startActivityFromFragment(...). YMMV, but

[android-developers] Re: Notification

2011-03-10 Thread roberto
you can use the buzzbox sdk here: http://hub.buzzbox.com/android-sdk/ it uses the Alarm Manager and the standard notifications system it also include the settings UI to choose days of the week, frequency and hours... On Mar 10, 8:01 am, TreKing treking...@gmail.com wrote: On Thu, Mar 10, 2011

[android-developers] Alarm Issue

2011-03-10 Thread Brad Stintson
Hii, I am using following code for setting alarm at specified time but I'm not able to receive alarm at specified time. Please tell me where is the problem Calendar cal = Calendar.getInstance(); cal.setTimeInMillis(System.currentTimeMillis()); cal.clear();

[android-developers] DTD Handlers aren't supported.

2011-03-10 Thread Adam
Requirement: I'm trying to parse an XML doc from a url (Rest API) using org.jdom.Document Document = new SAXBuilder().parse(url.OpenStream()); such that I can perform some xpath queries and processing later on. I'm getting the error: DTD Handlers aren't supported when I try to parse the file. I

Re: [android-developers] Alarm Issue

2011-03-10 Thread Marcin Orlowski
On 10 March 2011 19:27, Brad Stintson geek.bin...@gmail.com wrote:           cal.setTimeInMillis(System.currentTimeMillis());           cal.clear(); These two does not make much sense in that order. -- Regards, Marcin Orlowski -- You received this message because you are subscribed to the

  1   2   3   >