[android-developers] SQlite text data type

2011-10-15 Thread Anil Jagtap
I am having a text data field in sqlite. When I read it using cur.getString(0), it reads nothing. Is text is blob in sqlite? If I decide to drop 'text' type then what max size data varchar can hold? Regards -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Internet is not working on Emulator in XP

2011-10-15 Thread sandip gharate
Hello frnds, Thnx in adavance, My application requires *Internet* connection This app working fine on Win7 But Having problem with XP I m unable to connect internet from xp please help me -- Thanks Best Regards Sandip Gharate -- You received this message because you are

Re: [android-developers] SQLite slow

2011-10-15 Thread John Goche
On Sat, Oct 15, 2011 at 5:12 AM, Studio LFP studio@gmail.com wrote: Glad to hear you got at least a little speed out of the transactions. On making sure your objects are in sync, I can understand the reasoning behind this. What I tend to do is drop database modifications in a thread and

[android-developers] Adding TableRow on top of TableLayout

2011-10-15 Thread Nicolás Mariano Obregón
Hi! I suposse this is a quite simple question, but my android-programming knowledge is simple too. Can anyone please help me on how to add TableRows on top of a TableLayout? You know... like a stack. Thanks! [?] __ Saludos.- Nicolás Mariano Obregón nmobre...@gmail.com

[android-developers] How to make a section of a widget background like a button

2011-10-15 Thread IP_Programs
I want to make a widget that has a background that has three sections that can be clicked and it acts as if a button was pressed... Oh and is there a way to make it place an image on the background at a specific location? - | S1 | S2 | S3 | | R | R | G |

[android-developers] videos uploading in android

2011-10-15 Thread ravi
Hi, my requiremet is from my application we can upload videos, who ever instal the application can upload videos and uploaded videos will be avilable to all the persons who are using that application. Is there any site to provide this functionality. suppose my app is using 100 members, anyone

[android-developers] Planning to buy Samsung galaxy Si9000 or LG optimus P970 please let me know the best one?

2011-10-15 Thread Best Rek
Planning to buy Samsung galaxy Si9000 or LG optimus P970 please let me know the best one? -- 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

Re: [android-developers] Re: Android game programming

2011-10-15 Thread André Cipriani Bandarra
I would recommento those on this blogpost: http://www.codemansion.com/2011/10/books-on-java-game-programming.html Although they're not android game programming books, they cover game programming in java. Most of the stuff you learn and code can be easily ported to Android... André 2011/10/13

[android-developers] android.database.sqlite.SQLiteException: near *: syntax error: , while compiling: SELECT calls._id as _id, number, name, date, duration, new, type FROM calls LEFT OUTER JOIN blu

