[android-developers] How to do a SettingsFragment with a Toolbar

2016-09-10 Thread Francisco Javier Rodríguez Lozano
I have an activity with a toolbar and I want to launch a settings fragment but I don't want that this fragment will be launched from an activity that is not the principal activity. So I only can launch SettingsFragment from my main activity. My problem is when the SettingsFragment is launche

[android-developers] How to do ssl certificate ?

2013-09-01 Thread mohammed Nuhail
Hello, I am working on secure socket layer (ssl) ... how to do ssl certificate ? thanks in advance... -- 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

Re: [android-developers] How to do??

2013-06-02 Thread Piren
That's usually what i do! On Monday, June 3, 2013 1:36:25 AM UTC+3, TreKing wrote: > > > On Sun, Jun 2, 2013 at 1:43 PM, siter > > wrote: > >> How to proceed?? > > > Write the code to do what you described. > > Also consult: > https://www.google.com/ > http://developer.android.com/index.html > h

Re: [android-developers] How to do??

2013-06-02 Thread TreKing
On Sun, Jun 2, 2013 at 1:43 PM, siter wrote: > How to proceed?? Write the code to do what you described. Also consult: https://www.google.com/ http://developer.android.com/index.html http://www.catb.org/esr/faqs/smart-questions.html

[android-developers] How to do??

2013-06-02 Thread siter
I want to make an app which has an image and what I need is that user can pan over image pinch and zoom an area and write something on it and save. Sam can be done many times How to proceed?? -- -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] How to do the slicing effect as in fruit ninja when user touches the screen?

2013-05-06 Thread bob
Maybe look at this? http://www.iossourcecode.com/2012/06/23/how-to-make-a-game-like-fruit-ninja-with-box2d-and-cocos2d-part-3/ -- -- 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] How to do the slicing effect as in fruit ninja when user touches the screen?

2013-05-06 Thread maitrey
Hi, I would like to try the slicing effect like they do in Fruit Ninja. Is there any open source code or any example available for android? I see some libraries and example for iOS, but not for android. Please let me know if there is any example or open source library available for this effect.

Re: [android-developers] how to do JUnit testing

2013-04-23 Thread Indicator Veritatis
The android.developer.com sites that SO post refers to are good, despite the low votes both the question and the answers got on SO. Couldn't you find an SO post that got better votes? The rest of the SO post is quite worthy of being completely ignored. On Monday, April 22, 2013 3:19:01 AM UTC-7

Re: [android-developers] how to do JUnit testing

2013-04-22 Thread Asheesh Arya
http://stackoverflow.com/questions/10845937/how-to-do-junit-testing-in-android On Mon, Apr 22, 2013 at 3:37 PM, Sadhna Upadhyay wrote: > Hi guys, > can some one tell me that how to do JUnit testing in > android.please help me if any one have any idea about it > thank you very much in

[android-developers] how to do JUnit testing

2013-04-22 Thread Sadhna Upadhyay
Hi guys, can some one tell me that how to do JUnit testing in android.please help me if any one have any idea about it thank you very much in advance. Thanks and regards: sadhna -- -- You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] How to do both Swiping and Zoom In and Out (using setBuilt In Zoom controls) in a Webview Android 2.2?

2013-04-05 Thread Meena Rengarajan
This is my Code i have done both SWIPING and ZOOM IN and ZOOM OUT functions. But both doesnt worked in my app inside webview. My problem is, If i do comment this line, then Swiping works fine ! webSettings.setBuiltInZoomControls(true); If i don't comment this above line, then Zoom In and Out

[android-developers] How to do sketch by programmatically in Android?

2013-02-19 Thread Meena Rengarajan
Hi, Anyone worked on Sketcher- Lite app in Android. I have tried alot and googled so. I dont find any sources or links regarding Sketching in android Refer Video : http://www.youtube.com/watch?v=NG988owhORY Please Help :- I have worked on Paint in my app. It works fine normally. What i

Re: [android-developers] How to do if User focussed on Edittext, menus should be displayed?

2012-10-27 Thread Satya Komatineni
Meena, I haven't tried it. But a view seem to have a public method called "showConextMenu()". So you will set up a context menu for your control and call showContextMenu() on focus grab. (My theory but try it out) But more importantly, you may need to go in the direction of writing your own input

[android-developers] How to do if User focussed on Edittext, menus should be displayed?

