[android-developers] problem on actionbarsherlock

2012-09-09 Thread nanda
I have implemented actionbar in my app and I am not getting the proper spacing in actionbar. So do anyone have any idea on how to give proper spacing in actionbar. I am using actionbarsherlock for my app on gingerbread. Is there any functions in that for which I can provide spacing between acti

[android-developers] how to retrieve data between specified date

2012-09-09 Thread Sadhna Upadhyay
Hi everybody, i want to know that how to convert,let me first explain application( i have created database and taken date from date picker and converted it into string then passed to sq-lite database class) and now i want retrieve data between specified range like (1 July 2012 to 30 July 201

Re: [android-developers] Re: Getting pointer to current activity

2012-09-09 Thread Kristopher Micinski
It seems like you should generally be able to do this within your Activity, if not, then just send it a message to do so, you're within another window (i.e. dialog?), that seems rather hackish, a better way might be to change it on the dialog's closing.. kris On Sun, Sep 9, 2012 at 11:54 PM, Ravi

[android-developers] Re: Getting pointer to current activity

2012-09-09 Thread Ravin
I want to remove the current view and replace with another view. I was planning to use setContentView() to do that but in order to do so I need to access the underlying activity object. Is there another way to achieve this? On Sunday, September 9, 2012 7:16:08 PM UTC-7, Ravin wrote: > > Is the

Re: [android-developers] Re: asp.net to Android

2012-09-09 Thread Kristopher Micinski
On Fri, Sep 7, 2012 at 10:25 AM, gsiewruk wrote: >> do not listen to him, forget about java.. > > http://www.brutaldev.com/post/2011/01/15/Android-applications-in-C-using-Visual-Studio.aspx > FYI your post is off topic for this list, which focuses exclusively on using the Java based SDK for devel

Re: [android-developers] Where to start for developing an Android Game?

2012-09-09 Thread Kristopher Micinski
This question is fairly off topic and has no research behind it. Game development in general is a huge area, and all of the complications will be mirrored in Android. As always it depends on what type of game you want to make, but you might try - learning java - taking a graphics course -

Re: [android-developers] University eVarsity App Help

2012-09-09 Thread Kristopher Micinski
FYI the place to ask permission for permission is the university, not this forum, nobody here will be able to answer :-).. kris On Sat, Sep 8, 2012 at 3:39 AM, Ankur Sinha wrote: > Hello everyone, > > I am new to this Android App Development. I am learning Android App > Development from thenewbo

Re: [android-developers] Google's Android developer tutorial problem

2012-09-09 Thread Kristopher Micinski
yes, at the same time you should file a documentation bug report! kris On Sun, Sep 9, 2012 at 6:38 PM, Mark Murphy wrote: > That appears to be a typo in that training page. Instead of: > > private class DownloadWebpageText extends AsyncTask > > use: > > private class DownloadWebpageText extends

Re: [android-developers] Getting pointer to current activity

2012-09-09 Thread Kristopher Micinski
Hm. So please state the use case for this scenario? The only ways I can think that this would be used are bad or would lead to incorrect programming. I assume you mean the thing on the top of your activity stack in your application, kris On Sun, Sep 9, 2012 at 10:16 PM, Ravin wrote: > Is ther

[android-developers] Getting pointer to current activity

2012-09-09 Thread Ravin
Is there some way to get the current activity from within a child window. I'm sure there is but I cannot seem to find a method in the documentation. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

Re: [android-developers] FragmentStatePagerAdapter is not setting the UI elemtents when using Loader API

2012-09-09 Thread Jose Ayerdis
I posted in SO, probably too much code for the group. Tks Sincerly yours, [Jose Luis Ayerdis Espinoza] Necronet.info | LinkedIn| Careers StackOverflow 2012/9/10 Dianne Hackborn > I

Re: [android-developers] USSD request and response

