Re: [android-developers] using GPS

2011-12-14 Thread Kristopher Micinski
On Wed, Dec 14, 2011 at 2:55 AM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: On Wed, Dec 14, 2011 at 1:16 PM, shital suryawanshi shital.andr...@gmail.com wrote: go throw tooket command get permission from android www.code/google-android/map-coide It actually seems to be the link

Re: [android-developers] steps on how to access database on IIS server

2011-12-14 Thread Van Sereyboth
please all, I really need to know that. On Mon, Dec 12, 2011 at 6:08 PM, Van Sereyboth vsrb...@gmail.com wrote: Dear all, I have a problem on how to develop an app where I can access data from my database on IIS server. I want to access data in order to make a report which can be shown

Re: [android-developers] using GPS

2011-12-14 Thread Narendra Singh Rathore
Ok, I got, thanks for the guidance. -- 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: i have a task , mobile tracking android app , and i am new in android programming .

2011-12-14 Thread Ali Chousein
You have a task at hand and asking other developers how to implement it. That's not the purpose of developer discussion lists. What is the budget of your project? I can offer my services for the right hourly rate ;-) - Ali Chousein Weather-Buddy

[android-developers] Re: Passing big array of strings from Java to JNI

2011-12-14 Thread a1
It's not a problem of passing such a big array but rather a problem with processing it. You didn't show your code but it probably looks like that: void native_function(JNIEnv *env, jobject thiz, jobjectArray jarray) { ... for (int i = 0; i env-GetArrayLength(jarray); i++) { jstring

[android-developers] Re: Scrolling Button Text

2011-12-14 Thread Ali Chousein
Yes it is possible. You should do it in the code yourself by reassigning the string value to your button, and computing yourself what the new display string should be. - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com |

[android-developers] Change visibility button from titlebar programmatically?

2011-12-14 Thread Duygu Kahraman
I have a problem button visibility.I have 2 button from titlebar.I get their id from xml.but edit.setVisibility(View.INVISIBLE); doesnt work.What is wrong?I want to change their visibility programmatically. @Override public void onCreate(Bundle savedInstanceState)

[android-developers] Reading Text Written on Image

2011-12-14 Thread Ankit Kasliwal
Hello Friends, i am trying to read text which written on image so can any one tell me what is the best open source Java library that I can use to extract text from an image (JPEG, PNG) files? -- Thanks and Regards, Ankit Kasliwal

[android-developers] Re: Change visibility button from titlebar programmatically?

2011-12-14 Thread skink
On 14 Gru, 10:26, Duygu Kahraman duygu.kahram...@gmail.com wrote:    I have a problem button visibility.I have 2 button  from titlebar.I get their id from xml.but             edit.setVisibility(View.INVISIBLE);  doesnt work.What is wrong?I want to change their visibility programmatically.  

[android-developers] Are push messages only to chosen locations possible?

2011-12-14 Thread Droid
I have a requirement to send push notifications ONLY to phones within defined locations I assume push servers cannot know beforehand a location of any particular phone. So can I prevent a notification being shown in inappropriately-located phones? I may not want to disturb people in Canada about

Re: [android-developers] Re: Change visibility button from titlebar programmatically?

2011-12-14 Thread Duygu Kahraman
this is my mistake i forget this line comment. my code is this.When i posting i forget delete @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); final boolean customTitle =

[android-developers] Re: Change visibility button from titlebar programmatically?

2011-12-14 Thread skink
On 14 Gru, 11:02, Duygu Kahraman duygu.kahram...@gmail.com wrote: this is my mistake i forget this line comment. my code is this.When i posting i forget delete again: why are you using R.layout.main both for activity content view: setContentView(R.layout.main); and for custom title:

[android-developers] Re: Passing big array of strings from Java to JNI

2011-12-14 Thread Droid
I use the intermediary of a serial file in the 'raw' folder - read it in java or c. I read this file line by line. Its kinda using a file instead of RAM to store loads of strings. Works for large files AFAIK and reads are fast. Also I do not have the problem of garbage collection or emergency

[android-developers] Re: Reading Text Written on Image

2011-12-14 Thread Droid
I don't think this is easy at present. Its not just a library needed but rather a neural network character recogniser. AFAIK one is being developed but not ready for java Android at this time (Dec 2011). But its not so trivial as including a library and may need JNI. Just my take - maybe there IS

[android-developers] TABS Problem orientation

2011-12-14 Thread ANKUR GOEL
Hi all , i am using tab to my application . in that i want 1 st tab to be in portrait and lanscape both ...and rets of the tabs in portrait only . if i dont give the main tab activity the portrait orientation all the tabs are rotationg to portrait and lanscape .. so can anyone help me

Re: [android-developers] Re: Reading Text Written on Image

2011-12-14 Thread Ankit Kasliwal
Ok, Thanks for reply On Wed, Dec 14, 2011 at 3:41 PM, Droid rod...@gmail.com wrote: I don't think this is easy at present. Its not just a library needed but rather a neural network character recogniser. AFAIK one is being developed but not ready for java Android at this time (Dec 2011). But

Re: [android-developers] Re: Edittext in Listview crashes on Android 2.2.3 on back during editing

2011-12-14 Thread poncho
On 12/14/2011 09:13 AM, havexz wrote: thanks for referring. Questions below are still open: OPEN Questions: 1. Is someone else also face this issue? I did, this is how I found the link I sent. 2. Any reason why normal EditText works but EditText in ListView dont? Did you read the thread in

[android-developers] apk does not include classes.dex ,so apk can't be installed

2011-12-14 Thread xuxiake2...@gmail.com
I use mm to generate a apk file, android 4.0: no classes.dex in apk ( so the apk can't be installed, the log is: DexOptZ: zip archive '/data/app/com.xxx.xxx.apk' does not include classes.dex ) android2.3: there is a classes.dex in each apk file. -- You received this message because you are

[android-developers] How to force EditText to invoke the full-screen IME in portrait

2011-12-14 Thread llxwd008
Hi When the screen is in landscape mode, the IME is full-screen default, but we can set it to not fullscreen. But in portrait mode, is there any way to invoke full-screen IME, such as QVGA phones. Please help, thanks. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Current mobile connection speed?

2011-12-14 Thread worked
My app utilizes both the Twitter and Facebook API. Authentication is very taxing when not connected well. I would like to receive their current speed, and if slow, let them know that authentication will take time. On Dec 13, 4:29 pm, Kristopher Micinski krismicin...@gmail.com wrote: For

[android-developers] Re: Scrolling Button Text

2011-12-14 Thread RamaMohan
Please check the below link for solution, May be helpful for you. This is done for textview ,easy for you to apply it to your button http://androidsnips.blogspot.com/2011/12/create-auto-scrolling-marquee-textview.html On Dec 14, 1:46 pm, Ali Chousein ali.chous...@gmail.com wrote: Yes it is

[android-developers] Re: Current mobile connection speed?

2011-12-14 Thread Yahel
Not exactly what you ask for but this is how I do it. I'm not trying to be specific about the speed in kbs of the connection because it can change a lot due to the user moving from cell to cell. So I simply detect what kind of mobile connection we are on and send a slow connection warning only

Re: [android-developers] Re: Current mobile connection speed?

2011-12-14 Thread Kostya Vasilyev
As useful as this code is what if the phone switches from EDGE to HSPA right after the user clicks Login? What if it switches from WiFi to GPRS? Try to predict the network is somewhat useful, but it's really a Schrodinger's Cat type of thing :) Since network conditions can vary

[android-developers] Re: Help with live wallpaper and device compatibility

2011-12-14 Thread Saurav
Any ideas on this one, guys. Thanks in advance. Regards, Saurav Mukherjee. On Fri, Dec 9, 2011 at 4:33 PM, Saurav to.saurav.mukher...@gmail.comwrote: Hi all, I have been working on a live wallpaper application and the thing is, the application does not work on few phones like Micromax

[android-developers] Re: Data Usage billing cycle

2011-12-14 Thread Ivan Zuanella
On Dec 13, 7:15 pm, TreKing treking...@gmail.com wrote: b.android.com Thank you -- 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,

[android-developers] Callback/listener for View display

2011-12-14 Thread Neilz
Hi all. I have a list, where clicking an item displays a View. The view is populated with text, and then made visible. However the text for some of the items is very long, and it's taking a couple of seconds to populate the view. I'd like to show a progress indicator until the view gets

Re: [android-developers] Callback/listener for View display

2011-12-14 Thread Mark Murphy
Run your code through Traceview and see where the time is being taken (onDraw(), perhaps?). That may give you some clues as to where you can subclass whichever View you are using to find out when the long time starts/ends. That being said: -- If the View in question is WebView or SurfaceView,

Re: [android-developers] How to force EditText to invoke the full-screen IME in portrait

2011-12-14 Thread Mark Murphy
I am not aware of a full-screen IME option in portrait for any size screen. On Wed, Dec 14, 2011 at 6:22 AM, llxwd008 xiaodan.liu...@gmail.com wrote: Hi When the screen is in landscape mode, the IME is full-screen default, but we can set it to not fullscreen. But in portrait mode, is there

Re: [android-developers] apk does not include classes.dex ,so apk can't be installed

2011-12-14 Thread Mark Murphy
On Wed, Dec 14, 2011 at 5:46 AM, xuxiake2...@gmail.com xuxiake2...@gmail.com wrote: I use mm to generate a apk file, That has nothing to do with this list. Visit http://source.android.com and find a more appropriate list for firmware-related questions. -- Mark Murphy (a Commons Guy)

Re: [android-developers] Callback/listener for View display

2011-12-14 Thread TreKing
On Wed, Dec 14, 2011 at 6:07 AM, Neilz neilhorn...@gmail.com wrote: However the text for some of the items is very long, and it's taking a couple of seconds to populate the view. A few seconds for text seems way long. You may want to optimize that, or post how you're doing that part. I'd

Re: [android-developers] How Caching of Google Map Works?

2011-12-14 Thread Mark Murphy
On Wed, Dec 14, 2011 at 1:46 AM, Saurabh Patel saurbh...@gmail.com wrote: I just want to know how caching of google map works in Google Maps Application of Android. Apply for a job at Google, hope you get the job, and hope that you get to work on the Google Maps application for Android. It

Re: [android-developers] using GPS

2011-12-14 Thread Narendra Singh Rathore
n How to do it in real device, any changes required? -- 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: Problems reading a huge file of 12 MB (java.lang.OutOfMemoryError)

2011-12-14 Thread RamaMohan
This might be helpful. http://androidsnips.blogspot.com/2010/10/copying-larger-database-files-in.html On Dec 12, 10:44 pm, Kristopher Micinski krismicin...@gmail.com wrote: On Mon, Dec 12, 2011 at 11:44 AM, saex elpablos...@gmail.com wrote: i need to open a file of 12 Megabytes, but actually

Re: [android-developers] Query

2011-12-14 Thread Meghal Adesra
ya i know and i will for that i don't need your advice got it. -- Regards Meghal Adesra -- 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] Query

2011-12-14 Thread Meghal Adesra
ya but i posted my query in my first post itself, it mentioned as below: Hello, I am developing an LBS in android which include two modules one is the client side and other is the server side, so please can you help me in making database for it ( means what fields should i take etc), and should

[android-developers] Re: Problems reading a huge file of 12 MB (java.lang.OutOfMemoryError)

2011-12-14 Thread skink
RamaMohan wrote: This might be helpful. http://androidsnips.blogspot.com/2010/10/copying-larger-database-files-in.html this actually may work but more likely may not. the key part of this code is: while ( (length = databaseInputStream.read(buffer )) 0 ) { databaseOutputStream.

Re: [android-developers] Using ClassLoader to load class from another apk

2011-12-14 Thread Streets Of Boston
But if that is not possible for your design or the intents needs to pass Parcelables that you have created, use this construct: Say you need to pass a Parcelable inside an extra of an Intent from an Activity to a remote Service. As soon as the remote Service touches the extras (i.e. the

[android-developers] OT How to Automate Build Tasks in Eclipse?

2011-12-14 Thread Mark Phillips
Is there a way to capture key strokes in eclipse and run them as a script? I have three eclipse projects that interact, and I need to clean, build, etc the projects in a certain order. How can I automate this so I click one button and the steps are run? My tasks; 1. Clean projects A, B, C 2.

[android-developers] Re: MediaPlayer HTTP streaming buffering: any settings?

2011-12-14 Thread port443
So far I found only one potential solution (did not try yet though):storing stream into small files and feeding files into MediaPlayer.I'm not sure if this shall work well with files as small as 5-10seconds as I need small stream delay.Had anybody tried that? On Dec 11, 11:23 pm, port443

Re: [android-developers] Android Google Map API Not provides Any Classes/Methods to manage maps tiles in Cache

2011-12-14 Thread TreKing
On Wed, Dec 14, 2011 at 12:34 AM, Saurabh Patel saurbh...@gmail.com wrote: Here i want to know Technical Reasons Why android google map api not proveds any classes/methods to manage map tiles in cache and we can use in offline mode. The reasons are probably not technical - it's just not

[android-developers] Re: Callback/listener for View display

2011-12-14 Thread Neilz
I've just realised it's the method HTML.fromHTML() that's causing the delay. Removing that and just calling setText(myText) renders it instantly. Problem is, the content is marked up. So I suppose I could display it in a webview instead, I'll see if that's any quicker. On Dec 14, 1:23 pm,

Re: [android-developers] Re: Callback/listener for View display

2011-12-14 Thread Mark Murphy
On Wed, Dec 14, 2011 at 9:52 AM, Neilz neilhorn...@gmail.com wrote: I've just realised it's the method HTML.fromHTML() that's causing the delay. Removing that and just calling setText(myText) renders it instantly. Problem is, the content is marked up. So I suppose I could display it in a

Re: [android-developers] steps on how to access database on IIS server

2011-12-14 Thread TreKing
On Mon, Dec 12, 2011 at 5:08 AM, Van Sereyboth vsrb...@gmail.com wrote: I have gone through a lot of searching on google. I could not understand what's going on and how to develop it. I know I have to use webservice like KSOAP2 or REST to access to IIS server, but the problem here is that I do

Re: [android-developers] Are push messages only to chosen locations possible?

2011-12-14 Thread TreKing
On Wed, Dec 14, 2011 at 3:56 AM, Droid rod...@gmail.com wrote: So can I prevent a notification being shown in inappropriately-located phones? public void onReceivePushNotification() { if (imInAValidLocation()) showNotification(); } Is there code that can achieve this? Yes, see above -

[android-developers] Save XML file into local

2011-12-14 Thread venu gopal reddy
Hi friends, In my application am getting one XML file Dynamically, Just I want to save that XML file into my local system.. How can i save it? Pls help me -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] OT How to Automate Build Tasks in Eclipse?

2011-12-14 Thread Nikolay Elenkov
On Wed, Dec 14, 2011 at 11:34 PM, Mark Phillips m...@phillipsmarketing.biz wrote: I googled for some answers, and found references to Monkey, which is no longer available, and Ant. However, I am not sure if Ant is what I need, and I have not found a good tutorial that helps with this problem.

[android-developers] Re: Are push messages only to chosen locations possible?

2011-12-14 Thread Droid
Thanks TreKking I can do that now On Dec 14, 3:00 pm, TreKing treking...@gmail.com wrote: On Wed, Dec 14, 2011 at 3:56 AM, Droid rod...@gmail.com wrote: So can I prevent a notification being shown in inappropriately-located phones? public void onReceivePushNotification() {  if

Re: [android-developers] Save XML file into local

2011-12-14 Thread TreKing
On Wed, Dec 14, 2011 at 9:01 AM, venu gopal reddy venu.andr...@gmail.comwrote: How can i save it? Using standard Java I/O. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago

Re: [android-developers] OT How to Automate Build Tasks in Eclipse?

2011-12-14 Thread Miguel Morales
Simply combine ant with a script. I use Perl for my build scripts because Ant can be tedious to work with. However, use Ant as a base to compile your projects. On Wed, Dec 14, 2011 at 7:02 AM, Nikolay Elenkov nikolay.elen...@gmail.comwrote: On Wed, Dec 14, 2011 at 11:34 PM, Mark Phillips

Re: [android-developers] OT How to Automate Build Tasks in Eclipse?

2011-12-14 Thread Nikolay Elenkov
On Thu, Dec 15, 2011 at 12:15 AM, Miguel Morales therevolti...@gmail.com wrote: Simply combine ant with a script.  I use Perl for my build scripts because Ant can be tedious to work with.  However, use Ant as a base to compile your projects. Perl may be more concise, but is not really more

Re: [android-developers] OT How to Automate Build Tasks in Eclipse?

2011-12-14 Thread Miguel Morales
That's probably because you suck at writing readable Perl. Perl is as readable as any other language. Batch is next to useless. I also use Perl for my iOS autobuild and its libraries made the build system a breeze. On Wed, Dec 14, 2011 at 7:36 AM, Nikolay Elenkov nikolay.elen...@gmail.comwrote:

[android-developers] Questionable log message from OpenGL on Android

2011-12-14 Thread btschumy
I've recently started debugging an OpenGL-based app on Android 3.2. Each time I call requestRender() on my GLSurfaceView I get the following in LogCat: 12-13 07:22:20.380: I/GLThread(24032): waiting tid=11 mHaveEglContext: true mHaveEglSurface: true mPaused: false mHasSurface: true

[android-developers] Is the same 'push' possible for Android and iPhone

2011-12-14 Thread Droid
I develop for Android AND iPhone (sorry...) and am looking for a push- receive app for both device types. I am not sure how to approach this yet. I need a very basic app that receives push notifications for each device. Anyone with some experience that could start me off in a workable direction?

Re: [android-developers] Re: Emulator takes 15 minutes to start an app, something wrong ?

2011-12-14 Thread Fred Stluka
On 12/14/11 1:43 AM, Kristopher Micinski wrote: I feel like this honestly could be your machine, it sucks, but the way things are set up are pretty dependent on your machine. People who typically do a lot of stuff on the emulator have pretty high end machines. Yeah, I've heard people

Re: [android-developers] OT How to Automate Build Tasks in Eclipse?

2011-12-14 Thread Nikolay Elenkov
On Dec 15, 2011 12:41 AM, Miguel Morales therevoltingxtherevolti...@gmail.com @ therevolti...@gmail.comgmail.com therevolti...@gmail.com wrote: That's probably because you suck at writing readable Perl. Classy. *plonk* -- You received this message because you are subscribed to the Google

Re: [android-developers] OT How to Automate Build Tasks in Eclipse?

2011-12-14 Thread Miguel Morales
Classy. The only way I know how to keep it. On Wed, Dec 14, 2011 at 8:15 AM, Nikolay Elenkov nikolay.elen...@gmail.comwrote: On Dec 15, 2011 12:41 AM, Miguel Morales therevoltingxtherevolti...@gmail.com @ therevolti...@gmail.comgmail.com therevolti...@gmail.com wrote: That's

[android-developers] AppWidgets Disappearing from list in ICS

2011-12-14 Thread Ash McConnell
Hi Folks, A user is reporting a problem with my AppWidgets disappearing from the list of widgets in ICS. I only have a Froyo (2.2) device to test on. I'm not sure whether this is a problem with ICS only or other versions of the O/S. Does anyone know what might cause this issue? I've been

Re: [android-developers] OT How to Automate Build Tasks in Eclipse?

2011-12-14 Thread Kostya Vasilyev
Do Ant scripts for Android take care of library project dependencies? Or does this have to do be done at a higher level, outside the generated scripts? -- Kostya 14 декабря 2011 г. 20:15 пользователь Nikolay Elenkov nikolay.elen...@gmail.com написал: On Dec 15, 2011 12:41 AM, Miguel Morales

Re: [android-developers] AppWidgets Disappearing from list in ICS

2011-12-14 Thread Kostya Vasilyev
Did they install your app to the memory card? 14 декабря 2011 г. 20:17 пользователь Ash McConnell ash.mcconn...@gmail.com написал: Hi Folks, A user is reporting a problem with my AppWidgets disappearing from the list of widgets in ICS.  I only have a Froyo (2.2) device to test on.  I'm not

Re: [android-developers] AppWidgets Disappearing from list in ICS

2011-12-14 Thread Ash McConnell
Ahhaaa, now that's a question to ask. Thanks Kostya, That sounds plausible! I'll ask now All the best, Ash -- 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] Query

2011-12-14 Thread Lew
How is it rude to give you the answer that will help you? You asked a question, you got a useful answer, from someone who is not compensated for assisting you other than by your gratitude and the feeling of helping people. And this is the gratitude you show? Who's the rude one? -- Lew On

[android-developers] ADT 16.0.0 and library dependencies problems (Conversion to Dalvik format failed with error 1)

2011-12-14 Thread Viktor Bresan
Anyone? The problem is not fixed with the latest ADT release v16.0.0 Viktor. -- 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

Re: [android-developers] Query

2011-12-14 Thread Lew
Megz wrote: ya but i [sic] posted my query in my first post itself, it mentioned as below: Hello, I am developing an LBS in android which include two modules one is the client side and other is the server side, so please can you help me in making database for it ( means what fields

Re: [android-developers] OT How to Automate Build Tasks in Eclipse?

2011-12-14 Thread Lew
Generated scripts? Why are you relying on generated scripts? Ant build.xml files usually have to be hand crafted. Have you read any of the Ant documentation? Googled for information? The short answer, if by library project dependencies you mean JAR files and I'm not sure that you do, is yes.

Re: [android-developers] OT How to Automate Build Tasks in Eclipse?

2011-12-14 Thread Kostya Vasilyev
No, I do not mean just jar files, and yes, I used ant some ten years ago while working on a fairly large Java project. What I mean is this: I have an Eclipse Android Application project that depends on several Eclipse Android Library projects. Some of those Eclipse Android Library projects

Re: [android-developers] Re: Emulator takes 15 minutes to start an app, something wrong ?

2011-12-14 Thread allandt bik-elliott
hey try to keep the emulator window open and keep compiling - your app will be automatically uninstalled and reinstalled to the emulator - no need to close the emulator after a test best On 14 December 2011 16:15, Fred Stluka f...@bristle.com wrote: On 12/14/11 1:43 AM, Kristopher Micinski

Re: [android-developers] OT How to Automate Build Tasks in Eclipse?

2011-12-14 Thread Mark Murphy
2011/12/14 Kostya Vasilyev kmans...@gmail.com: So, will building the main Android application with ant, using the build script generated for it by android -- build the Android libraries that the main project depends on? -- or do those Android libraries have to be built first with some

Re: [android-developers] OT How to Automate Build Tasks in Eclipse?

2011-12-14 Thread Kostya Vasilyev
Thanks. And btw, it's project.properties. 14 декабря 2011 г. 21:03 пользователь Mark Murphy mmur...@commonsware.com написал: 2011/12/14 Kostya Vasilyev kmans...@gmail.com: So, will building the main Android application with ant, using the build script generated for it by android -- build

Re: [android-developers] Re: Problems reading a huge file of 12 MB (java.lang.OutOfMemoryError)

2011-12-14 Thread Fred Stluka
On 12/14/11 8:58 AM, RamaMohan wrote: This might be helpful. http://androidsnips.blogspot.com/2010/10/copying-larger-database-files-in.html Nice blog! Useful tips. Thanks! --Fred Fred Stluka -- mailto:f...@bristle.com

Re: [android-developers] Re: Current mobile connection speed?

2011-12-14 Thread Irfan Sheriff
Trying to predict if network is slow based on network type is incorrect - a poor wifi connection can be really slow It is better to just keep it simple and let the user always know the actual progress without worrying about what the network speed is. 2011/12/14 Kostya Vasilyev kmans...@gmail.com

Re: [android-developers] Is the same 'push' possible for Android and iPhone

2011-12-14 Thread TreKing
On Wed, Dec 14, 2011 at 10:00 AM, Droid rod...@gmail.com wrote: Anyone with some experience that could start me off in a workable direction? I don't have experience, but C2DM seems to be the Android way of doing push. So step one would be to look at that and see if it's iPhone compatible and,

[android-developers] UI like Youtube

2011-12-14 Thread Christian Palomares (ShinjiDev)
Hi I've spent 2 hours looking for a solution. I need to make a design like the Youtube UI (Tablet UI) where it shows a vertical scroll, but in each row there are 4 videos (landscape view). I've tried to do something similar, but i couldn't =( Is there any place where i can get the source code of

[android-developers] INSTALL_FAILED_INSUFFICIENT_STORAGE

2011-12-14 Thread bob
I keep getting this error on my phone: [2011-12-14 10:02:40 - nuclear] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE [2011-12-14 10:02:40 - nuclear] Please check logcat output for more details. [2011-12-14 10:02:40 - nuclear] Launch canceled! Is there an easy way I can fix this without

Re: [android-developers] INSTALL_FAILED_INSUFFICIENT_STORAGE

2011-12-14 Thread Kostya Vasilyev
I've seen this on one of my phones when reinstalling / relaunching from Eclipse, even when there was sufficient storage. So - check your phone's Settings to find out if the error is real. If it's not, reboot the phone, hopefully, this fixes it. If it is, then yes, you'll need to uninstall some

[android-developers] Google Music Player widget

2011-12-14 Thread rahul
In ICS we have RemoteControlClient feature through which we can retrieve information related to the current media played. I wanted to develop a widget which can pause the music being played by Google music player. Earlier android release we could bind to google music service and send commands to

Re: [android-developers] Questionable log message from OpenGL on Android

2011-12-14 Thread Christopher Van Kirk
As an aside, I've always wondered about the performance impact of all the logging that goes on. My Galaxy Tab spews out logs like it's in a research lab, and it's a slow as molasses at times. On 12/14/2011 11:56 PM, btschumy wrote: I've recently started debugging an OpenGL-based app on

Re: [android-developers] INSTALL_FAILED_INSUFFICIENT_STORAGE

2011-12-14 Thread Raghav Sood
I found a way to get around this error in one case, which is given in this article:http://www.appaholics.in/using-a-hardware-device-for-debugging/ Thanks 2011/12/14 Kostya Vasilyev kmans...@gmail.com I've seen this on one of my phones when reinstalling / relaunching from Eclipse, even when

[android-developers] Re: MediaPlayer HTTP streaming buffering: any settings?

2011-12-14 Thread port443
Another strange issue mentioned: I only get onBufferingUpdate with value of 0x8000 (-1 int32 form); never anything in range of 0... 100. This is Android 2.3.6. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: VpnService problem

2011-12-14 Thread Fred Chung
The latest emulator should work. Please update. Also, have a look at the new SDK sample that demonstrates the VPNService: http://developer.android.com/resources/samples/ToyVpn/index.html -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Issue with InCallScreen updation after Add Call

2011-12-14 Thread channa kad
Hi I see the following issue 1) Make a MO call 2) After it becomes active, do Add Call 3) DialPad opens up, enter the number press Dial Expected result: InCallScreen should be shown with both the calls. Actual Result: InCallScreen shows up with 1st call details. If we go out of InCallScreen

