[android-developers] Blocking On Socket Read/Write Operation While In Sleep Mode

2013-01-07 Thread Azmat Alikhan
I have code that runs in the background and holds a connected Socket and it's InputStream. It calls read() infinitely until something is received, then continues to parse. Socket timeout is 0 of course. I used PARTIAL_WAKE_LOCK and WifiLock to keep CPU on in sleep mode and this code is

Re: [android-developers] how to enable programmatically....?

2013-01-07 Thread abhay_401
Hi, I tried something like this: BluetoothAdapter bt= BluetoothAdapter.getDefaultAdapter(); I am using the function like this bt.enable() and bt.disable() which is not working? Is there any alternate way to do this...? On Monday, January 7,

Re: [android-developers] how to enable programmatically....?

2013-01-07 Thread Yaron Reinharts
Hi, This is the right way to do it. Did you remember to add the appropriate permissions to your AndroidManifest.xml? uses-permission android:name=android.permission.BLUETOOTH / uses-permission android:name=android.permission.BLUETOOTH_ADMIN / Hope this helps /Yaron On 01/07/2013 10:47 AM,

[android-developers] Re: Click on Status bar notification switch to task in current state?

2013-01-07 Thread Ahmad Nemati
it's been a while from last reply on this and so many things has changed since then specially to notification class, yet I'm searching web for exactly the same question! So please if anyone still follows this conversation or came along with answer to this matter, I'd really appreciate it. to be

[android-developers] AudioTrack mp3 decoder takes too long to load mp3 file and decode? Is there any alternative for that?

2013-01-07 Thread bhupinder jai mata di
I am using AudioTrack class to play large mp3 files. Actually i want to manipulate voice on fly like changing the pitch or speed 1x 2x etc. As soundtrack works only for short files. So i found AudioTrack the only option. I am using JLayer to decode my mp3 file (stored on sdcard) to PCM byte

[android-developers] sdk and avd manager not present in 'command availability group' in eclipse

2013-01-07 Thread Ahmed Ulde
I am not able to get the sdk and avd manager in toolbar after installation. there are no check box present in 'command availability group' in eclipse. can anyone please help me so that i can get the window asking for sdk path? In windowspreferencesInstall/updatesavailabel software sites i

[android-developers] Build error

2013-01-07 Thread ankit agarwal
I have an android project that is depended on library project. Getting this error while building the app. android sdk r21 UNEXPECTED TOP-LEVEL EXCEPTION: [dx] com.android.dx.util.DexException: Multiple dex files define Lcom/nvsoft/s2pay/S2PayApp; [dx] at

[android-developers] Not able to send messages in a group for more than 10 people

2013-01-07 Thread Armstrong Miranda
I use a Sunsung Note 2, running on Android 4.1.2 operating system which was bought hardly one week back. I was very happy with my new phone till I tried to send text messages to the Group that I created. I work as a manger and I have added my entire team of 53 people to my group. I send updates

[android-developers] Size of app screen

2013-01-07 Thread Vince D'Souza
I am a new developer. If I submit an app with a fixed screen size of 720x1280 will it be accepted? If not, what will they store accept? Thanks -- 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] Showing PopupWindow from IME: BadTokenException

2013-01-07 Thread Andrew Samaha
I'm trying to make a popup window appear from an IME service (an onscreen keyboard) that has no activity. When I call popUp.showAtLocation(layout, Gravity.CENTER, 0, -100) I get a Windowmanager$BadTokenException: Unable to add window -- token null is not valid. Here is my code: public void

Re: [android-developers] How to develop QR Reader application

2013-01-07 Thread Somkid Simajarn
Thx. On 2 January 2013 10:30, RichardC richard.crit...@googlemail.com wrote: http://code.google.com/p/zxing/ -- 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

[android-developers] AudioTrack mp3 codec taking too long to load. using JLayer.?

2013-01-07 Thread bhupinder jai mata di
I am using AudioTrack class to play large mp3 files. Actually i want to manipulate voice on fly like changing the pitch or speed 1x 2x etc. As soundtrack works only for short files. So i found AudioTrack the only option. I am using JLayer to decode my mp3 file (stored on sdcard) to PCM byte