2012-09-09 Thread Fred Niggle
Unstructured Supplementary Service Data (USSD) is a protocol used by GSM cellular telephones to communicate with the service provider's computers. USSD is not yet supported on Android. There is a feature request for it: http://code.google.com/p/android/issues/detail?id=1285 Regards, Fred On 7 Se

Re: [android-developers] Screen Support in Android 3.2 (API level 13)

2012-09-09 Thread Dianne Hackborn
On Fri, Sep 7, 2012 at 8:13 AM, Javier Garcia Crespo wrote: > Yes new devices with android 3.2 upper. Hvga wvga no way to select > diferent layout with new technique. Poor. I have to make a test mixing > horenration and dps selector .h240-por or h320-land > What are you trying to say? The new re

[android-developers] Re: Dungeons in-app billing test app cannot be found in Play Store

2012-09-09 Thread William Ferguson
It does not say anywhere that your test accounts will be able to see and download the unpublished APK from within Google Play. What you need to do is to install the APK manually (ie sideload) on your test devices, but once installed they will be able to access the payment system and products o

Re: [android-developers] FragmentStatePagerAdapter is not setting the UI elemtents when using Loader API

2012-09-09 Thread Dianne Hackborn
I don't think you have provided enough information to help. The argument you supplied to instantiate() is just made available to the fragment through Fragment.getArguments(). Presumably the problem is then somewhere in your DetailFragment and how it is managing those arguments, but you haven't pr

Re: [android-developers] Google's Android developer tutorial problem

2012-09-09 Thread Mark Murphy
That appears to be a typo in that training page. Instead of: private class DownloadWebpageText extends AsyncTask use: private class DownloadWebpageText extends AsyncTask to match up with the rest of their code listing. On Sat, Sep 8, 2012 at 11:16 AM, Arei Kuen wrote: > I'm a beginner and jus

Re: [android-developers] How to export/import sqlite database to/from sdcard in android application?

2012-09-09 Thread Mark Murphy
Oh, and add the WRITE_EXTERNAL_STORAGE permission to your manifest. On Sun, Sep 9, 2012 at 6:37 PM, Mark Murphy wrote: > Make sure your SQLiteDatabase objects are closed (via calling close() > on them directly or close() on your SQLiteOpenHelper). From there, it > is standard Java I/O, using meth

Re: [android-developers] How to export/import sqlite database to/from sdcard in android application?

2012-09-09 Thread Mark Murphy
Make sure your SQLiteDatabase objects are closed (via calling close() on them directly or close() on your SQLiteOpenHelper). From there, it is standard Java I/O, using methods like getExternalStorageDirectory() on your Activity to build a path to where you want the file to be copied. On Sat, Sep 8

Re: [android-developers] need help showing a download link to my app.

2012-09-09 Thread Mark Murphy
On Fri, Sep 7, 2012 at 12:24 PM, J.Willison wrote: > Published my first app last night (15 hours ago) > I believe my app package is called com.wSLBridalApp Look at your AndroidManifest.xml file to see what your package actually is. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://

Re: [android-developers] need help For App Inventor, Image Zoom + and -

2012-09-09 Thread Mark Murphy
This group is for developing applications with the Android SDK, not via App Inventor. On Sun, Sep 9, 2012 at 6:57 AM, Desi wrote: > hello freind's > > i need some help > > i am working on a app. > > there is an image ( 4000 pix X 4000 ) > > can any one help me for zoom contoles > > > thnxxx

[android-developers] need help showing a download link to my app.

2012-09-09 Thread J.Willison
Published my first app last night (15 hours ago) I believe my app package is called com.wSLBridalApp I cannot seem to figure out how to find it on google play. I uploaded it, added screenshots etc, and published it. Can't search for it (which I'm told takes a while to populate) but i should be ab

[android-developers] need help For App Inventor, Image Zoom + and -

2012-09-09 Thread Desi
hello freind's i need some help i am working on a app. there is an image ( 4000 pix X 4000 ) can any one help me for zoom contoles thn -- 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] Dungeons in-app billing test app cannot be found in Play Store