2012-10-27 Thread Meena Rengarajan
My needs : If i click or focussed on EditText, it should call Menus . In Menus, i wanna create two options. That is, normal writing and keyboard writing. If user selects keyboard writing, it looks like Android Keyboard. Should be able to type it from keyboard. And next one, normal writing. T

Re: [android-developers] How to do HTTP post requests from Android on my Mule service bus app.

2012-10-21 Thread TreKing
On Thu, Oct 18, 2012 at 2:50 PM, Speedy31 wrote: > Can someone explain me how to achieve the same results directly from the > android code? See the URL class in the documentation. - TreKing

[android-developers] How to do HTTP post requests from Android on my Mule service bus app.

2012-10-21 Thread Speedy31
Hi guys, I'm pretty new to Android software development, but have to say I like it more each day! I would like my android app to contact my servicebus over a simple HTTP post request, in which I'm able to specify: URL, portnumber, path and body, etc. Below you can see a screenshot of an old ap

Re: [android-developers] how to do sql server connection to andriod app ???

2012-09-25 Thread Asheesh Arya
that attachment contain source code for how to get connected android application with sql server -- 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 th

Re: [android-developers] how to do registration free on android markert

2012-09-25 Thread rajlaxmi jagdale
hi vinay, can i know what will be the subscription period once i register with google play for 25$? thank's in advance On Tuesday, September 25, 2012 2:57:27 PM UTC+5:30, Vinay Kumar wrote: > > Hi rajlaxmi, > > There will be a free account to downloading free app from the google play > i.e you

Re: [android-developers] how to do sql server connection to andriod app ???

2012-09-25 Thread Lew
asheesh arya wrote: > please find the enclosed attachment > Not clicking on an attachment without you first explaining exactly what's in it. And likely not even then. Attachments can be dangerous. -- Lew -- You received this message because you are subscribed to the Google Groups "Android

[android-developers] how to do registration free on android markert

2012-09-25 Thread rajlaxmi jagdale
how to register in free on google play -- 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...@goo

[android-developers] how to do sql server connection to andriod app ???

2012-09-25 Thread ashish yadav
sql server connection to andriod app ??? -- 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...@g

Re: [android-developers] How to do Client Server Communication in android ? Android device -client & PHP Server

2012-05-22 Thread TreKing
On Tue, May 15, 2012 at 9:42 AM, Unnati wrote: > Basically, I am confused with how to achive this client-server > communication in which I am planning to create Server in PHP and > android device ahould use HTTP. > > What exact mechanism I should use? > This is not specific to Android. If you do

[android-developers] How to do Client Server Communication in android ? Android device -client & PHP Server

2012-05-21 Thread Unnati
Hi, I am working on an android application which needs to communicate to server using HTTP . An android device should send some data over to server periodically and receive response from the server as well. Apperantly, Server should (store)keep track of number of active android app user at specifi

Re: [android-developers] how to do imageview 3d animation with pinch and zoom?

2011-12-05 Thread Christopher Van Kirk
OpenGL? On 12/2/2011 6:04 PM, Hitendrasinh Gohil wrote: Hi, can anyone give me some idea how to pinch,zoom(i know but i want all three in one) and rotate image in 3d? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this grou

[android-developers] how to do imageview 3d animation with pinch and zoom?

2011-12-02 Thread Hitendrasinh Gohil
Hi, can anyone give me some idea how to pinch,zoom(i know but i want all three in one) and rotate image in 3d? -- 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 unsu

Re: [android-developers] How to do a Thread that only executes itself one time? (but continues alive)

2011-09-26 Thread TreKing
On Mon, Sep 26, 2011 at 8:03 AM, saex wrote: > How can i do a thread that only executes itself one time but > continues alive? > You don't - what you're doing makes no sense. You don't have to keep your thread alive to keep your listeners active. Just run the code you have in "run" by itself whe

[android-developers] How to do a Thread that only executes itself one time? (but continues alive)

