[android-developers] Re: Android beginner

2011-02-01 Thread Thomas
You tried to access an object you haven't constructed yet, meaning you're using only a reference. The reference has to be constructed or point to an object somewhere, should look like this: Foo f = new Foo(); f.func(); if you just have: Foo f; f.func(); You're trying to access memory that isn't

[android-developers] Diacritics/international characters in AutoCompleteTextView

2011-02-01 Thread svebee
I have a (array) list Car Something Šibica Čavao Cavao Is there a way to "force" AutoCompleteTextView so if user type in letter "c" it would show Car Čavao Cavao so it would show standard letter and international letter (C and Č/Ć, S and Š, Z and Ž, D and Đ). -- You received this message beca

[android-developers] Re: motion effect in Rubber Band

2011-02-01 Thread Mathias Lin
You could probably use a TranslateAnimation with a BounceInterpolator http://developer.android.com/intl/fr/reference/android/view/animation/BounceInterpolator.html On Feb 2, 3:20 pm, Honest wrote: > hello, > > I am creating Rubber Band effect in my ListView. So for that i created > the class whi

Re: [android-developers] Re: Samsung Fascinate AVD definition

2011-02-01 Thread Anindo Ghosh
This thread amused me... Kostya, I've read other posts by you and your blog, you are probably one of the most helpful people in the Android community I've found so far. Thank you for being there! A perfect contrast to TreKing, who has been rather aptly described by the original poster, so I w

[android-developers] motion effect in Rubber Band

2011-02-01 Thread Honest
hello, I am creating Rubber Band effect in my ListView. So for that i created the class which extends AdapterView. When user ups the mouse i am setting the co-ordinate again so it is again re-positioning and there is similar effect but the problem is there is no motion effect. So can some one tell

[android-developers] Re: question regarding media playback in browser

2011-02-01 Thread Indicator Veritatis
Isn't this question already answered at http://developer.android.com/guide/appendix/media-formats.html ? On Feb 1, 7:32 am, Victor lyamtsev wrote: > Anyone can list what media combinations ( container format/ video > encoding/ resolution /audio encoding) i can play in Froyo browser ? > I played

[android-developers] Re: Bluetooth getting "Not able to register SDP record" - why?

2011-02-01 Thread Indicator Veritatis
In some version of Android somewhere, I found the following telling lines concerning your Exception: // if (handle == -1) { // try { // socket.close(); // } catch (IOException e) { // } // throw new IOE

[android-developers] Fwd: Plz forward to many gud hearts like u...

2011-02-01 Thread venkat kumar
-- Forwarded message -- From: Rajkumar SC Date: Wed, Feb 2, 2011 at 11:26 AM Subject: Plz forward to many gud hearts like u... To: Hi all, Plz forward to many gud hearts like u... If anyone met with fire accident or people born with problems in their ear, nose and mouth

[android-developers] QSB (Quick Search Bar): make suggestions editable

2011-02-01 Thread Mathias Lin
How to make the suggestions in the QSB editable when the user clicks on it, instead of triggering the actual search? I.e. via an edit icon on the right, like on the Google Search app. See screenshot: http://i.imgur.com/M1C6a.png Is there a standard way to do it, or does it require to implement it

Re: [android-developers] Motorola CLIQ

2011-02-01 Thread TreKing
On Tue, Feb 1, 2011 at 6:17 PM, lloyd1949 wrote: > 1. Has anyone had this experience with this device. There was an issue a while back where the MyLocationOverlay object from the Google Maps API was crashing on a BitmapDrawable call, or something, and it was only on the Cliq. I had to put in a c

Re: [android-developers] Re: How to sort HashMap?

2011-02-01 Thread Kristopher Micinski
1) Try putting a breakpoint on it and using a debugger 2) If you don't know how to do this learn it quickly (shouldn't take more than a few hours) 3) when you message the list, include a detailed descriptions of the current errors you are getting from the virtual machine. Debugging through the cod

[android-developers] Re: Communicating with the browser

2011-02-01 Thread kypriakos
Hi all, I am still struggling with this one. I cannot really find the part of the code in the source that deals with the communications between the android native browser and remote servers. Any ideas? I am trying to test the cross-origin resource sharing capabilities of the browser which seems t

[android-developers] Re: Force Close Question

2011-02-01 Thread William Ferguson
Sorry, yes .. you need to declare it in the manifest too. See android:name in http://developer.android.com/guide/topics/manifest/application-element.html You know Google is a great resources for these types of questions .. On Feb 2, 3:05 pm, Scott Deutsch wrote: > Anything special you have to

