[android-developers] Testing licensing on emulator.

2010-10-06 Thread MB
Hi, I am testing lvl using the sample application (after changing package name and uploading the apk). But it always returns 'Licensed' on the emulator even though I've set the test response to 'Not Licensed'. The following thread indicates that LVL cannot be tested with draft applications and

[android-developers] Re: How to start an activity from a service

2010-10-06 Thread Doug
startActivity works the same in a service as it does in an activity (Context vs. Activity argument not withstanding), and I don't think it's gauche to launch an activity from your service. In many cases, you need to launch an activity from a service when it needs attention. Doug -- You

[android-developers] Adding Rate this application capability

2010-10-06 Thread Amit
Hi All, I have seen few android applications in which there is a capability where they can give an option in the application itself to Grade this application. Clicking on this option opens the respective application's page in the android market where the user can put his rating. I wan to know

[android-developers] Re: Retrieve android:versionName from Library Project

2010-10-06 Thread MobDev
Ok, I did understand that no APK at all is created by the Project Library, it doesn't even get compiled, it does get compiled when the host project is compiled... But I don't get what you mean by it is to merge stuff into the parent project... I mean, you have to redeclare all used

[android-developers] Re: How to change the e-mail address programmatically?

2010-10-06 Thread Ali Chousein
No, unfortunately I don't see any related message in the logcat. -- 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

Re: [android-developers] Adding Rate this application capability