[android-developers] About flashing a rom

2013-01-07 Thread Ashrafur Rahman Biplob
Dear developer, I am using a 'Samsung Galaxy S2' handset.I had updated my phone from samsung care in Bangladesh.But,after that, I faced many problem such that 'I couldn't use mobile data','I couldn't play high quality game like before','the phone hanged up' etc.then I guess my mobile was going to

[android-developers] No Repository?

2013-01-07 Thread J. Morreim
I haven't used my Eclipse software in a while, so I need to update it. Yet whenever I tell it to check for updates, I get an error message that has about 10 error messages in it saying that no repository was found. Any ideas??? -- You received this message because you are subscribed to the

[android-developers] Re: how to decode bytes from mp3 to pcm ?

2013-01-07 Thread bhupinder jai mata di
use JLayer -- 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 android-developers+unsubscr...@googlegroups.com For more

[android-developers] is AudioTrack well suited for playing mp3 files as decoder taking too long to load (a portion of mp3 file)? Using JLayer

2013-01-07 Thread bhupinder jai mata di
I have used JLayer library to decode the mp3 file . A function which returns byte[] by decoding file picked from sdcard. so means i get bytes(array of bytes from that decoder function). here is some code i m using. int minSize =AudioTrack.getMinBufferSize( 8000,

[android-developers] Video Resoltion Support issue in WVGA and Samaung Galaxy S3

2013-01-07 Thread Ankit Thakkar
I have videos which display perfect in WVGA resolution but when I play video in S3, It display border in right and bottom, I have used video view to display videos, my video view had fill parent hight and fill parent with then also video is not resizing as per screen size. -- You received

[android-developers] How to get the Facebook group notifications on my android app?

2013-01-07 Thread ashish fugat
Hi, I have one Facebook group and i want to create a android app for that, I need to show Facebook group when I open that app and want to get the notification when anyone post something into that group. I'm using Eclipse to develop android app. Please give me some useful threads and

[android-developers] Re: How to exit the application completely from any screen

2013-01-07 Thread Bipin Shrestha
I have also got same problem I tried your clue too but it seems to close only one process id and close current page. And not the whole application. It only get backs the page and but actually application does not goes forward. On Saturday, September 13, 2008 5:28:23 PM UTC+5:45, Pau wrote:

[android-developers] How do I get network parameters in real-time?

2013-01-07 Thread blueskygreenlandtoyou
Dear Android, I want to get some information of 3G such as RSSI, SNR, Channel active time or channel busy time etc. I tried to use telephony API , but It can only represent a few steps of RSSI. How do I get network parameters in real-time? Let me know , please, Thank you. -- You received this

[android-developers] viewId Field in Android 4.2

2013-01-07 Thread Carlos Cabañero Chaparro
Hi all, I'm using RemoteViews and reflection to access its subclass ReflectionAction and get the text of the notifications in the top bar and is working well. In all versions except the 4.2 class has three fields are: value, type and viewId, which are those that use, but in 4.2 viewId field

[android-developers] VoiceRecognition at minimum

2013-01-07 Thread Albert v Ee
Hello Is it possibe to get the minimum of the speaker icon visible when i activate the VoiceRecognition? I mean when i start the VoiceRecognition i see the google logo on it and i see the lanauge but how can i get it with rhe minimals that I only se the speaker icon (same as google voice

[android-developers] Google Places API request limit

2013-01-07 Thread carbongixxer
So I'm currently working on a app for Android that will use Google Places API with the check in feature. Users will be able to check-in to locations and also see other local users locations via list view or map. Basically its kind of a social app. Anyways, seeing that Google has a limit of

[android-developers] How can i populate a listview from another 3 listviews

2013-01-07 Thread Belhouchet Ines
Hi friends, I have 3 listview ,in each one i have some checked items,how can i create an other listview with all the checked items from my 3 listviews?? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: How to set duration for video capture

2013-01-07 Thread djikar
I have the same issue. Can you help me ? Le mardi 16 octobre 2012 08:18:10 UTC+2, ravi . a écrit : I have code for capturing a video clip on Android. But this is not working Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); intent.putExtra(android.intent.extra.durationLimit,

[android-developers] Updating a contact's name programatically in android results in illegalargumentexception in emulator

2013-01-07 Thread opensourcegeek
Before I start, I know I'm using the deprecated API calls in the code to manage the contacts and it is because I'm trying to extend an existing library without having to make too many changes to it. I won't mind changing it but there's too many things there and I'm just experimenting with an

[android-developers] develop android app with Facebook group notification

2013-01-07 Thread ashish fugat
Hi, I'm developeing android app using eclipse mobile developer IDE I want to develop a app which shows me my Facebook group and gives that group notification. Please guide me post some thread relative with this and give some suggestions Thanks Ashish Fugat -- You received this message

[android-developers] Re: Why Galaxy Tab 2 7.0 (GT-P3110) not found in supported device

2013-01-07 Thread Alex Shcherbakov
doesn't суббота, 23 июня 2012 г., 19:36:18 UTC+4 пользователь Tiger Ng написал: Hi, I am using Galaxy Tab 2 7.0 (GT-P3110) for development. After I upload app to Google Play, it said This app is incompatible with your Samsung GT-P3110. Here is my settings in manifest.xml

[android-developers] print from android problem

2013-01-07 Thread Amit Mulayoff
hello to all! I'm writing an lpr client on *android *to send files (PDF, doc, etc) to a printer (hp laser-jet 4250dtn) The printer is on a server (the sever in unix to that's why I'm using lpr) Everything is all right and I indeed managing to open the socket, sending the control

[android-developers] populate a listview with the checked items of an other listview

2013-01-07 Thread Ines
Hi friends, I have 3 listview (3 activity) ,in each one i have some checked items(with checkbox and listAdapter),how can i populate an other listview with all the* checked items* of my 3 listviews?? Thanks for helping me -- You received this message because you are subscribed to the Google

Re: [android-developers] HI BROS

2013-01-07 Thread Shaikh Altaf
for (int i=0; iarray2d.length;i++) { for (int j=0; jarray2d[i].length;j++) { //set 0 the value to neighbour node array2d[i][j]=100; }} System.out.println( array2d[0][1] ); System.out.println( array2d[0][2] ); } On Tue, Jan 1, 2013 at 4:05 PM, sree android android.sreeni...@gmail.comwrote:

[android-developers] how can i populate a listview from another 3 listviews

2013-01-07 Thread Belhouchet Ines
Hi friends, I have 3 listview ,in each one i have some checked items,how can i create an other listview with all the checked items from my 3 listviews?? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] My sold apps, where does the money transfer to?

2013-01-07 Thread Yau Tamiya
I had to ask this simple question here since my google searches led me to the customers perspective, hopefully you can forgive me for such insignificant question. Basically I've set up a google dev account to share my work, mostly for free and I happen to explore the dev section of google

[android-developers] android manifest shared user id and shared user label

2013-01-07 Thread satori
Hello everyone! It is not very often that such simple thing turns out to be unsolvable. And this is such a case. I am on eclipse trying to run a newly made app on bluestacks and the emulator does not accept the *shared user id* and *shared user label*. I have been on android support pages,

[android-developers] wtf is wrong with my battery monitor

2013-01-07 Thread Gurren Lagann
it doesn't show any other apps running except these screen, device idle, and cell standby it's like this even after long usage How to reproduce problem : Charge the phone How to fix : reboot phone wat http://puu.sh/1JAhY -- You received this message because you are subscribed to the Google

Re: [android-developers] hi friends

2013-01-07 Thread Belhouchet Ines
Thanks Nitin Sethi,that's help me too 2012/12/25, Nitin Sethi sethi.5...@gmail.com: Here you go. http://stackoverflow.com/questions/6905262/how-do-i-show-a-custom-dialog-when-there-is-no-internet-connection On Monday, 24 December 2012 22:47:27 UTC+5:30, sree wrote: Thank u friend.Shall u

[android-developers] Re: Why Galaxy Tab 2 7.0 (GT-P3110) not found in supported device

2013-01-07 Thread Alex Shcherbakov
camera on this device doesn't support autofocus http://stackoverflow.com/questions/11181057/this-app-is-incompatible-with-samsung-gt-p3110 суббота, 23 июня 2012 г., 19:36:18 UTC+4 пользователь Tiger Ng написал: Hi, I am using Galaxy Tab 2 7.0 (GT-P3110) for development. After I upload app

[android-developers] How i can make download Android up version to Test

2013-01-07 Thread Carlos Alencar
My android version is 3.1, i want update to 4.0 it is possible? If possible, At what site I can do download ? I have risk of miss my data? or my cellphone? KInd regards, Contact carlosa.alen...@hotmail.com or albertoc.alen...@gmail.com -- You received this message because you are

[android-developers] How to create tabhost like on default android browser?

2013-01-07 Thread arturs derkintis
How to make TabHost and add tabs like in this pics? When + button is click = add new tab with same layout src as in old tab. Please help me someone! -- 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] [ListView] How can I animate one single ListView item (entry) dynamically ?

2013-01-07 Thread Maruen
Hi dear Engineers, Here's the issue: I have this main ListView (retrieved using this.getListView() ) in a ListActivity properly populated from a SQLite database. A click on one of its items (entries) calls another activity A2 using startActivityForResult(). I would like to animate that SINGLE

[android-developers] Adding a new translation language

2013-01-07 Thread a'sem Jannatqyzy
Hello everybody, I'm new here and have some questions, could you guide me please. I'm a representative of Kazakh people and we are interested in having Kazakh language in Android devices. Now Kazakhstan is accepting 26 latin english letters and now it won't be difficult, but I don't know where

[android-developers] Re: I am not able to update contact on android 2.1 emulator

2013-01-07 Thread opensourcegeek
Sorry I know its been a while since you posted this question, did you get anywhere with this? I have a similar sort of issue and posted a question, I know there is a newer API but I'm supporting an existing library so I cannot go and change the underlying code. Many Thanks Praveen On

[android-developers] Send multidimensional array via POST request?

2013-01-07 Thread Roman Bugaian
It's simly to send POST reaquest with Lists consisting of BasicNameValuePair, but how to send a pair, where a value is another list of pairs? -- 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] Getting started (help for beginner)

2013-01-07 Thread Aleksije Micic
Hello everyone i am new to this forum/site and i need some help to get started.I already know that you need some decent java skills to learn android development.However i have no java skills and i need a good java book that will help me get decent skills to start learning android development

[android-developers] Polytonic (Ancient) Greek / System Fonts / Diacritics

2013-01-07 Thread Hans A. Hack
Hello, I hope that this is the correct place to ask for help, respectively i am asking for ideas regarding the developement of an app to solve following severe problem: The standard system font of Android does not support Polytonic Greek / Diacritics. As far as i understand the problem this

[android-developers] print app problem

2013-01-07 Thread Amit Mulayoff
'm writing an lpr client on *android * to send files (PDF, doc, etc) to a printer (hp laser-jet 4250dtn) The printer is on a server (server isrunning *UNIX *that's why I'm using lpr) Everything is all right and I indeed managing to open the socket, sending the control file(according to RFC

[android-developers] Android Virtual Device (AVD) Skins

2013-01-07 Thread Michael Workman
Hello in my Android Development studio the largest skin I can get is WVGA854, which I believe is 400 x 854, but I have a device with a 540 x 960 display, I would really like to have a skin with a display the same size as my device's display but after some searches I have not been able to find

[android-developers] Android invalidateOptionsMenu() for API 11

2013-01-07 Thread Daniel Smith
I used ActivityCompat.invalidateOptionsMenu(MainActivity.this); so that my menu item Refresh can automatically be enabled/disabled without the using have to touch the Menu option (imagine the user leaves the Menu open... I need the Refresh menu item to automatically disabled and enable

[android-developers] how to change dynamically tab content from another tab

2013-01-07 Thread ilias pakalidis
hello, I am new in android developing and need your help.I have 3 tabs and I want every time the user clicks on the next button on tab quiz a string to be shown in a textview in tab results.How am I supposed to do this?? -- You received this message because you are subscribed to the Google

Re: [android-developers] Android invalidateOptionsMenu() for API 11

2013-01-07 Thread Nikolay Elenkov
On Sun, Dec 23, 2012 at 6:54 PM, Daniel Smith danielsmithc...@gmail.com wrote: I used ActivityCompat.invalidateOptionsMenu(MainActivity.this); so that my menu item Refresh can automatically be enabled/disabled without the using have to touch the Menu option (imagine the user leaves the Menu

[android-developers] webview in android

2013-01-07 Thread laxman k
how to clear previously loaded content of webview in android -- 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

[android-developers] Re: Internal Memory unmounted every time the device starts problem

2013-01-07 Thread erikswany
i have the same system with the same problem if anyone has a solution it would be well appreciated On Tuesday, July 24, 2012 5:24:03 PM UTC-4, harry wrote: Even i have the same problem with my JXD S7100 So please, if anyone knows any solution for this problem please help. -- You received

[android-developers] I lost my KeyStore.

2013-01-07 Thread Flavio marcio Portela
I lost my KeyStore. I need to do: 1-Will send new program directory 2-new keystore. 3-uninstall old program. As uninstall program using QProcess; -- 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: Bluetooth BLE generic profile supported by Android

2013-01-07 Thread Fisiu
Hi, W dniu niedziela, 30 grudnia 2012 11:55:00 UTC+1 użytkownik gran33 napisał: Hey all, Does Android support any generic Bluetooth BLE profile? e.g GATT (Generic Attribute Profile) 10x in advance, RAN According to

[android-developers] How can I create...

2013-01-07 Thread John Cannon
How can I create an application from any website link? These sites will give you an idea of what I'm trying to do. (www.appsgeyser.com or www.websitetoapp.com) Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] My apps disappear fropm playstore !

2013-01-07 Thread Guillaume Lederer
some of my apps are not in my app list anymore. Example : In this list : https://play.google.com/store/apps/developer?id=Guillaume+Lederer I can't find this app anymore : https://play.google.com/store/apps/details?id=be.lederer.mobile.minilandlite can anyone explain me why ? where did I miss

[android-developers] Google App Engine, Authentication from Android, ClientLogin officially deprecated but OAuth 2.0, not supported yet.

2013-01-07 Thread Stephen Friend
I am writing a project in Google App Engine, GAE and need to authenticate from Android On the GAE server in a servlet I use UserService userService = UserServiceFactory.getUserService(); User user = userService.getCurrentUser(); This prints the current user, and shows I am

[android-developers] Read the destination Number

2013-01-07 Thread Makdu
Hi all\ In my application, i need to show the toast message when a call is received. I have to show the destination number in this case. ie if the call is coming to 98788000 number, then when call is coming , i want to show Call to your number 98788000 How can i do that. I am able to

[android-developers] My apps in playstore?

2013-01-07 Thread Guillaume Lederer
Hello all, Since today, some of my apps do not appear anymore in the playstore page supposed to show all my apps : https://play.google.com/store/apps/developer?id=Guillaume+Lederer For example this one is not listed :

[android-developers] Running a SMS parser in the background at startup

2013-01-07 Thread Giovanni Parodi
Hello everybody, I have a question that I think is quite easy for expert people, but not for me. I have an application organized as follows: - *MainActivity*, displaying some feedback to user - *SmsReceiver* (it is a BroadcastReceiver) that should check SMS for a specific pattern in

[android-developers] ViewPager swipe between fragments only with gesture on specific view

2013-01-07 Thread Fisiu
Hi, I have a classic ViewPager (xml snippet http://wklej.org/hash/9c79ef76e0a/) in my app and fragments are displayed inside 'pager'. Screen of example fragment is here http://img521.imageshack.us/img521/8650/fragment.png. By default, whole view (with white and gray background) reacts on swipe

[android-developers] RelativeLayout Bottom Alignment

2013-01-07 Thread Gopalan R C
Hi All, I have a requirement that a view (for instance, Button) has to be aligned at the bottom of a RelativeLayout, which has some background image. When I give bottom alignment the view (Button), the background of RelativeLayout is stretched. Why is it behaving so? I have attached my

[android-developers] OAuth token and unit tests problem

2013-01-07 Thread tha
Happy New Year and hello all, I'm trying to write some unit tests for my Android application which uses some Google APIs. The problem I have is in my JUnit classes i don't know how to get a valid OAuth token (although I can get a valid OAuth token from a LoginActivity of my main app). Do you

[android-developers] Re: HorizontalListView inside a VerticalListView

2013-01-07 Thread gilang
I have a problem too when implementing Horizontal Listview inside Listview.. I keep nullpointerexception.. Please help me :( On Tuesday, October 11, 2011 10:01:46 PM UTC+7, Marcos Paulo Damasceno wrote: Hi guys, I need to do a HorizontalScrollView inside a listview like we have in pulse

[android-developers] Re: How to create a Android Launcher ?

2013-01-07 Thread gabriel ferreira
Quero sabe se eu posso excluir o jogo gta porque eu comprei o jogo e ele não pega ta aparecendo que não tem tudo suficiente para jogar esse jogo -- 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] Apps money

2013-01-07 Thread hassan alsiouf
Hello i want to ask,Is Jordan included in android transferring money ? -- 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

[android-developers] Re: ADB Backup and multi-users in Android 4.2

2013-01-07 Thread Eric Harley
I'd also like to know the answer to this question. When performing adb backup such as adb backup -apk -shared -all -system in Android 4.2.1 is the information from all user accounts backed up, or only the one which is currently unlocked? -- You received this message because you are subscribed

[android-developers] Re: Question about AccountManager and OAuth authentication with Google App Engine

2013-01-07 Thread Stephen Friend
When will OAuth 2.0 be available ? Client login, as described in http://blog.notdot.net/2010/05/Authenticating-against-App-Engine-from-an-Android-app is deprecated , see https://developers.google.com/accounts/docs/AuthForInstalledApp -- You received this message because you are

[android-developers] i am designing application in which i require to compare two images

2013-01-07 Thread hasan badat
P.S i am beginner kindly help me to pick up things... when user click on the two image my code checks either the two image are same or different. if the images are same point add on the score board if the images are different warning to check images will decrease. I AM CONFUSE how do i take

[android-developers] Re: scrollTo not functional after setText

2013-01-07 Thread Iamar PUCGO
for me just postDelay works. Commented block is not works when i choose it. anybody knows why ? i have editText on my layout and it stays focused on top scrollView.postDelayed( new Runnable() { @Override public void run() {

[android-developers] How to implement a MapFragment in Action Bar Tabs

2013-01-07 Thread Hermann Semeloglou
Hi all, I've been having trouble building an app with the new Android Maps API. It seems to me that Google Tutorials are not clear enough. I am trying to build an app with Action Bar tabs. Each tab should have its own ( fragment? ) layout. One of the tabs has a map Fragment. How can I do that?

[android-developers] Using Camera and compass

2013-01-07 Thread Charlie Johnson
Hello! I have a task what i'm need to do. The App should make a photo and then share it on facebook or twitter, application must have ruler compass with degrees...like in this app:

[android-developers] Re: Tons of error trying to build ADWLauncher

2013-01-07 Thread hu4763731
I have the same problems... Did you find a solution? I need help. Thanks On Monday, June 4, 2012 3:40:55 PM UTC+8, galapogos wrote: I'm trying to build ADWLauncher, but I'm getting a ton of compiler errors in Eclipse SDK 3.7.1 in a Win7 32bit PC with JDK7. I imported ADWLauncher to Eclipse.

Re: [android-developers] How to start a new activity using the command of am,but not brought the activity to the front from its associated task?

2013-01-07 Thread KING PHOENIX
Hello my friend are you lincoln baros in prison break??? ha ha ha [?][?][?] On Tue, Dec 25, 2012 at 12:38 PM, lincoln linconf...@gmail.com wrote: Hi,all: How to start a new activity using the command of am,but not brought the activity to the front from its associated task? I

Re: [android-developers] Android Assets

2013-01-07 Thread KING PHOENIX
I dont know this answer. sorry On Tue, Dec 25, 2012 at 2:38 PM, Shubham Aggarwal shubham.1992aggar...@gmail.com wrote: I want to add some files in assets folder in android and want to read them from native C code. But the problem is how to get the path of that file (in java or in C). I don't

[android-developers] Re: Use unrooted Android device to test web site running on desktop, through usb cable?

2013-01-07 Thread jason_gates
Hi, Here is how I test in your scenario. Instead of trying to connect my android device to my laptop via a usb cable, I do it through a wireless connection I set the android device to connect via WIFI to a wireless access point running on my laptop. So, that means on my laptop I have a

[android-developers] Re: Beginning ADK

2013-01-07 Thread jason_gates
Hi, A connection is made by both hardware and software. Your post refers to Arduino Uno, which I believe is hardware. Is that correct? ADK is software. Thus, if want folks to help you install ADK software, please post what operating system software you a running? Do you have java installed?

[android-developers] Re: error in custom list adapter

2013-01-07 Thread jason_gates
Hi, I would recommend verifying ArrayList instances have been instantiated (not NULL) and have values. Your performing a get() (E.G. objects.get(position);) again without checking for NULL values. In general I always string test my code by running it through a source code debugger. If you

[android-developers] Re: Use unrooted Android device to test web site running on desktop, through usb cable?

2013-01-07 Thread jason_gates
Hi, I have a similar environment. I have a small internal network in which I do development ( 2 desk tops and a laptop). In addition, I also have an unrooted Android device which I use for testing. Instead of trying to connect to my internal development network via a usb cable, I connect my

Re: [android-developers] Re: using IP address 10.0.2.2 for android simulator works, but how do I point to localhost when testing on android device?

2013-01-07 Thread Jason Gates
Hi, I run a small local area network (LAN) for development and testing (a couple desktops and a laptop). ... My internet provider complains if I run a http server that is exposed to the internet. Therefore, I set up a wireless access point that is restricted to my development lan. I then have my

Re: [android-developers] How to make Text unselectable in EditText

2013-01-07 Thread jason_gates
Hi, Sorry I don't have a specific solution. The term that you are looking for is paste buffer. A quick search on the API documents results in this page: https://developer.android.com/guide/topics/text/copy-paste.html One strategy to prohibit copy is to distribute the characters in your string

[android-developers] Strange CSS Issue on Android 4.0.3 Default Browser

2013-01-07 Thread Jeevan Baby
I created a mobile website which has a content slider with overlay text and bulleted navigation + a fixed ad banner at bottom of the page. Overlay text and navigation buttons arr placed inside separate div elements and div elements css position is set as absolute. And the fixed ad banner at

[android-developers] Re: Hi bros

2013-01-07 Thread tom
Hi, I hope this is useful for u... try this... list.setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView? arg0, View arg1, int position, long arg3) { Object o = list.getItemAtPosition(position);

[android-developers] Re: Voice recognition through bluetooth

2013-01-07 Thread Jacob Singh
I have the same issue. PLEASE share. I've spent countless hours in various obscure docs and source files trying to figure this out. -J On Friday, December 30, 2011 10:42:43 AM UTC-5, Eddie wrote: Hi, I have speech recognition working in my activity. However, I realized that if I have

[android-developers] Re: The constructor SimpleExpandableListAdapter(.........) is undefined.

2013-01-07 Thread Jason Villalon
how did you solved it? i have the same problem On Sunday, March 16, 2008 8:41:54 AM UTC+8, jtaylor wrote: Problem solved. Looks like I can't add String, String to map as a parametized type. - Juan On Mar 15, 7:18 pm, jtaylor juan.anthony.tay...@gmail.com wrote: This is my Code

[android-developers] MediaPlayer setVolume() Left/Right Sound Channels

2013-01-07 Thread Ivanov
Such Problem: I have video file recorded with two sound channels. I have tried to switch off left sound channel by this code: Code: Videoview vv; ... vv.setOnPreparedListener(new OnPreparedListener() { @Overridepublic void onPrepared(MediaPlayer mp)

[android-developers] Re: Sharing SQLite Database between activities

2013-01-07 Thread Ignacio Tripodi
I'm running into exactly the same issue... could you update on how did you get this to work? Did you end up implementing this as a service? I'm also inserting data in one activity, but I don't see any of that data from a different activity within the same application... Thanks! -i On

[android-developers] Re: Hi bros

2013-01-07 Thread tom
Hi, Use this code i hope this is work... list.setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView? arg0, View arg1, int position, long arg3) { Object o = list.getItemAtPosition(position); String

[android-developers] Reverse Tether as Standard Android Feature

2013-01-07 Thread Jezwin Jebanesan
Hello, I have been trying to find a reverse tether app for my Android device. Unfortunately, all the apps that I found for this purpose requires the phone to be rooted. I am not prepared to root my phone as some other apps don't work on rooted devices. I have been trying to understand why

[android-developers] BaseExpandableListAdapter with cursor from db

2013-01-07 Thread Jigal sanders
Hello Everyone, Happy 2013 At the moment I have a simple list view which is feeded by a SimpleCursorAdapter. Now I want to expand the list view with a few sections. So i altered my query for my cursorAdapter and added some groupBy's. I got a bit further and i was told to use a

[android-developers] /sdk//tools/emulator no file or directory

2013-01-07 Thread Jwalin Pandya
I downloaded the latest ADT Bundle for Fedora 17 and I cannot start the emulator from Eclipse. I cannot The second / is the reason. Is any one else facing this issue. BTW, I know how to invoke a new AVD from emulator from terminal so no worries there. -- You received this message because you

[android-developers] Tried to write an automated test for in app billing purchase , but can't simulate a click on the IAP Buy button

2013-01-07 Thread Zhenlei Cai
I have an app with in-app billing subscription (IAP v2). I wrote an ActivityInstrumentationTestCase2 class trying to verify that when the user is trying to access a certain functionality he will be taken to the Google Wallet payment page and upon payment he can then proceed. However I

[android-developers] Creating an app

2013-01-07 Thread joel . hofer
Hello folks, I'm new in this programming environment. My plan is to create an app that can provide the connection between android-smartphones and android-tablets. It should be possible to connect them with bluetooth. The idea is to create a game platform with 1 server and maximal 4 clients. I

[android-developers] Sliding drawer stopped unexpectedly

2013-01-07 Thread Kumar Aggarwal
I have just begin learning Android.Its my first app regarding Sliding Drawer. the coding,everything is right,but however the app is not working, Here's the coding ?xml version=1.0 encoding=utf-8? FrameLayout xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] Example Code Screen Size is too small for the display

2013-01-07 Thread jnklees
I am trying to find a starting point for a practice app and therefore I am pulling up some default example code programs from the SDK. I am having a problem where the examples do not match the screen size of my phone (DroidX2 Android 2.3.5) and instead end up being too small. Currently the

[android-developers] Android System Icons

2013-01-07 Thread Josephine Nolan
Hi, I've been unable to find print-quality art for the android system icons. Since we're developing a printed instruction manual for our android platform-based software, we need to find a source for these icons in higher than screen quality. Does anyone have these or a link? Thanks! -- You

[android-developers] How to programmatically click on “Buy” button in automated Android in-app billing v2 testing

2013-01-07 Thread Zhenlei Cai
I am writing automated testing code (using *ActivityInstrumentationTestCase2 *) to test an app that involves in-app billing version 2 (subscriptions). I need help on figuring out how to programmatically get my testing code to click on the Accept and Buy button that appears inside the *Pay with

[android-developers] Failed to recv data from socket

2013-01-07 Thread Jordan Haigler
so im using tightVNC viewer so that i have a desktop for ubuntu which im getting via cloud computing service and when i use the android sdk and try to create a device the bar starts to load but then a pop up window opens and says Failed to recv data from socket. I have no clue what to do from

[android-developers] Contextual Action Mode and legacy support

2013-01-07 Thread dashman
I'd like to add CAM for my app - but remain compatible with pre android 3.0. seems like one has to use the interface below - available in android 3.0 and later. private ActionMode.Callback mActionModeCallback = new ActionMode.Callback() { } I'm using reflection and know how to find an

[android-developers] Gamepads and uses-feature

2013-01-07 Thread Iain King
Are there plans to add a uses-feature for gamepads? What with a couple of third-parties making pads for android devices, and Nvidia's recently announced android handheld, the prospect of making actual game games for Android (and not just touchscreen friendly ones) seems to be becoming a

  1   2   3   >