2011-10-15 Thread vinay kumar mj
Hi I want to query the call log details from phone, my query is like below Cursor groupCur = mcontext.getContentResolver().query(Calls.CONTENT_URI, CallLogAdapter.PROJECTION, Calls.NUMBER + = + number, null,

[android-developers] Hong Kong live streamed event

2011-10-15 Thread Volatyle
Dear Android-devs, This event will take place at 04:00am CET time, which means i will be unable to follow it live. However, i will arrive at work at around 07:30am. My question therefore; will you immediately put up the video under your account so i can see it from the beginning when i arrive at

[android-developers] Android AVD is not installing SDK 2.2 on my Mac

2011-10-15 Thread Ignacio Vela
I've tried via Eclipse - Window - Android SDK and AVD Manager and also via terminal (using sudo). It downloads the SDK, but after the download is complete it say's 'Done. Nothing was installed' or something like that. I'm using Eclipse Helios 32 bit on a i5 MacBook with Snow Leopard 10-6 Can

[android-developers] Custom Gallery Selection

2011-10-15 Thread flip
HI! I have a problem setting up a custom gallery background. The front/ selected item background should differ from the inactive one. To solve this I attempt to use a drawable xml file including a selector for state_selected: item android:state_selected=true android:drawable=@drawable/

[android-developers] Multitouch problem with pointer up event repeated for the same ID

2011-10-15 Thread 0xC0DE D00D
I am creating a game that uses multitouch, but only two fingers. I am running into a problem where I get the up message for a pointer id multiple times, which breaks my game. My code tracks the pointer ID for any touches with an id less than 2, and it is running into a problem where I get an up

[android-developers] Phone's camera facing given gps coordinates

2011-10-15 Thread Fu
Hi, all can anyone give me an idea about how to wirte a android app to define whether my phone's camera is facing a given gps coordinates or not. and if not, give the direction to let my phone's camera to face that given gps coordinates. thanks alots Fu -- You received this message because

[android-developers] Bundle.getSerializable() - What does it mean?

2011-10-15 Thread Dan.Allbory
Hi. Now I'm learning android notepad tutorials #3. There's one sentence that I couldn't understand. = Note the use of Bundle.getSerializable() instead of Bundle.getLong(). The latter encoding returns a long primitive and so can not be used to represent the case when

[android-developers] Phone's camera facing given gps coordinates

2011-10-15 Thread Fu
Hi, all can anyone give me an idea about how to wirte a android app to define whether my phone's camera is facing a given gps coordinates or not. and if not, give the direction to let my phone's camera to face that given gps coordinates. thanks alots Fu -- You received this message because

[android-developers] ListView disappears after return from activity

2011-10-15 Thread yaqub ahmad
I have two screens the one which list the records in a listview **ListView Screen** the second which is used for showing a specific record **specific record screen**. I am using grid_item.xml, which is used to hold the data of a row in the listview. the grid_item.xml is below: ?xml

[android-developers] Play video using openGL?

2011-10-15 Thread Ignacio Vela
Hi, I need to play video in my app using openGL. Has anybody experience with this? Or can help me where can I find some information? I already know that there are Android Java classes to play video ;) but I need to play video using openGL because i need to put it an a native code in my app.

[android-developers] I want to add a button that turns off 3g and 4g on my widget...

2011-10-15 Thread IP_Programs
I also want it if it is pressed again it turns on 4g if available and 3g if 4g isn't. How do I do this? -- 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

[android-developers] Code to enable my app to be set as default for sms

2011-10-15 Thread Sreen
Hi, Can anyone pls suggest me a link or URL resource which will share the code snippet used to make my application the default application for sms or rather any other feature like calling etc Thanks. Urgent! Sree -- You received this message because you are subscribed to the Google

[android-developers] Change address of Media Buffer Data

2011-10-15 Thread Ankuj Gupta
Hi Is there any way to change the address of mData field of MediaBuffer ? Ankuj -- 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

[android-developers] Tabs and Multiple Activities

2011-10-15 Thread Janani Mani
Hi, I'm developing a tab based application. My target device will be Galaxy Tab 10.1. I have problem with loading multiple activities within a single tab. What needs to be done: There are three tabs… a)Has a ListView initially. Onclick of it goes to Detail Page. On clicking back (not the tabs

[android-developers] How can I go the Nexus prime at HK

2011-10-15 Thread z763007...@gmail.com
How can I go the Nexus prime at HK? need ticket? -- 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] Need to implement socket transmission in Android

2011-10-15 Thread krishna kumar
I need to transfer data(generally text) between two android devices using socket implementation, i.e, the device have to receive the data also send the data to the other device. Can anyone suggest me some regarding this also please tell me that, is there any examples regarding this Socket

[android-developers] From where I can download previous version of NDK

2011-10-15 Thread Kallada
Hi, I'm facing some issue with building rhodes application for android. From googling it seems there is some issue with the latest version android-ndk-r6b-windows.zip. The stackoverflow forum suggests to fall back to a previous version of NDK, viz, version 6 (see

[android-developers] RequestFactory slow on Android

2011-10-15 Thread sheamuso
I am using RequestFactory with appengine and android. And the response is returned quite quickly but I do not get the onSuccess() callback until much later (1-2 mins or sometimes 4 minutes). About 8 objects are returned without about 10 fields in each. Has anyone solved or know something about

[android-developers] Best Android Publisher/Developer resources