Re: [android-developers] Re: Whats the key difference between Monkey Runner and Monkey tool?

2011-02-01 Thread Bharathi raja
Hi, Can you please tell me it required any module\lib files to write python script to do keystrokes and touch event. if so, from where i will get those module files On Mon, Jan 31, 2011 at 10:45 PM, A. Elk wrote: > You might use Monkey to test that your app handles only certain > keystrokes, han

[android-developers] WiFi Error/Unable to connect in AVD

2011-02-01 Thread Kim
About a month ago I stopped being able to test my app on the AVDs because it would not connect to "WiFi". My app uses WiFi heavily. When I open a 2.1 AVD and go into Settings|Wireless and Networks and click on Wi-Fi it says Unable to connect to wifi. In a 2.2 AVD it just says Error. Additional info

[android-developers] Re: How to sort HashMap?

2011-02-01 Thread Mystique
sorry shd be: ArrayList qqq = new ArrayList(); What is wrong with my code? On Feb 2, 1:43 pm, Mystique wrote: > Ok, I did this but runtime error, did I do wrong? > > --- > > public class Sortable { >     private String name; >     private String age; > >     public Sortable(){ >     } >     pub

[android-developers] Re: How to sort HashMap?

2011-02-01 Thread Mystique
Ok, I did this but runtime error, did I do wrong? --- public class Sortable { private String name; private String age; public Sortable(){ } public Sortable(String name, String age){ this.name = name; this.age = age; } public String getName() {

[android-developers] Re: Motorola CLIQ

2011-02-01 Thread Brill Pappin
I don't have one of them for testing, but I'be also had strange problems with that specific device. I wasn't able resolve any of them as the users that were having the problems were not technical people. However, I'm now weary of that phone when I get support mail involving it. - Brill Pappin

[android-developers] Re: How to develop new android apps considering that the app will also be developed for other phones

2011-02-01 Thread Streets Of Boston
This problem you describe is hard. If you find the magic bullet, you'd be rich. However, others have tried to solve this problem: I'm not sure which platforms (i.e. phones) are currently supported by each of them, but try to use PhoneGap, AppCelerator, RhoMobile, etc. or just plain HTML5. On Feb

Re: [android-developers] Android beginner

2011-02-01 Thread Ranveer
This is most common error.. Please provide more log details. On Wednesday 02 February 2011 10:46 AM, subhashini alaguchokku wrote: Hi, I get following compile time error, pls give any solutions [2011-02-02 10:37:46 - Mcatalog] Unknown error: java.lang.NullPointerException Thanks and regar

[android-developers] Re: APN settings

2011-02-01 Thread Hogus
There is a google code project called APNDroid which is used to enable and disable 3G. If you have a look through there you'll get an idea of what is involved in setting and restoring the APN for all the different device versions. On Feb 1, 5:35 pm, vnv wrote: > Hi, > > I need to change APN setti

[android-developers] Android beginner

2011-02-01 Thread subhashini alaguchokku
Hi, I get following compile time error, pls give any solutions [2011-02-02 10:37:46 - Mcatalog] Unknown error: java.lang.NullPointerException Thanks and regards, subha -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group

[android-developers] Re: Force Close Question

2011-02-01 Thread Scott Deutsch
Anything special you have to do in the Android manifest to say that you over wrote it? On Feb 1, 9:00 pm, William Ferguson wrote: > Extending Application is trivial: > > public final MyApplication extends Application { >   private Object somethingINeedToCache > > } > > On Feb 2, 12:56 pm, Scott D

[android-developers] Re: Force Close Question

2011-02-01 Thread William Ferguson
Extending Application is trivial: public final MyApplication extends Application { private Object somethingINeedToCache } On Feb 2, 12:56 pm, Scott Deutsch wrote: > Sounds interesting. I should give that a go and see if that fixes my problem > before I totally redesign part of my appi re

Re: [android-developers] Question about bug reports

2011-02-01 Thread TreKing
On Tue, Feb 1, 2011 at 10:41 PM, fourhend...@gmail.com < fourhend...@gmail.com> wrote: > How would you send the logs to a server? The same way you send any data to a server. > You mean an app that sends runtime logs to a server? I mean either A) you code it yourself to read the logs and send

[android-developers] Re: Strange orange background color when custom 9 patch button is pressed...

2011-02-01 Thread Jarrette
man, still can't figure this one out. Very strange. -- 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+u

Re: [android-developers] Re: How to sort HashMap?

2011-02-01 Thread TreKing
On Tue, Feb 1, 2011 at 10:23 PM, Mystique wrote: > Hi Treking, I have many sets of hashmap which each set is a group > of related data, I then store it into ArrayList for display into a ListView. > Something like that. > OK. You're complicating things. Create you own class that has all the prope

Re: [android-developers] Question about bug reports

2011-02-01 Thread fourhend...@gmail.com
How would you send the logs to a server? You mean an app that sends runtime logs to a server? This sounds almost like a security issue if its a gps app or so. Or what do you mean? How would you get the logs for a crashing app for instance? On Feb 1, 2011 7:45 PM, "TreKing" wrote: > On Tue, Feb 1,

[android-developers] Implementing Location Provider

2011-02-01 Thread kiran
Hi All how do i implement the network Location provider in android, Currently from the mailing list what i understood is that the network location provider service is part of google proper-arty and it will provided to the customer as a binary format, and if you want to implement the network locati

[android-developers] online earn

2011-02-01 Thread venkat kumar
http://www.PaisaLive.com/register.asp?771208-3606174";>Earn upto Rs. 9,000 pm checking Emails. Join now! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] Re: How to sort HashMap?

2011-02-01 Thread Mystique
Hi Treking, I have many sets of hashmap which each set is a group of related data, I then store it into ArrayList for display into a ListView. Something like that. On Feb 2, 11:11 am, TreKing wrote: > On Tue, Feb 1, 2011 at 8:15 PM, Mystique wrote: > > So let say I have test data, I want to sort

[android-developers] Re: How to sort HashMap?

2011-02-01 Thread Mystique
Yes, that is correct. The idea is there, still figuring out how to do it. On Feb 2, 12:12 pm, DanH wrote: > You have a bunch HashMaps of different people, and you want to sort by > age? > > You need to spin through the list of HashMaps and extract age from > each one, then insert the age and Hash

[android-developers] Re: How to sort HashMap?

2011-02-01 Thread DanH
You have a bunch HashMaps of different people, and you want to sort by age? You need to spin through the list of HashMaps and extract age from each one, then insert the age and HashMap into, eg, a TreeMap, with age being the key. On Feb 1, 8:15 pm, Mystique wrote: > Ok, I just read but unclear (

Re: [android-developers] Question about bug reports

2011-02-01 Thread TreKing
On Tue, Feb 1, 2011 at 9:44 PM, TreKing wrote: > Someone just posted in another thread that Log.d() is stripped in release. > I've never used it. And that other thread would be this one, first response. I need some sleep.

Re: [android-developers] Question about bug reports

2011-02-01 Thread TreKing
On Tue, Feb 1, 2011 at 9:36 PM, fourhend...@gmail.com wrote: > A permission to remote read the logs? No, a permission to read the logs, when you can then send to server (or Google spreadsheet using ACRA). > By the way, does the debug logger log.d work for a release app in case you > tell some

Re: [android-developers] Question about bug reports

2011-02-01 Thread fourhend...@gmail.com
A permission to remote read the logs? By the way, does the debug logger log.d work for a release app in case you tell somebody to use adb to obtain a log for you? On Feb 1, 2011 7:12 PM, "TreKing" wrote: > On Tue, Feb 1, 2011 at 8:35 PM, fourhend...@gmail.com < fourhend...@gmail.com >> wrote: > >>

Re: [android-developers] Download file from server

2011-02-01 Thread TreKing
On Tue, Feb 1, 2011 at 6:47 PM, Eric wrote: > I am creating the XML file nightly, but is there an easy way to have java > (Android) go and grab the file? > Set an alarm and when it goes off start a service to download.

Re: [android-developers] Question about bug reports

2011-02-01 Thread TreKing
On Tue, Feb 1, 2011 at 8:35 PM, fourhend...@gmail.com wrote: > How can these people see the logs of their apps running at customer side? There's a permission to read the logs your app can use or you can the user use a log collecting app and email it to you.

Re: [android-developers] Re: How to sort HashMap?

2011-02-01 Thread TreKing
On Tue, Feb 1, 2011 at 8:15 PM, Mystique wrote: > So let say I have test data, I want to sort the age in the ArrayList > call "list": > mary, 12 > john, 11 > Your ArrayList is redundant unless you really need a list of maps, which I don't think you do. > Any sample to look at? > http://develo

[android-developers] Re: Force Close Question

2011-02-01 Thread Scott Deutsch
Sounds interesting. I should give that a go and see if that fixes my problem before I totally redesign part of my appi really don't want to do that. Anyways..any good tutorials on extending Application? Thanks. -- You received this message because you are subscribed to the Google Groups "A

[android-developers] Re: Force Close Question

2011-02-01 Thread bruce
If your process is killed, all the activities are killed so its not like the globals are released and you still have activities running causing a force close. Sounds like you need to extend Application() and use that to contain your static globals. Not that its a good practice and likely you have

Re: [android-developers] Question about bug reports

2011-02-01 Thread fourhend...@gmail.com
Some folks here sometimes are writing stuff like, "saw that my app crashes sometimes [..] for certain users [..] looked in the logs [..] How can these people see the logs of their apps running at customer side? On Feb 1, 2011 3:34 PM, "TreKing" wrote: > On Tue, Feb 1, 2011 at 5:09 PM, Marcin Orlo

[android-developers] Re: How to sort HashMap?

2011-02-01 Thread Mystique
Ok, I just read but unclear (java newbie) about this one: ArrayList> list = new ArrayList>(); // I have a loop collecting these value from a XML parser HashMap map = new HashMap(); map.put("name",Tname); map.put("age",Tage); list.add(map); So let say I have test data, I want to sort the age in t

Re: [android-developers] Can i use a BroadcastReceiver or Service to retrieve an Incoming call

2011-02-01 Thread Mark Murphy
On Tue, Feb 1, 2011 at 8:38 PM, Christian Chabtini wrote: > I would like to fist detect an incoming call with all the info and > then retrieve the audio at will You have no access to the in-call audio in Android, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/c

Re: [android-developers] How to create an app as a service and make it invisible to the user?

2011-02-01 Thread Mark Murphy
On Tue, Feb 1, 2011 at 8:39 PM, Christian Chabtini wrote: > I would like to be able to create a service that runs in the > background. The user should not be able to detect this app. Fortunately, this is not possible from the SDK. At minimum, the user will see it in the applications list, the man

[android-developers] Re: Requirement for SAP Security Consultant in

2011-02-01 Thread JAlexoid (Aleksandr Panzin)
Please, please, please... Remove this person's gmail account for spamming. On 2 фев, 01:17, prasad sirisol wrote: > Hi, > > Kindly have a look at the requirement below and let me know if you have any > consultant for this position. > > *Title: SAP Security Consultant > * > > *Location*: *Los Ange

[android-developers] How to create an app as a service and make it invisible to the user?

2011-02-01 Thread Christian Chabtini
Hi, I would like to be able to create a service that runs in the background. The user should not be able to detect this app. The service should be listening for specific events and sends info to a server accordingly. How would i be able to accomplish that and make the service completely invisible

[android-developers] Can i use a BroadcastReceiver or Service to retrieve an Incoming call

2011-02-01 Thread Christian Chabtini
I would like to fist detect an incoming call with all the info and then retrieve the audio at will For instance, if the user received a call, i would like to obtain the phone number and a timestamp then i would get the audio and do some parsing in order to achieve a speech-to-text system. I would

[android-developers] How to develop new android apps considering that the app will also be developed for other phones

2011-02-01 Thread Christian Chabtini
Hi, I want to know what kind of general strategy i would have to follow while developing android apps in order to easily make my app available to other phones .. in other words easily transferable. For example, i would like to know the basic strategy i need to follow to make an app available to a

Re: [android-developers] Re: Force Close Question

2011-02-01 Thread Scott Deutsch
Thats what I fearedok I will redesign it to make it work. Thanks a bunch. -- 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 ema

Re: [android-developers] Re: Force Close Question

2011-02-01 Thread Mark Murphy
On Tue, Feb 1, 2011 at 8:16 PM, Scott Deutsch wrote: > Ok, so I debugged it and my thoughts were correct. It is releasing memory > from the globals class. More accurately, it is terminating your process. > How can I tell it not to release memory from the > globals class? You don't. > So...if a

[android-developers] Re: Force Close Question

2011-02-01 Thread Scott Deutsch
Hello Group, Ok, so I debugged it and my thoughts were correct. It is releasing memory from the globals class. How can I tell it not to release memory from the globals class? Everything in the globals class is static. Oh, the globals class is not an activity. So...if anything in th global clas

[android-developers] Re: Force Close Question

2011-02-01 Thread Scott Deutsch
Thanks for your replyI was looking at that article before. Now...my app has lots of activities. The first activity loads up global values and so on and shows the intro screen. Now, I am thinking that some how it is freeing up the global values and that is what is killing the app. Thanks,

[android-developers] Download file from server

2011-02-01 Thread Eric
I am creating an app that requires a file be downloaded from my server every day. I am creating the XML file nightly, but is there an easy way to have java (Android) go and grab the file? Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Re: Force Close Question

2011-02-01 Thread Hari Edo
Something else is causing your Force Close. Read the exception report in LogCat and dig into the actual cause. Read up on the Activity lifecycle, in particular the bubble that reads "Other applications need memory": http://developer.android.com/reference/android/app/Activity.html The Android O

[android-developers] Re: Emulator loses network connection issue

2011-02-01 Thread metal mikey
My 2.1 emulator never starts up with 3g connectivity working. To get it working I have to turn Airoplane Mode on and then quickly close the emulator, open again and typically see that 3g connectivity still not working, so repeat several times until it finally works. PAINFUL! Recently, though, whil

[android-developers] Force Close Question

2011-02-01 Thread Scott Deutsch
Hello Group, How can I deal with when the user hits the home button when in my app and then doesnt go back to it for a while and then they hold home button to go back to my app and then the force close appears since all the memory has been freed because how the OS is designed. Is there a way

[android-developers] Motorola CLIQ

2011-02-01 Thread lloyd1949
To My fellow developers: I am seeking some help. I have an app on the market which to my knowledge works fine on most devices. Without going into details, the app simply displays a Menu with 6 buttons. The user touches abutton and the respective function is invoked. Simple. It works. For 3 days no

Re: [android-developers] Android Market question: Why there's no related applications shown for my app on the market?

2011-02-01 Thread Alex Xin
I tried to write a support email to Google then I received a reply told me that the related apps is depends on some factors. It's useless for me because I never changes my app's description or something like that. On Wed, Feb 2, 2011 at 5:04 AM, TreKing wrote: > On Tue, Feb 1, 2011 at 2:58 PM, G

[android-developers] Bluetooth getting "Not able to register SDP record" - why?

2011-02-01 Thread John Lussmyer
All of a sudden my little Bluetooth app is getting an IOException: "Not able to register SDP record for " is the name I passed to: tmp = mAdapter.listenUsingRfcommWithServiceRecord(NAME, MY_UUID); This code has been working fine for several days. Now it gets that exception EVERY

Re: [android-developers] Re: MediaPlayer callbacks not firing after calling prepareAsync() from a Service

2011-02-01 Thread Jim Benton
I don't really have a reason for synchronized being there; it was in the original code and I left it intact. I've since thrown all that code away and started from scratch. I can get the callbacks to work in a new project, so I'm going to chalk it up to some complication lurking beneath a bunch of

Re: [android-developers] Re: MediaPlayer callbacks not firing after calling prepareAsync() from a Service

2011-02-01 Thread Jim Benton
The code is at https://code.google.com/p/npr-android-app/source/checkout On Tue, Feb 1, 2011 at 5:31 AM, John Scott wrote: > Where is the source for the "NPR code" you mentioned ? > > On Tue, Feb 1, 2011 at 7:45 PM, Doug wrote: > >> On Jan 31, 6:58 pm, Jim Benton wrote: >> > Any thoughts on wh

Re: [android-developers] Re: Emulator loses network connection issue

2011-02-01 Thread David Turner
I have not been able to reproduce the issue. For the record, how exactly does the error occurs. I.e.: Does the emulated system think that it has no longer connectivity? I.e. no more 3G icon in the status bar, and the browser complains with a dialog if you try to use it. If not, what kind of error

Re: [android-developers] Question about bug reports

2011-02-01 Thread TreKing
On Tue, Feb 1, 2011 at 5:09 PM, Marcin Orlowski wrote: > > automatic report getting sent if the app let's say - crashes? > > On Froyo and up. Check this: http://code.google.com/p/acra/ Just to clarify, there is no "automatic report getting sent" - the user has to send a report. As Marcin noted,

Re: [android-developers] Re: InputMethodManager and it's active View

2011-02-01 Thread TreKing
On Tue, Feb 1, 2011 at 5:10 PM, Jeremiah Sellars wrote: > I will try that, but part of the problem, is when to call clearFocus() > and requestFocus(). I've tried that after the dialog is shown, but it > doesn't work. > Try requesting focus on something else first, then the EditText. > I certain

[android-developers] Requirement for SAP Security Consultant in

2011-02-01 Thread prasad sirisol
Hi, Kindly have a look at the requirement below and let me know if you have any consultant for this position. *Title: SAP Security Consultant * *Location*: *Los Angeles, CA * *Duration: 3+ Months Contract* ** *Rate: $60/hr on Corp-Corp* * * *Job Description: * *Requirements* ·

[android-developers] Re: InputMethodManager and it's active View

2011-02-01 Thread Jeremiah Sellars
I realized I did not end up including that. Yes, it does come up as expected when tapped. I've actually been looking through the TextView.java code to see if I can implement what is happening when it is touched/clicked... but that's getting a bit over my head. I will try that, but part of the prob

Re: [android-developers] Question about bug reports

2011-02-01 Thread Marcin Orlowski
> Hi I haven't released an app to the store yet. Before doing so, I wanted to > know, how is this working with users submitting bug reports? In general there's *statistically* noone doing so. You will get 1 star in market + some useless comment like "crashes", "lame", "force closes, please fix".

[android-developers] Question about bug reports

2011-02-01 Thread fourhend...@gmail.com
Hi I haven't released an app to the store yet. Before doing so, I wanted to know, how is this working with users submitting bug reports? Is there some automatic report getting sent if the app let's say - crashes? Should I enable or disable logging with 'Log.d" before releasing? Thanks -- You rece

Re: [android-developers] InputMethodManager and it's active View

2011-02-01 Thread TreKing
On Tue, Feb 1, 2011 at 3:43 PM, Jeremiah Sellars wrote: > The scenario I have is an AlertDialog containing a single EditText view. In > my main activity, I click a button that launches the Dialog. > I have something similar. The soft keyboard does not come up immediately, but does come up once yo

[android-developers] Re: Freeze with RGBA8 OpenGL ES 2.0

2011-02-01 Thread Rémi Chaignon
I have fixed my problem, I had simply forgotten to set the pixelFormat of the surface. I just call this in my surface class, before calling setEGLConfigChooser : this.getHolder().setFormat(PixelFormat.TRANSLUCENT); I haven't been able to reproduce the problem since then. Rémi. -- You rece

[android-developers] Intent to launch the Application Settings screen for an application

2011-02-01 Thread OldSkoolMark
Using ACTION_MANAGE_APPLICATION_SETTINGS launches the parent of the screen I desire. It launches the Manage Applications screen that lists my app. Selecting my app from this screen launches the Application Info screen for my app. None of the android.provider.Settings actions seem to fit the bill. I

[android-developers] Re: Attempt to read preferences file without permission

2011-02-01 Thread klwinkel
I am pretty sure that it happened during normal use of 2.2.1 I uninstalled/installed my app several times since 2.2.1, also without problems. On 30 jan, 15:56, Kostya Vasilyev wrote: > Lior, > > Do you know if the application was installed before or after he updated > the firmware? > > That wou

[android-developers] Re: SmaliHook.java found on my hacked application.

2011-02-01 Thread Kevin TeslaCoil Software
This looks like Anti-LVL http://androidcracking.blogspot.com/ Anti-LVL can work through obfuscation/reflection, but it's mostly just find/replace. Though it's automated for the kiddies. Extract the app and read the fingerprints.xml and make your interesting bits harder to find. -Kevin On Feb 1,

Re: [android-developers] SmaliHook.java found on my hacked application.

2011-02-01 Thread Moto
Hi Jostya, Yes, my app is obfuscated and the signature was my signature... It seemed like it doesn't matter if the application is obfuscated. It seems to be a simple hack that was fast! It only took a few hours after release of my application... Incredible... I guess I'm gonna have to get cr

Re: [android-developers] Re: Questions about Two Way Sync Using SyncAdapter and SyncService in android

2011-02-01 Thread Dmitri Plotnikov
All that stuff about duplicates looks a bit suspicious. I would try to uninstall all extra sync adapters. On Tue, Feb 1, 2011 at 10:56 AM, himanshu jain wrote: > here is the log accord according to Plan A and Plan B when i have > SampleSyncAdapater running on Device A-OS 2.2 > > 01-31 21:02:06.1

[android-developers] Re: Scheduling ideas

2011-02-01 Thread Neilz
Aha... good thinking! Thanks for the help again, Kostya :) On Feb 1, 9:26 pm, Kostya Vasilyev wrote: > Neil, > > You can set a non-repeating RTC or RTC_WAKEUP alarm at a fixed time, > then when it fires, set the next one. > > Rinse, repeat :) > > -- Kostya > -- You received this message becaus

[android-developers] InputMethodManager and it's active View

2011-02-01 Thread Jeremiah Sellars
I would like to know if there is any way to determine and set what view is active to the InputMethodManger. I have a scenario where attempting to show the soft keyboard is always returning false. Asking for imm.isActive() returns true so some view is active... but I have not been able to determine

Re: [android-developers] Re: Scheduling ideas

2011-02-01 Thread Kostya Vasilyev
Neil, You can set a non-repeating RTC or RTC_WAKEUP alarm at a fixed time, then when it fires, set the next one. Rinse, repeat :) -- Kostya 02.02.2011 0:22, Neilz пишет: One thing I'm unsure of is how to schedule an alarm for a certain time, like 8am every day. All I can see is setting a r

