Re: [android-developers] Syncing Database

2012-08-21 Thread gjs
Hi, Simply create a hash of each table row then compare the hash values between the two phones, if the hash is different or missing one or both of the two rows needs updating. Insert or delete missing rows is easy - maybe, but trouble is which row(s) / column(s) to update (?) maybe you can work

Re: [android-developers] Re: openRawResource: does compressed files in APK get uncompressed completely?

2012-08-21 Thread Dianne Hackborn
The 1MB limit was for reading any compressed file. There is really no distinction between assets and resources in this regard. That said, you can pre-compress your data and store it with say a .zip extension (so there is no attempt to try to compress it again), and then de-compress the data yours

Re: [android-developers] How to get battery usage from cpu usage in android

2012-08-21 Thread Dianne Hackborn
There isn't an API to retrieve this. The computation done for the battery stats UI is a complicated approximation (taking into account CPU stepping etc to some degree) that is very much an approximation. It is not accurate enough that I would want it available through an API. On Tue, Aug 21, 201

Re: [android-developers] Getting started with Android. Love the overall system architecture and SDK except for one thing...

2012-08-21 Thread Dianne Hackborn
I'm curious about this: On Sun, Aug 19, 2012 at 9:17 AM, rmz76 wrote: > I'll give an example of such a feature: Horizontal view swiping. From the > official Android Play store to the CNN App, this is probably the most > common navigation we're seeing for dealing with menus on Android. It's > bea

Re: [android-developers] Re: Dynamic Array

2012-08-21 Thread Rahul Kaushik
Detail I am able to insert an item in android calendar, to avoid the duplicate entries am saving the event id of item in shared prefrences as an array(A). Problem when i insert, new item in Android calendar, saved array(A) should also add the new item event id of a new item.How to do the same? A

Re: [android-developers] background intent

2012-08-21 Thread Asheesh Arya
use service instead of activity!! and invoke your service using broad cast receiver like using phone state(offhook) -- 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] background intent

2012-08-21 Thread Dianne Hackborn
Activities don't run in the background. That is what services (and/or broadcast receivers) are for. On Tue, Aug 21, 2012 at 11:19 PM, Ehsan Sadeghi wrote: > How can I run an activity in background and minimized it until invoke that? > > -- > You received this message because you are subscribed

[android-developers] background intent

2012-08-21 Thread Ehsan Sadeghi
How can I run an activity in background and minimized it until invoke that? -- 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

[android-developers] error in new activity

2012-08-21 Thread Ehsan Sadeghi
I create an activity Hoghoughi but when i try to start it an error raise : 08-22 05:50:08.890: E/AndroidRuntime(608): FATAL EXCEPTION: main 08-22 05:50:08.890: E/AndroidRuntime(608): java.lang.RuntimeException: Unable to start activity ComponentInfo{ir.smspeik.sms/ir.smspeik.sms.Hoghoughi}: ja

[android-developers] Dynamically displaying images

2012-08-21 Thread Ambika Kulkarni
Dear Android Folks, I want to display an imnage dynamically. The problem statement is as below. I am displaying the order details. With this i am displaying the order status. So the order status will be (New, Pending, Completed). Right now i am displaying the status with text, such as Somethi

Re: [android-developers] Advertisement in Android application

2012-08-21 Thread Rocky
Budget is not required, if you wanted to put some ads in your apps, go with Admob On Wed, Aug 22, 2012 at 10:04 AM, Krishna Mahadik wrote: > Hi Guys, > > I want to put advertisement space in an Android application. I don't > budget for buying any licencing. Any leads for the same. > > Thanks &

[android-developers] Using AOA 2.0 HID support, can accessory device send the multi touch events and gestures to android device?

2012-08-21 Thread Prabudas
Hi, Using AOA 2.0 HID support, can accessory device send the multi touch events and gestures to android device? Thanks. Regards, Prabudas S. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

Re: [android-developers] Re: How to implement TextureView functionality in Gingerbread 2.3 (or how to use OpenGL inside a ScrollView)

2012-08-21 Thread aprogrammer
Thanks Romain, besides OpenGL, the ScrollView is intended to have a number of other UI elements (readonly TextViews, Buttons etc.). The OpenGL portion itself will take less than one screen. However, the entire ScrollView will take up more than one screen. 1. I could potentially implement all of

Re: [android-developers] Re: How to implement TextureView functionality in Gingerbread 2.3 (or how to use OpenGL inside a ScrollView)

