[android-developers] Grid view - For word search game

2012-07-10 Thread vijeth AG
Hi all, I'm making a simple word search game., A grid of characters., and few words to search in it. I'm using grid-view here and array of characters. Whats left is when i swipe in any direction left-right,top-bottom, diagonally., I need to have traced the character the user swipes, and form wo

[android-developers] How to start a camera activity and have camera directly working?

2012-07-10 Thread 王志鹏
Dear guys, This is Zhipeng Wang. I recently had a problem. Is it possible to start a camera with a intent, for example: Intent takeVideoFromCameraIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); startActivityForResult(takeVideoFromCameraIntent, camer_code); and when the camera starts, it

[android-developers] Way to export project as jar library

2012-07-10 Thread Yap Yee Leck
Hi all, Good day everyone. I am new Android developer. I have designed a Registration and Login activities with HTTPS and AES classes in a project. Is it possible to export this project as jar library so that I can straight away use that library for my future projects. Please give me some adv

[android-developers] Re: Sliding/moving fragments (like Gmail and Email app) in Honeycomb

2012-07-10 Thread William Swartzendruber
I'm also very curious about how this works. -- 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..

[android-developers] emulator problem whit 1920x1200 resolution

2012-07-10 Thread yamamoto
Hi all, I'm new here and just starting to program. My tablet is an Asus Infinity witch has a resolution of 1920x1200, when I make an emulator with this resolution it just stays black. I tryed wit 1280x800 and that works. Wat im I doing wrong here ? Thanks for helping me out. -- You received thi

[android-developers] cannot cancel a subscription via RESTFUL web service

2012-07-10 Thread vipremobile
Good Morning, I am a web developer working on an interface to query (and maybe manage) google subscriptions related to our app purchase. I've been using this HTTP API interface to list purchases: http://developer.android.com/guide/google/play/billing/billing_subscriptions.html#play-dev-api

[android-developers] Allowing sites to request location in webview

2012-07-10 Thread CX
Hi, I've been googling for hours with no answer to this question. I want to enable my webview so that sites can request the location of the phone. For instance, when you browse to maps.google.com in the default browser google will request your location then send you there on the map when you a

[android-developers] Is there any way to make my server side API private, only serve my certificate apk?

2012-07-10 Thread Don Yang
I found google map api generate api key with certificate fingerprint. It won't work if someone resigning or recompiling. Is it possible to make my server side API like this? I don't want someone else invoke my api, even the apk decompiler. don -- You received this message because you are subsc

[android-developers] Re: Using Mock Locations in Google Maps Navigation App

2012-07-10 Thread Blizar
I wrote the same code to use the fake location simulating the GPS signal, And it works in Google Maps, but it didn't work for other apps which need GPS signal. I don't know why, anyone know? -- You received this message because you are subscribed to the Google Groups "Android Developers" group

[android-developers] How to keep my server API private, only for the apk with my certificate.

2012-07-10 Thread Don Yang
I'm going to create a server API, but I don't want to serve someone else except apks signed by my certificate, because my API need a lot of server resource. In my opinion, this kind of requirement is common. Finally, I found google's map api is design well. Google map api use a API key which lin

[android-developers] How to update homescreen message widget after table update

2012-07-10 Thread ZeN KuN
Hi all i have an issue i got a message pop up, i use content values to update SMS database to read it, and it works, however when people see their homescreen there is still a "number" of the sms received, when you tap on the sms app you have no unread sms, so how i can "refresh" the UI so when

[android-developers] when my app compiled with third-party JAR, it threw out InvocationTargetException

2012-07-10 Thread Justin Yu
I surely added the jar to the build path, but it turned out that the .apk did not have it -- 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 gro

Re: [android-developers] Re: BitmapShader undocument feature!

2012-07-10 Thread Romain Guy
BitmapShaders are "pinned" relative to the window coordinates. On Mon, Jul 2, 2012 at 7:17 AM, Alexander Alexander wrote: > Ho dude, do you know that you saved a functionality of my application with > this post. > > As you said, we need to translate Bitmap pattern origin to our using a > "setLoc

[android-developers] Re: Compasses for devices without Sensor.TYPE_MAGNETIC_FIELD events