[android-developers] /data directory empty

2011-12-14 Thread bob
Why is my /data directory empty when I look at it in File Explorer on Eclipse? 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 this group,

Re: [android-developers] /data directory empty

2011-12-14 Thread Kostya Vasilyev
Because your device is not rooted, and those directories are protected with permissions. 14.12.2011 23:08 пользователь bob b...@coolgroups.com написал: Why is my /data directory empty when I look at it in File Explorer on Eclipse? Thanks. -- You received this message because you are

Re: [android-developers] /data directory empty

2011-12-14 Thread Mark Murphy
Because you do not have rights to examine that directory on production non-rooted hardware. On Wed, Dec 14, 2011 at 2:06 PM, bob b...@coolgroups.com wrote: Why is my /data directory empty when I look at it in File Explorer on Eclipse? Thanks. -- You received this message because you are

Re: [android-developers] UI like Youtube

2011-12-14 Thread TreKing
On Wed, Dec 14, 2011 at 11:57 AM, Christian Palomares (ShinjiDev) palomare...@gmail.com wrote: I've tried to do something similar, but i couldn't =( What did you try? What didn't work? Is there any place where i can get the source code of the youtube application for Tablet? That app is

Re: [android-developers] UI like Youtube

2011-12-14 Thread Christian Eduardo Palomares Peralta
Well, My first try was designing UI with scrollView, LinearLayout and my_item.xml, i tried to inflate my_item.xml adding programmatically into the linearlayout (horizontal orientation), but it doesn't work in the way that i want. I need something like a linearlayout but with horizontal and

Re: [android-developers] INSTALL_FAILED_INSUFFICIENT_STORAGE

2011-12-14 Thread Kristopher Micinski
2011/12/14 Raghav Sood raghavs...@androidactivist.org: I found a way to get around this error in one case, which is given in this article:http://www.appaholics.in/using-a-hardware-device-for-debugging/ Thanks Defaulting to external storage may not be a good option for many apps (at least,

[android-developers] Re: Is the same 'push' possible for Android and iPhone

2011-12-14 Thread Streets Of Boston
http://urbanairship.com/ -- 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

Re: [android-developers] UI like Youtube

2011-12-14 Thread TreKing
On Wed, Dec 14, 2011 at 2:39 PM, Christian Eduardo Palomares Peralta palomare...@gmail.com wrote: I was thinking to use a ListView and a custom adapter (with my_item.xml), but i'm not sure if this can be the best solution. From what you described, that sounds about right. Listview with each

Re: [android-developers] getPixelFormat returning an incorrect value

2011-12-14 Thread muhamad yamin yamin 2_dsx
2011/12/14 guich guiha...@gmail.com HI, I'm running this: WindowManager wm = (WindowManager)instance.getContext().getSystemService(Context.WINDOW_SERVICE); AndroidUtils.debug(format: +wm.getDefaultDisplay().getPixelFormat()); ... on a Galaxy Tab 7, and it outputs: format: 5

[android-developers] simple sqlite update

2011-12-14 Thread Goutom
Hi I am dipressed. public void Update_Favourite_List(int header_id, int group_id, int saying_id){ int toney = 1; ContentValues values = new ContentValues(); values.put(is_favourite, toney); try{ myDataBase.beginTransaction(); int row_aff =

[android-developers] How to make Sliding Drawer push a existing layout when showing?

2011-12-14 Thread Vincent
Hi, I have a relative layout and a sliding drawer in a frame layout, it works fine, I can pull out the drawer and it shows on the top of the relative layout. However, now I want to make the sliding drawer push the relative layout when showing. I've searched on google and the android dev ref,

Re: [android-developers] How to make Sliding Drawer push a existing layout when showing?

2011-12-14 Thread Mark Murphy
On Wed, Dec 14, 2011 at 5:47 PM, Vincent renws1...@gmail.com wrote: I have a relative layout and a sliding drawer in a frame layout, it works fine, I can pull out the drawer and it shows on the top of the relative layout. However, now I want to make the sliding drawer push the relative layout

[android-developers] Re: UI like Youtube

2011-12-14 Thread Ali Chousein
Mine is just a guess but YouTube might be using HTML5. - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com

Re: [android-developers] Re: UI like Youtube

2011-12-14 Thread Kostya Vasilyev
As far the as the 3D panoramic scrolling goes: http://android-developers.blogspot.com/2011/02/introducing-renderscript.html Renderscript has been used in the creation of the new visually-rich YouTube and Books apps. -- Kostya 15 декабря 2011 г. 2:57 пользователь Ali Chousein

Re: [android-developers] How to make Sliding Drawer push a existing layout when showing?

2011-12-14 Thread Vincent
Thanks for your reply. Is there any other way to do such things? -- 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

Re: [android-developers] How to make Sliding Drawer push a existing layout when showing?

2011-12-14 Thread Mark Murphy
On Wed, Dec 14, 2011 at 6:04 PM, Vincent renws1...@gmail.com wrote: Thanks for your reply. Is there any other way to do such things? What are such things? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog |

[android-developers] Re: InputMethodManager and mServedView

2011-12-14 Thread Sam
No one knows whats going on, what a pity. -- 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

Re: [android-developers] How to make Sliding Drawer push a existing layout when showing?

2011-12-14 Thread Vincent
Apologise for ambiguous question. You said there's no way do to that with SlidingDrawer, I am wondering if I can get the animation with other widget/layout/view. What I want are: when I slide a numpad from the right side, the current match_parent layout becomes smaller. when I push the

Re: [android-developers] steps on how to access database on IIS server

2011-12-14 Thread James Black
Using REST is probably your best bet, as that is easier to do on mobile applications. There are many tutorials on how to do REST on Windows. I use WCF personally, and it works well. Once you have a webservice interface, then as TreKing mentioned, coming back here to ask the android specific

Re: [android-developers] How to make Sliding Drawer push a existing layout when showing?

2011-12-14 Thread Mark Murphy
I cannot think of anything off the top of my head that would give that behavior out of the box. On Wed, Dec 14, 2011 at 6:52 PM, Vincent renws1...@gmail.com wrote: Apologise for ambiguous question. You said there's no way do to that with SlidingDrawer, I am wondering if I can get the

  1   2   >