2011-10-15 Thread supp...@covertapps.com
I'm sorry to post such a silly question, but I'm finding it difficult to find good resources. Typically I just do a Google search (for development questions about php, iPhone, anything!) and immediately get 20 answers to my question. I'm finding it more difficult with Android Publisher/Developer

[android-developers] How to disable physical button

2011-10-15 Thread martin h
Hello android developers google group, Does anyone know how to override the physical button on the screen, so the down button, up button will not work if it is pressed and so the focus will never change and unless the user presses the touch screen.? Please the help thanks im looking foward the

[android-developers] sqlite unicode query

2011-10-15 Thread Ben
When the query key (word variable) contain Unicode value (not English), the query below not return any value, otherwise it works fine. private SQLiteDatabase myDataBase; ... String[] selectionArgs = new String[] { word }; String sqlString = SELECT * FROM List Where Heb = ? ; Cursor c =

[android-developers] Live Streaming videos (MP4) in android on Samsung device

2011-10-15 Thread Shajahan
Hello, I have a particular scenario in android app where onClick of button should start the live streaming video from internet (protocol - http) Its working fine in all android devices except the case in android Samsung device. I have read stuff relating to this to use MP4BOX .. but i didn't get

[android-developers] Recording the sounds played on click of buttons OR merging the sounds played on click of buttons in a single file

2011-10-15 Thread Priyanka
Hello, I have an urgent requirement of capturing the audio stream on click of buttons. eg: I play different sounds on click of buttons like in piano. Now i want to capture these sounds played in a single file. Now the possible ways I tried are - 1) I merged the

Re: [android-developers] Re: Best approach for onConfiguratinChange()

2011-10-15 Thread Ben Lee
On Fri, Oct 14, 2011 at 8:07 PM, TreKing treking...@gmail.com wrote: On Fri, Oct 14, 2011 at 4:40 AM, nikki nikhileshsingh...@gmail.comwrote: My confusion shall I handle onConfigurationChange for orientation which will stop android to create a new activity or i should not handle

[android-developers] How to disable physical button

2011-10-15 Thread Javlearner
Hello android developers google group, Does anyone know how to override the physical button on the screen, so the down button, up button will not work if it is pressed and so the focus will never change and unless the user presses the touch screen.? Please the help thanks im looking foward the

[android-developers] How to switch from Hardware OpenGL to Software OpenGL

2011-10-15 Thread uet
Hi I am trying to Disable Hardware Acceleration. in Android release 2.3 i need the Android to use software OpenGL instead of Hardware egl libraries. can you suggest how can i call software OpenGL instead of Hardware Libraries at rum-time. Thanks Babu A -- You received this message because

[android-developers] Re: How to run application when listview application name clicked with appropiate application

2011-10-15 Thread hktsang
Thanks for your reply. I don't know where is the problem because it can run if the file is audio, video or image but msword, pdf etc... cannot run. On 10月12日, 下午8時38分, TreKing treking...@gmail.com wrote: On Mon, Oct 10, 2011 at 10:08 PM, hktsang hktsan...@gmail.com wrote: but other then that,

Re: [android-developers] Android cocos2d game development

2011-10-15 Thread laschweinski bastian
I think you could try cocos2dx written in cpp, the website is http://www.cocos2d-x.org/ the tutorials are pretty thorough. and questions could be post in the forum in it. if you are familiar with cpp, you must be very easy to get used to it. now the engine is mature enough, lots of companys

[android-developers] What is compatibility of JAVA 2d on Android

2011-10-15 Thread logic
I wanted to know the difference main difference between JAVA 2d and 2d drawing on Android. Can I port my Java 2D game to android without much changes ? or I need a lot of changes ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] How to switch from Hardware OpenGL to Software OpenGL

2011-10-15 Thread uet
Hi I am trying to Disable Hardware Acceleration. in Android release 2.3 i need the Android to use software OpenGL instead of Hardware egl libraries. can you suggest how can i call software OpenGL instead of Hardware Libraries at rum-time. Thanks Babu A -- You received this message because

[android-developers] onNetworkConnected

2011-10-15 Thread GMR
Hi buddies. My app needs to catch an intent when device is connected to any network wifi or mobile data network(3G, evdo. etc) How to do this? Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] sqlite unicode query