2012-07-10 Thread Adam Ratana
Just a quick $.02: 1. On some phones it is possible that sensor accuracy may be unreliable always and never change - not likely, but possible, I've seen that with at least one of the sensors, where the reported accuracy never changed - so be sure that's not nerfing your code there, that check y

[android-developers] Hyphenation in textviews?

2012-07-10 Thread Udo Baumgart
Hi, as i plan to develop apps for the german market i have a problem. German words are often really long and presenting them on different displays urgently needs hyphenation. In HTML no problem with ­ oder Unicode #00ad. But Androd displays the soft hyphen character if i insert it into my stri

Re: [android-developers] How to parse remote text file and save it

2012-07-10 Thread TreKing
On Mon, Jul 2, 2012 at 3:00 AM, Avijit wrote: > - How Do I store the parsed text file in memory and display it when the > phone don't have internet access? > That's a broad question. Start here: http://developer.android.com/guide/topics/data/index.html > - There is any way to check automatical

Re: [android-developers] How to Include xml resource files outside default /res

2012-07-10 Thread TreKing
On Mon, Jul 2, 2012 at 8:10 PM, xjtu010 wrote: > Is there a way to include a common shared xml file outside "/res/xxx" > filefolder? > Have all 10 projects inherit from a common library project that has the desired xml file. --

Re: [android-developers] Way to export project as jar library

2012-07-10 Thread TreKing
On Wed, Jul 4, 2012 at 4:48 AM, Yap Yee Leck wrote: > Is it possible to export this project as jar library so that I can > straight away use that library for my future projects. > > Please give me some advises. ^_^ > developer.android.com/tools/projects/projects-eclipse.html -

Re: [android-developers] How to update homescreen message widget after table update

2012-07-10 Thread TreKing
On Sun, Jul 8, 2012 at 12:30 AM, ZeN KuN wrote: > how i can "refresh" the UI so when i do the update in database the sms app > dont show the unread message. You probably can't, you have no control over other SMS apps.

Re: [android-developers] Emulate Gmail's Fragment System

2012-07-10 Thread Kostya Vasilyev
The stock email app does something similar, it's available in the source repository under packages/apps/Email. It uses a special layout view with an animation that drives layout changes via requestLayout / onLayout. Other than that, a particularly smooth way to slide a fragment on or off the scre

Re: [android-developers] My App?

2012-07-10 Thread TreKing
On Mon, Jul 2, 2012 at 9:49 PM, Liam.b wrote: > Can you lead me in the right direction as to where I can learn how to do > this please. > I would start by going to here: http://developer.android.com/index.html and typing "ringtone" in the top right search box. Then start reading and doing someth

Re: [android-developers] Re: Sliding/moving fragments (like Gmail and Email app) in Honeycomb

2012-07-10 Thread Kostya Vasilyev
If you need to animate a view's size, that, as far as I'm concerned, you've got two choices: 1. setScaleX on the fragment's parent view, driven by one of the animation mechanisms. This will result in distortion, which may or may not be acceptable. 2. create a custom layout to serve as the fragmen

Re: [android-developers] Using more than one Spinner in a calculation

2012-07-10 Thread TreKing
On Sun, Jul 8, 2012 at 10:04 AM, Rag wrote: > I want the user to be able to enter the dimension in either "ft" of "m". > The answer is required to be given in meters at the end. Then convert each value to meters if they were input in feet to begin with, then calculate. No need to check every si

[android-developers] Automated Email Setup Via XML

2012-07-10 Thread Tommy Hartz
Hi all, I have done a bit of digging around on Google to try to find a way to auto generate an XML file that contains user info that will automatically setup their android phone to be used for Exchange/POP3. I just finished doing this for the iphone and it was pretty easy. I just used the .mobi

[android-developers] Re: Automated Email Setup Via XML

2012-07-10 Thread Nobu Games
To my knowledge there is no standardized solution available for Android out of the box. There is usually also no standardized email app available on all devices. You can get around that problem by taking an Open Source email client like K-9 and adapting it for your needs. That way you could even

Re: [android-developers] emulator problem whit 1920x1200 resolution

2012-07-10 Thread Mark Murphy
As of R19, the emulator did not support resolutions higher than WXGA800. I have not tried it again on R20, but I would not be surprised if it still does not work. One workaround, if you have a Linux development machine, is to use the Google TV emulator, which can run at 1080p. On Mon, Jul 9, 2012