2012-09-09 Thread Escape Radius
I'm trying to test the in-app billing example, Dungeons and I'm confused about testing the app. I have complied the demo .apk, and uploaded it to my Developer Console. According to the documentation, my app should be identified as Unpublished draft apk v1.0 . It is listed as Unpublished, but is

[android-developers] How to export/import sqlite database to/from sdcard in android application?

2012-09-09 Thread SUNIL KUMAR
I have an application that has a sqlite database, I want to export the app db to sdcard & then import the same from sdcard. Can anyone guide me in this concern. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

[android-developers] Detect headphone (native)

2012-09-09 Thread Julio Gonzalez
I have found the android code for doing this, java side. Is there a way we can achieve this in C++? Thanks a lot. -- 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 u

[android-developers] Re: asp.net to Android

2012-09-09 Thread gsiewruk
> > do not listen to him, forget about java.. http://www.brutaldev.com/post/2011/01/15/Android-applications-in-C-using-Visual-Studio.aspx -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

[android-developers] USSD request and response

2012-09-09 Thread gsiewruk
Hello, I work for telecommunication provider, and i'm creating a service that use USSD it works like -> user send USSD code like (*xxx*xx*#) and there is action on server for every code that come in. Now i want to put string in message ( part of string) in almost every phone it i

[android-developers] Re: Android sdk manager

2012-09-09 Thread Eric Bain
That's my problem as well, although the "black screen" only lasts for about half a second over here. bump? (windows 7 64 bit) On Tuesday, July 19, 2011 4:44:33 AM UTC-4, mkhays wrote: > > Problem > If i start my android sdk manager.exe to install its components it > only displays a black scree

[android-developers] Question about SurfaceView and Threads

2012-09-09 Thread Edvinas Kilbauskas
Hello, I recently started learning development for android (Game development to be specific). And I came across the question, to which I couldn't find an answer. So my question would be why does this work?: public class MainActivity extends Activity{ OurView v; TextView textView; Random random;

[android-developers] Google's Android developer tutorial problem

2012-09-09 Thread Arei Kuen
I'm a beginner and just started reading google's android tutorial and i came across a problem. On this link: https://developer.android.com/training/basics/network-ops/connecting.html#AsyncTask When i try to write a class which extends AsyncTask the class automatically implements the 'protected *

[android-developers] Re: startActivityForResult problem

2012-09-09 Thread Ankit Pansuriya
Please remove noHistory=true from your android manifeast file. -- 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-de

[android-developers] keyboard event to start

2012-09-09 Thread andro1indico
I have a question how I can intercept the keyboard event when this starts, this will need to bring up a modal window for writing there and also that in some cases it will not rise Thanks for your help and waiting your answer, "Pura Vida" -- You received this message because you are subscribed to

[android-developers] University eVarsity App

2012-09-09 Thread Ankur Sinha
Hello everyone, I am new to this Android App Development. I am learning Android App Development from thenewboston channel on YouTube. So, I want to create an app for my University. They have an online portal where a student logs in to check his attendance, time table, cycle test marks, etc.

[android-developers] Re: onInterceptTouchEvent and Gesture detector

2012-09-09 Thread Minh Tri
It's too late, but it maybe useful for others so I post my solution here: @Override public boolean onTouchEvent(MotionEvent event) { mGestureDetector.onTouchEvent(event); return true; } @Override public boolean onInterceptTouchEvent(MotionEvent event) {

[android-developers] Workers and Android 4.1

2012-09-09 Thread alfredo levy
Hi, I just wanted to know if I can use workers in my phonegap application, does Android 4.1 support web workers? Regards, Alfredo. -- 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@goo

[android-developers] Location Based Augmented Reality.

2012-09-09 Thread ShiroEmiya
Hi! I would like to create an application that draws a bitmap in a camera when a user touches an specific point. it is similar to this http://www.youtube.com/watch?v=FH9vJ684j_U&feature=player_embedded however a bitmap images will be use instead of open GL. can you help me out? where can I s