[android-developers] Re: Scheduling ideas

2011-02-01 Thread Neilz
One thing I'm unsure of is how to schedule an alarm for a certain time, like 8am every day. All I can see is setting a repeat, at an interval of x milliseconds. Ok, so I can say "one day's worth" of milliseconds, but that's placing a lot of trust on the system clock? I can see that going wrong som

Re: [android-developers] changing the name i guess?

2011-02-01 Thread Robin Talwar
Change the package name Change the package name in androidManifest.xml Change all the imports respectively if you have any On Wed, Feb 2, 2011 at 2:36 AM, TreKing wrote: > On Tue, Feb 1, 2011 at 2:42 PM, kiros88 wrote: > >> so what i want to do is have another app with the same code on the phon

[android-developers] media codec manipulation -?

2011-02-01 Thread Victor lyamtsev
Hello, I am working on media streamer H263/ AAMR-NB for Android phones where i need an option for manipulation of video compression parameters ( quality and grayscale vs . color). Can someone suggest a solution implementable within Android SDK? I have done it before with FFMPEG/ Linux, but can I us

Re: [android-developers] changing the name i guess?

2011-02-01 Thread TreKing
On Tue, Feb 1, 2011 at 2:42 PM, kiros88 wrote: > so what i want to do is have another app with the same code on the phone > but under a new name while still keeping the original app so i would have > Each app requires it's own package name. Look into Android Library Projects to share the bulk of

