Re: [android-developers] New to Android App Development need Advice in Designing UI

2012-10-10 Thread Parthi K
put all scroll view .it will come list view On Wed, Oct 10, 2012 at 10:45 AM, Anees Thyrantakath sakzk...@gmail.comwrote: ListView android:id=@+id/rLV android:layout_width=match_parent android:layout_height=250dp android:choiceMode=multipleChoice

[android-developers] Re: Polling at regular intervals in Android

2012-10-10 Thread Archana
Hi, Please let me know if the following is okay: 1. Fire alarm for every 5 minutes using Alarm Manager 2. Response- Start a service that polls server 3. After polling, new alarm is set and service shuts down. Should I also use WakeLock in my code? https://github.com/commonsguy/cwac-wakeful

[android-developers] Re: Polling at regular intervals in Android

2012-10-10 Thread skink
Archana wrote: Hi, Please let me know if the following is okay: 1. Fire alarm for every 5 minutes using Alarm Manager 2. Response- Start a service that polls server 3. After polling, new alarm is set and service shuts down. Should I also use WakeLock in my code?

[android-developers] Re: Wrong apk starts-up

2012-10-10 Thread katarina
Hi again, this is an extract of the Manifest: manifest xmlns:android=http://schemas.android.com/apk/res/android; package=Mmsfro.app - application android:name=com.android.mms.MmsApp android:label=@string/app_label android:icon=@drawable/ ic_launcher_smsmms

[android-developers] Re: how to create a wlakie talkie application using android?

2012-10-10 Thread Ali Chousein
Is it very urgent? I've good news for you: GTalk, Skype and similar applications can be considered walkie talkie class of apps. Start using either of them and your problem is solved! -Ali -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Lucky patcher - how to protect

2012-10-10 Thread Leo
As far as I understood it patches odex files in dalvik cache and does not touch the original apk. If you installed some apk to your system, dalvik extracts your classes.dex file from apk, optimizes it for this phone and android version and puts odex file into dalvik cache. After that your app

[android-developers] Android Emulator deep sleep mode

2012-10-10 Thread dharmendra.sah...@gmail.com
I know phone has two processor cores - the app cpu sleeps, radio cpu runs in a low power mode keeping tabs on the mobile network, hardware button pushes. I want to know can we get deep sleep mode in android emulator not in real device? Thanks Dharmendra -- You received this message because

[android-developers] Re: Polling at regular intervals in Android

2012-10-10 Thread Archana
Ok thanks! Now I have client in 2 instances of emulators. How to I synchronize the polling of the server between them? On Wednesday, October 10, 2012 9:38:42 AM UTC+3, skink wrote: Archana wrote: Hi, Please let me know if the following is okay: 1. Fire alarm for every 5 minutes

[android-developers] Re: AsyncTask in Android 4.0

2012-10-10 Thread tom
I like this change. And have used a custom AsyncTask taken from API10 with the following changes for awhile now. private static final int CORE_POOL_SIZE = 1; private static final int MAXIMUM_POOL_SIZE = 1; ps. hope this is the correct way to get the serial execution on API11. -- You

[android-developers] Polling 2 servers by 2 clients as service

2012-10-10 Thread Archana
Hi, I have 2 instances of emulator in Android, each acting like a server and client. I am able to connect client1 and server2, client2 and server1. My functionality should be client1 (in I phone)polls server2 in II phone, gets a file, executes scripts and updates the internal memory. My

[android-developers] how to store recorded audio files in sdcard using android

2012-10-10 Thread Tom
Hi, Any body knows how to store recorded audio files in sdcard using android pls share with me.. Thanks, Tom -- 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] New to Android App Development need Advice in Designing UI

2012-10-10 Thread Rafael Maas
If you are using a ListActivity and using this ListView list = getListView(); to retrieve your listview, you should use android:id=@android:id/list as your listview ID 2012/10/10 Parthi K parthisof...@gmail.com put all scroll view .it will come list view On Wed, Oct 10, 2012 at 10:45

[android-developers] not able to add gmail account on gingerbread using account and sync

