[android-developers] Re: ListView Issue

2011-05-30 Thread Nikola Gotsev
Another way is to have Custom List Item and Custom List adapters more info here - http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/ Hope it helped. Regards, Nikola Gotsev -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: app to webservice connection architecture?

2011-01-19 Thread Nikola
confusing) It's possible and recommended as well. Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Wed, Jan 19, 2011 at 9:09 AM, Nikola nikola1...@gmail.com wrote: Hi, I need to develop app that is consuming data from web service. There is API which I

[android-developers] app to webservice connection architecture?

2011-01-18 Thread Nikola
Hi, I need to develop app that is consuming data from web service. There is API which I have to use to communicate to web service. I have to log on through API so I can use service, API maintains session. Should I make a service and communicate with service from activity and delegate all API

[android-developers] Listview highlight problem

2011-01-12 Thread Nikola
Hi, when I set listener like row.setOnLongClickListener(new OnLongClickListener() { @Override public boolean onLongClick(View v) { my listview doesn't highlights items on touch. Does anyone knows what could be source of this problem and how to resolve it?

[android-developers] HttpClient on Android?

2011-01-12 Thread Nikola
Hi, has anyone successfully used Apache HttpClient library on Android platform? PS: Any remarks , problems that I should be aware of? tnx. -- God is Real, unless declared Integer. J. Allan Toogood, FORTRAN programmer -- You received this message because you are subscribed to the Google

Re: [android-developers] HttpClient on Android?

2011-01-12 Thread Nikola
On Wed, Jan 12, 2011 at 8:40 PM, Kumar Bibek coomar@gmail.com wrote: It works just fine. Most of us use HttpClient Tnx for quick reply. Just want to be sure :) -- God is Real, unless declared Integer. J. Allan Toogood, FORTRAN programmer -- You received this message because you are

[android-developers] Listview highlight on touch doesn't show?

2011-01-10 Thread Nikola
Hi, is there any cause why I don't see my touch highlighted on touch? I didn't put anything special like theme or that. -- God is Real, unless declared Integer. J. Allan Toogood, FORTRAN programmer -- You received this message because you are subscribed to the Google Groups Android

[android-developers] APN settings

2011-01-06 Thread Nikola
Hi, does anyone know how to use specific APN settings ? -- God is Real, unless declared Integer. J. Allan Toogood, FORTRAN programmer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: APN settings

2011-01-06 Thread Nikola
On Thu, Jan 6, 2011 at 5:41 PM, Brill Pappin br...@pappin.ca wrote: It will depend on your Carrier. Most carriers in Canada will give you the information if you ask for it. - Brill Pappin -- Tnx for helping. Maybe I wasn't clear enough. If I have two or three APN settings configured

[android-developers] Capture image with Intent

2011-01-01 Thread Nikola
Hi, going with my problem capturing picture via Intent. Hopefully somebody will have some use from this info, and maybe we will identify problem :) I am running code example from here: http://labs.makemachine.net/2010/03/simple-android-photo-capture/ (in example I have changed path for file

[android-developers] Re: Capture image with Intent

2011-01-01 Thread Nikola
New phones tested. Running on following phones: 1) SonyEricsson X8 (E15i) OS: Android 2.1 update 1 2) SonyEricsson X10i OS: Android 2.1 update 1 3) Galaxy i9000 2.2 jpo 4) Htc Desire HD froyo 2.2 Phone 1 works fine. Preview is visible and picture is created. Phone 2 doesn't work at

[android-developers] Taking pictures

2010-12-31 Thread Nikola
Hi, could anyone propose good approach for following: I would need to have feature in my (simple) app of taking pictures and tagging them with some values. Do I need to implement all of the camera code in my app, or can I call some default camera app and have data from it? What would be best

Re: [android-developers] Taking pictures

2010-12-31 Thread Nikola
On Fri, Dec 31, 2010 at 2:17 PM, TreKing treking...@gmail.com wrote: On Fri, Dec 31, 2010 at 6:54 AM, Nikola nikola1...@gmail.com wrote: Do I need to implement all of the camera code in my app, or can I call some default camera app and have data from it? http://developer.android.com

[android-developers] Captured image FileNotFound

2010-12-31 Thread Nikola
Hi, trying to capture image and display it but getting FileNotFound for following code. Anybody willing to take a look at it? public class HelloAndroid extends Activity { /** Called when the activity is first created. */ private static final int CAMERA_PIC_REQUEST = 1337; Button

Re: [android-developers] Captured image FileNotFound

2010-12-31 Thread Nikola
On Fri, Dec 31, 2010 at 7:32 PM, TreKing treking...@gmail.com wrote: On Fri, Dec 31, 2010 at 12:05 PM, Nikola nikola1...@gmail.com wrote: Anybody willing to take a look at it? Giving your file that should hold an image a .tmp extension is questionable. Why? I would like to store

Re: [android-developers] Captured image FileNotFound

2010-12-31 Thread Nikola
On Fri, Dec 31, 2010 at 7:49 PM, TreKing treking...@gmail.com wrote: On Fri, Dec 31, 2010 at 12:42 PM, Nikola nikola1...@gmail.com wrote: Giving your file that should hold an image a .tmp extension is questionable. Why? I would like to store it in database. Because .tmp is not an image

[android-developers] sqlite on sdcard

2010-12-29 Thread Nikola
Hi, I would like to store sqlite databse on sdcard. Is is possible to tell system somehow to put it on sdcard? Thanks. -- God is Real, unless declared Integer. J. Allan Toogood, FORTRAN programmer -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] sqlite on sdcard