Re: [android-developers] Android Market question: Why there's no related applications shown for my app on the market?

2011-02-01 Thread TreKing
On Tue, Feb 1, 2011 at 2:58 PM, Greg Donald wrote: > You got that mapped to a hot key, right? :) LOL - that and http://lmgtfy.com/ =D - TreKing

Re: [android-developers] Re: Device idea

2011-02-01 Thread Robin Talwar
Guys even me and my frnds are interested in doing stuff like this But android porting involved much time and focus but then you will never get time untill you start up from something. On Wed, Feb 2, 2011 at 1:39 AM, Brill Pappin wrote: > Two basic stages. > > 1) build a device > 2) write drive

Re: [android-developers] Android Market question: Why there's no related applications shown for my app on the market?

2011-02-01 Thread Greg Donald
On Tue, Feb 1, 2011 at 1:11 PM, TreKing wrote: > People that know the details behind how the "related / similar" feature of > the Market works are not going to answer you. > This is your best > bet: http://www.google.com/support/androidmarket/bin/request.py?contact_type=publisher You got that map

Re: [android-developers] SmaliHook.java found on my hacked application.

2011-02-01 Thread Kostya Vasilyev
Moto, Interesting. Did you obfuscate your application? Also, it looks like your code verifies the .apk signature - is that so? ... and the hackers added code to spoof it: the 0x40 in getPackageInfo() is PackageManager.GET_SIGNATURES, and the long string, is, I guess, is your original signatu

