Re: [android-developers] Launching the correct activity on resume

2010-01-22 Thread Vo Trung Liem
Hi, No need set up your Manifest to get this functionality. You just use function onActivityResult() to code for your functionality. Example: Activity1 call Activity2 then Activity1 will resume after Activity2 finish. Activity1 will call Activity2 by function: startActivityForResult(intent, re

Re: [android-developers] Re: MapActivity: Couldn't get connection factory client

2012-04-05 Thread Vo Trung Liem
Do you have a valid map key? Please use new key store to build and display map. On Thu, Apr 5, 2012 at 5:22 AM, lbendlin wrote: > I still get that error a lot even with a correct map key (map tiles are > loading). Apart from the error message, do you see any negative effects in > your app? > > >

Re: [android-developers] Re: Large data downloads from a Web app to Android client getting Out of memory error

2012-04-05 Thread Vo Trung Liem
Follow the code may will help you. URL url = new URL(path); URLConnection cn = url.openConnection(); cn.connect(); InputStream stream = cn.getInputStream(); if (stream == null) throw new RuntimeException("stream is null");

Re: [android-developers] customAdapter how to print out content of array in TextView.setText() of getview

2012-04-05 Thread Vo Trung Liem
Hello, I think you just use mData is enough to display value and key. About your adapter please refer the way create customer baseAdapter from http://stackoverflow.com/questions/5324689/custom-adapter-for-gridview-in-android Regards Liem Vo On Wed, Apr 4, 2012 at 9:52 PM, Graham Bright wrote:

Re: [android-developers] How to put a MapView (Google API) in a layout?

2012-04-05 Thread Vo Trung Liem
Do you declare: in your manifest? On Wed, Apr 4, 2012 at 3:48 PM, deb-account wrote: > On 03/04/12 14:52, Alexandre LOCTIN wrote: > >> 04-03 14:40:33.670: E/AndroidRuntime(414): Caused by: >> java.lang.**IllegalArgumentException: MapViews can only be created inside >> instances of MapActivi

Re: [android-developers] Re: How can I make this Android code more efficient?

2012-04-06 Thread Vo Trung Liem
Hi Update as below: package biz.slwdesign.tvlocallysouthdevon; import android.app.Activity; import android.content.pm.ActivityInfo; import android.media.MediaPlayer; import android.media.MediaPlayer.OnCompletionListener; import android.os.Bundle; import android.view.View; import android.view.Vie

Re: [android-developers] Re: How can I make this Android code more efficient?

2012-04-06 Thread Vo Trung Liem
Sorry missed. I have updated as below On Fri, Apr 6, 2012 at 4:23 PM, Vo Trung Liem wrote: > Hi > > Update as below: > > package biz.slwdesign.tvlocallysouthdevon; > > import android.app.Activity; > import android.content.pm.ActivityInfo; > import android.

Re: [android-developers] help need

2013-12-03 Thread Vo Trung Liem
@Josphat, Please pay for me before asking other pay for you. On Sat, Jun 8, 2013 at 5:12 PM, Josphat Muchiri wrote: > all the best > > > On Sat, Jun 8, 2013 at 2:52 AM, ramesh babu wrote: > >> google would offer me a better way bro >> >> >> On Sat, Jun 8, 2013 at 3:13 PM, Josphat Muchiri wro

Re: [android-developers] Experienced Android developer needed

2014-11-06 Thread Vo Trung Liem
Hi Guys, I have worked for this guys in last year. I completed the projects for him but he didn't pay for me. It is a worst guy that I work. Regards, On Wed, Oct 1, 2014 at 12:45 PM, Rakesh Jha wrote: > I'm interested, please check my profile. > > in.linkedin.com/in/rakeshkumarjha7/ > > Rakes

Re: [android-developers] How to load more than one layout file for an activity

2010-04-28 Thread Vo Trung Liem
Hi, You can you LayoutInflater to for setting layout dialog. Here is example code: LayoutInflater factory = LayoutInflater.from(this); final View testview = factory.inflate(R.layou.new_layout, null); // process get all view your new layout your_dialog.setTitle("''); your_dialog.setView(testView)

Re: [android-developers] Re: HTTPS POST problem

2011-01-06 Thread Vo Trung Liem
Hello, You can reconnect when the connect sucessed. Best regards, Liem Vo. On Thu, Jan 6, 2011 at 11:43 PM, Filiz Gökçe wrote: > We start to use, > Post but the same problem still continue. > Some time we can catch the response, sometimes we couldnt connect server. > All parameters are true. >