2010-12-29 Thread Nikola
On Wed, Dec 29, 2010 at 6:17 PM, Kostya Vasilyev kmans...@gmail.com wrote: You'll have to write your own SQliteOpenHelper-type class for that, as the built-in implementation always calls context.getDatabasePath. If you are not using SQliteOpenHeper, just call

Re: [android-developers] sqlite on sdcard

2010-12-29 Thread Nikola
On Wed, Dec 29, 2010 at 6:33 PM, Kostya Vasilyev kmans...@gmail.com wrote: Docs: http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html I pasted my code here: http://pastebin.com/1hKWffeu It doesn't differentiate between read-only and writable database open

Re: [android-developers] how to avoid cut off of words in TextView

2010-12-29 Thread Nikola
On Wed, Dec 29, 2010 at 11:47 PM, gato chlr dany...@gmail.com wrote: Hi list! for example : TextView a = new TextView(this); a.setText(I'm a set of words, some ones larger than others, no matter); it is posible to have painted the next : i'm a set of wo rds, some one s larger than o

[android-developers] Encrypted JSON

2010-12-28 Thread Nikola
Hi, I would like to update sql database on android via json. Is it possible to have encrypted or somehow secure connection to be sniff proof. Thanks. -- God is Real, unless declared Integer. J. Allan Toogood, FORTRAN programmer -- You received this message because you are subscribed to the

[android-developers] Drag and drop rearrange listview

2010-12-26 Thread Nikola
Hi, Is there any library or something similar for implementing drag and drop rearrange listview. I would like to give user a way to sort items with dragging them to position. Thanks. PS: i've looked over at commons TouchList but I am having problem with it, it crashes on running. -- God is

[android-developers] Database storage filling and securing

2010-12-24 Thread Nikola
Hi, I have large amount of data that I should query and display to user. What are recommended strategies for: 1) filling database (I would like to do it outside phone and just provided it somehow) 2) secure database so it isn't readable unless you are using app Thanks. -- God is Real,

[android-developers] Offline maps

2010-12-22 Thread Nikola
Hi, I need a map for my application, so I have few questions (any additional info is welcome): 1) I saw applications like mTrip for Iphone that are having google maps but offline, how is it possible? 2) Is there anything good enough like alternative for google maps? Thanks. -- God is Real,

Re: [android-developers] Offline maps

2010-12-22 Thread Nikola
On Wed, Dec 22, 2010 at 2:41 PM, Mark Murphy mmur...@commonsware.comwrote: On Wed, Dec 22, 2010 at 8:25 AM, Nikola nikola1...@gmail.com wrote: 1) I saw applications like mTrip for Iphone that are having google maps but offline, how is it possible? AFAIK, it's not possible. 2

[android-developers] findViewById reslove?

2010-12-21 Thread Nikola
Hi, quick question, if you have two xml layouts and both layouts have the same button name for eg. how findViewById knows which one is used. In activity I say setContentView(R.layout.first). Does this means that findViewById will grab resources from first?. Thanks. -- God is Real, unless

Re: [android-developers] Re: findViewById reslove?

2010-12-21 Thread Nikola
On Tue, Dec 21, 2010 at 10:38 AM, Sarwar Erfan erfanonl...@gmail.comwrote: On Tuesday, December 21, 2010 3:05:10 PM UTC+6, vnv wrote: Hi, quick question, if you have two xml layouts and both layouts have the same button name for eg. how findViewById knows which one is used. In activity

[android-developers] Managing activity stack?

2010-12-21 Thread Nikola
Hi, I have 3 activity that are used for showing data and choosing options. There is menu with 3 button at the bottom that enables you to chose activity. My question is: how to handle following situations (implement them): 1) I want to show first fourth activity at the start, but discard it

[android-developers] Two ListViews with one scrollbar?

2010-12-19 Thread Nikola
Hi, I would like to have two ListViews that I can populate with data but with only one scrollbar. Then I could add data to first one and second one and it would scroll together. [screen + scrollbar] [ListView 1] [ListView 2] [/ screen + scrollbar] Any hints? -- God is Real, unless declared

Re: [android-developers] Two ListViews with one scrollbar?

2010-12-19 Thread Nikola
On Sun, Dec 19, 2010 at 12:58 PM, Mark Murphy mmur...@commonsware.comwrote: Have one ListView and combine the contents. My MergeAdapter may help: https://github.com/commonsguy/cwac-merge Or use a MergeCursor if the rows come from Cursors and the rows all look the same. Thanks , really