[android-developers] Same audio sample rates for input and output from application to driver level

2011-02-01 Thread Brian Austin
Hello, I have a question regarding the possibility of using MODE_IN_CALL to allow for a fixed rate of 8kHz for input and 8kHz for output. Now it seems that audioflinger converts everything to 44.1. I am curious if allowing 8kHz input/output from the actual application down through flinger and

[android-developers] changing the name i guess?

2011-02-01 Thread kiros88
Hi i was wondering if anyone knew like basically i create an app HelloWorld so what i want to do is have another app with the same code on the phone but under a new name while still keeping the original app so i would have HelloWorld HelloWorldTest when i just change the app_name the phone only

[android-developers] SmaliHook.java found on my hacked application.

2011-02-01 Thread Moto
First, this is not a post to talk about how much pirating apps sucks etc... I just want to post what I found hackers using to unlock my application from using the Licensing Tools provided by Android. Anyone have any clues how to prevent this particular hack? Anyone familiar with this particular

[android-developers] Re: Device idea

2011-02-01 Thread Brill Pappin
Two basic stages. 1) build a device 2) write drivers for Android repeat 1-2 until bugs worked out. then you have sales and support etc. Building hardware is not difficult but it can be time consuming and expensive depending on how much you want to spend. If you can't build the hardware or softw

