Re: [android-developers] Re: NFC Secure Element

2012-01-05 Thread s.rawat
I did re-flashing from the patched Android Source and again the same thing.Here are the logcat logs on clicking the NFC Settings : D/dalvikvm( 298): GC_EXPLICIT freed 91K, 45% free 3160K/5703K, external 4731K/5234K, paused 290ms I/ActivityManager( 106): Starting: Intent {

Re: [android-developers] android contacts..

2012-01-05 Thread tamil maran
how to load and display the document file from url link into webview this is the link which : http://122.183.217.133:8080/Intranet/datafileupload.htm?fileid=4 which link contain the one document ,which contain the resume of employee.her i need to display this resume into webview or textview .how

Re: [android-developers] Re: NFC Secure Element

2012-01-05 Thread Fernando Miguélez
Hi Saurabdh, I reviewed my notes and I definetly built the image with lunch full_crespo-eng. Try building in engineer mode so the traces can be more verbose. Apart from that the process to compile the firmware is the same you described in your blog. On Thu, Jan 5, 2012 at 9:31 AM, s.rawat

Re: [android-developers]

2012-01-05 Thread Narendra Bagade
pls.refer http://htcdev.com/ On Thu, Jan 5, 2012 at 1:05 AM, TreKing treking...@gmail.com wrote: On Wed, Jan 4, 2012 at 1:30 PM, jaggu mjagadeeshb...@gmail.com wrote: i want to intsall htc desire sdk for my eclipse which version and avd also what the scale display size.

[android-developers] Mapview adding point

2012-01-05 Thread Duygu Kahraman
Hi All; I am working on google maps. I am using this http://codemagician.wordpress.com/2010/05/06/android-google-mapview-tutorial-done-right/ . my problem is i dont want to see screen gettin dark when i add point. İ dont want to see

[android-developers] Mapview adding point

2012-01-05 Thread Duygu Kahraman
Hi All; I am working on google maps. I am using this http://codemagician.wordpress.com/2010/05/06/android-google-mapview-tutorial-done-right/ . my problem is i dont want to see screen gettin dark when i add point. İ dont want to see

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-05 Thread Chenchen
Dear Raul, I'm playing around with UA-767PBT-C, and find that I could be able to get the association request by printing log in read thread: 01-04 13:46:49.652: I/BluetoothHDPService(7249): e200 0032 8000 0001002a 5079 0026 8000 8000 //?? not 0xA0 8000 0080 0008

[android-developers] Android VS Embedded Linux

2012-01-05 Thread Abhishek Joshi
Dear All, I am new to this forum and writing first time. We were debating internally about deciding a OS for our chip. We were contemplating between Android and custom embedded linux. Before we decide, I wanted to get answers for following questions: • Customization of Android o Is

[android-developers] my first android program ever I usually code in python

2012-01-05 Thread aikidoguy
I apologize I understand this is a more advance list but I don't know where else to turn This is my first android program ever I usually code in python... I've watch a ton of java tutorials but Java is so different I'm having trouble ...so here is what I need to do... I have my Main class and it

[android-developers] Issues about ffmpeg,thanks for attention

2012-01-05 Thread bixiaopeng2...@yahoo.com.cn
I'm working on transplanting the ffmpeg to android platform.however in the project I use the .so file from android 2.2 and it do not work on my incredible S which platform version is 2.3 .does it mean I have to use the specific files which related to the running platform in the project? -- You

[android-developers] Android Contact

2012-01-05 Thread Krishnamoorthy Paavadai
Hi... I m a beginner to android .. i would like to add birthday column in android contact...kindly suggest to me... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Android dhcp client

2012-01-05 Thread shulik
Hi! Find next trouble. If via dhcp server send to android parameters as: # MS routes: adds extras to supplement routers option option ms-classless-static-routes code 249 = array of unsigned integer 8; # RFC3442 routes: overrides routers option option rfc3442-classless-static-routes code 121 =

[android-developers] [ContactsContract] Get contact id from google talk contact

2012-01-05 Thread Jonas
Hi, suppose I have a gtalk contact, this means I know IM_HANDLE and PROTOCOL from http://developer.android.com/reference/android/provider/ContactsContract.StatusUpdates.html . How can I now more informations about the contact? In my case I need the latest status update. Whatever I try, I always

[android-developers] Android Crash When Using NumberPicker Widget

2012-01-05 Thread Said
Please help me with the following crash. I got NumberPicker widget code from some web page and with little modification was using in one of my project. It is displayed properly when I compile the java file. But I need to use it in multiple projects, so I thought of making a jar file from it. The

[android-developers] Re: How to invoke sim unlock pin screen

2012-01-05 Thread bixiaopeng2...@yahoo.com.cn
Maybe you can reference the devicepolicymanager api (I think) On 2011年12月29日, 下午9时43分, Giacomo Federici giacomo.feder...@gmail.com wrote: As the title, how can I invoke programmatically the default screen to unlock the sim card? (The one that appears at the boot of the phone if the sim PIN is

[android-developers] RTSP example needed

2012-01-05 Thread hanan ahmad
Till now i saw tutorials on streaming which plays video and audio files by downloading into a folder and play. Is there any examples which explains how to use RTSP for streaming media ? regards hanan ahmed -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Dalvik error code 1 using ProGuard

2012-01-05 Thread Alex Curran
I'm trying to build my app ready for release but keep hitting the dreaded Dalvik error 1, and can't figure out why. I was hoping people here would be able to diagnose my problem! My app uses lots of libraries sort of daisy-chained into each other because some are dependent on others, and it

[android-developers] IDM 6.07 Build 16 + Patch 32 64 bits + Serial Final

2012-01-05 Thread yssssn fh
IDM 6.07 Build 16 + Patch 32 64 bits + Serial Final to download http://adf.ly/4Y1V5 -- 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,

[android-developers] Re: I require Code for Cloud printer

2012-01-05 Thread Doug
Please tell us more about the cloud print facility. Doug On Jan 2, 4:10 am, aru padam deepesh...@gmail.com wrote: Hi All,        I want a help on creating an apps which support the cloud print facility. Please help me. -- Thanks Regards Deepesh -- You received this message because

Re: [android-developers] Re: I require Code for Cloud printer

2012-01-05 Thread dEEPESH PPM
Hi Doug, * * * * * * * Please refer the following links..* * 1.*http://code.google.com/apis/cloudprint/docs/overview.html 2.http ://www.google.com/cloudprint/learn/http://www.google.com/cloudprint/learn/ * * *Thanks and Regards* * * *Deepesh* On Thu, Jan 5, 2012 at

Re: [android-developers] Re: I require Code for Cloud printer

2012-01-05 Thread Oli Wright
Right, taking a look at the section there on Submitting Print Jobs, it appears there is already support for android (something about the GCP Intent). Given you already have access to that information, it's not clear what help you're after. Have you read this?

Re: [android-developers] Re: I require Code for Cloud printer

2012-01-05 Thread Oli Wright
p.s. (and in no way taking away from the point that you need to read the smart questions doc) a quick Google found this which might help get you started. http://www.slideshare.net/wolfpaulus/android-print-intent-8431140 -- You received this message because you are subscribed to the Google

[android-developers] Script manager Code - How to run the shell script in the android

2012-01-05 Thread s.rawat
hi, I have not been able to run a shell script in the android phone .Actually i have to change the mode to root by issuing su command, but when the user changes to normal user($) to root (#) the further commands never gets executed. Following is my shell script which I have pushed into the

Re: [android-developers] Re: NFC Secure Element

2012-01-05 Thread Fernando Miguélez
Saurabh, After reflashing my phone and verifying that the NFC toggle option was available also in main Wireless Settings Screen, and after examining your problem I reached the conclusion that your generated image does not include NFC support, only the settings screen. I reviewed the patches and

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-05 Thread Raul Ruiz
Hi Chenchen, I'm trying connecting UA-767PBT.-C to android manager that i did and it connect and disconnect all time. I don't know how do you do connection to get read thread and get the association request. If you get something tell me. With Nonin i establish connection and i get 0 bytes all

Re: [android-developers] Re: NFC Secure Element

2012-01-05 Thread s.rawat
Sure I will try that and post the results ! ..pain is temporary.quitting lasts forever.. 2012/1/5 Fernando Miguélez fernando.migue...@gmail.com Saurabh, After reflashing my phone and verifying that the NFC toggle option was available also in main Wireless Settings Screen, and

Re: [android-developers] Mapview adding point

2012-01-05 Thread TreKing
On Thu, Jan 5, 2012 at 3:38 AM, Duygu Kahraman duygu.kahram...@gmail.comwrote: İ dont want to see http://codemagician.files.wordpress.com/2010/05/end-result-2.jpg?w=630 Then don't show the dialog ...

[android-developers] Re: Should I enable hardware acceleration?

2012-01-05 Thread sblantipodi
Really thanks for the answer Romain, I appreciate it. To make a try I enabled the Force GPU rendering option in my Galaxy Nexus. When this option is disabled my software is lightning fast, when this option is enabled I see many slow down. As I told my software draw is UI using canvas completely,

Re: [android-developers] Android Contact

2012-01-05 Thread TreKing
On Wed, Jan 4, 2012 at 11:47 PM, Krishnamoorthy Paavadai krishnamoor...@inoesis.com wrote: I m a beginner to android .. i would like to add birthday column in android contact...kindly suggest to me... I suggest you read the documentation, try something, then come back with a better

Re: [android-developers] my first android program ever I usually code in python

2012-01-05 Thread TreKing
On Thu, Jan 5, 2012 at 12:23 AM, aikidoguy clayrichmo...@gmail.com wrote: I apologize I understand this is a more advance list but I don't know where else to turn https://www.google.com/ can some one point me in a direction of some tutorials or examples of this ... thanks

[android-developers] Skia issue with BitmapRegionDecoder

2012-01-05 Thread sebastian_bugiu
I have 2 pngs. One has transparent parts the other doesn't. Decoding a region in the one without transparency works while decoding a region from the one with transparency gives I/DEBUG ( 34): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 34): Build fingerprint:

[android-developers] Pause button on logcat

2012-01-05 Thread Christopher Van Kirk
Hey that new pause button on LogCat is a great idea with a lousy implementation. Love the ability to pause the logging, but it shouldn't change its state by itself! I'm constantly having to uncheck the damn thing because it turned itself on. -- You received this message because you are

Re: [android-developers] Update view of installed apps without reloading

2012-01-05 Thread TreKing
On Wed, Jan 4, 2012 at 8:06 PM, galapogos gois...@gmail.com wrote: 1. getInstalledPackages seem to take quite a bit of time to detect and display all apps(about 8-10s for 200+ apps). Is it possible to make this faster? Titanium Backup seems to list all apps instantaneously when I tap the

[android-developers] Using sd-card in 4.0 emulator

2012-01-05 Thread Dirk Vranckaert
First of all happy holidays and happy 2012 for all of you! I'm trying to write something to my SD-card, It works in 2.x. But in the 4.0 emulator I cannot write anything to internal memory or SD- card. In the AVD settings I added a 50MB SD card. But my code already returns false for

[android-developers] Uri of Image

2012-01-05 Thread aru padam
Hi all, I have a bitmap image from the data base. Any one could help me to create an uri of this image. Thanks and Regards Deepesh -- 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] Bevel effet on Buttons

2012-01-05 Thread aru padam
Hi all, Please help me to create bevel effects on buttons... Thanks and Regards Deepesh -- 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

Re: [android-developers] Using sd-card in 4.0 emulator

2012-01-05 Thread Mark Murphy
On Thu, Jan 5, 2012 at 9:14 AM, Dirk Vranckaert dirkvrancka...@gmail.com wrote: But my code already returns false for Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED); When going in the android settings of the emulator I cannot see the SD memory, only internal memory...

[android-developers] Re: Using sd-card in 4.0 emulator

2012-01-05 Thread Dirk Vranckaert
Mark, That's what I did. In the SD Card part of the add/edit AVD screen I've entered the size (100MB). I even tried added the hardware parameter hw.sdCard: yes. But none of these things work.. Kr, Dirk On Jan 5, 3:19 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Jan 5, 2012 at 9:14

Re: [android-developers] Regarding Transfer Files.

2012-01-05 Thread TreKing
On Wed, Jan 4, 2012 at 12:35 AM, yogendra G yogi2...@gmail.com wrote: I require sample code for transfering pics from phone to pc through bluetooth. Please help me out in this I require blank check for transferring monies from me to dealer through shady means. Please help me out in this.

Re: [android-developers] need help on text rotation

2012-01-05 Thread TreKing
On Wed, Jan 4, 2012 at 2:27 AM, chowdary nani naveenneeli...@gmail.comwrote: my problem is to change the angle of text on key code event the text should be changed either counter clock wise or anti clock wise. i need help on changing the angle of text dynamically You're just repeating your

Re: [android-developers] Re: Using sd-card in 4.0 emulator

2012-01-05 Thread Mark Murphy
On Thu, Jan 5, 2012 at 9:25 AM, Dirk Vranckaert dirkvrancka...@gmail.com wrote: That's what I did. In the SD Card part of the add/edit AVD screen I've entered the size (100MB). I even tried added the hardware parameter hw.sdCard: yes. But none of these things work.. They work in my ICS

[android-developers] Re: Using sd-card in 4.0 emulator

2012-01-05 Thread Dirk Vranckaert
I did the check and am running on the latest versions. But I noticed something strange. When I open my AVD manager and want to create a new AVD it's not created on disk (although I can see the AVD and all it's preferences in AVD application). I tried deleting all AVD's and manually deleted the