2011-10-15 Thread Ben
I try to run a simple query. The query key (word variable) contain an Hebrew (Unicode) value. The code below not return any result from the query. When I use an English word it works fine. private SQLiteDatabase myDataBase; ... String[] selectionArgs = new String[] { word }; String sqlString =

[android-developers] entry

2011-10-15 Thread Mathew Firewall
hy i;m new. -- 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] Android Market Licensing Question

2011-10-15 Thread Rod
I have a single application that I want to sell at different prices, based on licensed feature sets. For example, if the user buys the standard version, they'll get features A, B and C, but if they purchase the deluxe version, they get the standard features plus features D and E. Does the Android

[android-developers] adb push suddenly very slow

2011-10-15 Thread Mark
Any idea why the adb push command would start running very, very slowly on some virtual devices but not others? This is a new situation. When I say slow I mean 10X slower than normal. I've tried creating new virtual devices and they are slow, as are some of my older ones. At least one of my

[android-developers] From where I can download a specific version of NDK

2011-10-15 Thread Kallada
Hi, I'm facing some issue with building rhodes application for android. From googling it seems there is some issue with the latest version android-ndk-r6b-windows.zip. The stackoverflow forum suggests to fall back to a previous version of NDK, viz, version 6 (see

[android-developers] How to add buttons on the top in relative layout

2011-10-15 Thread Windy
Hi, I am using relative layout to show a list with checkboxes in each row. Now I want to add 3 buttons on the top of this list. how can I do so? when I tried to add a button in this layout,the button appeared in all the rows of the list. here is my .xml file : ?xml version=1.0 encoding=utf-8?

Re: [android-developers] Android Market Licensing Question

2011-10-15 Thread Kostya Vasilyev
Sounds like In-app Billing with multiple managed items. -- Kostya Vasilyev 15.10.2011 11:56 пользователь Rod r...@warilysoftware.com написал: I have a single application that I want to sell at different prices, based on licensed feature sets. For example, if the user buys the standard

[android-developers] Re: APK must be signed with the same certificates as the previous version

2011-10-15 Thread MobileVisuals
So they can have any type of file ending? On Oct 14, 3:21 pm, TreKing treking...@gmail.com wrote: On Fri, Oct 14, 2011 at 8:18 AM, MobileVisuals eyv...@astralvisuals.comwrote: I thought that keystores are .ks files? http://developer.android.com/guide/publishing/app-signing.html#signapp

Re: [android-developers] Re: Multiple Display suport

2011-10-15 Thread dani maoz
Hi thanks for the reply, an addition to my question would it be possible to transmit HDMI over wireless via device On Fri, Oct 14, 2011 at 6:24 PM, Studio LFP studio@gmail.com wrote: If you download the add-ons for other devices through the Android SDK Manager, you can usually find

Re: [android-developers] android.database.sqlite.SQLiteException: near *: syntax error: , while compiling: SELECT calls._id as _id, number, name, date, duration, new, type FROM calls LEFT OUTER JOIN

2011-10-15 Thread Mark Murphy
If you use concatenation, you need to quote and escape your strings. If you use query parameters (? in your WHERE clause and a String[] where you have the null), you do not need to quote or escape your strings. On Fri, Oct 14, 2011 at 5:28 AM, vinay kumar mj vinay.andr...@gmail.com wrote: Hi I

Re: [android-developers] Tabs and Multiple Activities

2011-10-15 Thread Mark Murphy
Get rid of the tabs and choose another UI metaphor. Or, put the tabs in the action bar, and consider their contents to be fragments that you manage using FragmentManager and FragmentTransactions. On Thu, Oct 13, 2011 at 3:37 PM, Janani Mani jananim...@gmail.com wrote: Hi, I'm developing a tab

Re: [android-developers] Code to enable my app to be set as default for sms

2011-10-15 Thread Mark Murphy
This is not possible. The user has to make your application the default application for sms. You do not have the right to hijack a user's phone. On Fri, Oct 14, 2011 at 1:21 AM, Sreen sreenarayan.in...@gmail.com wrote: Hi, Can anyone pls suggest me a link or URL resource which will share the