Re: [android-developers] How to sort HashMap?

2011-02-01 Thread Kostya Vasilyev
Hash maps are not ordered by definition. You can copy the contents into an array or ArrayList, and sort that using Collection.sort(). But copying the data back into a hash table will make it unordered again. You can also use a SortedMap, such as TreeMap, which maintains key ordering. http://

Re: [android-developers] How to sort HashMap?

2011-02-01 Thread TreKing
On Tue, Feb 1, 2011 at 1:30 PM, Mystique wrote: > But if I have HashMap, how do I do it? http://developer.android.com/reference/java/util/SortedMap.html http://developer.android.com/reference/java/util/TreeMap.html

[android-developers] How to sort HashMap?

2011-02-01 Thread Mystique
Hi, I know I can use Collections.sort() to sort an ArrayList. But if I have HashMap, how do I do it? Possible to throw it into a temp ArrayList to sort it? ArrayList> mylist = new ArrayList>(); How do I sort this mylist? -- You received this message because you are subscribed to the Google G

Re: [android-developers] Android Market question: Why there's no related applications shown for my app on the market?

2011-02-01 Thread TreKing
On Tue, Feb 1, 2011 at 5:59 AM, Alex Xin wrote: > Does anyone has the same issue or know why this happened? People that know the details behind how the "related / similar" feature of the Market works are not going to answer you. This is your best bet: http://www.google.com/support/androidmarket