Re: [android-developers] AppWidgets Disappearing from list in ICS

2012-01-05 Thread Ash McConnell
Hi Kostya, Sorry for the late reply, it has been a hectic holiday period. I couldn't get it to cause any problems in the emulator or any warnings on my Android 2.2 device (Motorola Defy) I got the user to send me a log file using a logfile capture app. There was one exception of interest: -

[android-developers] Re: Using sd-card in 4.0 emulator

2012-01-05 Thread Dirk Vranckaert
Ok I found the problem, the my documents directory is set to be in D:\DVRANCKA . So when the AVD manager creates an AVD it's places under D:\DVRANCKA\.android\avd \...However when I want to launch an AVD it's looked for in the C:\user \DVRANCKA\.android\avd\... Is there somewhere I can configure

Re: [android-developers] Re: Using sd-card in 4.0 emulator

2012-01-05 Thread Mark Murphy
On Thu, Jan 5, 2012 at 9:42 AM, Dirk Vranckaert dirkvrancka...@gmail.com wrote: I did the check and am running on the latest versions. But I noticed something strange. When I open my AVD manager and want to create a new AVD it's not created on disk (although I can see the AVD and all it's

[android-developers] is it possible to set text color for individual items in a list view?

2012-01-05 Thread John Davis
Hello I have a listview with items in it. I would like to set certain line items to be a certain color. Is this possible? -- John F. Davis 独树一帜 -- 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: Using sd-card in 4.0 emulator