2012-08-21 Thread Romain Guy
It would be very difficult to recreate TextureView on 2.3. Could you simply implement scrolling in GL instead? On Aug 22, 2012 5:47 AM, "aprogrammer" wrote: > Our business logic is in C++ and the drawing code gets its data from this > C++ code. > So I'd rather do the drawing in C++ instead of the

[android-developers] Activity stack question (another one, I'm afraid) SDK 8

2012-08-21 Thread Put_tiMe
I'm using Android SDK 2.2. Activity stack -> A -> B -> C -> D -> E Now I press "Home" key. And I press the notification area to goto "A" again. Because of the stack issue, I make sure that I close "B", "C", "D" and "E", using the static "Instance". Now, the new activity stack:: A -> B -> C Now

[android-developers] simulate just onPause() without onStop()

2012-08-21 Thread Ubuntu guy
Hello, I'm developing an application and need to quickly test a scenario where my activitiy's onPause() is invoked (without onStop()). As per the documentation, this is a scenario where a dialog is shown on top of my activity. I tried long press of power down button to pop up a dialog, however,

[android-developers] Re: Getting started with Android. Love the overall system architecture and SDK except for one thing...

2012-08-21 Thread Mek's Sree Rama
Nice comments Man. Yes, it should be true, I heared from many android learners that books adds value and fill the gaps in android official documentation. But for me developer.android.co, official android blog, googling (stack over flow, other forums) helped me when I was learning. The officia

[android-developers] Advertisement in Android application

2012-08-21 Thread Krishna Mahadik
Hi Guys, I want to put advertisement space in an Android application. I don't budget for buying any licencing. Any leads for the same. Thanks & Regards, Krishna V. Mahadik -- -- . \\\/// . /\ . | \\ // | . ( | (.) (.) |) ---

Re: [android-developers] Need to register a broadcastReceiver for available WiFi networks as they become available

2012-08-21 Thread Asheesh Arya
just go through this linkhttp://www.krvarma.com/2010/07/getting-ip-address-of-the-device-in-android/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe fro

Re: [android-developers] Re: Can't display GoogleMaps in application

2012-08-21 Thread Asheesh Arya
just try to regenerate google api key -- 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...@

Re: [android-developers] How to get battery usage from cpu usage in android

2012-08-21 Thread thejaswi s
A bove link suggested by Asheesh arya saying about present technology , plugged, scale, health, voltage, level, temperature, status . but not about how much battery is consuming to process cpu cycles. So please tel me how cpu usage related with battery usage using a equation. On Tue, Aug 21, 20

Re: [android-developers] Help!!!

2012-08-21 Thread ashok chakravarthy
what is viewtext? is it TextView or EditText? if you want to get text from TextView/EditText call viewtext.getText().toString(). On Wed, Aug 22, 2012 at 8:40 AM, TreKing wrote: > On Mon, Aug 20, 2012 at 1:30 PM, Androideed > wrote: > >> its not working! what am I doing wrong? > > > Not explaini

Re: [android-developers] android : call java webservice exception

2012-08-21 Thread TreKing
On Tue, Aug 21, 2012 at 6:38 AM, Karthik wrote: > Please help me how to pass the bean object to the webservice? If the error complains that the object can't be serialized, my first guess would be to make the class Serializable. --

[android-developers] Re: How to implement TextureView functionality in Gingerbread 2.3 (or how to use OpenGL inside a ScrollView)

2012-08-21 Thread aprogrammer
Our business logic is in C++ and the drawing code gets its data from this C++ code. So I'd rather do the drawing in C++ instead of the overhead of passing all the data to Java (and the Java code would call Android framework which internally calls C code anyway) With C++ for Android, my understa

Re: [android-developers] Publish Different apk in google play store

2012-08-21 Thread TreKing
On Tue, Aug 21, 2012 at 4:55 AM, Venkata Bhaskar K < bhaskar.myth...@gmail.com> wrote: > Kindly assist us how to create an app which is targeted for non-ARM v7 > devices. If your issue is with Google Play, try here: http://support.google.com/googleplay/android-developer/bin/answer.py?hl=en&answe

Re: [android-developers] Help!!!

2012-08-21 Thread TreKing
On Mon, Aug 20, 2012 at 1:30 PM, Androideed wrote: > its not working! what am I doing wrong? Not explaining what "it's not working means". http://www.catb.org/~esr/faqs/smart-questions.html - TreKin

Re: [android-developers] Branding concern for a universal Android app for both Phone and Tablet

2012-08-21 Thread TreKing
On Tue, Aug 21, 2012 at 3:57 AM, teletextmobile wrote: > The concern we are facing now is that we want maintain our brand extension > strategy by having a "Phone Edition" and a "Tablet Edition" of our app in > Google Play but we aren't sure how to achieve this with only one build for > the app. >

[android-developers] Re: Getting started with Android. Love the overall system architecture and SDK except for one thing...

2012-08-21 Thread Indicator Veritatis
Google's approach to documentation has its frustrating points, and to be sure, finding the right XML name for the concept/class/value you find in the API documentation has always been a frustrating experience. But it should not be THAT frustrating. Also, some of the gaps in concept presentation

[android-developers] Re: openRawResource: does compressed files in APK get uncompressed completely?

2012-08-21 Thread Tamás Kovács
Thanks, Dianne. Was the 1MB limitation removed in case of *assets* as well, or only for *resources*? On Aug 22, 12:28 am, Dianne Hackborn wrote: > Prior to I think Gingerbread, it would entirely uncompress in memory with a > limit on the amount of memory it would use (I think 1MB) above which th

Re: [android-developers] openRawResource: does compressed files in APK get uncompressed completely?

2012-08-21 Thread Dianne Hackborn
Prior to I think Gingerbread, it would entirely uncompress in memory with a limit on the amount of memory it would use (I think 1MB) above which the open would fail. On current versions of the platform it uncompression is streamed as you read it with no limit on size. On Tue, Aug 21, 2012 at 1:25

[android-developers] Re: adb hangs on any attempt to connect

2012-08-21 Thread saernz
Have you tried to explicitly define what device to connect to? I'm pretty sure when you run the adb command you can tell it to connect to a specific device. Does the same thing happen when you do that? Also have you ever tried to connect the adb to a emulator before? Probably the best way to di

Re: [android-developers] Syncing Database

2012-08-21 Thread TreKing
On Tue, Aug 21, 2012 at 9:12 AM, Arijit Das wrote: > Yes, the question is how to do the sync between two android phones? That's a loaded question. What specifically do you need help with? - TreKing

Re: [android-developers] Issue with the basic if statement

2012-08-21 Thread Waheed Rafiq
thank you both for guiding me in a straight path with regards to xml and java , I was reading android online tutorial , I guess i jump into the deep end of newbie user section , On Aug 21, 2012 10:22 PM, "Lew" wrote: > As Kristopher said, Java source is in "*.java" files and XML is in "*.xml" >

Re: [android-developers] Issue with the basic if statement

2012-08-21 Thread Lew
As Kristopher said, Java source is in "*.java" files and XML is in "*.xml" files. Also, Java follows Java syntax: package com.foo.bar; public class FooBar { public static void main(String [] args) { // ... etc. } } XML follows XML syntax: content

Re: [android-developers] Issue with the basic if statement

2012-08-21 Thread Kristopher Micinski
I would recommend following a tutorial more closely until you get the hang of things.. The XML is only to define a layout (it is in a '.xml' file), the Java code (in a '.java' file) defines the action your app takes. kris On Tue, Aug 21, 2012 at 5:06 PM, Waheed Rafiq wrote: > you defo got one t

Re: [android-developers] Issue with the basic if statement

2012-08-21 Thread Waheed Rafiq
you defo got one thing right " I am confused" -:) I actually thought I was writing code in java ? so this now begs the question where do I write the code if not in MyFirstApp.main I am new to Java and XML thanks for your prompt reply On Aug 21, 2012 9:46 PM, "Kristopher Micinski" wrote: > You

[android-developers] Re: E/SurfaceTexture(78): [SurfaceView] connect: already connected (cur=1, req=4)

2012-08-21 Thread bob
Sounds like you are closing the camera before you try to use it? 08-21 09:44:09.402: I/CameraHardwareSec(81): int android::HAL_camera_device_close(hw_device_t*) 08-21 09:44:09.402: I/SecCamera(81): DeinitCamera : already deinitialized 08-21 09:44:09.402: E/org.doubango.ngn.media.NgnCameraPr

[android-developers] Re: Problem with creating android account in google play

2012-08-21 Thread bob
It's probably an issue with your payment of 25 dollars being processed or possibly the country you are in. On Tuesday, August 21, 2012 12:34:45 PM UTC-5, surya pavan wrote: > > Hai to all, > i was created new account in google play, after creating one problem is > occurred that is > Y

[android-developers] Using the new RTP libraries to stream with NAT in the way

2012-08-21 Thread Shaun
If you've used the new RTP libs you know that when you create an audio stream it magically decides what port it plans to use. Which works great when your RTP is coming directly to your publicly exposed IP address, but since almost none of us have this luxury and almost everyone is behind NAT in

[android-developers] Re: How to implement TextureView functionality in Gingerbread 2.3 (or how to use OpenGL inside a ScrollView)

2012-08-21 Thread bob
If it is just 2d, why bother with OpenGL? In general, OpenGL does not play well with others. On Tuesday, August 21, 2012 3:19:51 PM UTC-5, aprogrammer wrote: > > Hi, I'd like to do some 2G OpenGL rendering inside a ScrollView. The > rendering code is in C++ and the rest of the ScrollView U

[android-developers] Re: openRawResource: does compressed files in APK get uncompressed completely?

2012-08-21 Thread bob
If you name the file .mp3, it won't use compression at all. On Tuesday, August 21, 2012 3:25:38 PM UTC-5, Tamás Kovács wrote: > > Hello, > > I have a custom file format in res/raw, which means it will get > compressed in APK. > > Question: > > Assume my application is installed on the dev

Re: [android-developers] Issue with the basic if statement

2012-08-21 Thread Kristopher Micinski
You seem to be quite confused... You can't write an if statement inside XML, it's not interactive (computation), it's just static XML. What you need to do is put that in your java code, kris On Tue, Aug 21, 2012 at 4:40 PM, Waheed Rafiq wrote: > Hi guys , I am new to android development > > for

[android-developers] Issue with the basic if statement

2012-08-21 Thread Waheed Rafiq
Hi guys , I am new to android development for sometime I have try to resolve the if statement issue within my code but can't seem to understand why it does not work here is my code that I was learning from online tutorial http://schemas.android.com/apk/res/android"; xmlns:tools="http://

[android-developers] openRawResource: does compressed files in APK get uncompressed completely?

2012-08-21 Thread Tamás Kovács
Hello, I have a custom file format in res/raw, which means it will get compressed in APK. Question: Assume my application is installed on the device. When I open a file via openRawResource(), does it completely uncompress the file in the memory? E.g. if it's a 3MB file, will it uncompress it in

[android-developers] How to implement TextureView functionality in Gingerbread 2.3 (or how to use OpenGL inside a ScrollView)

2012-08-21 Thread aprogrammer
Hi, I'd like to do some 2G OpenGL rendering inside a ScrollView. The rendering code is in C++ and the rest of the ScrollView UI is based on Android framework UI elements. It seems like OpenGL drawing should be done on a SurfaceView (which can be passed from Java to C++) However, SurfaceView ele

Re: [android-developers] Recommended Database as a Service providers?

2012-08-21 Thread Kristopher Micinski
It looks like you also didn't really investigate into Parse, as it is no longer a beta service, it seems to be enterprise level now ... Others mentioned using things like Google App Engine, etc.., which are fine alternatives. The only other thing I can think of is using a web service you bake up

Re: [android-developers] Re: Dynamically changing the language at runtime

2012-08-21 Thread authorwjf
> > I know this is a pretty old thread, but I'm curious if it is still the > contention of the team at Google that changing the language at runtime is a > bad idea? If so, what are my alternatives? I am doing a kisosk > application for a corporate customer so I can't fire the intent to bring

Re: [android-developers] Recommended Database as a Service providers?

2012-08-21 Thread Kristopher Micinski
Apparently not that well... as the service was called Parse.. I did read your question, did you look and see that all of the services mentioned were good uses, and that Parse was recommended and still seems to be one of the better solutions out there that meets all your needs. You seem to imply I

[android-developers] If forget to disable GPS receive from an App then, generallly disable GPS on the phone, and re-enable it

2012-08-21 Thread lselwd
Android DEV a. WAKE_LOCK in an App results affect all the Apps currently running including App initialise it? In other words has symptoms in other Apps? b. If *forget to* disable GPS receive from an App then, generallly disable GPS on the phone, and re-enable it, this App should continue GPS ope

[android-developers] APN disappears if MCC is entered incorrectly

2012-08-21 Thread Anuj Goyal
Samsung Galaxy Nexus, Jellybean (4.1.1) Steps to reproduce 1. Create a new APN 2. For MCC, type in 311. 3. Click Save -> APN does not save! Anyone else having this issue? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gro

[android-developers] Problem with creating android account in google play

2012-08-21 Thread surya pavan
Hai to all, i was created new account in google play, after creating one problem is occurred that is Your Registration to Google Play is still being processed. You can upload applications to Google Play but you cannot publish until your registration is completed. Plz help me -- You recei

Re: [android-developers] Recommended Database as a Service providers?

2012-08-21 Thread Mark Liversedge
I read the link. There were 2 responses, the second talked about a beta service from Phase. Did you read my question? -- 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.c

[android-developers] Need to register a broadcastReceiver for available WiFi networks as they become available

2012-08-21 Thread dica
Hi guys I'd like to have my application receive a notification as new Wifi networks are detected. I realize there's a startScan() method in WifiManager that will run a scan of available networks, but I'm wondering if this info is broadcast from the Android OS itself on a regular basis? Ideall

Re: [android-developers] Opening/Displaying the default Android dialer in app?

2012-08-21 Thread RKS
Yup, that's me. -- 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] Re: Android Software Licensing

2012-08-21 Thread Swap
No its not that... Open source means android Operating system is Open source that means you can create or develop android OS according to your need and you can edit add the source code and for that you dont have to pay and for the app u just have to submit build no source code to google;;; On

[android-developers] Re: Max length of GCM Registration id?

2012-08-21 Thread John Coryat
I see a consistent length of 162 characters. -John Coryat On Tuesday, August 21, 2012 4:00:33 AM UTC-5, likemiller wrote: > > What is the maximum length for a Registration ID issued by GCM servers? I > am currently receiving Registration IDs which are 140 characters. Can > anybody help? -- Y

Re: [android-developers] Android Software Licensing

2012-08-21 Thread Harri Smått
On Aug 21, 2012, at 5:35 PM, Yashwant Patil wrote: > Is it so that once I publish my app in Marketplace, the sourcecode of > application indirectly becomes opensource? No. Source code most definitely does not become open source. However Java is maybe more easy language for reverse-engineering

Re: [android-developers] Max length of GCM Registration id?

2012-08-21 Thread Mark Murphy
On Tue, Aug 21, 2012 at 5:00 AM, likemiller wrote: > What is the maximum length for a Registration ID issued by GCM servers? I am > currently receiving Registration IDs which are 140 characters. Can anybody > help? Try the android-gcm Google Group for GCM-specific questions. -- Mark Murphy (a C

Re: [android-developers] Opening/Displaying the default Android dialer in app?

2012-08-21 Thread Mark Murphy
Answered here: http://stackoverflow.com/questions/12042489/opening-displaying-the-default-dialer-in-app-actually-using-the-dialer-not-pass/12043804#12043804 On Mon, Aug 20, 2012 at 2:57 PM, RKS wrote: > I've looked at a few posts around but either I'm searching the wrong terms, > seeing the act

Re: [android-developers] Android as a tool for enterprise solution and internet connectivity

2012-08-21 Thread Mark Murphy
On Tue, Aug 21, 2012 at 9:57 AM, Aizzat Suhardi wrote: > Are there any way for me to disable the internet browsing facility and other > entertainment(ie: Youtube) but i still need the internet connection for the > android apps i developed to send information data/logs back to my online data > s

Re: [android-developers] Malicious android keyboards

2012-08-21 Thread Mark Murphy
On Mon, Aug 20, 2012 at 5:35 PM, Alexander Arnesen wrote: > Is a malicious android keyboard a concern? In principle, yes. > If you have an app that contains sensitive data-input, would it be a viable > option to develop/use an in-app keyboard to avoid the risk of a "bad" > third-party-keyboard

Re: [android-developers] Android as a tool for enterprise solution and internet connectivity

2012-08-21 Thread Robert Greenwalt
Remove market and browser and youtube from your build? On Tue, Aug 21, 2012 at 6:57 AM, Aizzat Suhardi wrote: > Hi, > > I'm building a set of android apps built for Android phone that will be > solely used by workers during their working shifts. > > Are there any way for me to disable the intern

[android-developers] Re: An Android library for Instagram - now on Github

2012-08-21 Thread zero
3ks! On Tuesday, August 21, 2012 4:15:22 PM UTC+8, Efi Merdler-Kravitz wrote: > > Hey Guys, > > We've been working really hard in the past year on our startup called > BlinxBox . > We've released a beta version couple of weeks ago for A

[android-developers] Can't Install Android SDK r20.0.3

2012-08-21 Thread Thomas Eynon
I have a brand new PC fresh installation of Window 7 64 bit. I have attempted about 6 different versions of Java including 6u26, 6u32, 7u6, etc. No matter what I install, regardless if I refresh or not, everytime I run the installer, I get Java SE Development Kit (JDK) not found. Clicking the "

[android-developers] Re: Code Coverage report through Emma says 0% coverage

2012-08-21 Thread arjun singh
Hello Neeraj, I am stucked at the same place you are.I have developed my own testcase and even tested APIDemos but getting 0% coverage.Have you found any solution to this problem? Thanks On Monday, 19 July 2010 14:57:36 UTC+5:30, Neeraj Khatana wrote: > > Dear All, > > I am creating the code co

[android-developers] Re: adk 2012 / usb accessory not connecting

2012-08-21 Thread Sensovery
Hi everyone, Do you know if it's possible to make a connection between a PC and an Android Device on 2.2 (get data from PC to Android's app) with just an USB cable ? Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this g

[android-developers] Branding concern for a universal Android app for both Phone and Tablet

2012-08-21 Thread teletextmobile
Hello, We are about to launch a single application that works across all Android platforms to address the fragmentation challenges surrounding us. This single application will determine which UI (tablet or smartphone) is delivered to the user by using the screen size of the device. The concer

[android-developers] Re: Importing csv file into SQLite Android

2012-08-21 Thread preet mehta
i have the same issue ple reply if u find how to import CSV file to the android database in a table among other tables ..!! i am working on a project (for personal use) and i want to add the 6 columns data to my application ... i am new to android ..!! -- You received this message because you

[android-developers] Re: Dynamic Array

2012-08-21 Thread Adel Nizamutdinov
use database On Monday, 20 August 2012 17:26:55 UTC+4, rahul kaushik wrote: > > i want to add dynamic array ion shared prefrence > please suggest > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to androi

[android-developers] Re: activity animation

2012-08-21 Thread ToTo
Good post miguel:) But i'm afraid this is for animating the layout inside the the activities. not the activity; isn't it? On Monday, January 11, 2010 7:03:05 PM UTC+5:30, Shrey wrote: > > How to animate activity entrance and exit? > And activity relaunch after onNewIntent() ? > > I used android:

Re: [android-developers] First android app

2012-08-21 Thread Nirav Parmar
Hello Cham, In my opinion Developer site is best..it has good examples..Also you can download API demos for each platform.You can learn lot from that demos.. Best of luck.. Regards, Nirav On Tue, Aug 21, 2012 at 2:29 PM, cham herbias wrote: > I am a computer engineering student. Can you help me

[android-developers] Opening/Displaying the default Android dialer in app?

2012-08-21 Thread RKS
I've looked at a few posts around but either I'm searching the wrong terms, seeing the actual answer but not getting it, or asking about something that is impossible. Mostly I see posts about replacing the dialer with a custom dialer or passing an input to the dialer. I don't want to replace th

[android-developers] Android Software Licensing

2012-08-21 Thread Yashwant Patil
Hi, I have a very basic question, may be very stupid one, regarding meaining of open source in the context of Marketplace apps. Is it so that once I publish my app in Marketplace, the sourcecode of application indirectly becomes opensource? Any pointers, links are appreciated Regards Yas

[android-developers] Max length of GCM Registration id?

2012-08-21 Thread likemiller
What is the maximum length for a Registration ID issued by GCM servers? I am currently receiving Registration IDs which are 140 characters. Can anybody help? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send emai

[android-developers] Lowest memory (storage) consuming photo file format

2012-08-21 Thread William Reed
What do you guys think the best file format is for background images? And for icons? -- 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, se

[android-developers] Re: Find my phone number

2012-08-21 Thread Nikolas von Randow
Hi Pedro, i'm sorry, but this is not possible. At least not on most devices. Your number simply isn't stored on the telephone. Regard, Nikolas -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-de

[android-developers] Can Wifi-direct-inactive devices search the Wifi-direct-active peers?

2012-08-21 Thread chuny423
Hi, I'm S.Korean student. I'm studying the p2p communication between android devices. Then, I'm wondering whether I can search the peers who turned on "Wifi-direct" button without turning on my Wifi-direct button or not. Simply saying, Me: turned off Wifi-direct Group A: turned on Wifi-direct

[android-developers] E/SurfaceTexture(78): [SurfaceView] connect: already connected (cur=1, req=4)

2012-08-21 Thread Viktor Mazurenko
Hello. I have a problem with GL surface view and camera. 08-21 09:44:09.226: I/CameraService(81): Opening camera 1 08-21 09:44:09.226: I/CameraHardwareSec(81): int android::HAL_camera_device_open(const hw_module_t*, const char*, hw_device_t**): open camera 1 08-21 09:44:09.226: E/SecCamera(81):

[android-developers] Re: How to set the bitmap to Transparent

2012-08-21 Thread Tiago Braga Machado
How set blackground of bitmap? I use so: mBitmap = Bitmap.createBitmap(x, y, Bitmap.Config.ARGB_); mCanvas = new Canvas(mBitmap); @Override protected void onDraw(Canvas canvas) { canvas.drawColor(Color.WHITE); canvas.drawBitmap(mBitmap, 0, 0, mBitmapPaint);

[android-developers] Can I detect the users who turn on "Wifi-direct" without turning on "Wifi-direct" ?

2012-08-21 Thread chuny423
Hi, I'm S.Korean student. I'm studying Android P2P communication. I'm wondering whether Android devices which turned off "Wifi-direct" button can search peers who turned on "Wifi-direct" button or not. I think that active-(Wifi-direct) devices send some packets like a beacon message, then other

[android-developers] Help!!!

2012-08-21 Thread Androideed
Below is my code and I'm trying to send string commands to a non-Android device when I enter a command in an editable text and click a button, its not working! what am I doing wrong? button.setOnClickListener(new Button.OnClickListener() { //click button(of course) public void onCli

Re: [android-developers] Mouse Cursor in Android ICS

2012-08-21 Thread Mark Murphy
On Tue, Aug 21, 2012 at 2:18 AM, karuna vikas wrote: > Hi all, > How to create a Mouse cursor pointer(arrow) for Android ICS4.0.3 from > the OS level ? > > How to solve the "Inject Event Permission" error from the OS level.? > > Kindly help me to solve this issue.. > It is my own Modifie

[android-developers] Android HTTP Server problem HEAD method

2012-08-21 Thread Jose Luis Larraz
Hello i had the next problem, i want to answer to a Head request with a Content-Length. I put an example HEAD /external/images/media/21.jpg HTTP/1.0 getcontentFeatures.dlna.org: 1 Host: 192.168.1.130:57645 HTTP/1.1 200 OK Date: Tue, 21 Aug 2012 10:24:59 GMT Cache-Control: no-cache trans

Re: [android-developers] 【android-developers】 It is a question about an activity-alias attribute.

2012-08-21 Thread Fred F Fan
Hi Reo, What's your question, I don't know what your said. On Tue, Aug 14, 2012 at 6:12 PM, 安藤玲生 wrote: > I am a Japanese programmer. > My name is Reo Ando > > It is a question about an activity-alias attribute. > It is the processing A, if an alias is attached to Existing Activity and > a clas

[android-developers] Malicious android keyboards

2012-08-21 Thread Alexander Arnesen
Is a malicious android keyboard a concern? If you have an app that contains sensitive data-input, would it be a viable option to develop/use an in-app keyboard to avoid the risk of a "bad" third-party-keyboard? And how would this kind of malicious keyboard be treated in Google Play? Would it b

[android-developers] TabHost and TabWidget problem on ICS

2012-08-21 Thread Robin Olsson
have an app that uses a TabHost and TabWidget to show activities and tabs. Everything work fine on devices pre android 4.0. However, when using a device with 4.0+ the tabs are not showing. It's just a gray area. Does anyone have any idea why this happens? I know that ActivityGroup is deprec

[android-developers] Does any body know how to stop emulator in command line window?

2012-08-21 Thread Xin Peng
Currently I just kill the Emulator-arm.exe as well as the adb.exe processes... -- 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 e

[android-developers] Publish Different apk in google play store

2012-08-21 Thread Venkata Bhaskar K
We are working in an android project in which we are using a third party scanning library. We got the information from that third party that they compiled their scanning library for ARM v7. We have uploaded the app to the market and working fine for the devices with ARMv7. Our app has to suppor

Re: [android-developers] Digest for android-developers@googlegroups.com - 12 Messages in 7 Topics

2012-08-21 Thread hanumanth abhilash
Can any one suggest me how to write a program to send sms to another mobile and what is the phone number input format to be given as parameter to sendTextMessage() method. Thanks Abhilash On Tue, Aug 21, 2012 at 11:54 AM, wrote: > Today's Topic Summary > > Group: http://groups.google.com/group

Re: [android-developers] clearTaskOnLaunch behavior ambiguous

2012-08-21 Thread Carlos Salguero
Hi, Just a question about this, What if you go to settings from "recent apps" ? (long press on home button). Then you don't end up in the home activity but in the one you were when you left. Carlos On Tuesday, March 29, 2011 6:19:17 AM UTC+2, Dianne Hackborn wrote: > On Mon, Mar 28, 2011

[android-developers] Google Maps API KML GroundOverlay..

2012-08-21 Thread joe131
Hi All, I have a KML file and I'm interested in the 'GroundOverlay' and 'LatLonBox' parts of it. I haven't seen any information on this, or how to possibly load the KML file, in the API. I saw some posts about using 'ItemizedOverlay' to do some individual parts of it. Would I have to use someth

[android-developers] Re: Can't display GoogleMaps in application

2012-08-21 Thread Lloyd Carroll
You ever figure out what it was? I'm having the same issue. I have verified all the above suggestions to no avail. Now, here is the weird thing. I had have two phones, OS 4.1, and 2.3.3 and it works on the ICS phone. I'm using Google API: 8 and have all the permissions. I have set satellites off

[android-developers] Android as a tool for enterprise solution and internet connectivity

2012-08-21 Thread Aizzat Suhardi
Hi, I'm building a set of android apps built for Android phone that will be solely used by workers during their working shifts. Are there any way for me to disable the internet browsing facility and other entertainment(ie: Youtube) but i still need the internet connection for the android apps

[android-developers] Re: WiFi-Direct hardware question

2012-08-21 Thread alu0506
So how do I get Wifi-Direct on a Nexus S? On Friday, April 6, 2012 8:55:58 AM UTC-7, EricYan wrote: > > It depends on which wifi chip the device use. > As I known, Broadcom bcm4329/4330 , Atheros 6005, and Ti 1281 can support > this feature on ICS. But, you need porting the suitable driver and fi

[android-developers] ELM327 Bluetooth

2012-08-21 Thread Lloyd Carroll
Hello, I have an ELM327 Bluetooth ODB2 adapter. I am just trying to get the Bluetooth Chat program to communicate. I click connect insecure or connect secure but neither establish a connection (even with the engine running). So, if there's someone out there with a little more experience with do

[android-developers] android : call java webservice exception

2012-08-21 Thread Karthik
When I pass the bean object reference to the webservice in android I am getting the following issue. throws an exception: Cannot serialize: com.fsck.common.UserRequest@412d9e30 I am using the following bean class. package com.fsck.common; public class UserRequest { priva

[android-developers] How to access an external database ??

2012-08-21 Thread Anshuman Damani
Hi friends... I need a little help. I need to link my Sqlite database on android with an existing database present on LAN ... I know how to create a database and on how to link with a database on internet.. Any ideas ?? Anshuman -- You received this message because you are subscribed to the Go

[android-developers] Mouse Cursor in Android ICS

2012-08-21 Thread karuna vikas
Hi all, How to create a Mouse cursor pointer(arrow) for Android ICS4.0.3 from the OS level ? How to solve the "Inject Event Permission" error from the OS level.? Kindly help me to solve this issue.. It is my own Modified OS only, So how i can solve the above issues,, Thanks in

Re: [android-developers] Syncing Database

2012-08-21 Thread Arijit Das
Yes, the question is how to do the sync between two android phones? On Monday, 20 August 2012 09:32:00 UTC+5:30, TreKing wrote: > > On Sat, Aug 18, 2012 at 12:13 AM, Arijit Das > > wrote: > >> My app requires syncing of two sqlite database sitting on two different >> phones via bluetooth/wifi. T

[android-developers] android.sec.enterprise

2012-08-21 Thread bob
Does anyone know what the story is with the package android.sec.enterprise? I'm seeing some weird issues coming from there. -- 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@google

  1   2   >