Re: [android-developers] Best Android Publisher/Developer resources

2011-10-15 Thread Mark Murphy
There are over 100,000 questions on StackOverflow, most with answers: http://stackoverflow.com/questions/tagged/android This Google Group has probably a similar number of posts. Both offer search. On Fri, Oct 14, 2011 at 10:13 AM, supp...@covertapps.com supp...@covertapps.com wrote: I'm sorry

Re: [android-developers] How to disable physical button

2011-10-15 Thread Mark Murphy
In your activity, override onKeyDown() and consume the events. For up and down, this should work. Note, though: -- not all button events get to onKeyDown() (notably, HOME does not) -- many users will not like you very much, particularly blind users and users of Google TV, where the pointing

Re: [android-developers] From where I can download a specific version of NDK

2011-10-15 Thread Mark Murphy
Try asking on the [android-ndk] Google Group. On Sat, Oct 15, 2011 at 12:48 AM, Kallada santhosh...@gmail.com wrote: Hi, I'm facing some issue with building rhodes application for android. From googling it seems there is some issue with the latest version android-ndk-r6b-windows.zip. The

Re: [android-developers] Re: How to run application when listview application name clicked with appropiate application

2011-10-15 Thread Mark Murphy
Either you do not have applications on the device that can display msword, pdf etc files, or you have not specified the proper MIME type in the Intent you are using with ACTION_VIEW. On Fri, Oct 14, 2011 at 8:35 AM, hktsang hktsan...@gmail.com wrote: Thanks for your reply. I don't know where is

[android-developers] Re: Inyect Assistance data to the GPS

2011-10-15 Thread lbendlin
most likely they just delete the ephemeris data on the device, forcing a reload. You can see the IP addresses of the AGPS servers in logcat -- 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: SQlite text data type

2011-10-15 Thread lbendlin
if it reads nothing then your field is simply empty. All data in SQLite is internally stored in text fields. -- 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] Re: sqlite unicode query

2011-10-15 Thread lbendlin
SQLite doesn't care if it is Unicode. You need to do the conversion yourself http://www.sqlite.org/faq.html#q18 -- 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

Re: [android-developers] How to disable physical button