2012-01-05 Thread Dirk Vranckaert
I prefer Mac (or even Linux) but my employer enforces me to use Windows so yeah... :-) But here's what I just found (posted it already): Ok I found the problem, the my documents directory is set to be in D:\DVRANCKA . So when the AVD manager creates an AVD it's places under

[android-developers] Re: Bevel effet on Buttons

2012-01-05 Thread Streets Of Boston
Honestly, based on the other posts you make on this forum, it looks like you want other people to do the work for you. You won't get much help this way. Try to figure it out yourself, figure out the basics and go from there. Google it. Go to developers.android.com, etc. Take a look at the

Re: [android-developers] changing ImageButton image

2012-01-05 Thread TreKing
On Wed, Jan 4, 2012 at 12:06 AM, m l debar...@gmail.com wrote: The first Image change ( step 2) never happens Yes it does, but you're doing it all in the main thread, so you never see it because you don't give the system a chance to draw your changes. You need to read up on and understand

Re: [android-developers] is it possible to set text color for individual items in a list view?

2012-01-05 Thread Mark Murphy
On Thu, Jan 5, 2012 at 9:50 AM, John Davis davi...@gmail.com wrote: I have a listview with items in it.  I would like to set certain line items to be a certain color.  Is this possible? Override getView() of your ArrayAdapter (or bindView() of your CursorAdapter) and put in the logic to set the