Re: [android-developers] Stock Email Notifications

2012-07-10 Thread Mark Murphy
On Thu, Jul 5, 2012 at 2:46 PM, Steve Mills wrote: > I need to find out: [a] what the Broadcast is when a new email arrives There is none, at least for any email client I know of. > and I know how to do this for K9 email, but what I need to know is how to do > this for the standard stock email

Re: [android-developers] Will enabling the new GCM service affect an existing published app with C2DM

2012-07-10 Thread Mark Murphy
Please try the android-gcm Google Group for GCM-related questions. On Mon, Jul 2, 2012 at 3:42 PM, Dimitar wrote: > We have a published app that currently is using C2DM and we would like to > move to the new GCM service. > The migration document on this subject from Google is pretty straight > fo

Re: [android-developers] AppCache not working in WebView with loadDataWithBaseURL()

2012-07-10 Thread Mark Murphy
On Tue, Jul 10, 2012 at 1:19 PM, Andy Erickson wrote: > However, specifying this base URL allows the iframed HTML to load from the > AppCache, so it looks like some domain information is being extracted from > the URL. Is there any reason why the iframe element should load from the > AppCache whi

Re:: [android-developers] Stock Email Notifications

2012-07-10 Thread Kostya Vasilyev
The stock email app has a content provider that can be observed. Not sure if it's exported though, or what the required permissions are, if any. Check the sources. For gmail, some info used to be available, then was deliberay blocked, finally it seems like it's open again. The best people to ask

Re: [android-developers] Beginner; Unable to compile my first app.

2012-07-10 Thread Justin Anderson
You need to add the path to your ant install to your Path variable... Or you could just use Eclipse. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jul 5, 2012 at 12:53 AM, Shankar Rao wrote: > Hi all, > > I'm a new to this technology finding di

Re: [android-developers] fill GridView android

2012-07-10 Thread Justin Anderson
What exactly is "good" data? And no, it's not urgent... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jul 3, 2012 at 2:19 PM, Raymy ACOSTA LEBRON wrote: > would like to know how to show good data from a table in a GridView please > someone who c

Re: [android-developers] Problem in Google Play Application..

2012-07-10 Thread Justin Anderson
Contact your device manufacturer or service provider... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jul 5, 2012 at 6:50 AM, Rasik Fareeth wrote: > Hello Thr, > Im using Samsung Galaxy s Plus with android 2.3.6 OS. My problem is > after upd

Re: [android-developers] Ideas for my new application

2012-07-10 Thread Justin Anderson
Saving data to a file really has nothing to do with Android... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sat, Jul 7, 2012 at 4:44 AM, Ramki wrote: > Hi, > > I am very new to the android application... I am trying to create a > android application

[android-developers] Default input type for an activity

2012-07-10 Thread Brett
So I have an activity where I have a edittext with the numeric input type. The problem is that I want to switch to a different view that also also an input type that is numeric. The problem is that during the switch when I clear the focus on the first edittext, the soft keyboard reverts to a a

Re: [android-developers] Ideas for my new application

2012-07-10 Thread Mark Phillips
Try googleandroid xml parser...or java xml parser. Mark On Jul 10, 2012 12:40 PM, "Ramki" wrote: > Hi, > > I am very new to the android application... I am trying to create a > android application for my personal purpose. its a finance tool. > I've created an object class like this > public

[android-developers] Re: Issues extending ListView in Android

2012-07-10 Thread Elliott Hughes
thanks for the test case. i've added roughly this test to an existing AOSP fix from Sooin Im, and merged the change: https://android-review.googlesource.com/#/c/32480/ in future, though, report dalvik bugs at http://b.android.com/ instead of relying on Romain Guy forwarding them to me :-) On S

Re: [android-developers] TTS implementation under ICS

2012-07-10 Thread Nikolay Elenkov
On Mon, Jul 9, 2012 at 8:39 PM, btot wrote: > Dear All, > > We ported our TTS engine to Android 2.x, and now we would like to port it to > ICS. On > > http://developer.android.com/about/versions/android-4.0.html > > it is written, that: > > "Now that the framework supports a true API for creating

Re: [android-developers] forceclose problem after startActivity()