[android-developers] Creating file & folder with the same name inside a directory

2012-09-09 Thread Deepthi
Hi, I created a file named 'test' in directory /tmp/ in my Android device. Now when i tried to create a folder named 'test' in /tmp, I am unable to create it as a file with the same name already exists. Can someone please suggest on how a folder with the same name as a file be created within

[android-developers] Automatic foreign currency conversion pricing

2012-09-09 Thread Craig Poxon
Is there a way for Google to automatically handle the exchange rate when apps are purchased outside the publisher's? Currently it seems to me that if one wants to publish in a country where the currency can be set, one has to provide a price. Yes, I know you can autofill, but currencies fluctuat

[android-developers] University eVarsity App Help

2012-09-09 Thread Ankur Sinha
Hello everyone, I am new to this Android App Development. I am learning Android App Development from thenewboston channel on YouTube. So, I want to create an app for my University. They have an online portal where a student logs in to check his attendance, time table, cycle test marks, etc.

[android-developers] Interceptar evento del inicio del teclado

2012-09-09 Thread andro1indico
Hello! I have a question how I can intercept or override the event start the keyboard, for example, as I do to anticipate the event when an EditText gains focus and make a modal window to appear where the user has to write what I thought to write to the editext This same event also take care to

[android-developers] Where to start for developing an Android Game?

2012-09-09 Thread Abhi
Hi, I am new to game development. Where can I start, for developing a simple Android Game ? -- 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 g

[android-developers] FragmentStatePagerAdapter is not setting the UI elemtents when using Loader API

2012-09-09 Thread Jose Ayerdis
Hello everybody, so I have run now with this problem when trying to use FragmentStatePagerAdapter, I pick a specific element from a List and send an array of ids with the position picked like this intent.putExtra("ids", ids); intent.putExtra("position", position); Then the activity is called whi

Re: [android-developers] Re: Intercept layout android loading choice

2012-09-09 Thread Jose Ayerdis
Is a radomly pick to examine User behaviour in one layout and in other thanks for the answer! I finish doing it with setContentView Sincerly yours, [Jose Luis Ayerdis Espinoza] Necronet.info | LinkedIn| Careers StackOverflow

[android-developers] specifyng id in case of include directive

2012-09-09 Thread Narendra Singh Rathore
Hi all, I just wanted to know, how to specify id, while using *include *directive, as suppose I have two buttons ok and cancel in two different layouts. and I need to make a layout (xml file) for ok and cancel button. Now, how to specify id from two different layouts for both the buttons together,

[android-developers] Re: Google Navigation

2012-09-09 Thread Diego Nunes
The message I sent was incomplete, follows: I'm developing an Android application that uses the Google Navigation. In this application I want to draw a route avoiding some streets. Is this possible? Thank you, On Sunday, September 9, 2012 3:20:32 PM UTC-3, Diego Nunes wrote: > > Hello > > I'm

[android-developers] Google Navigation

2012-09-09 Thread Diego Nunes
Hello I'm developing an Android application that uses the Google Navigation. In this application I want to draw a route some streets. Is this possible? Thank you -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

Re: [android-developers] Sharing or Passing Array List between Activities

2012-09-09 Thread Kristopher Micinski
It depends on how much data you have, but it shouldn't be too bad.. kris On Sun, Sep 9, 2012 at 1:44 PM, fahad mullaji wrote: > Thanks Kris, > I was planning to move data in parcelable objects. > Does it affect performance of application. > That's what i has what is the best way/method for passi

Re: [android-developers] Sharing or Passing Array List between Activities