Re: [android-developers] is it possible to set text color for individual items in a list view?

2012-01-05 Thread John Davis
Hello Mark, Thanks for your response. I tried various things already. Here is what kind of made sense but did not work: // Set the color based upon the faction. View rowView; int listCount; View fooView; listCount = adapter.getCount(); for (int i=0;inumRows;i++) { rowView =

Re: [android-developers] is it possible to set text color for individual items in a list view?

2012-01-05 Thread Mark Murphy
Your primary job is to get the color right when the row is created. That involves what I wrote: Override getView() of your ArrayAdapter (or bindView() of your CursorAdapter) and put in the logic to set the color as part of configuring that row. Now, if in addition to that, the color change

Re: [android-developers] is it possible to set text color for individual items in a list view?

2012-01-05 Thread John Davis
Hmm. Ok, I maybe over my head. I guess the first thing to do is subclass array adapter as you said first so I can override its getView call. -- 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] is it possible to set text color for individual items in a list view?

2012-01-05 Thread Mark Murphy
On Thu, Jan 5, 2012 at 10:19 AM, John Davis davi...@gmail.com wrote: Ok, I maybe over my head.  I guess the first thing to do is subclass array adapter as you said first so I can override its getView call. Right. Here is a free excerpt from one of my books that goes through that process:

