[android-developers] Re: How to access a AIDL service from different packages?

2012-12-13 Thread Nguyen Dat
Hi Priyank, Problem belong this step: I have exported this in the source code of the application as import com.VMService; you don't need to do this step because because aidl generate Java interface, refer: http://developer.android.com/tools/building/index.html i guest your error come because

Re: [android-developers] ADT install returning 404 in Eclipse

2011-07-16 Thread Nguyen Dat
Dear mlybrand Another alternative way to install ADT is offline install, please try follow step: *Step1*. Download Latest ADT: Example: http://dl.google.com/android/ADT-12.0.0.zip *Step2*: Go to install page: Galileo: [*Help*] - [*Software Update*] - [*Add site*] - Click [* Archive*]

Re: [android-developers] ListView item click can't work

2011-05-28 Thread Nguyen Dat
Hi Harvey Could you please post code snippet about implement of get ListView then register handle click item list. I usually register handle click item list as bellow: + with ListActivity: ListView listview = (ListView) getListView(); + with Activity: ListView listview = (ListView)

Re: [android-developers] Re: ListView Issue

2011-05-26 Thread Nguyen Dat
Dear Bhima, Try following example: http://android.amberfog.com/?p=296 Notice that: convertView = mInflater.inflate(R.layout.item1, null); R.layout.item1 is layout of row item, so you can create whatever layout you want. Best Regards, DatNQ On Thu, May 26, 2011 at 8:58 PM, Hikmat Khan

Re: [android-developers] Help in using MediaRecored for recording audio

2011-05-26 Thread Nguyen Dat
Dear Parbhakar Could you please check view id following error: 05-26 21:45:35.140: ERROR/AndroidRuntime(18659): at com.CallRecorder.CallRecorder. init(CallRecorder.java:15) Best Regards, DatNQ On Thu, May 26, 2011 at 11:17 PM, Parbhakar Bikkaneti prabhakar.9...@gmail.com wrote: Am

Re: [android-developers] show soft keyboard

2011-05-23 Thread Nguyen Dat
Dear Bechir You can follow this sample by explicit call show soft keyboard (Ref.1) InputMethodManager imm = (InputMethodManager) SearchActivity.this.getSystemService(Context.INPUT_METHOD_SERVICE); if (imm != null){ imm.toggleSoftInput(InputMethodManager.SHOW_FORCED,0); } Refereneces:

Re: [android-developers] How to view my own posts in Web?

2011-05-23 Thread Nguyen Dat
Hi Phong Nice to meet you here, For your question: + Try to use search function in group with your keyword (or your email address) + To stop receive email from group, go to Edit my membership then select No Email, Done Regards, DatNQ On Mon, May 23, 2011 at 2:30 PM, phongle

[android-developers] Re: dispatch key events to other activities.

2011-04-28 Thread Nguyen Dat
Dear all, Relate with question can't dispatch event when change Activity, i have litle concern about Long press key event have abort while timing change Activity like Scenario as bellow: [Activit1] - [Activity2] Does anyone known which class, method or document indicate while change Activity key

Re: [android-developers] Adding the custom fonts to listview in Android

2011-04-20 Thread Nguyen Dat
Hi Parry, To use customize font in ListView in Android is in adapter of List getView try to set typeface: @Override public View getView(int position, View convertView, ViewGroup parent) { ... /* Font file is saved in path assets\fonts\ */ Typeface customTypeface =

Re: [android-developers] trouble installing SDK packages

2011-04-20 Thread Nguyen Dat
Dear Vishy Try following guideline: http://qdevarena.blogspot.com/2010/05/download-android-sdk-standalone-for.html ※References: http://stackoverflow.com/questions/2766713/android-download-the-android-sdk-components-for-offline-install ※Tips: 1. Try to install ADT by use archive zip file 2. Save

Re: [android-developers] how to set text color in array adapter in android

2011-04-20 Thread Nguyen Dat
Dear Siva I think problem belong xml layout of your layout item and your adapter Could you please porst both xml layout of item and code of Adapter of list Regards, DatNQ On Thu, Apr 21, 2011 at 12:53 AM, Siva Kannabiran sivasanka...@gmail.comwrote: in my app i have created a list view and

Re: [android-developers] listen to soft keyboard close event

2011-03-23 Thread Nguyen Dat
Hi Lam Try follow code snippet to check state of keyboard is active or not: InputMethodManager InputMethod = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); /* Check keyboard is active or not */ this.m_InputMethod.isActive(); But i think handle Back key event to close search

Re: [android-developers] Re: AppWidget Stopped !!!

2011-03-18 Thread Nguyen Dat
Dear hardrock I'm very interesting with your problem, relete with your explain: As I know, the receiver is no longer active after return from onReceive(). Sorry for my bad english but as i understand you mean onRecieve() not receive broadcast message from system ? Regards, DatNQ On Fri, Mar

Re: [android-developers] Anyone know the name of this menu?

2011-03-18 Thread Nguyen Dat
Hi Costa, Submenu, right ? But it look like taskbar like iphone ^^ Regards, DatNQ On Sat, Mar 19, 2011 at 5:40 AM, Ray da Costa raydaco...@gmail.com wrote: Anyone know the name of this menu? Is there really such a menu in the android? -- Ray da Costa The best way to predict the future

[android-developers] Re: Broadcast Receiver From Widget