2012-09-09 Thread fahad mullaji
Thanks Kris, I was planning to move data in parcelable objects. Does it affect performance of application. That's what i has what is the best way/method for passing array list Thanks Fahad Mullaji On Sun, Sep 9, 2012 at 7:33 PM, Kristopher Micinski wrote: > I thought this answer had been answere

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-09 Thread mallikarjun gudisagar
Hi all, Its working fine from project but when i tried this in android project i am getting error like "java.lang.NoClassDefFoundError: com/android/chimpchat /ChimpChat" Am i missing any thing? help is appreciated. Thanks Arjun On Sun, Sep 9, 2012 at 12:32 PM, Arjun wrote: > > Hi all, >

Re: [android-developers] Functional testing multiple activities (ActivityInstrumentationTestCase2)

2012-09-09 Thread Prof
Hi, I believe the correct way to write functional unit tests spanning multiple activities (and have some injection points for mocks too) is to use InstrumentationTestCase directly. In setup do: instrumentation = getInstrumentation(); Context context = instrumentation.getTargetContext(); ap

Re: [android-developers] Sharing or Passing Array List between Activities

2012-09-09 Thread Kristopher Micinski
I thought this answer had been answered before? -- If it's smallish you can pass it in the intent to another activity -- if it's larger you can think about backing it in a content provider within the app to keep things persistent kris On Sun, Sep 9, 2012 at 9:33 AM, fahad mullaji wrote: > H

[android-developers] Sharing or Passing Array List between Activities

2012-09-09 Thread fahad mullaji
Hi All, What is the best method to share array list object between android activities? Caching,Parcelable or something new? -- Regards Fahad Mullaji -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

[android-developers] Re: WHAT SUPPOSED to read first

2012-09-09 Thread lselwd
I tried log in with Play Publisher account but not can log in, in emulator... I can log in success normally how in emulator use the PC keyboard instead, now only android virtual keyboards can use On Saturday, September 8, 2012 4:50:34 PM UTC+3, lselwd wrote: > > WHAT SUPPOSED to read firs

Re: [android-developers] Android app with Message notification and Service

2012-09-09 Thread Mark Murphy
On Sun, Sep 9, 2012 at 8:31 AM, Aliasgar Rangwala wrote: > We are having our application on Android and plan to add message alerts to > our Android app users. The app will run in background and the moment any new > alert is sent from central server the user should get notification alert on > his A

[android-developers] Android app with Message notification and Service

2012-09-09 Thread Aliasgar Rangwala
Hi All, We are having our application on Android and plan to add message alerts to our Android app users. The app will run in background and the moment any new alert is sent from central server the user should get notification alert on his Android device. We have implemented Service functionality

[android-developers] Re: WHAT SUPPOSED to read first

2012-09-09 Thread lselwd
licensing code should inserted to main activity, this means startup activity, so if have a SplashScreen.java (splash.xml) as startup, licensing code goes here??? On Saturday, September 8, 2012 4:50:34 PM UTC+3, lselwd wrote: > > WHAT SUPPOSED to read first > how to sign my App and get apk file,

Re: [android-developers] soap+android related problem

2012-09-09 Thread rauf qureshi
On Sun, Sep 9, 2012 at 3:48 AM, TreKing wrote: > On Sat, Sep 8, 2012 at 3:44 AM, rauf qureshi wrote: > >> i am troubling with above code > > > Learn to debug your own code or post a *small* sample of code with a * > clear* explanation of the problem you're having. > > Posting a giant blob of code

Re: [android-developers] How to set height of a custom developed AlertDialog ?

2012-09-09 Thread Trupti Dalia
Justin, Felipe, none of those also worked. Finally I created a new xml layout for 2 items or for more items and set height in the XML with more than 2 items and it got working as I want. As AlertDialog always starts from center screen, so using getWindow().setAttributes(), I set the "y" & "Gravity

[android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-09 Thread Arjun
Hi all, I have used you link http://code.google.com/p/aster/downloads/list for chimpchat file after this also the error is comming same can you please tel me the basic steps. Example would greate. Thanks Arjun On Saturday, September 8, 2012 2:10:32 AM UTC+5:30, Lew wrote: > > Kevin wrote: >>