Re: [android-developers] is it possible to set text color for individual items in a list view?

2012-01-05 Thread John Davis
Hello Mark, Ok. Thanks. I've managed to create my own MyAdapter. I'm guessing, I need to override the getView routine there now. The code still works using the custom adapter. It was a struggle ot get the constructor right. I'll look at your pdf in a bit. Let me struggle with the concept of

Re: [android-developers] is it possible to set text color for individual items in a list view?

2012-01-05 Thread John Davis
Well, I have this in my main class: // Build the listview MyAdapterString adapter = new MyAdapterString(this,android.R.layout.simple_list_item_1, values); // ArrayAdapterString adapter = new ArrayAdapterString(this,android.R.layout.simple_list_item_1, values);

[android-developers] How to send onPreviewframe jpeg image continuously to server??????

2012-01-05 Thread muhammad.ume...@hotmail.com
hi, I am creating an app to send onPreviewframe image byte array continuously to server, but only on image is transfer to server. I am stuck here please tell me what i have to do for this situation. //here is my android onpreviewframe code/// public void onPreviewFrame(byte[] data,

Re: [android-developers] is it possible to set text color for individual items in a list view?

2012-01-05 Thread John Davis
I changed the getview code so it only calls the super code once and returns the rowView as you did. public class MyAdapterT extends ArrayAdapterT {        public MyAdapter(Context context, int textViewResourceId, T[] objects) {                super(context, textViewResourceId, objects);  

Re: [android-developers] is it possible to set text color for individual items in a list view?

2012-01-05 Thread Mark Murphy
If the TextView is truly invisible, you need to make it visible, using setVisibility(). Otherwise, use Hierarchy View to examine your UI and see what is going on: http://developer.android.com/guide/developing/debugging/debugging-ui.html On Thu, Jan 5, 2012 at 10:57 AM, John Davis

Re: [android-developers] is it possible to set text color for individual items in a list view?

2012-01-05 Thread John Davis
This also does not work: public View getView(int position, View convertView, ViewGroup parent) { // TODO Auto-generated method stub View rowView; rowView = (TextView) super.getView(position, convertView, parent); //

Re: [android-developers] AppWidgets Disappearing from list in ICS

2012-01-05 Thread Kostya Vasilyev
The code in Launcher looks up the widget info object by the widget id. Does your code properly handle that? Here is my code from a widget config activity: Intent resultValue = new Intent(); resultValue.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); setResult(RESULT_OK,

Re: [android-developers] is it possible to set text color for individual items in a list view?

2012-01-05 Thread John Davis
In the getView code, when I returned the super call, it was blank text. When I returned a row as you did in your example, it would show the text in gray/white. Trying everything to change the color results in no change. If I want to change the text color should I uses SetBackgroundColor or

Re: [android-developers] is it possible to set text color for individual items in a list view?

2012-01-05 Thread Mark Murphy
On Thu, Jan 5, 2012 at 11:07 AM, John Davis davi...@gmail.com wrote: If I want to change the text color should I uses SetBackgroundColor or SetTextColor? setTextColor(). Note that you probably do not want to be using a hex value, but rather a ColorStateList, if your color may be unreadable when

[android-developers] Re: ADT Eclipse: Failed to parse the output of 'adb version'

2012-01-05 Thread Albert Pi
Lucio, Try to use sdk android revision 15. This revision is working on my PC (Windows XP/jdk 1.7.0_02/Eclipse 3.7.1(Indigo)/sdk android revsion 15). On Jan 4, 8:33 am, LucPel lucio.pellecc...@gmail.com wrote: I have the problem with my installation ADT Android on Eclipse Indigo, the problem is

[android-developers] Re: hdpi drawable sizes

2012-01-05 Thread Neilz
So basically, to simplify my question: Can two devices which both sit in the HDPI (large screen) range, use a different set of assets? On Jan 4, 12:50 pm, Neilz neilhorn...@gmail.com wrote: Hi all. I have a set of assets in my drawable-hdpi folder, which have generally been designed using an

[android-developers] Is there a docment on getView()?

2012-01-05 Thread John Davis
Hello The getView() call for arrayadapter is blank. Is there a document which describes how it works? I have overridden it in order to change the text color of items in a list view. So far, I can't find any code which works. I've tried this: public class MyAdapterT extends ArrayAdapterT {

Re: [android-developers] Re: Using sd-card in 4.0 emulator

2012-01-05 Thread Kostya Vasilyev
If you create the emulator from the command line (using android create avd), you can specify your own paths. I used it to create emulators in a directory without spaces (to work around spaces in C:\Documents and Settings), and the entire emulator directory / file structure stayed within the

Re: [android-developers] Is there a docment on getView()?

2012-01-05 Thread Kostya Vasilyev
1: http://developer.android.com/reference/android/widget/Adapter.html#getView(int, android.view.View, android.view.ViewGroup) 2: Yes, you're supposed to call the base class in your case, the ArrayAdapter will be doing most of the work for you, inflating new or reusing existing row layouts. 3:

Re: [android-developers] Re: hdpi drawable sizes

2012-01-05 Thread Kostya Vasilyev
What quantized density does that device report? If it's 240, that's pure HDPI. 5 января 2012 г. 20:26 пользователь Neilz neilhorn...@gmail.com написал: So basically, to simplify my question: Can two devices which both sit in the HDPI (large screen) range, use a different set of assets? On

[android-developers] is there any body can make programs which run on android platform for a handsom salary...

2012-01-05 Thread Samron
hello everybody is there any body who can make programs runing on android platform like games or applications. A company named buzzmob wants some people for making android programs... So intrested people can contact me on 'samkit...@gmail.com' or call me at 9778660040 -- You received this

Re: [android-developers] Is there a docment on getView()?

2012-01-05 Thread TreKing
2012/1/5 John Davis davi...@gmail.com The getView() call for arrayadapter is blank. Is there a document which describes how it works? The docs are your friend: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/List4.html I don't know if I am

Re: [android-developers] Is there a docment on getView()?

2012-01-05 Thread John Davis
Hello Kostya, Thanks for the reply. On Thu, Jan 5, 2012 at 11:39 AM, Kostya Vasilyev kmans...@gmail.com wrote: 2: Yes, you're supposed to call the base class in your case, the ArrayAdapter will be doing most of the work for you, inflating new or reusing existing row layouts. Ok. I think I

Re: [android-developers] Is there a docment on getView()?

2012-01-05 Thread John Davis
Hello I don't have resource id's for the individual row items. You should, it's your project. Super. That might help, but this example http://developer.android.com/resources/tutorials/views/hello-listview.html does not use id's for the individual list items. How would I do that? John --

[android-developers] Giving away my book: Genius Android Marketing

2012-01-05 Thread scp89
I've recently finished writing the first full-length, android-specific book on Android Marketing. It covers tips, tricks, strategies, competitive analysis, and so much more. Everything I've learned in 2 years selling android apps, I've put into this book. It is available via e-book OR softcover:

Re: [android-developers] Is there a docment on getView()?

2012-01-05 Thread Kostya Vasilyev
Just to clarify 2: I meant calling super.getView from your adapter's getView, assuming it's a subclass of ArrayAdapter. Do not call adapter.getView from outside the adapter's code, that's meaningless. Now the view ids What layout id do you use to initialize the adapter? Perhaps

Re: [android-developers] Is there a docment on getView()?

2012-01-05 Thread TreKing
On Thu, Jan 5, 2012 at 10:49 AM, John Davis davi...@gmail.com wrote: Super. That might help, but this example http://developer.android.com/resources/tutorials/views/hello-listview.html does not use id's for the individual list items. How would I do that?

Re: [android-developers] Is there a docment on getView()?

2012-01-05 Thread John Davis
Hello On Thu, Jan 5, 2012 at 11:53 AM, Kostya Vasilyev kmans...@gmail.com wrote: Just to clarify 2: I meant calling super.getView from your adapter's getView, assuming it's  a subclass of ArrayAdapter. Do not call adapter.getView from outside the adapter's code, that's meaningless. That

Re: [android-developers] Giving away my book: Genius Android Marketing

2012-01-05 Thread Sócrates Medina
Thanxs! Sent from Samsung Galaxy Note On Jan 5, 2012 12:51 PM, scp89 jayvanbui...@gmail.com wrote: I've recently finished writing the first full-length, android-specific book on Android Marketing. It covers tips, tricks, strategies, competitive analysis, and so much more. Everything I've

Re: [android-developers] Is there a docment on getView()?

2012-01-05 Thread Mark Murphy
On Thu, Jan 5, 2012 at 12:04 PM, John Davis davi...@gmail.com wrote: Now the view ids What layout id do you use to initialize the adapter? Perhaps android.R.layout.something? I did :                MyAdapterString adapter = new MyAdapterString(this,android.R.layout.simple_list_item_1,

[android-developers] Re: Giving away my book: Genius Android Marketing

2012-01-05 Thread Michael Wellington
It looks like a very interesting read. Thank you. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Is there a docment on getView()?

2012-01-05 Thread TreKing
On Thu, Jan 5, 2012 at 11:04 AM, John Davis davi...@gmail.com wrote: Or, is there a way to patch up this code to do what I want? Yes. It seems pretty trivial to do. It is once you get the hang of it. I don't understand why the hooks do not exist for what i want to do. They do, but

Re: [android-developers] Is there a docment on getView()?

2012-01-05 Thread Kostya Vasilyev
Aha! android.R.layout.simple_list_item_1 is defined in the platform, you can find it under your Android sdk directory/platforms/platform-version/data/res/layout (that data/res is very useful to look up things): The whole layout is a TextView, and its id is @android:id/text1, which, on the Java

[android-developers] Re: Giving away my book: Genius Android Marketing

2012-01-05 Thread Oli Wright
Looks interesting. For those that don't have a lot of time to put into this research themselves it's always good to be able to learn from someone else who has done the legwork! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] HttpURLConnection + keep alive timeout? (the way forward starting with gingerbread)

2012-01-05 Thread Mark Wyszomierski
Hi, It looks like the android team will be investing more resources in support / improvement of the HttpURLConnection class, based on this dev post here: http://android-developers.blogspot.com/2011/09/androids-http-clients.html For Gingerbread and better, HttpURLConnection is the best choice New

[android-developers] Re: is there any body can make programs which run on android platform for a handsom salary...

2012-01-05 Thread Oli Wright
On Thursday, 5 January 2012 16:45:23 UTC, Samron wrote: hello everybody is there any body who can make programs runing on android platform like games or applications. On an Android developers group? I doubt it ... -- You received this message because you are subscribed to the Google

Re: [android-developers] Is there a docment on getView()?

2012-01-05 Thread John Davis
Kostya, Tip of the hat to you. That worked. It will set all the items to blue text. I appreciate your help a lot. Now, is there a simple way to do this selectively? I saw you could tag items and then look based upon a tag. Perhaps that will work? I would prefer that the class which creates

Re: [android-developers] How to obtain NOT ENCODED polylines using the com.google.android.maps package

2012-01-05 Thread TreKing
On Tue, Jan 3, 2012 at 5:54 AM, GerarCR gceballosr...@gmail.com wrote: I need to ask for a route using google maps API, but i need the (lat,long) points of the polyline to plot them by myself, instead of the encoded polyline. If you question is about the web-based maps API for route-planning

Re: [android-developers] Is there a docment on getView()?

2012-01-05 Thread Kostya Vasilyev
Ok, great. One simple thing you can do is to check the item's position, e.g. set odd items to blue and even items to red (just to pick an example). Beyond that, consider creating a proper data item class. The adapter's getView would then examine the data item at the requested position and make

[android-developers] Android Library sources not found

2012-01-05 Thread DulcetTone
Is there something I need to do so that my own Android Library's source code is findable by Android projects working with it within the same workspace? The debugger goes to a .class version of it, and no use of the link to source function offered thereby placates it. No pointing out of this

Re: [android-developers] Android Library sources not found

2012-01-05 Thread Kostya Vasilyev
1: Add the library project as a dependency to the app project: Package Explorer / Right-click the app project / Properties / Java Build Path / Projects, under Required projects on the build path. 2: Switch to the Order and Export tab and move the library project up, so it's above Library

[android-developers] Re: MergeCursor broken 3.x ?

2012-01-05 Thread Gonçalo Ferreira
Okay, i found a solution. I substituted the CursorAdapter and SimpleCursorAdapter imports for the ones on the compatibility package and used CursorAdapter.swapCursor instead of CursorAdapter.changeCursor. Seems to be something related that swapCursor does not close the previous cursor. On Jan 4,

[android-developers] Re: hdpi drawable sizes

2012-01-05 Thread Neilz
Hi Kostya - not quite sure what you're getting at. Yes, both devices are 240 density, it's just the pixel size that differs - but the larger device isn't large enough to fall into the 'xlarge' bracket. On Jan 5, 4:42 pm, Kostya Vasilyev kmans...@gmail.com wrote: What quantized density does that

Re: [android-developers] HttpURLConnection + keep alive timeout? (the way forward starting with gingerbread)

2012-01-05 Thread Kristopher Micinski
On Thu, Jan 5, 2012 at 11:26 AM, Mark Wyszomierski mar...@gmail.com wrote: Hi, It looks like the android team will be investing more resources in support / improvement of the HttpURLConnection class, based on this dev post here:

Re: [android-developers] Setting textColor in strings.xml file

2012-01-05 Thread TreKing
On Mon, Jan 2, 2012 at 6:57 PM, Glenn glennark...@gmail.com wrote: Can I set a color for text in the strings.xml file to be used in the layout xml file? http://developer.android.com/guide/topics/resources/more-resources.html#Color

[android-developers] is this a bug

2012-01-05 Thread John Davis
A listview says there are 6 items in the list. ie. count = 6 Yet, you can not get the items for (int i=0;inumRows;i++) { count = theList.getCount(); // returns 6 fooView = (View) theList.getItemAtPosition(i); // raises exception -- John F. Davis

Re: [android-developers] Re: hdpi drawable sizes

2012-01-05 Thread Kostya Vasilyev
What I'm getting at is: resource loading is based on quantized, not actual, density, so if the device's manufacturer decided to report 240 dpi, it's going to be drawable-hdpi. I don't have one of those, but would assume that the screen size in dp's is also bit larger than the usual 533x320 dpi

Re: [android-developers] is this a bug

2012-01-05 Thread TreKing
On Thu, Jan 5, 2012 at 12:39 PM, John Davis davi...@gmail.com wrote: fooView = (View) theList.getItemAtPosition(i); // raises exception The exception would be? The stack trace would be? - TreKing

Re: [android-developers] is this a bug

2012-01-05 Thread Kristopher Micinski
Oh geeze, haha... the framework would never have this obvious a bug... What kind of an exception are you getting? A ClassCastException I would suppose? Kris On Thu, Jan 5, 2012 at 12:39 PM, John Davis davi...@gmail.com wrote: A listview says there are 6 items in the list. ie. count = 6 Yet,

Re: [android-developers] Is there a docment on getView()?

2012-01-05 Thread John Davis
On Thu, Jan 5, 2012 at 12:44 PM, Kostya Vasilyev kmans...@gmail.com wrote: Ok, great. One simple thing you can do is to check the item's position, e.g. set odd items to blue and even items to red (just to pick an example). The only logic which knows the desired color is the main view which

Re: [android-developers] is this a bug

2012-01-05 Thread John Davis
It looks like a bug ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord, Intent) line: 2661 ActivityThread.handleLaunchActivity(ActivityThread$ActivityRecord, Intent) line: 2679 ActivityThread.access$2300(ActivityThread, ActivityThread$ActivityRecord, Intent) line: 125

  1   2   3   >