2011-02-24 Thread Nguyen Dat
Dear Henry, This is result after investigate this problem, i was handler successful this issue. So i collect as report to share with android developer. Hope it help Here is result: ★Issue: Regarding limited from Widget, when try to register BroadcastReceiver via explicit source code: (No effect

Re: [android-developers] Re: Broadcast Receiver From Widget

2011-02-24 Thread Nguyen Dat
known if your have better solution or explain more clearly Regards, DatNQ On Thu, Feb 24, 2011 at 3:06 PM, Nguyen Dat nguyenda...@gmail.com wrote: Dear Henry, This is result after investigate this problem, i was handler successful this issue. So i collect as report to share with android

Re: [android-developers] Re: AppWidget Not Surviving a Reboot

2011-02-24 Thread Nguyen Dat
Dear Jake ★I have 2 point concern so could you please give me some information: 1. SDK version you used for widget 2. Please share xml manafiest file for your widget ★I successful receive Broadcat messsage BOOT_COMPLETED from system, so currently i had 3 solution: Declare BroadcastReceiver in

Re: [android-developers] Custom ListAdaptor Issues

2011-02-23 Thread Nguyen Dat
Dear Shane I just look thought your implement, it look quit OK, but i have a little convert about your constructor of ListAdaptor . Please let me see implement of ListAdaptor relate with implement when set view for each item in List JobListAdaptor o = items.get(position); Could you please check

Re: [android-developers] Re: sqlite databases path

2011-02-23 Thread Nguyen Dat
Dear nhasan ★On Emulator, you can browser data store in your phone via File Explorer (event Database) (Not sure on real device, may be relate with permission) Go though below step to explode data ❶. Go to DDMS ❷. Show File Explorer: [Windows] - [Show View] - [Other] - [Android] - Select [File

Re: [android-developers] ADT Plugin error

2011-02-23 Thread Nguyen Dat
Hi Gregório Your problem never happen to me, but i think could you check 2 item below: 1. Download ADT from Neo's URL then re-install, used archive.. instead of from URL 2. If this bug happen on both IDE 3.5, 3.6 i think may be problem not belong IDE For personal opinion, i also try three newest

Re: [android-developers] Re: Upload youtube videos by intent

2011-02-23 Thread Nguyen Dat
Dear edelarocha ❶I think no problem with you code snippet, but i have a littler concern in your implement related with uri ii.putExtra(Intent.EXTRA_STREAM, uri); /** Please post your implement how to build uri ? */ ❷Could you please post you source code to build uri, it is was

Re: [android-developers] ListView click events

2011-02-23 Thread Nguyen Dat
Dear Justin, Sorry for my mistake ^^, Still wait confirm from nidroid :) On Wed, Feb 23, 2011 at 8:56 AM, Justin Anderson magouyaw...@gmail.comwrote: Hi Nguyen, Just wanted to point out that the problem was not mine. I was answering the question of the original poster in a very broad,

Re: [android-developers] [Widget][RemoteViews]How to implement Animation of Widget

2011-02-23 Thread Nguyen Dat
, Feb 23, 2011 at 6:10 AM, Mark Murphy mmur...@commonsware.comwrote: App widgets are not designed to be animated, at least through Android 2.3 (I haven't gotten to the bottom of all the changes for Android 3.0). On Mon, Feb 21, 2011 at 7:56 AM, Nguyen Dat nguyenda...@gmail.com wrote: Dear all

Re: [android-developers] Re: animate part of the app widget

2011-02-23 Thread Nguyen Dat
Thanks Metal for helpful information @Zhihong: i'm sorry for late response, we have successful creat widget animation by used RemoteViews. When we complete document we will post solution to this topic. Regards, DatNQ On Wed, Feb 23, 2011 at 12:43 PM, metal mikey coref...@gmail.com wrote:

Re: [android-developers] Regarding setting custom highlight color for gridview

2011-02-23 Thread Nguyen Dat
Dear twinkle, ★Here is solution to change default color of GridView background base on state of item (Focus/Unfocus/Enable/Press...etc) ❶. In xml layout of grid view: GridView xmlns:android=http://schemas.android.com/apk/res/android; !-- Indicate we used custom selector --

Re: [android-developers] Re: Changing tab background image

2011-02-22 Thread Nguyen Dat
Hi cool.manish For custom selector, try this: sample_selector.xml ?xml version=1.0 encoding=utf-8? selector xmlns:android=http://schemas.android.com/apk/res/android; item android:state_focused=true android:drawable=@color/black / !-- focused -- item android:state_focused=true

[android-developers] [Widget][RemoteViews]How to implement Animation of Widget

2011-02-22 Thread Nguyen Dat
Dear all I have issue with how to display animation on widget: My screen look like that ★*Expected Scroll Effect:* ◯ Before scroll Line ❶: Image1Display view: Line ❷: Image2Hidden image ◯ After scroll Line ❶: Image2i want image 2 will be scroll up, replace Image 1 Line

Re: [android-developers] Deploying Application into Device

2011-02-22 Thread Nguyen Dat
Hi Sivaprakash There are several way to install app to Android device (Same on emulator) You can install via IDE, Or copy to SDCard then install by file manager tool like Astro Here is sample used command line in case you have *.APK file, No IDE, No FileManager, No SD card ★Target environment:

Re: [android-developers] animate part of the app widget

2011-02-22 Thread Nguyen Dat
Hi Zhihong It is possible to animate part of an appWidget Do you ever see HTC Widget Clock ? Due limited of RemoteViews provider by widget so limited about Animation on Widget Can your share your solution to solver this problem ? Regards, DatNQ On Tue, Feb 22, 2011 at 5:06 PM, Zhihong GUO