[android-developers] Re: Questions about Two Way Sync Using SyncAdapter and SyncService in android

2011-02-01 Thread himanshu jain
here is the log accord according to Plan A and Plan B when i have SampleSyncAdapater running on Device A-OS 2.2 01-31 21:02:06.105: VERBOSE/SyncManager(206): [SyncManager.java: 653:sendCheckAlarmsMessage()] sending MESSAGE_CHECK_ALARMS 01-31 21:02:06.145: DEBUG/SyncManager(206): [SyncManager.java:

[android-developers] Re: Questions about Two Way Sync Using SyncAdapter and SyncService in android

2011-02-01 Thread himanshu jain
Thanks Dmitri Plan A showing logs but still service not gets invoked Plan B i tried to put SampleSyncAdapter totally unchanged except i have to cheat for this line only ((AuthenticatorActivity) context).onAuthenticationResult(true) in NetworkUtilities rest all intact but still this one does not

[android-developers] Re: What's wrong with this code - SimpleAdapter

2011-02-01 Thread Mystique
Ah nice, that fixed all the prob :) On Feb 2, 2:09 am, Kostya Vasilyev wrote: > You are missing android:orientation="vertical" on the LinearLayout in > layout/fruit_list.xml > > The default orientation is horizontal, so fruit2..4 are there, but > positioned off the right side of the screen. > > -

Re: [android-developers] What's wrong with this code - SimpleAdapter

2011-02-01 Thread Kostya Vasilyev
You are missing android:orientation="vertical" on the LinearLayout in layout/fruit_list.xml The default orientation is horizontal, so fruit2..4 are there, but positioned off the right side of the screen. -- Kostya 01.02.2011 20:54, Mystique пишет: Hi, I can't seems to display multiple roll

Re: [android-developers] Re: Scheduling ideas

2011-02-01 Thread Kostya Vasilyev
01.02.2011 20:35, Neilz пишет: Right, thanks. And will that stay on the device as long as the app is still installed? Yes. (And, I suppose, will it get removed if the app is uninstalled?) Believe so. -- Kostya On Feb 1, 5:25 pm, Kostya Vasilyev wrote: Right, alarms are not persistent.

  1   2   >