2012-07-10 Thread Yves Liu
Thanks. That is what I will do then. On Mon, Jul 9, 2012 at 4:19 PM, Nobu Games wrote: > What I usually do is adding app-internal logging all over the place. The log > lines go into a text file, so you don't depend on the system log and don't > need to fluff up your app with another really sensit

[android-developers] Re: Density independence for GradientDrawable

2012-07-10 Thread Justin Buser
I'm having trouble understanding the gradientRadius attribute also, it would seem based on the documentation that a value of 50.0% would result in an evenly balanced radius but any % value I enter (from 0.1% to 99.9%) results in the android:endColor being the only visible color. Does anyone hav

[android-developers] say hello to everybody

2012-07-10 Thread 伟刘
I am a fresher here and say hello to all of 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, send email to android-developers+uns

Re: [android-developers] Reminder phone call

2012-07-10 Thread TreKing
On Tue, Jul 3, 2012 at 10:11 PM, Rubel Chy wrote: > How i can make a reminder phone call and reminder phone silent mode? > Please give any help . http://www.catb.org/~esr/faqs/smart-questions.html -

Re: [android-developers] weighted graph

2012-07-10 Thread TreKing
On Wed, Jul 4, 2012 at 4:07 AM, Prasannakrishna Bhagwat < prasannakris...@sakhatech.com> wrote: > Can you please give me an idea how to display weighted graph of 'n' nodes > for an android application You need to be a wee bit more specific. http://www.catb.org/~esr/faqs/smart-questions.html

Re: [android-developers] Modify item inside layer-list drawable xml

2012-07-10 Thread TreKing
On Wed, Jul 4, 2012 at 3:09 AM, Raúl virtual wrote: > How I can modify the value of the property "left" programmatically from my > Activity? > > Sorry, I've search here and in Google but didn't find how to do it... > Try searching the documentation: http://developer.android.com/reference/android

Re: [android-developers] get 1km lat. long. according to user's direction

2012-07-10 Thread TreKing
On Mon, Jul 9, 2012 at 2:16 AM, Rajan wrote: > how can i find the specific lat. long. of 1km long according to user's > direction path. http://lmgtfy.com/?q=latitude+longitude+math - TreKing

Re: [android-developers] Modify item inside layer-list drawable xml

2012-07-10 Thread Ben Lee
setLayerInset 在 2012-7-11 上午11:31,"TreKing" 写道: > On Wed, Jul 4, 2012 at 3:09 AM, Raúl virtual wrote: > >> How I can modify the value of the property "left" programmatically from >> my Activity? >> >> Sorry, I've search here and in Google but didn't find how to do it... >> > > Try searching the d

Re: [android-developers] Save Multiple Image In Android

2012-07-10 Thread Asheesh Arya
just go through this link!! http://www.coderzheaven.com/2011/08/16/how-to-upload-multiple-files-in-one-request-along-with-other-string-parameters-in-android/ -- 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] I want to make list of all mp3 files on the android

2012-07-10 Thread Asheesh Arya
just go through this link http://z4android.blogspot.in/2011/06/displaying-list-of-music-files-stored.html -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscrib

[android-developers] Image Transforamtion in Android

2012-07-10 Thread Krishna Prasad
Is there any java lib to transform images by pulling the edges of images. In flex, check Ref link : http://www.sephiroth.it/weblog/archives/2007/07/transformtool_modification.php -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Listview or Table Layout- For Items with a Header and display some dynamic data rows with style

2012-07-10 Thread maccoy
The formatting of the header and detail row is defined in layout.XML. In this case, is it good to use 1. Table Layout and create details views by inflating the layout.xml(so that formatting is available) 2. Or Create a Listview for the details and a Linear layout representing the He

Re: [android-developers] Listview or Table Layout- For Items with a Header and display some dynamic data rows with style

2012-07-10 Thread TreKing
On Wed, Jul 11, 2012 at 12:03 AM, maccoy wrote: > What would be the best case: Considering we have the formatting in XML and > the data rows are just dynamic display of content. Probably ListView. http://developer.android.com/reference/android/widget/ListView.html#addHeaderView%28android.view.V

Re: [android-developers] changing path