2012-10-10 Thread kiran nayak
hi all i want to add google account form my device which is running android gingerbread using account and sync option but every time it is throwing the error saying that Setup could not finish - Unable to open connection to server. server settings are like below Domain /user name : \user

Re: [android-developers] Re: optimized way to get large data from webservice(json or xml)

2012-10-10 Thread lbendlin
Tell your webservice to provide a zipped version of the data On Tuesday, October 9, 2012 2:56:38 PM UTC-4, Kristopher Micinski wrote: If your network operations are going slow, there's no magic operation you can do to speed them up.. kris On Tue, Oct 9, 2012 at 2:48 PM, satya attili

Re: [android-developers] Re: optimized way to get large data from webservice(json or xml)

2012-10-10 Thread Larry Meadors
If you own the web services, you could use the Amazon AWS model - if you make a request that would return a ton of data (say 2500 items), it gives you the first 1000 items, and a way to request the next items (up to 1000). After you get the next 1000, you have a way to get the next items (again up

[android-developers] Re: Lucky patcher - how to protect

2012-10-10 Thread Gabriel Simões
Thanks for your reply! So, in the end, what is left is to customize lvl enough to change signatures and enums in a way that automatic patching stops working. Apps with advertisement have no solution against banner disabling or even vendor key changing. No comments from google yet? Surprising...

Re: [android-developers] Re: Listview - Header , footer issue

2012-10-10 Thread Piren
Maybe i delivered what i meant wrong... You can still inflate rows predefined using XML, but your the way to create the specific inner layout would have to be created manually. you want to do something like this: scrollview linearlayout textview/ listview/ textview/

[android-developers] Re: Layout is corrupted with graphics from another layout? Only at runtime, only on a certain device.

2012-10-10 Thread Piren
Interesting... are you loading the backgrounds manually or just defined those in XML? also, its also good to make sure that you didnt have a resource with the same name available in a different resources folder (or if you have one, in a shared library) On Wednesday, October 10, 2012 3:27:41

[android-developers] how to store recorded audio files in sdcard using android

2012-10-10 Thread Tom
Hi, Any body knows how to store recorded audio files in sdcard using android pls share with me.. Thanks, Tom -- 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] New to Android App Development need Advice in Designing UI

2012-10-10 Thread Anees Thyrantakath
Okay...I thinks that's the Problem in my Application..!! -- 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] Buttons in ViewPager pages: Problem swiping/dragging pages when finger starts on top of Button. How can I fix this?

2012-10-10 Thread Piren
The thing is that being Clickable shouldn't have any impact in this scenario. Although a clickable view always consumes the touch event, in ViewPager's case it should intercept it when it recognizes a drag gesture (see its onInterceptTouchEvent implementation). You should override onTouch and

Re: [android-developers] How does the new tools: namespace work?How many elements in this namespace,how to use them?

2012-10-10 Thread Tor Norbye
It's only for tool usage, and aapt strips these attributes when creating the apk. It's currently used for only a couple of purposes: to record the associated activity of a layout, if known; to store lint rules to suppress for the given element and its children, to store which layout you'd like

[android-developers] Re: [Android-developers]:need help in creating bluetooth file transfer app. urgent