2011-09-26 Thread saex
Hi i need to put some listeners on a Thread (to optimize my app), then, the Thread should be executed one time, but it needs to continue alive, because the listeners have to be alive to listen for events. I tryed with this code, but this code gives me an EXCEPTION (java.lang.RuntimeException: Can

[android-developers] How to do dalvik heap deduction for each heap

2011-08-18 Thread binz
Hi all, Could you please give some info. about how to adjust each vm heap size? Through DDMS, i found that each app's vm heap free size is big, about 50% of the total vm size, this ratio doesn't change a lot even when the phone runs a large application. So i think shall we reduce the vm heap si

Re: [android-developers] How to do native sound programming in android?

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 10:47 AM, XzPeter wrote: > I am wanting to write a native C app that record real time sound in > android and then send via network. I have searched the internet about > sound programming in android, but most of the articles are talking > about using the class MediaPlayer or

[android-developers] How to do native sound programming in android?

2011-06-11 Thread XzPeter
Hi, all, I am wanting to write a native C app that record real time sound in android and then send via network. I have searched the internet about sound programming in android, but most of the articles are talking about using the class MediaPlayer or MediaRecorder in Java. So, How in C? Peter --

Re: [android-developers] how to do....

2011-04-13 Thread Kostya Vasilyev
If you need to load the data just once, write a boolean flag somewhere after the initial download succeeds, and check it when the application is started again. If the data can change over time, write a timestamp, and check with your server if it's different. If not, just use whatever has already b

[android-developers] how to do....

2011-04-13 Thread ABSOLUT
Hi I have an application with some tabhosts. The first time that i do click in the tabhost the app must connect to internet to get some data. I save this data in a sqllite database. Well I Would like the best way if I push other time /times the tabhost that the data will be reading from database M

Re: [android-developers] How to do a fade of views mostly radio buttons

2011-03-21 Thread Justin Anderson
Just disable them... What do you mean you "created your own radio button"? Did you subclass it or really create your own from scratch? Also, that design goes against the standard way that radio-buttons are used and would really only confuse people. Thanks, Justin Anderson MagouyaWare Developer h

[android-developers] How to do a fade of views mostly radio buttons

2011-03-21 Thread kiros88
Hi i created my own radio button so basically it will deselect when u click it again if its already toggled on. my main question is if anyone knows like if u have a radio group and 3 radio buttons I select the top one and i want the other 2 to be faded? like its still there visible but is like eith

Re: [android-developers] How to do this layout correctly?

2011-01-04 Thread Mark Murphy
There is no TextView in your layout. The two main approaches for putting some widget "at the bottom last line of the screen" are: 1. Use a LinearLayout parent for the widget and the other stuff. Use android:layout_height="0px" and android:layout_weight="1" for the other stuff. Use a regular andro

[android-developers] How to do this layout correctly?

2011-01-04 Thread Mystique
Hi, I want to display a textview at the bottom last line of the screen but I have been trying without success. What is the correct way to display it? Many thanks, CJ -- code -- http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent"

Re: [android-developers] How to do this kind of screen alignment?

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 2:52 AM, Mystique wrote: > Any code example to do this layout for both portrait and > landscape orientation? > The likelihood of finding code examples that perfectly solve the particular layout problem you are having at any given time is pretty much zero. However, this

[android-developers] How to do this kind of screen alignment?

2010-12-31 Thread Mystique
Hi, I know fixing the point in the app to draw image/text are bad practices and I'm trying to do this correctly but been far from successful. Any code example to do this layout for both portrait and landscape orientation? |

Re: [android-developers] How to do use WebView load html?

2010-12-28 Thread john collinson
get a new phone u lazy bum. ha ha ha ha ha!!!... On Mon, Dec 27, 2010 at 5:49 PM, TreKing wrote: > On Mon, Dec 27, 2010 at 2:33 AM, CaryWang wrote: > >> I want use webView load html.however, shows only the screen size of the >> html, and other areas not show, a user can't drag i

Re: [android-developers] How to do use WebView load html?

2010-12-28 Thread cuil yahoo
>From what i can gather, You should try enabling the scroll bars using web.setVerticalScrollBarEnabled(true); web.setHorizontalScrollBarEnabled(true); also, try web.setInitialScale(percent_value) for better scaling. web is the object of WebView Class. Cuil On Tue, Dec 28

Re: [android-developers] How to do use WebView load html?

2010-12-27 Thread TreKing
On Mon, Dec 27, 2010 at 8:22 PM, CaryWang wrote: > I use webView load html page。I want show screen size of the html page,other > area html page not show.and user can't drag screent show other area. I'm sorry, but that's really not any clearer. --

Re: [android-developers] How to do use WebView load html?

2010-12-27 Thread CaryWang
I use webView load html page。I want show screen size of the html page,other area html page not show.and user can't drag screent show other area. 2010/12/28 TreKing > On Mon, Dec 27, 2010 at 2:33 AM, CaryWang wrote: > >> I want use webView load html.however, shows only the screen size of the

Re: [android-developers] How to do use WebView load html?

2010-12-27 Thread TreKing
On Mon, Dec 27, 2010 at 2:33 AM, CaryWang wrote: > I want use webView load html.however, shows only the screen size of the > html, and other areas not show, a user can't drag it to other areas Your question is not very clear. Try re-phrasing, perhaps with a picture illustrating your problem. -

[android-developers] How to do use WebView load html?

2010-12-27 Thread CaryWang
I want use webView load html.however, shows only the screen size of the html, and other areas not show, a user can't drag it to other areas -- Cary -- 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] How to do Flow Control in RFCOMM Bluetooth in Android?

2010-12-17 Thread Indicator Veritatis
I have read the Bluetooth Chat demo, read the specs for the APIs in android.bluetooth, done many Google queries such as "android bluetooth rfcomm flow control", but I still cannot figure out the answer to the question: how do I get not just any RFCOMM connection, but specifically a connection with

Re: [android-developers] How to do selective "compiling" in Android

2010-11-15 Thread TreKing
On Mon, Nov 15, 2010 at 8:25 AM, MathiasL wrote: > How do I do to get around this problem? Build against a version of the platform that has the function you're trying to use. Also, using a String constant for the build version and checking "contains" is quite silly considering there are integer

[android-developers] How to do selective "compiling" in Android

2010-11-15 Thread MathiasL
My problem is this. I want build an app that runs on most Android Platforms, but uses some APIs that's unavaliable in the older versions, e.g. 1.6 I have read the long discussion in https://groups.google.com/group/android-developers/browse_thread/thread/0daee1d93d1f21b3/c1f861d0a34761b8?#c1f861d0a

[android-developers] How to do this correctly in SQLite?

2010-09-15 Thread Mystique
Hi, I want to insert a String value call temp but I don't seems to get it working for the INSERT INTO statement. Anything wrong with the code? This is the initialization to create table and insert some default values into the table if the database doesn't exist. Many Thanks. ---code--- @Overr

[android-developers] How to do JUnit Testing for Android Phone.

2010-07-19 Thread Bharathi raja
Hi All, Please anyone help me, how to do JUnit Testing for Android phone(Not for Android application). I have a doubt whether Junit Testing for android phone required android source code or only class name are enough to do. -- You received this message because you are subscribed to the Google

[android-developers] How to do occur hardware keyboard event using software keyboard

2010-07-07 Thread brilliant winger
Hi all I have question.! How to do occur hardware keyboard event using software keyboard? 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@googlegroups.com To unsubscribe from

[android-developers] how to do hide and activity when there is an activity on top redirecting me to home screen

2010-03-03 Thread mikedroid
example scenario is: from login screen - main screen - then when i clicked a hide button inside the mainscreen, the app will need to go in the home screen, and when im going to click the app again the main screen would be called and not the login screen -- You received this message because you

[android-developers] How to do animation when click on a bitmap

2010-02-24 Thread CMF
I have bitmap displayed on the top of the screen when the app is started up. When clicking on the bitmap, the image should move to the bottom of the screen. I have read the AnimateDrawables from ApiDemos, but the animation is done on a Drawable Object. If it can use on bitmap, it will be great! H

[android-developers] How to do animation when click on a bitmap

2010-02-24 Thread CMF
I have bitmap displayed on the top of the screen when the app is started up. When clicking on the bitmap, the image should move to the bottom of the screen. Here is my code public class HelloAndroid extends Activity { /** Called when the activity is first created. */ @Override public voi

[android-developers] how to do handshaking with window throught TCP/IP?

2010-02-16 Thread CMF
Hi guys, I would like to write a program on Android to get the coordinates of the mouse pointer on Windows through WIFI, is there any example or tutorial showing how to do that? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] How to do partial build of Android

2010-02-15 Thread MF
Hi, I made some changes to an Android application (the browser) and I want to compile the application. Is there a way to do a partial build ? (instead of rebuilding the whole thing). Thanks MF -- You received this message because you are subscribed to the Google Groups "Android Developers" grou

[android-developers] How to do Both horizontal and vertical scrolling on a screen

2009-12-14 Thread Nithin
Hi, Is it possible to put a scrollView(vertical scroll view) inside HorizontalScrollview, so that, I want my screen to scroll both horizontally and vertically Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, s

[android-developers] How to do ListView dynamic item growing?

2009-10-13 Thread wangxueming
Now I want to make a ListView,with 20 items, Then when it scroll to the end, I get new data and add to the end of ListView dynamic. Just Like ListView in Android Market. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

[android-developers] How to do setprop for a property such that its value remains consistent across reboots?

2009-10-08 Thread human android
I want to set property using setprop in adb shell I want this value to be persistent across reboots. Is there a way to achieve this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

[android-developers] How to do some init operation immediately after install

2009-09-29 Thread zhiyazw
There is a big database(15M) in my application, it is too big to download the apk if I publish the source database in myapp.apk. So I encode the db to binary files(300k). But the new problem is I should decode binary files and create the database(with data), this procedure take about several minu

[android-developers] How to do debugging with breakpoints in my Android code?

2009-09-25 Thread Agus
how? --~--~-~--~~~---~--~~ 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

[android-developers] How to do sorting on cursor?

2009-09-07 Thread Alam
Hi, I want to do customised sorting on cursor which is returned after query is done. Is it possible to do? Is there any way to do updates on Cursor? Regards Irshad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "And

[android-developers] How to do we take a Screenshot using ADB Comand Line

2009-08-27 Thread Prakash Vel
Read through Couple of articles , Most of them point to the DDMS through that we could take the Screenshot. However i am trying to capture the Emulator screen from the Command Line. Not Sure how to tweak the framebuffer /Surface flinger to do the job. or is there any app that we could run in th

[android-developers] how to do a HttpDelete properly

2009-06-30 Thread zlu
I can do HttpGet and HttpPost just fine but HttpDelete is being considered as a regular get by my rails app. Does anyone have a working example of delete (destroy) of a resource? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

[android-developers] How to do instrument test on context menu?

2009-06-24 Thread Sharyu
Hi, I'm doing instrment test on context menu to verify following things: 1. The number of menu item in context menu is correct. 2. Text of each menu item is right. 3. Click action of each menu item is right. Here is my code to call context menu which can be run successfully: View v = _listactiv

[android-developers] How to do locale setting?

2009-06-11 Thread Human Being
Hellow developers, I wanna add or remove locale items which are in Settings->Locale & Text->Select locale, I don't know how to do it. Would you like to give me some information about it? BR, Lee --~--~-~--~~~---~--~~ You received this message because you are subs

[android-developers] How to do a google search?

2009-03-06 Thread Mattaku Betsujin
I want to do a google search, so I open an HttpURLConnection() to www.google.com. However, I am getting an error: url = http://www.google.com/search?&q=123 java.io.FileNotFoundException: http://www.google.com/search?&q=123 at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnec

[android-developers] How to do background image in 3D SurfaceView?

2009-01-08 Thread nEx.Software
I am at a loss as to how to add a background image to the Cube sample, or any other OpenGL SurfaceView for that matter. Can anyone offer any assistance? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Develop

[android-developers] How to do an animated pie chart?

2009-01-05 Thread melody
Hi, I tried asking this in the beginners forum but didn't get any responses so I thought I'd try here. I was wondering if someone could give me some guidance on how to do an animated pie chart. My initial idea is to have a circle background image as my pie, and then create a "slice" of the pie a

[android-developers] How to do a ScrollView in a LinearLayout correctly

2008-11-26 Thread MrSnowflake
How should we correctly use a ScrollView in a LinearLayout, where I want a static LinearLayout at the bottom of the main LinearLayout (let's call it layMain, the ScrollView just scroll and the bottom layBottom). An example (it's not a valid layout structure, only for demo): [syntax="xml"]

[android-developers] How to do JUnit testing for database access?

2008-10-30 Thread Iroid
Hello Everyone, I have to test a class which is heavily accessing database. Now to access database I needed "context" this was done by passing current "activity" reference. In JUnit I couldn't find any way to create activity and pass in to those methods. I found ActivityUnitTestCase< T > in andr

[android-developers] how to do animation in popupwindow??

2008-09-10 Thread bins
hi..i was trying to animate my pop up windowbut pop up window only having the option of setanimationstyle(); but i gave some number buts no change..can any one help me how to animate pop up window --~--~-~--~~~---~--~~ You received this message because you

[android-developers] How to do reverse geocoding ??

2008-05-09 Thread scorpio
I tried reverse geocoding with this statemets, GmmGeocoder geocoder = new GmmGeocoder(Locale.getDefault()); Address[] addresses = geocoder.query(null, GmmGeocoder.QUERY_TYPE_REVERSE_GEOCODE, 134786, 801234, 180,360); but its showing error.. null pointer exception, please tell how to do rever

[android-developers] How to do file handling in android

2008-05-04 Thread Naveen Garg
Please let me know how to do file handling in Android. Some sample code will be of great use to me. Thanking in advance, Naveen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to t