2010-10-06 Thread YuviDroid
I think they simply use the market intent to start up the Market: Intent intent = new Intent (Intent.ACTION_VIEW, Uri.parse(market://details?id=com.yourpackage.app)); context.startActivity(intent); On Wed, Oct 6, 2010 at 8:24 AM, Amit amitmishr...@gmail.com wrote: Hi All, I have seen few

[android-developers] Re: Could use some help (free game on Galaxy S problem)

2010-10-06 Thread Zarah Dominguez
No problem, Patrick! I know how frustrating it can be sometimes. :) On Oct 5, 10:35 pm, Patrick specter...@gmail.com wrote: Thanks for the help Zarah! Turns out the problem was a couple of mistakes in my mod tracker (audio) interface class. The N1 and emulator were very forgiving, but the

Re: [android-developers] Re: Retrieve android:versionName from Library Project

2010-10-06 Thread Tom Gibara
Actually, I don't think anything does get merged from the library manifest into the dependent project's manifest, though I don't have an opportunity to verify that at the moment; I'm pretty sure that I've seen a comment somewhere that suggested it is the intention, but for a future release. Tom.

[android-developers] should i use a service or local thread ?

2010-10-06 Thread poohtbear
I have an application which requires networking service. I took on LWUIT4IO and adjusted it to my needs so now i have a network queue that can run one or more network threads. Now, my application is based on single root activity that spawns other child activities as needed (it's a reservation

[android-developers] Re: Gifting paid market apps

2010-10-06 Thread Adam Hammer
Well, the Apks are just content providers, no activities or interactive services (other then the ContentResolver interfaces). So no place for a splash screen in them. I have a ContentProvider that supplies information about resources in the apk file that can be accessed, each package inherits

Re: [android-developers] should i use a service or local thread ?

2010-10-06 Thread Dianne Hackborn
You are making services too complicated. If you keep all of your components in the same process (the default for an .apk), you can just do direct method calls. See the local service sample code in the docs: http://developer.android.com/reference/android/app/Service.html#LocalServiceSample

[android-developers] Re: how do i include Authorization: GoogleLogin auth=authorization_token into the httpclient?

2010-10-06 Thread dadada
ok .. i got it. it should be httpget.addHeader(Authorization, GoogleLogin auth= +auth); On Oct 6, 11:35 am, dadada ytbr...@gmail.com wrote: hi, so i tried the following  HttpGet httpget = new HttpGet(http://maps.google.com/maps/feeds/maps/ default/full);  

[android-developers] Re: should i use a service or local thread ?

2010-10-06 Thread poohtbear
I assume that the time to get the Service object for local binding is close to 0 for local service , if not then i have an issue since i'm kind of splitting my program's entry point. On Oct 6, 10:23 am, Dianne Hackborn hack...@android.com wrote: You are making services too complicated.  If you

[android-developers] Re: How to Create ListView within ListView

2010-10-06 Thread Ganapathy.C
Hai I had implemented your Expandable List but Its not Clickable. Tell Me the way to implement onChildClick Listener.I Tried it but its not working... give some ideas. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Get timing information about key events

2010-10-06 Thread Samuel Skånberg
It looks like that data already exists. For an event there is the getEventTime() method which will tell you when the event was created. So I have a simple program that looks like this: private View.OnClickListener buttonListener = new View.OnClickListener() { @Override public

[android-developers] Re: Get timing information about key events

2010-10-06 Thread Samuel Skånberg
I solved it like this: private View.OnClickListener buttonListener = new View.OnClickListener() { @Override public void onClick(View v) { end = SystemClock.uptimeMillis(); Log.d(SimpleApp, onClick: +v.getHandler()); Log.d(SimpleApp,

[android-developers] why no BluetoothAdapter.ACTION_REQUEST_DISABLE ???

2010-10-06 Thread Shawn Brown
Hi, I want to turn off BT after my app finishes if my app turned BT on. There is a function in BluetoothAdapter to request to enable it but no function to request to disable it. I guess I will just call disable () despite the the api saying Bluetooth should never be disbled without direct user

[android-developers] Market ranking

2010-10-06 Thread Yahel
Hi all, I know my question answers but since there's a lot of you who really spend your time scrutinizing your rank, downloads and all, I'm trying it maybe someone came up with empiric science on this one : Does anyone understood even bits of how the market ranks apps in the market ? I usually

Re: [android-developers] Example of adding custom contact group using sdk 1.6

2010-10-06 Thread A N K ! T
it will surely not work in higher versions of sdk... u can get lot of examples here just use the search tab... On Wed, Oct 6, 2010 at 1:27 AM, magic llmagi...@gmail.com wrote: Hello, I am using the android sdk 1.6 to develop a contact app. Is anyone can provide an example of adding the new

[android-developers] How to extend intent

2010-10-06 Thread zohar lerman
Hi, I am using the following code to play video: Intent myIntent = new Intent(Intent.ACTION_VIEW); Uri u = Uri.parse(path); myIntent.setDataAndType(u, video/*); try { context.startActivity(myIntent); } catch (ActivityNotFoundException e) { Log.e(TAG, cannot initiate video, e); } Is

Re: [android-developers] How to extend intent

2010-10-06 Thread Kumar Bibek
No, you cannot do that unless you know if the target component supports these callbacks (sets Result ) on finish. On Wed, Oct 6, 2010 at 3:21 PM, zohar lerman lirazo...@gmail.com wrote: Hi, I am using the following code to play video: Intent myIntent = new Intent(Intent.ACTION_VIEW); Uri u

Re: [android-developers] Re: Retrieve android:versionName from Library Project

2010-10-06 Thread Mark Murphy
On Wed, Oct 6, 2010 at 4:03 AM, Tom Gibara tomgib...@gmail.com wrote: Actually, I don't think anything does get merged from the library manifest into the dependent project's manifest, though I don't have an opportunity to verify that at the moment; I'm pretty sure that I've seen a comment

[android-developers] map not api visible

2010-10-06 Thread dadada
hi all, so i tried to update a google map through httprequest. However, I get a org.apache.http.client.HttpResponseException: Forbidden. The initial authorization gives a 200 OK. and I got my authtoken. I then tried the url on a browser and i got a map not api visible. I checked that the

[android-developers] Re: On multi-accounts setting, LVL returns NOT_LICENSED.

2010-10-06 Thread beemer
I'm having the same issue and this causes that I cannot test my own application on my devices. I've done the test below and found that the first account configured in the device is the one used for licensing verification. FIRST TRY: -Configured Google apps account, not develeper neither

[android-developers] Re: zlib / inflate / partial sync / hanging

2010-10-06 Thread rtreffer
Ok, results so far: zlib decompression works, even with InflaterInputStream and partial flush. However the xml pull parser seems to have implicit dependencies on specific read/available behaviour. Return 0 (no data read) causes a partial parsing of the input stream. (I've tried to decode the raw

Re: [android-developers] Re: should i use a service or local thread ?

2010-10-06 Thread Kostya Vasilyev
There is one other difference: Services provide a mechanism to keep their background code running at a foreground priority (w.r.t process lifetime). This makes a difference if no activities belonging to the application are visible, and your application needs to continue working in the

[android-developers] Re: On multi-accounts setting, LVL returns NOT_LICENSED.

2010-10-06 Thread beemer
I'm having the same issue and this causes that I cannot test my own application on my devices. I've done the test below and found that the first account configured in the device is the one used for licensing verification. FIRST TRY: -Configured Google apps account, not develeper neither

Re: [android-developers] Market ranking

2010-10-06 Thread Kumar Bibek
Well, there are a lot of factors. A few of them are: 1. No of downloads 2. No of active installs 3. Reviews of users 4. 30day/60day downloads These are only a few of them. All this was mentioned in one of the Android Developers Lab that I attended. On Wed, Oct 6, 2010 at 2:26 PM, Yahel

Re: [android-developers] button focus

2010-10-06 Thread Kumar Bibek
Look at the state list drawables. Buttons and other widgets have a default statelist drawable. If you are using your own drawable, (just a image), the button doesn't know what to show when in different states. Rather than setting a drawable(picture) as a background, you should be using a state

[android-developers] Re: should i use a service or local thread ?

2010-10-06 Thread poohtbear
If i'm not mistaken this can be done only in 2.0 and above... i'm trying to decouple the networkManager as much as possible to be able to use the specific code in J2ME as well (doesn't distube me to use it in a Service though), so adding Alarm to be handed from the NetworkManager code is not a

Re: [android-developers] Re: On multi-accounts setting, LVL returns NOT_LICENSED.

2010-10-06 Thread Carlos Silva
This is normal since the Market only uses one account (the main/first account on the device) to associate applications with an account. So even if you have 10 Google accounts on a device, only the main one is associated with the Market. On Wed, Oct 6, 2010 at 12:11, beemer mse...@gmail.com wrote:

[android-developers] Re: How to extend intent

2010-10-06 Thread zohar lerman
thanks On Oct 6, 11:55 am, Kumar Bibek coomar@gmail.com wrote: No, you cannot do that unless you know if the target component supports these callbacks (sets Result ) on finish. On Wed, Oct 6, 2010 at 3:21 PM, zohar lerman lirazo...@gmail.com wrote: Hi, I am using the following code

Re: [android-developers] Re: two lines in a row list view

2010-10-06 Thread TreKing
On Wed, Oct 6, 2010 at 12:30 AM, Varun Khanduja varunkhand...@gmail.comwrote: but i m wondering if someone can help me understand if there is a way for me to pull up the present geographic location. Is there a small command or method i have to implement to have the current location as a part

[android-developers] Re: How to extend intent

2010-10-06 Thread Matty
I believe the best way to do what you've described is create your own Video Player Activity, which can contain a VideoView, and you can add listeners for most events (like video stopped or ended). On Oct 6, 5:51 am, zohar lerman lirazo...@gmail.com wrote: Hi, I am using the following code to

[android-developers] Re: Is Samsung Galaxy Tab NOT a large screen from application developer's point of view?

2010-10-06 Thread Argon Konay
Thanks a lot for your quick replies. I will generate an hardcoded demo specific to Galaxy Tab. Argon On Oct 6, 2:17 am, Dianne Hackborn hack...@android.com wrote: You are using a pre-production device.  Things may not work as intended. :} 2010/10/5 Argon Konay haluk.tufe...@gmail.com

Re: [android-developers] uses of inten-filter and bindservice

2010-10-06 Thread TreKing
On Wed, Oct 6, 2010 at 12:53 AM, crajesh crajesh2...@gmail.com wrote: i want to know wht the uses of inten-filter and bindservice. These are both documented fairly well. What specific question on either do you have?

Re: [android-developers] Adding Rate this application capability

2010-10-06 Thread TreKing
On Wed, Oct 6, 2010 at 1:24 AM, Amit amitmishr...@gmail.com wrote: I wan to know how this is achieved. http://developer.android.com/guide/publishing/publishing.html#marketintent - TreKing

Re: [android-developers] Market ranking

2010-10-06 Thread San Zhang
How to know the rank of an app in a category? I tried to find it on androlib site just now, didn't get any clue. -- 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

Re: [android-developers] Market ranking

2010-10-06 Thread Kumar Bibek
Rank meaning? Well, may be, count your the index of your app on the Android Market. That will give you a rough idea. :) As such there is no specific rankings given. So, you will not find a rank on the Android Market. On Wed, Oct 6, 2010 at 5:27 PM, San Zhang dahua007...@gmail.com wrote: How to

RE: [android-developers] To finish() an Activity ?

2010-10-06 Thread Emre A. Yavuz
Thanks for both replies. I've found the problem, it was the Context instance I've been forgeting about. Now it works as expected. With regards, Emre Date: Mon, 4 Oct 2010 01:23:31 +1100 Subject: Re: [android-developers] To finish() an Activity ? From: pbizan...@gmail.com To:

Re: [android-developers] Market ranking

2010-10-06 Thread San Zhang
Thank Kumar Bibek for answer my question:) 2010/10/6 Kumar Bibek coomar@gmail.com Rank meaning? Well, may be, count your the index of your app on the Android Market. That will give you a rough idea. :) As such there is no specific rankings given. So, you will not find a rank on the

Re: [android-developers] Re: How to Create ListView within ListView

2010-10-06 Thread TreKing
On Wed, Oct 6, 2010 at 3:45 AM, Ganapathy.C cganapa...@gmail.com wrote: I Tried it but its not working... What did you try ... ? What's not working ... ? - TreKing

Re: [android-developers] Re: Gifting paid market apps

2010-10-06 Thread Stephen Jungels
About 24 hours after a buyer has purchased the app, their payment will have gone through and you can use the Checkout console to issue a full or partial refund. I have a separate system for distributing my app to beta testers, but I have used this method in a few cases as well. -SJ On Wed, Oct

Re: [android-developers] map not api visible

2010-10-06 Thread TreKing
On Wed, Oct 6, 2010 at 5:41 AM, dadada ytbr...@gmail.com wrote: I then tried the url on a browser and i got a map not api visible. I checked that the property api_visible is 0. I tried to create another map and make it public. The api_visible property still remain 0. This does not sound

[android-developers] Am I being banned

2010-10-06 Thread Ori Harel
I can't see my posts for the last month or so. am I being banned? Ori -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Animated background drawable

2010-10-06 Thread oriharel
Just like Twitter for android used to have (they removed it) - I need to display an animated background drawable. How to I show an image that is actually bigger then the given layout dimensions (without the image being shrink). What kind of animation do I need to use for the moving effect?

Re: [android-developers] Animated background drawable

2010-10-06 Thread Kumar Bibek
Look at Transition Drawables. http://developer.android.com/guide/topics/resources/drawable-resource.html#Transition On Wed, Oct 6, 2010 at 5:45 PM, oriharel ori.ha...@gmail.com wrote: Just like Twitter for android used to have (they removed it) - I need to display an animated background

Re: [android-developers] Am I being banned

2010-10-06 Thread TreKing
On Wed, Oct 6, 2010 at 7:10 AM, Ori Harel ori.ha...@gmail.com wrote: I can't see my posts for the last month or so. am I being banned? Apparently not. - TreKing

[android-developers] help regarding custom scrollbar ...

2010-10-06 Thread kavitha b
Hi all, Threre is a unique resquirement for my project. I need to create a custom scrollbar for a listview. I can do this task by setting drawable for scrolllbar.But that does not fulfill my requirement. There are arrows in scrollbar drawable image and when clicked on them,particular list item

[android-developers] Help in preferences - best practice?

2010-10-06 Thread mort
Some of my app's preferences could use some more explanation than the scarce space available for the summary. Sadly, there doesn't seem to be support from the system, like an optional help button that shows a longer text. How do you solve this problem? The first thing that comes to mind is an

[android-developers] Re: How to Create ListView within ListView

2010-10-06 Thread Ganapathy.C
OnChildClick event this event is not working? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Playing YouTube video in player with code

2010-10-06 Thread Kevin Courtney
Hello, I have code that will bring up a Youtube video on their webpage and the user has to then tap the play option to play it: videoURL = http://www.youtube.com/watch?feature=youtube_gdata_playerv=r4p8qxGbpOk; mWebView = new WebView(this); setContentView(mWebView);

Re: [android-developers] help regarding custom scrollbar ...

2010-10-06 Thread TreKing
On Wed, Oct 6, 2010 at 7:22 AM, kavitha b kkavith...@gmail.com wrote: There are arrows in scrollbar drawable image and when clicked on them,particular list item should get selected. Perhaps some pictures would help clarify what you're trying to do?

[android-developers] Re: How to Create ListView within ListView

2010-10-06 Thread Kumar Bibek
You should try setGroupClickListener and the onGroupClick event will be triggered. -Kumar Bibek http://techdroid.kbeanie.com On Oct 6, 5:26 pm, Ganapathy.C cganapa...@gmail.com wrote: OnChildClick event this event is not working? -- You received this message because you are subscribed to the

Re: [android-developers] Help in preferences - best practice?

2010-10-06 Thread Mark Murphy
On Wed, Oct 6, 2010 at 8:23 AM, mort m...@sto-helit.de wrote: Some of my app's preferences could use some more explanation than the scarce space available for the summary. Sadly, there doesn't seem to be support from the system, like an optional help button that shows a longer text. How do

[android-developers] Re: Gifting paid market apps

2010-10-06 Thread Warren
It sure would be great to have an API to give away apps. You could supply the gmail address tied to an account and the application ID and then when that user visited the market they could download the specified app for free as though they had already purchased it. This would be very helpful to a

Re: [android-developers] Help in preferences - best practice?

2010-10-06 Thread TreKing
On Wed, Oct 6, 2010 at 7:34 AM, Mark Murphy mmur...@commonsware.com wrote: Add a help option menu choice to your PreferenceActivity. I was in the process of typing this out - almost verbatim. This is what I plan on doing. Another idea is to override how the default Preferences are displayed

[android-developers] Incident with HTC Desire (Android Froyo)

2010-10-06 Thread Hudar
Hi, I am wondering anyone ever experienced this incident. I am using HTC Desire with froyo installed. Then i happent that my phone crash. Even i tried to turn off and turn on again, error dialog keep showing up, and crash again. As I remember, I was running 2 new installed app at the same time

Re: [android-developers] Help in preferences - best practice?

2010-10-06 Thread Mark Murphy
On Wed, Oct 6, 2010 at 8:40 AM, TreKing treking...@gmail.com wrote: Another idea is to override how the default Preferences are displayed to add a small help button or icon to those that need further clarification. Clicking the button / icon could pop up a dialog with the detailed information.

Re: [android-developers] Re: How to Create ListView within ListView

2010-10-06 Thread TreKing
On Wed, Oct 6, 2010 at 7:26 AM, Ganapathy.C cganapa...@gmail.com wrote: this event is not working? Are you asking if it's not working? Because I don't know - it's your code. Make sure isChildSelectable returns true. Also maybe try a regular on item click listener and see if that works.

Re: [android-developers] Playing YouTube video in player with code

2010-10-06 Thread TreKing
On Wed, Oct 6, 2010 at 7:30 AM, Kevin Courtney kevinjcourt...@gmail.comwrote: Do any of you have suggestions and/ or an example on how to bring up a YouTube video in the player with code? No idea, but first thing I would try is a launching a generic ACTION_VIEW intent with that url. I'd

[android-developers] Custom View as Gallery Item

2010-10-06 Thread kavitha b
Hi All, As i see in Gallery example in APIDemos,it is possible to add Image listView or textviews as Gallery items. But my requirement is,I need to add both textview and Image combined as a single item in Gallery. All examples are showing either imageview adapter or text view adapter as Gallery

[android-developers] Re: Market ranking

2010-10-06 Thread Yahel
Hi Kumar, Ok I guess then I'm going to jump a few places in a bit then. What do you mean by 30days/60days download ? Yahel On 6 oct, 13:11, Kumar Bibek coomar@gmail.com wrote: Well, there are a lot of factors. A few of them are: 1. No of downloads 2. No of active installs 3. Reviews of

Re: [android-developers] help regarding custom scrollbar ...

2010-10-06 Thread Kumar Bibek
So, you mean to say that when the user clicks on the up/down arrow, the selection on the list will change accordingly? Well, first impressions, those arrows are right now, very small to touch on a phone. On Wed, Oct 6, 2010 at 6:16 PM, kavitha b kkavith...@gmail.com wrote: Hi Treking, thanks

Re: [android-developers] Custom View as Gallery Item

2010-10-06 Thread Kumar Bibek
Sure, create a custom view, and use that, else, you can create the custom view in the getView method of the adapter. On Wed, Oct 6, 2010 at 6:21 PM, kavitha b kkavith...@gmail.com wrote: Hi All, As i see in Gallery example in APIDemos,it is possible to add Image listView or textviews as

[android-developers] Problem in Adding the ListView to a Layout.

2010-10-06 Thread rokson
Hi Friends, This is kiran stuck up at the fallowing please help me out.. I taken RelativeLayout in main.xml file in which i have taken three linear layouts. I want to add my list view to the second linear layout but i unable to do it. List view is visible in all part of the activity. Remaining

Re: [android-developers] Re: Market ranking

2010-10-06 Thread Kumar Bibek
They might be tracking how many downloads the app gets during a 30-60 day period. Thats what I have heard. :) On Wed, Oct 6, 2010 at 6:21 PM, Yahel kaye...@gmail.com wrote: Hi Kumar, Ok I guess then I'm going to jump a few places in a bit then. What do you mean by 30days/60days download ?

Re: [android-developers] Custom View as Gallery Item

2010-10-06 Thread kavitha b
yes,I tried that using inflater. But it is not working.No views are shown in gallery then. Any example with that? On Wed, Oct 6, 2010 at 6:23 PM, Kumar Bibek coomar@gmail.com wrote: Sure, create a custom view, and use that, else, you can create the custom view in the getView method of

Re: [android-developers] help regarding custom scrollbar ...

2010-10-06 Thread kavitha b
yes,you are right. But application is for tablet.So Scrollbar will be bigger now. On Wed, Oct 6, 2010 at 6:22 PM, Kumar Bibek coomar@gmail.com wrote: So, you mean to say that when the user clicks on the up/down arrow, the selection on the list will change accordingly? Well, first

Re: [android-developers] Custom View as Gallery Item

2010-10-06 Thread Kumar Bibek
That should work. Media media = medias.get(index); if (convertView == null) { LayoutInflater inflater = (LayoutInflater) context .getSystemService(Context.LAYOUT_INFLATER_SERVICE); convertView = inflater.inflate(R.layout.media_adapter, null,

[android-developers] Re: Padding of a Button

2010-10-06 Thread DanH
ImageView worked fine, with no need to set the background transparent. On Oct 6, 12:16 am, Zarah Dominguez zarahj...@yahoo.com wrote: Hi DanH, Use an ImageButton, set the image as the src, set the background to @android:color/transparent, then add padding. ImageButton

Re: [android-developers] help regarding custom scrollbar ...

2010-10-06 Thread TreKing
On Wed, Oct 6, 2010 at 7:46 AM, kavitha b kkavith...@gmail.com wrote: Si now Scrollbar image should act as drawable as well,and when i click on arrows,it should update position of listview also. Thanks for the picture, that makes it much clearer. I agree with Kumar - this seems awfully small

[android-developers] Re: Auto repeat button

2010-10-06 Thread DanH
You can do the same with Message instead of Runnable, subclassing Handler. Works out to be about the same number of lines, though. On Aug 24, 3:22 pm, Jason Braucht jason.brau...@gmail.com wrote: http://developer.android.com/resources/articles/timed-ui-updates.html describes how to use

Re: [android-developers] help regarding custom scrollbar ...

2010-10-06 Thread Kumar Bibek
Hmm, but for a tablet, you can actually have such a selector. I don't know right now if it is possible or not. May be someone else would like to comment on this. I will try to cook up something and let you know. Scrolling by page or item is probably not the issue, but I am not very sure if you

Re: [android-developers] help regarding custom scrollbar ...

2010-10-06 Thread kavitha b
Thanks for the response. The list will move one selection item down when clicked on arrow. Basically it will act like a scrollbar as well and move one item down when clicked on arrow also. On Wed, Oct 6, 2010 at 6:38 PM, TreKing treking...@gmail.com wrote: On Wed, Oct 6, 2010 at 7:46 AM,

Re: [android-developers] help regarding custom scrollbar ...

2010-10-06 Thread kavitha b
I hope we can do it with a custom scrollbar. If we set custom view to act like scrollbar,then we can provide that arrow functionality also. On Wed, Oct 6, 2010 at 6:42 PM, Kumar Bibek coomar@gmail.com wrote: Hmm, but for a tablet, you can actually have such a selector. I don't know right

Re: [android-developers] help regarding custom scrollbar ...

2010-10-06 Thread Kumar Bibek
Then you have another problem as well, as to how you should control the position of the scroller when you scroll through the list by clicking the arrows. On Wed, Oct 6, 2010 at 6:43 PM, kavitha b kkavith...@gmail.com wrote: Thanks for the response. The list will move one selection item down

Re: [android-developers] help regarding custom scrollbar ...

2010-10-06 Thread kavitha b
No,when clicked on arrow,I have planned to make scrollbar stagnant moving only list item selection. On Wed, Oct 6, 2010 at 6:45 PM, Kumar Bibek coomar@gmail.com wrote: Then you have another problem as well, as to how you should control the position of the scroller when you scroll through

[android-developers] Re: XML encryption

2010-10-06 Thread gcstang
If you encrypt on the phone side with a known pass (assuming your using symmetric keys) then all the hacker has to do is find your password ( and salt if you use one) you used to create it and decrypt it. I would if possible use asymmetric keys. (public/private) I've not used them on Android so

Re: [android-developers] help regarding custom scrollbar ...

2010-10-06 Thread TreKing
On Wed, Oct 6, 2010 at 8:13 AM, kavitha b kkavith...@gmail.com wrote: The list will move one selection item down when clicked on arrow. Seems like a strange requirement for a touchscreen device, but hey, it's your app. I would expect the up arrow to be at the top of the screen and the down

[android-developers] Re: Does App size increase after upload to the And. market?

2010-10-06 Thread gcstang
I've also seen a decent increase in size upon install, not just from the market but on a local install the original apk is about 800kb and installed it's 1.37MB, almost double and I'm using LVL with obfuscation. Any way to make this smaller? On Oct 5, 12:21 pm, TreKing treking...@gmail.com

Re: [android-developers] help regarding custom scrollbar ...

2010-10-06 Thread Kumar Bibek
Thats a nice alternative solution. On Wed, Oct 6, 2010 at 6:49 PM, TreKing treking...@gmail.com wrote: On Wed, Oct 6, 2010 at 8:13 AM, kavitha b kkavith...@gmail.com wrote: The list will move one selection item down when clicked on arrow. Seems like a strange requirement for a touchscreen

[android-developers] How to change the icon position on a tab

2010-10-06 Thread xi developer
Where can I change my icon position on a tab to be in the center of the tab. Currently, my icon is located on top of the tab by default... -- 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] How to change the icon position on a tab

2010-10-06 Thread Mark Murphy
On Wed, Oct 6, 2010 at 9:30 AM, xi developer xidevelope...@gmail.com wrote: Where can I change my icon position on a tab to be in the center of the tab. Currently, my icon is located  on top of the tab by default... Use the version of setIndicator() that takes a View as its parameter, and you

Re: [android-developers] help regarding custom scrollbar ...

2010-10-06 Thread kavitha b
haha,Nice joke Treking. But is it possible to have custom scrollbar set for a listview ? Any example regarding that? On Wed, Oct 6, 2010 at 6:51 PM, Kumar Bibek coomar@gmail.com wrote: Thats a nice alternative solution. On Wed, Oct 6, 2010 at 6:49 PM, TreKing treking...@gmail.com wrote:

[android-developers] Re: how to simulate an operating system upgrade...

2010-10-06 Thread andrew_esh
I can't answer your question specifically, but my approach to it would be to learn how full system builds are done, and what is put into an OTA (Over the Air) package. I've brushed up against this as I've been doing full system builds within a CyanogenMod sandbox, but the same information should

Re: [android-developers] help regarding custom scrollbar ...

2010-10-06 Thread TreKing
On Wed, Oct 6, 2010 at 8:34 AM, kavitha b kkavith...@gmail.com wrote: haha,Nice joke Treking. Who was joking? But is it possible to have custom scrollbar set for a listview ? I assume these: http://developer.android.com/reference/android/view/View.html#attr_android:scrollbarTrackVertical

[android-developers] Re: Obfuscating parts of an application. Wise or not?

2010-10-06 Thread Moto
Sorry second post wasn't worded properly. Yes, I was asking obfuscating one jar, rather than the entire application. If that's a good approach and if that's safe to do. That's why the second post, if using a jar on an application if it could be easily extracted. Cause if you could there is no

Re: [android-developers] help regarding custom scrollbar ...

2010-10-06 Thread kavitha b
Thanks Treking, Will try that idea. On Wed, Oct 6, 2010 at 7:14 PM, TreKing treking...@gmail.com wrote: On Wed, Oct 6, 2010 at 8:34 AM, kavitha b kkavith...@gmail.com wrote: haha,Nice joke Treking. Who was joking? But is it possible to have custom scrollbar set for a listview ? I

[android-developers] Re: CPU usage stats

2010-10-06 Thread askPrins
As a developer I would say it is VERY important to measure how efficient your implementation (code) is. CPU usage (which can sucks the battery) and memory usage etc are very important issues specially for developers. On Sep 8, 8:18 pm, Frank Weiss fewe...@gmail.com wrote: On Wed, Sep 8, 2010

[android-developers] Re: XML encryption

2010-10-06 Thread bagelboy
I'm not sure if that is practical. If I created a public/private keypair as part of the app it would be accessible to the user and could be used to decrypt the data. The only way that would work is if there was a way to protect the public/private keypair, and I'm not sure how to go about doing

[android-developers] Re: Adding Rate this application capability

2010-10-06 Thread Brill Pappin
check the Market policy as you don't want to get your app removed. Developers should not attempt to change the placement of any application in the Market by offering incentives to users to rate an application with higher or lower ratings; or by themselves rating an application multiple times.

[android-developers] Re: XML encryption

2010-10-06 Thread bagelboy
I'll have a look, thanks for the suggestion. The trick will be to hide the key in such a way as to make it difficult to find, I'm hoping a combination of proguard and additional obfuscation of my own will do the trick. On Oct 5, 6:34 pm, Dimitris dnkou...@gmail.com wrote: Yes, look for

[android-developers] Re: XML encryption

2010-10-06 Thread bagelboy
I would be reading the data in once and no modifications would be made. On Oct 5, 6:34 pm, DanH danhi...@ieee.org wrote: Yeah, a lot depends on whether you'll be reading the entire XML file at once and extracting everything you need, or going back and rereferencing it from time to time. On

[android-developers] GroupMembership problems in 1.6

2010-10-06 Thread magic
Hello: I am trying to query a contact group for retrieve its members using Cursor cc = cr.query(GroupMembership.CONTENT_URI, null, group_id=?,new String[]{groupID, null); However it can only find the contact which i manually added by code as following: Contacts.People.addToGroup(content,

[android-developers] Re: How to change the icon position on a tab

2010-10-06 Thread xi developer
Hi, I use the following View to customize my icon text position of the tab, but I failed, could you give some hint to me?? ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent

[android-developers] Emulator Soft Keyboard

2010-10-06 Thread John Gaby
When I start the Android emulator, the soft keyboard that is presented seems to be expecting me to type Chinese or Japanese characters (i.e. it composes what I type into those characters). I can click on the soft keyboard button in the lower left corner (which contains Chinese or Japanese

[android-developers] Re: New ADT available.

2010-10-06 Thread String
On Oct 5, 6:13 pm, Craigo craig...@gmail.com wrote: If I was you, I'd try a fresh Eclipse install.  It won't take that long.  Just export your Eclipse preferences (Export - General - Preferences) and import them back on the new install. OK, I didn't know about that feature of Eclipse. But

[android-developers] Re: The ultimate, killer Android Marketplace replacement

2010-10-06 Thread Bret Foreman
This can't be solved by single-carrier efforts. A piecemeal solution will be no good at all for developers. There needs to be a single entity where developers can place their apps and from which they can collect their payments. That entity needs to cut deals with all the major carriers, who in

[android-developers] Re: map not api visible

2010-10-06 Thread dadada
Thank you TreKing. I will post in the google map group. At the meantime, I wonder is there someone out there who tried to use http to update map. thanks On Oct 6, 8:09 pm, TreKing treking...@gmail.com wrote: On Wed, Oct 6, 2010 at 5:41 AM, dadada ytbr...@gmail.com wrote: I then tried the url

  1   2   3   4   5   >