2012-07-10 Thread TreKing
On Mon, Jul 2, 2012 at 1:40 PM, Kyle Lanmon wrote: > I have a Mac running 10.6.8 and I am trying to set up the SDK but I do > not know how to update the PATH environment variable. If someone could > teach me or point me to a tutorial that would be great! > A: This has nothing to do specifically

Re: [android-developers] New Android Project

2012-07-10 Thread TreKing
On Sun, Jul 8, 2012 at 12:45 AM, JT wrote: > The options under the Android folder are > *-Android Application Project* > -Android Project from Existing Code > -Android Sample Project > -Android Test Project > Select that one. -

Re: [android-developers] DRAWING APP

2012-07-10 Thread TreKing
On Thu, Jul 5, 2012 at 9:29 PM, mechaman wrote: > Is there any prewritten code or APIs that would be useful to me? Yes. The Android SDK. Your requirement is very specific. If you're hoping for some magical piece of code that does exactly what you want with no effort on your part, you're probab

Re: [android-developers] building a Dictionary....need help

2012-07-10 Thread TreKing
On Mon, Jul 2, 2012 at 4:47 AM, formatXX wrote: > can some one Create a Database for me No one is here to do your work for you. How about you put some effort into solving your own problem and ask a targeted question if you're stuck? ** --

[android-developers] Re: Android File Transfer no longer working with Galaxy Nexus after 4.0.4 upgrade

2012-07-10 Thread gjs
Hi, Yes I have exact same issue. It would be good if Google published the source code to the File Transfer app for OSX. You can still transfer files from within Eclipse ok using ddms. Or you can connect to a Windows machine and transfer files. (I also wrote a mtp transfer app in c# for windows

[android-developers] [help] DevicePolicyManager.locknow() problem on Android 4.0.4

2012-07-10 Thread suiaing
Hi all, My application is using DevicePolicyManager.locknow() but it is not working (the screen will on again after the screen is off by the locknow() ) on Android 4.0.4 (but works fine in other version). I found that there are some applications that can make the screen lock/off works on Androi

[android-developers] Re: Bluetooth Connection failing in android OS 2.3 and above

2012-07-10 Thread gjs
Hi, Try the bluetooth chat sample app & see if that works ok. Regards On Jul 3, 10:43 pm, Jonathan Lim wrote: > Hi, i have am developing an application which connects to Bluetooth and it > works perfectly in android OS 2.1 and 2.2 however when i tested with OS 2.3 > and above i am unable to con

Re: [android-developers] WebView.setEmbeddedTitleBar gone in Jelly Bean? Which alternatives?

2012-07-10 Thread sven
Hi Royi, many thanks for submitting your code. This issue is really strange. The code from Nobu works without problems in any emulator I've configured (4.0.4, 4.1, HVGA, WXGA720), but on real devices (Galaxy Nexus 4.0.4/4.1) only the bottom of my title bar was visible and a white area appeared

[android-developers] Re: fail to save camera snapped Picture on device

2012-07-10 Thread gjs
Hi, Post the code you are using. Regards On Jul 11, 5:49 am, hytham ALOBYDI wrote: > Hi all; > i am writing an android application that take pictures using the camera > and upload to the server. I created a costume folder so that all > the snapped pic will be saved to, the issue is this ;when i

Re: [android-developers] Reload Activity after every 2 minutes

2012-07-10 Thread Akhil Malik
Actually i am building an app for online chat... i am trying to check server after certain interval if there is any new data or not. if any new message exists on server that will be downloaded and shown in the app... the main reason i want to do this is to get latest message on device as soon a

Re: [android-developers] How to handle bluetooth call event

2012-07-10 Thread Raunaque Quaiser
Did you register the BroadcastReceiver() event . Unless you register you will not get an event, Regards Raunaque On Thu, Jul 5, 2012 at 3:57 PM, questionanswer wrote: > I wrote an android application to receive Bluetooth headset event, but > onReceive() for the BroadcastReceiver() class is not g

Re: [android-developers] Update single item in Collection in an AppWidget

2012-07-10 Thread Ethan Gao
It does not work. But the latest android 4.1 emulator, I don't see this problem any more. So I think this is an android bug under 4.1 version. But still want to know here that is it possible in application side to fix this problem? On Thursday, May 3, 2012 7:17:38 PM UTC+8, Kostya Vasilyev wrot

<    1   2   3   4