2011-10-15 Thread martin h
Thanks Mark Murphy for your answer. Can i ask some help @Override public boolean onKeyDown(int keyCode, KeyEvent event) { // TODO Auto-generated method stub switch(keyCode){ case KeyEvent.KEYCODE_DPAD_DOWN: * // Do you mean like this... Now it catch down button

[android-developers] how to connect using HttpClent

2011-10-15 Thread aparna rani
hii all. i am trying to connect to my database using url connection is working fine.but i am using httpclient its not working. my URL is *http://122.166.229.173:8080/indela/ServletDataBase* in server side i wrote program in servelets. this code is corking fine. getting results also. *URL url =

Re: [android-developers] How to disable physical button

2011-10-15 Thread Mark Murphy
On Sat, Oct 15, 2011 at 7:23 AM, martin h hfire...@gmail.com wrote: Thanks Mark Murphy for your answer. Can i ask some help @Override  public boolean onKeyDown(int keyCode, KeyEvent event) {         // TODO Auto-generated method stub         switch(keyCode){         case

[android-developers] Re: please help: broadcast receiver does not execute code

2011-10-15 Thread Ali Chousein
I implemented something quite similar recently and did't observe a behavior similar to the one you explain. Probably you are interpreting the Logcat output wrong. From what I see and understand all your function calls are synchronous and AlarmSetter.doSetupAlarm(context) should execute. I would

[android-developers] application icons and other application graphics design

2011-10-15 Thread John Goche
Hello, I have been trying to make a nice application icon. However I'm not sure what software and techniques to use. Any pointers would be highly appreciated. So far I have been using the gimp and adobe fireworks to try and generate those 3D shiny antialiased vector looks but I'm not sure where

Re: [android-developers] SQLite slow

2011-10-15 Thread lbendlin
You may also want to read through this here http://www.sqlite.org/optoverview.html -- 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

[android-developers] Re: SQlite text data type

2011-10-15 Thread lbendlin
Also, make sure your field 0 is actually a text field. Most often field 0 is the index field. -- 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

Re: [android-developers] How to disable physical button

2011-10-15 Thread martin h
Thanks for your answer i will try it. :) On Sat, Oct 15, 2011 at 6:56 PM, Mark Murphy mmur...@commonsware.comwrote: On Sat, Oct 15, 2011 at 7:23 AM, martin h hfire...@gmail.com wrote: Thanks Mark Murphy for your answer. Can i ask some help @Override public boolean onKeyDown(int keyCode,

[android-developers] Re: Inyect Assistance data to the GPS

2011-10-15 Thread nunojpg
After researching for a little big while I found how it goes. A-GPS data is downloaded acording to the configuration at /etc/gps.conf (at my Nexus S). This file have lines like: XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin gpsonextra.net is a QUALCOMM Incorporated domain, the

Re: [android-developers] Re: Android source code not available at official site

2011-10-15 Thread KK
Any mirrors for Android source ? Thanks in advance. --KK On Sat, Oct 15, 2011 at 7:40 AM, Chris crehb...@gmail.com wrote: Because open source is here for your amusement.. Trade you my copy of froyo for your copy of honeycomb? Oh, wait -- You received this message because you are

Re: [android-developers] Re: Android Market Licensing Question

2011-10-15 Thread Jim Graham
On Sat, Oct 15, 2011 at 07:29:58AM -0700, Rod wrote: I saw in-app billing, but I was hoping for something simpler. Oh well, thanks for the answer... So what's wrong with publishing three different versions, app, app-plus, and app-deluxe? Granted, upgrading from one to another wouldn't be quite

[android-developers] Re: Install an android app on Google TV

2011-10-15 Thread albnok
If you meant the Google TV emulator, well that only runs on Linux with a KVM for now. On Oct 15, 2:01 am, dillipk codersnet2...@gmail.com wrote: Hello,   How do I install my app on Google TV.? It is written android 2.3 SDK. My System Config: Windows XP Pro Ecplise SDK Platform Android

[android-developers] Re: how to connect using HttpClent

2011-10-15 Thread Studio LFP
Here is the code I use and I have never had any issue out of it. HttpURLConnection hucConnection = null; try { URL uInfo = new URL( YOUR_URL_HERE ); hucConnection = (HttpURLConnection)uInfo.openConnection(); hucConnection.setRequestMethod( POST ); hucConnection.setRequestProperty(

[android-developers] No longer want meaning when implementing an app widget

2011-10-15 Thread Efi Merdler-Kravitz
Hello, I have a widget that on its onEnabled I am using a singleton that behind the scenes starts fetching information from the web using a background thread. After a while a see that everything stops working and on LogCat I can see No longer want message. What happens when I see this message?

[android-developers] Re: Code to enable my app to be set as default for sms

2011-10-15 Thread Studio LFP
I think he's looking for the XML tags to allow his application to show up in the default picker screen. Try adding this on the activity you want to start for SMS: intent-filter action android:name=android.intent.action.SENDTO / category android:name=android.intent.category.DEFAULT / data

[android-developers] Re: Need to implement socket transmission in Android

2011-10-15 Thread Studio LFP
If you are looking for close range communication, check out the Bluetooth documentation. If you are looking for communication anywhere on any network, you would probably want to set up a client/server type thing like MComputing Lab explained. Then use C2DM to let devices know when messages are

[android-developers] Re: No longer want meaning when implementing an app widget

2011-10-15 Thread Efi Merdler-Kravitz
but the widget is still on screen and it's working, so it's not fully terminated, what part of it is being terminated ? On Oct 15, 6:40 pm, Kostya Vasilyev kmans...@gmail.com wrote: What this means is... Android decides that your process isn't important enough to keep around, so it gets

[android-developers] Memory retained by fragments android

2011-10-15 Thread emanuele
Hello there, could somebody explain me when the memory retained by fragment is released? For instance, If I have a fragment into the back stack and i call popBackStack with the inclusive flag, all the resource allocate with the fragment would be freed? What If I call remove on transaction instead?

Re: [android-developers] Re: No longer want meaning when implementing an app widget

2011-10-15 Thread Mark Murphy
On Sat, Oct 15, 2011 at 12:49 PM, Efi Merdler-Kravitz efi.merd...@gmail.com wrote: but the widget is still on screen and it's working, so it's not fully terminated, what part of it is being terminated ? Your process. The home screen is not your app. The home screen runs in its own process. The

[android-developers] Re: No longer want meaning when implementing an app widget

2011-10-15 Thread Studio LFP
A widget on the home screen is just a cached view that is shown there. Since the widget is a BroadcastReceiver with disconnected UI, it only runs when an action happens. Once it deals with the action, and updates a RemoteView object which it sends to the system, it dies. A widget is not

Re: [android-developers] Re: No longer want meaning when implementing an app widget

2011-10-15 Thread Mark Murphy
On Sat, Oct 15, 2011 at 1:05 PM, Studio LFP studio@gmail.com wrote: To support a widget for long process, you might want to start up a service and do whatever you need to do there. Once you have the new data or whatever you were trying to get, you can send an intent broadcast to tell your

[android-developers] Re: sqlite unicode query

2011-10-15 Thread Ben
My problem is not Case-insensitive. I need to run a query on Hebrew column, but the query not return any row. Android SQLite can store Unicode but doesn't perform query in different languages? I read somwere that some SQLite3 version (SQLite JDBC Driver) have full Unicode support (not by

Re: [android-developers] How to retrieve images and other files on external memory from our app searching by name

2011-10-15 Thread gaurav kumbhat
can u help me out how to do that... can u tell me its coding?? On Wed, Oct 12, 2011 at 4:40 PM, Mark Murphy mmur...@commonsware.comwrote: If you are limiting your search to media, use the MediaStore content provider. Otherwise, you will need to scan external storage yourself using standard

Re: [android-developers] Re: No longer want meaning when implementing an app widget

2011-10-15 Thread Studio LFP
True, I just usually have all the display update code in the widget itself, so instead of duplicating it, I just send an update intent to the widget. Either way, to maintain only one set of display update code, you'd either have to have the widget start the service (even when not needed) or

Re: [android-developers] How to retrieve images and other files on external memory from our app searching by name

2011-10-15 Thread Studio LFP
This group is mainly to help point you in the right diection and then let you figure the code out. You could start the process with the Java I/O like Mr. Murphy said here: http://developer.android.com/reference/java/io/File.html Steven Studio LFP http://www.studio-lfp.com On Saturday,

Re: [android-developers] Re: Multiple Display suport

2011-10-15 Thread Studio LFP
There are products that have a transmitter/receiver combo that you can send video/audio wirelessly. I don't think there is any reason you wouldn't be able to hook an Android device with an HDMI connector to these units. I don't think there is any built-in code to handle transmitting video/audio

[android-developers] Re: How to add buttons on the top in relative layout

2011-10-15 Thread Studio LFP
If that is the code you are using to fill in each row in a ListView, then that's the wrong place to put the buttons. You want to go to the layout that your ListView is in and add the buttons there. Steven Studio LFP http://www.studio-lfp.com On Saturday, October 15, 2011 1:03:18 AM UTC-5,

Re: [android-developers] ListView disappears after return from activity

2011-10-15 Thread TreKing
On Fri, Oct 14, 2011 at 1:33 AM, yaqub ahmad yaqubon...@gmail.com wrote: Now the problem is that it works fine, the **specific record screen** is opened, but when i press the back button, the **ListView Screen** is displayed but the ListView (Or the ListView Items) disappears. Does your

Re: [android-developers] Adding TableRow on top of TableLayout

2011-10-15 Thread TreKing
2011/10/13 Nicolás Mariano Obregón nmobre...@gmail.com Can anyone please help me on how to add TableRows on top of a TableLayout? TableRows go *in* TableLayouts, not *on top*. What are you trying to do?

Re: [android-developers] Bundle.getSerializable() - What does it mean?

2011-10-15 Thread TreKing
On Thu, Oct 13, 2011 at 12:54 PM, Dan.Allbory allbory.t...@gmail.comwrote: Please explain with example. getLong() returns a long type, which cannot be null. - TreKing

Re: [android-developers] Phone's camera facing given gps coordinates

2011-10-15 Thread TreKing
On Thu, Oct 13, 2011 at 6:53 PM, Fu fuhaoh...@gmail.com wrote: can anyone give me an idea about how to wirte a android app to define whether my phone's camera is facing a given gps coordinates or not.and if not, give the direction to let my phone's camera to face that given gps coordinates.

[android-developers] How do I know my all actvities has finished and I am in home?

2011-10-15 Thread Goutom
Hi How do I know my all actvities has finished and I am in home? Take care. Regards Goutom Roy -- 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

Re: [android-developers] How do I know my all actvities has finished and I am in home?

2011-10-15 Thread Mark Murphy
On Sat, Oct 15, 2011 at 3:50 PM, Goutom goutom.sust@gmail.com wrote: How do I know my all actvities has finished and I am in home? Usually, you do not care when all your activities have finished. You are welcome to maintain your own reference count of activities, but bear in mind that user

Re: [android-developers] How do I know my all actvities has finished and I am in home?

2011-10-15 Thread Goutom
Thanks Murphy for answer. Regards Goutom On Sat, Oct 15, 2011 at 1:02 PM, Mark Murphy mmur...@commonsware.comwrote: On Sat, Oct 15, 2011 at 3:50 PM, Goutom goutom.sust@gmail.com wrote: How do I know my all actvities has finished and I am in home? Usually, you do not care when all your

Re: [android-developers] onNetworkConnected

2011-10-15 Thread TreKing
On Fri, Oct 14, 2011 at 5:33 AM, GMR freemonh...@gmail.com wrote: How to do this? Look through the documentation looking for any related broadcast messages. - TreKing

[android-developers] Re: No longer want meaning when implementing an app widget

2011-10-15 Thread Efi Merdler-Kravitz
Thank you for the answer. Even when Android removes my process, it still keeps my static state, i.e. static variables, is it a bug in Android ? On Oct 15, 8:48 pm, Studio LFP studio@gmail.com wrote: True, I just usually have all the display update code in the widget itself, so instead of

Re: [android-developers] Re: No longer want meaning when implementing an app widget

2011-10-15 Thread Mark Murphy
On Sat, Oct 15, 2011 at 7:06 PM, Efi Merdler-Kravitz efi.merd...@gmail.com wrote: Thank you for the answer. Even when Android removes my process, it still keeps my static state, i.e. static variables No, it does not, by definition. If your static variables are intact, the process was not

[android-developers] Re: application icons and other application graphics design

2011-10-15 Thread Darren K
I recommend using a vector graphics program to do icons rather than Gimp. Then you have a lot of control over tweaking the image, and you can blow it up as much as you want, which you'll need for the 512x512 icon for Android Market and other app stores. And you might want to use pieces of your

[android-developers] Can't respond to user comments

2011-10-15 Thread rastyrori
Today a user posted a comment about my app claiming that it accesses the user's phone numbers and calling history, which is completely untrue! Unfortunately, from the posted name, I cannot figure out who this person is to clear this up. This will possible hurt my sales and I have no way to

[android-developers] Re: sqlite unicode query

2011-10-15 Thread lbendlin
just accept that sqlite stores whatever bytes you give it. It is your responsibility to interpret it as Unicode. -- 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

Re: [android-developers] Can't respond to user comments

2011-10-15 Thread Kostya Vasilyev
It might (probably less than it seems now), and yes, you can't respond and can't figure out who it was. If the comment is factually untrue, you can contact Google and ask for it to be removed, but don't expect that it will be done quickly or at all. -- Kostya Vasilyev 16.10.2011 4:51

Re: [android-developers] Can't respond to user comments

2011-10-15 Thread Christopher Van Kirk
Just put a disclaimer in your product description. On 10/16/2011 9:43 AM, Kostya Vasilyev wrote: It might (probably less than it seems now), and yes, you can't respond and can't figure out who it was. If the comment is factually untrue, you can contact Google and ask for it to be removed,

  1   2   >