2012-10-10 Thread bob
*Creating a Bluetooth client socket* **private void connectToServerSocket( BluetoothDevice device, UUID uuid) { try{ BluetoothSocket clientSocket = device.createRfcommSocketToServiceRecord( uuid); // Block until server connection accepted. clientSocket.connect(); // Start listening

[android-developers] Re: how to create a wlakie talkie application using android?

2012-10-10 Thread bob
Be sure to have this permission to write to the SD Card. uses-permission android:name = android.permission.WRITE_EXTERNAL_STORAGE/ On Tuesday, October 9, 2012 6:40:29 AM UTC-5, Tom wrote: Hi, I am try to create walkie talkie app using android. but i couldn't store the recorded

[android-developers] java.lang.NoClassDefFoundError in AIDL Service

2012-10-10 Thread Pablo.mj
Hi, I have a problem with a set of AIDL services. I have an Android application that contains the AIDL files in a packet called es.mypackage.services. These AIDL files are well defined and they have the correct names. In addition, this package contains the implementations of these AIDL

[android-developers] Re: Polling at regular intervals in Android

2012-10-10 Thread bob
Sounds like you will want to use NTP to synchronize them both to an atomic clock of your choosing. On Wednesday, October 10, 2012 4:32:47 AM UTC-5, Archana wrote: Ok thanks! Now I have client in 2 instances of emulators. How to I synchronize the polling of the server between them? On

[android-developers] Voice call using bluetooth

2012-10-10 Thread ramesh aravelli
Hi, I want to know is it possible to make voice call using bluetooth. Any ideas are appreciated. 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

[android-developers] Re: how to store recorded audio files in sdcard using android

2012-10-10 Thread bob
A common case of using MediaRecorder to record audio works as follows: MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);

[android-developers] 120 checkbox

2012-10-10 Thread Rahul Kaushik
Hello, I need to save the 120 check Box options,i don't want to use database Should i pass back them as query String to the Server ?? Please Suggest Thanks RK -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] 120 checkbox

2012-10-10 Thread Larry Meadors
You'll likely need to use POST instead of GET with that many. What a terrible UI that's got to be... On Wed, Oct 10, 2012 at 9:42 AM, Rahul Kaushik rahulkaushi...@gmail.com wrote: Hello, I need to save the 120 check Box options,i don't want to use database Should i pass back them as query

Re: [android-developers] Tab Customisation

2012-10-10 Thread janvi
Hello Bapat Dnt give these kind of replies Be patient and help others dnt discourage Reply only if you have interest else just leave others will do this job to their best On Monday, October 8, 2012 2:38:39 PM UTC+5:30, Amey Bapat wrote: google it..you would get a lot of tutorials on TabView

Re: [android-developers] New to Android App Development need Advice in Designing UI

2012-10-10 Thread Piren
If you're trying to do 10TVs 10ETs AND and ListView, you're doing it wrong (see https://groups.google.com/forum/?fromgroups=#!topic/android-developers/t_iy0nnYGK8. TL;DR - You cant do a ScrollView with a ListView inside of it) Since you're new to development i suggest you move the ListView

[android-developers] Re: Polling at regular intervals in Android

2012-10-10 Thread John Coryat
I have to ask why you want to poll the server to find if a file is ready to download? Wouldn't it be a lot more efficient to have the server tell the app the file is ready via GCM? -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Drawable Query

2012-10-10 Thread Piren
Sadly, Android doesn't support sub folders. Nothing to do here. On Tuesday, October 9, 2012 8:47:47 PM UTC+2, Daz wrote: I am working on a simple animation using the animation-list attribute. I have all my sequenced images in the drawable-xhdpi folder and the first line of my XML looks

[android-developers] Re: 1.5 release - DexClassLoader issue

2012-10-10 Thread Lindley
Sorry for the gravedig, but I have a related question. Let's say we have the aforementioned situation: mystuff.dex has MyClass and MyOtherClass newstuff.dex has NewClass and MyOtherClass FancyClassLoader knows about mystuff.dex and newstuff.dex FancyClassLoader uses MyOtherClass from

[android-developers] Re: Converting LAt Long to UTM

2012-10-10 Thread Karl Kristian Markman
Can someone pleas tell me how to get numbers in power ? Like this (syntax used in Excel): 45^(3/2) ? On Tuesday, October 9, 2012 9:16:20 PM UTC+2, Karl Kristian Markman wrote: I figured as much. I hav found the forumla but Im not sure how to use the formula in code. I mean do I just put

[android-developers] Re: 120 checkbox

2012-10-10 Thread bob
It is probably ok to pass them as a query string, especially if you give them short names. Like C1 for checkbox 1. On Wednesday, October 10, 2012 10:44:36 AM UTC-5, rahul kaushik wrote: Hello, I need to save the 120 check Box options,i don't want to use database Should i pass back

[android-developers] Re: Drawable Query

2012-10-10 Thread bob
Sounds like you want to use assets instead of resources. Assets support subfolders. On Tuesday, October 9, 2012 1:47:47 PM UTC-5, Daz wrote: I am working on a simple animation using the animation-list attribute. I have all my sequenced images in the drawable-xhdpi folder and the first

Re: [android-developers] Re: 120 checkbox

2012-10-10 Thread Larry Meadors
On Wed, Oct 10, 2012 at 1:27 PM, bob b...@coolfone.comze.com wrote: Like C1 for checkbox 1. Heh, so the server side code is terrifying, too? Dang. Twisted. Larry -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Strategy for Unknown Location

2012-10-10 Thread Nicholas Campion
Obviously, Android apps sometimes don't know their location (lastKnownLocation returns null, etc.). Internally, we deal with this by checking if the app wide Location object is null and substituting -999 for latitude and longitude ... something that is obviously invalid so we can quickly spot

[android-developers] Re: Converting LAt Long to UTM

2012-10-10 Thread bob
Math.pow(45.0, 1.5); On Wednesday, October 10, 2012 1:03:48 PM UTC-5, Karl Kristian Markman wrote: Can someone pleas tell me how to get numbers in power ? Like this (syntax used in Excel): 45^(3/2) ? On Tuesday, October 9, 2012 9:16:20 PM UTC+2, Karl Kristian Markman wrote: I

Re: [android-developers] Strategy for Unknown Location

2012-10-10 Thread Kristopher Micinski
On Wed, Oct 10, 2012 at 4:50 PM, Nicholas Campion camp...@gmail.com wrote: Obviously, Android apps sometimes don't know their location (lastKnownLocation returns null, etc.). Internally, we deal with this by checking if the app wide Location object is null and substituting -999 for latitude

[android-developers] Re: Html implementation in android

2012-10-10 Thread Indicator Veritatis
The question is poorly put. These technologies ARE already implemented in Android. They are supported by the browser control, which you can use with the APIs WebView, JavaScriptInterface, WebViewClient, and WebChromeClient, all in the android.webkit package. If you find the online SDK

[android-developers] Re: Converting LAt Long to UTM

2012-10-10 Thread Lew
Karl Kristian Markman wrote: I figured as much. I hav found the forumla but Im not sure how to use the formula in code. I mean do I just put the numbers and calculations in or do I need a special syntax for things like sinus and cosinus? It's a good idea to know the Java API. To this

[android-developers] show an image in Android gallery via url

2012-10-10 Thread Sam
Is it possible to show the image from url by using the default android gallery app? I can actually play the video from url by using the default android video player. Below is the snippet of my code: Intent intent=new Intent(); intent.setDataAndType(Uri.parse(ImageUrl,Image);

Re: [android-developers] How does the new tools: namespace work?How many elements in this namespace,how to use them?

2012-10-10 Thread futurexiong
I know tools:context=.SomeActivity and tools:ignore=HardcodedText,but what attributes of tools namespace should we use in listview and fragment?And are there any other options for tools:ignore? What do tools:listitem in ListItem tag and tools:previewText in TextView tag mean? Where can I find

[android-developers] Sqlite android

2012-10-10 Thread ANKUR GOEL
Hi all i am trying to execute the inner join query like *SELECT * from field where itemid in (select id from item where typeid = 100);* * * *i am using * * * *String [] sqlSelect = {0 _id, value}; * * * *Cursor c = queryBuilder.query(db, sqlSelect, null , null,null, null, null); * * *

Re: [android-developers] Re: [Android-developers]:need help in creating bluetooth file transfer app. urgent

2012-10-10 Thread akash roy
i want send a file so what changes i have to make.? -- 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] New to Android App Development need Advice in Designing UI

2012-10-10 Thread Anees Thyrantakath
Hi Piren, Thanks went through the Link that u suggested. But i found little difficulty to invoke whole through code..So i separated my views in two Different Activities suppose Like Activity A,B. Again One Problem..:)..I'll explain that in a step by step manner so that u can understand my

Re: [android-developers] Re: 120 checkbox

2012-10-10 Thread Rahul Kaushik
its an inspection app,So i have to have 120 check box for complete inspection. UI not terrible, because i divided checkbox(s) in 6 different tab 20 check box each. Main issue is how to pass these 120 options to the server. Any suggestion for betterment are most welcome Thanks RK On Thu,