Re: [android-developers] Re: To display Listview using JSON in Android !

2012-08-04 Thread HideCheck
I guess Show of ListView rather than wrong, You have failed to parse JSON. > ArrayAdapter adapter = new > ArrayAdapter(this,android.R.layout.simple_list_item_1, > android.R.id.text1,str1); > lv.setAdapter(adapter); this code is correct. Structure of the JSON is? 2012/8/4 Meena Rengarajan : > How

Re: [android-developers] Re: To display Listview using JSON in Android !

2012-08-04 Thread HideCheck
sorry misstake code: JSONObject root = new JSONObject(resultJson); JSONArray node = root.getJSONArray(“node”);//<- You getJSONArray(“”); 2012/8/4 HideCheck : > code: > JSONObject root = json.getJSONObject(resultJson); > JSONArray node = root.getJSONArray(“node”);//<- Y

Re: [android-developers] Re: To display Listview using JSON in Android !

2012-08-04 Thread HideCheck
example json {"node":["value1","value2]} code: JSONObject root = json.getJSONObject(resultJson); JSONArray node = root.getJSONArray(“node”);//<- You getJSONArray(“”); Best Regards 2012/8/4 Meena Rengarajan : > My debugging point is not going from this line > JSONArray jsonArray=jsonObj.getJS

Re: [android-developers] To display Listview using JSON in Android !

2012-08-03 Thread HideCheck
I guess as follows. 1. Argment is empty. JSONArray jsonArray=json1.getJSONArray(""); 2. Did you write this? ListView#setAdapter(adapter) Best Regards 2012/8/4 Meena Rengarajan : > This is my code. Listview using Json in Android . But my lists is not > displaying when i click a button.. Only di

Re: [android-developers] Re: New ADT and SDK breaks Eclipse (Again!)

2012-08-03 Thread HideCheck
Maybe this case is https://developers.google.com/eclipse/docs/install-eclipse-4.2 Best regards 2012/8/4 Satish : > I had the same problem . But I got a solution. > In Eclipse, Check for Updates. There is some dependency between trace view , > tools, hierarchy viewer. > I selected only ADT and it

Re: [android-developers] Re: What's the UI performance tools for Android?

2012-07-26 Thread HideCheck
You can also use the systrace. http://android-developers.blogspot.jp/2012/06/android-sdk-tools-revision-20.html Best regards 2012/7/27 steveyzhang : > Trace View is the tool that you can try. But it is difficult to see the neck > of bottle in performance. Any other idea is welcome. > > > On Thur

Re: [android-developers] is the setStyle Method or similar available now..or still it is status quo?

2012-07-09 Thread HideCheck
Hi What you're saying? 2012/7/9 Dianne Hackborn : > No the style needs to be supplied when the view is constructed; I don't > expect this to change any time soon. > > > On Sun, Jul 8, 2012 at 11:17 PM, maccoy wrote: >> >> Can i set a style from one TextView to another? >> >> -- >> You receiv

Re: [android-developers] adding media controoler in audio

2012-07-05 Thread HideCheck
Hi You must make your custom controller for the media player does not exist Thanks 2012/7/5 Sadhna Upadhyay : > > Hi, > but i dont want to use video > > > > On Thu, Jul 5, 2012 at 11:59 AM, HideCheck wrote: >> >> Hi Sadhna >> >> As yo

Re: [android-developers] How to get size of FrameLayout in my app?

2012-07-05 Thread HideCheck
Dear hktsang Size of the View can be obtained with onWindowFocusChanged Thanks 2012/7/5 hktsang : > Dear all, > > I've a problem by getting the width of FrameLayout in my app. when I use > fl.getWidth(); {fl is already assign to FrameLayout} > the result is 0. Can anyone teach me something abou

Re: [android-developers] Call the functions of *.SO from JAVA

2012-07-04 Thread HideCheck
Hi chainz #put .so file. eclipse project/libs/armeabi/xxx.so #add code private native void [method name](args..); static { System.loadLibrary("so file name"); } Best Regards, 2012/7/5 chainz roid : > Hi everyone > >I'm working in ICS and I'm developing own an

Re: [android-developers] adding media controoler in audio

2012-07-04 Thread HideCheck
Hi Sadhna As you can see. VideoView video = (VideoView)findViewById(R.id.videoview_id); video.setMediaController(new MediaController(this)); Best Regards, 2012/7/5 Sadhna Upadhyay : > Hi everybody, > can someone tell me how to add media controller in audio > > -- > You received this message

Re: [android-developers] Need Help

2011-12-19 Thread HideCheck
        Matrix matrix = new Matrix();        matrix.setScale(-1, 1);     Bitmap reverse = Bitmap.createBitmap(bitmap, 0, 0, bitmap.getWidth(), bitmap.getHeight(), matrix, true); 2011/12/20 chowdary nani : > Hi All, > > Please send me sample code  for displaying the mirror of image in android > ap

Re: [android-developers] Re: Tutorial "HelloTabWidget" crashes

2011-11-20 Thread HideCheck
ArtistsActivity" > >>             >>                 >>                > android:name="android.intent.category.LAUNCHER" /> >>             >>         >> >> yet I've no idea if this is correct or what all these means. So far it >> seems

Re: [android-developers] Re: Tutorial "HelloTabWidget" crashes

2011-11-20 Thread HideCheck
Manifest file must be added to ArtistsActivity, AlbumsActivity, and SongsActivity. http://developer.android.com/resources/tutorials/views/hello-tabwidget.html - Notice that this doesn't use a layout file. Just create a TextView, give it some text and set that as the content. Duplic

Re: [android-developers] Textview from thread

2011-09-12 Thread HideCheck
You need to use the Handler. http://developer.android.com/reference/android/os/Handler.html Handler handler = new Handler(); ex) public void run() { handler.post(new Runnable() { public void run() { textvi