Re: [android-developers] Orientation specific layout

2010-12-17 Thread Nikola
2010/12/17 Kostya Vasilyev kmans...@gmail.com Sure. Put xml files into layout-land and layout-port, make sure to use the same name for both, so Android knows these are two variations of the same layout. Do I need to create both land and port, or I can use land, and default will be used for

Re: [android-developers] Orientation specific layout

2010-12-17 Thread Nikola
On Fri, Dec 17, 2010 at 3:19 PM, Kostya Vasilyev kmans...@gmail.com wrote: Up until 2.3 there were only two orientations (port / land). Android 2.3 added reverse land and port orientations, but this reference:

[android-developers] TableLayout two column?

2010-12-17 Thread Nikola
Hi, I would like to have two column layout. In first column I would put 4 textview elements and in the second one I would put big picture. What would be the best approach for this? tnx. -- God is Real, unless declared Integer. J. Allan Toogood, FORTRAN programmer -- You received this

Re: [android-developers] TableLayout two column?

2010-12-17 Thread Nikola
On Fri, Dec 17, 2010 at 3:50 PM, Kostya Vasilyev kmans...@gmail.com wrote: Don't use TableLayout here, as its strength is in the other dimension (aligning views one below another). You can use a horizontal LinearLayout, with two children: a vertical LinearLayout for your text views, and an

Re: [android-developers] TableLayout two column?

2010-12-17 Thread Nikola
Got it ! layout_weight=1 for children solved the problem. Tnx once again Kostya. -- God is Real, unless declared Integer. J. Allan Toogood, FORTRAN programmer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] How to intercept running application?

2010-12-11 Thread Nikola
On Sat, Dec 11, 2010 at 11:18 PM, TreKing treking...@gmail.com wrote: On Sat, Dec 11, 2010 at 3:58 PM, vnv nikola1...@gmail.com wrote: My idea is that this kind of application is some kinda broadcast receiver that listens to broadcast sent by system on opening application. There is no

Re: [android-developers] How to intercept running application?

2010-12-11 Thread Nikola
What is general procedure to get hold on information about this api. On 11 Dec 2010 23:54, TreKing treking...@gmail.com wrote: On Sat, Dec 11, 2010 at 4:36 PM, Nikola nikola1...@gmail.com wrote: What kind of hack could it... Just because it's not public doesn't mean it can't be used - more

Re: [android-developers] Good source of information for old Contact API?

2010-11-17 Thread Nikola
First, tnx for really really quick reply :) On Thu, Nov 18, 2010 at 2:40 AM, welly tambunan if05...@gmail.com wrote: this tutorial provides both of the contact api version http://www.higherpass.com/Android/Tutorials/Working-With-Android-Contacts/ I was trying to run this one but

[android-developers] Edit contact android 2.x

2010-11-15 Thread Nikola
Hi, I know it is possible to add contact via Intent and putExtra with all infromation you want to add. Is it possible to update contact with new information by calling Intent with putExtra with new info? tnx in advance. -- God is Real, unless declared Integer. J. Allan Toogood, FORTRAN

[android-developers] Using internal API

2009-10-16 Thread Nikola Novakovic
Is it possible to use com.android.internal.telephony.* API in application? I would really need to use some classes from there, since there is no other way I can make my app answer incoming call, send dtmf and etc. Thanks, Nikola --~--~-~--~~~---~--~~ You received

[android-developers] Re: Disappearing Views with ListView

2009-07-08 Thread Nikola Miljkovic
By the way...I cannot find any documentation about layout_weight. Can you describe what it means? Thanks, Nikola On Jul 7, 8:39 pm, Nikola Miljkovic niko...@gmail.com wrote: Perfect.  Thanks! On Jul 7, 8:11 pm, Romain Guy romain...@google.com wrote: Hi, Do not use wrap_content

[android-developers] Disappearing Views with ListView

2009-07-07 Thread Nikola Miljkovic
Hello all, I am having a problem with ListViews. After adding a few items to the list and it becomes larger than the layout, my cancel button disappears. Scrolling and everything else on the ListView still work fine, but it replaces the views I have below it. Anyone else run into this issue?

[android-developers] Re: Disappearing Views with ListView

2009-07-07 Thread Nikola Miljkovic
Perfect. Thanks! On Jul 7, 8:11 pm, Romain Guy romain...@google.com wrote: Hi, Do not use wrap_content on the ListView. Instead, use layout_height=0dip and layout_weight=1.0. On Tue, Jul 7, 2009 at 1:53 PM, Nikola Miljkovicniko...@gmail.com wrote: Hello all, I am having a problem

[android-developers] Is there an easy way to make EditText look like TextView but still behave like EditText?

2009-05-18 Thread Nikola Radosavljevic
Note: I had troubles posting to android-beginners group, so I came here hoping this will work. Hello there, I want an EditText to look like TextView but still behave like EditText. I've tried applying TextView style to my EditText in my layout.xml file, like this: EditText