Android :: Best Reasonable Practice For Locally Storing Password?
Nov 3, 2010
I am considering adding a means by which my app can perform functions over Google Voice, and the functionality would make little sense if I required the user to type in a password.I'd like a reasonable plan for storing the password locally and sending it (through google-voice-java) when demanded by Google Voice.Clearly, I'd like to properly represent the risks of the chosen scheme honestly to the user. I'd like the storage to be based atop writing it into a SharedPreferences created with flags.What form of obfuscation is suitable, and with what available salting ingredients and such should I customize it?
View 4 Replies
Apr 8, 2010
I am still learning bu find Android the cool platform for allot of useful applications. I have written a Service for doing GPS tracking and it consists of a Service and a Control activity to manage, monitor and configure the service. I am looking for the preferred way for the Control Activity to define settings for the Service, things like IP address and Update interval. I envision something like a Registry on windows where these settings can be shares and updated.
View 9 Replies
View Related
Dec 18, 2009
If I want to store the username and password to be used inside an Android application, what is the best way to do it? Is it through the preferences screen (but what if the user misses this?), or pop up a dialog box and ask the user for the credentials? If so, I do have to maintain state for the application. How would I do this?
View 2 Replies
View Related
Aug 7, 2010
OK, I have one try left, so I need to make sure I get this right. Here we go; What is the DEFAULT Password for the SIM Card?
Also, are there any advantages to storing your contacts on your Phone and the SIM Card? Currently I have them stored on Google and the Phone.
View 2 Replies
View Related
Nov 24, 2009
My android app fetches a JSON structure from the net. It's somewhat large, maybe 2,000 characters in length. I need to store it away when my app gets killed so I can recover it quickly. I've tried saving it to an sqlite database, but that takes about 400ms, kind of long. I wonder if it's bad practice to just dump it into the save bundle:or are we really only supposed to be putting the smallest of items in bundles?
View 3 Replies
View Related
Nov 10, 2010
I currently have the Samsung Galaxy (I7500). I have it for a year+ now. A couple of months ago I wanted to buy the Desire, but I decided its too early for an upgrade (big mistake). It's very hard for me to keep waiting for the perfect device since I hate my galaxy so much. So my question is which phone would you recommend?
IPhone 4 no way ofcourse, Samsung Galaxy S no way cause Samsung really screwed things up with the original galaxy (and it has no Flash), which leaves me with HTC Desire HD or Desire Z. The DHD has an extremely weak battery, and I want my next phone to last a day (moderate user). So, is the Desire Z worth the money? The things that bother me with the Desire Z are:
1. Weight - It weigh 180 grams! Thats sick, way too much. (the Desire is about 135, which isn't light, but not heavy either)
2. Battery life - I'm not sure how long does it last under moderate usage.
3. Size - its quite big, and its especially because of the keyboard, which I don't really need / care about.So, Whats your opinion?
View 16 Replies
View Related
Jun 12, 2010
TempMon is reporting 107 F + while streaming. That's battery temp, of course.CPU is significantly hotter than that.I've tried clocks from 700 up to 1100 and can't get it any cooler.at 700 its barely responsive enough to be functional.at 1200 it reboots.
View 2 Replies
View Related
Mar 3, 2010
I have had this same problem happen twice to me on 2 different phones on 2 different Verizon accounts!
The password screen locks and when it asks for the user name and password it states invalid user name / password!
Is this a known problem since when I called and talked to both Verizon and HTC the only thing they could tell me was to do a hard reset and they weren't aware of this problem?
View 1 Replies
View Related
Aug 22, 2010
What are the minimal steps necessary (including retrieving the source code) to compile and run just the Dalvik virtual machine on Linux?
View 1 Replies
View Related
Jun 5, 2010
I'm looking for a notes app that stores notes on the device and syncs with cloud
View 3 Replies
View Related
Aug 13, 2010
I am a bit new to Android. What I need to do is send data back and forth between an activity and a service locally. The information sent is sensitive and must not be able to be picked up by other apps. This excludes using broadcast and the onBind() function if I understand things correctly? So the activity needs to send some string parameters to the service. Also it somehow needs to tell the service which activity started it so the service can reply to the correct class since many different activities will use this service.
Once the service has fetched the information via a http request it is suppose to send that data (just a long string which will later be parsed) back to the activity that started it. How do I go about doing this? Using static variables/functions is not an option since again many actives will be using this service. Sure it would be possible to use a static array to hold the classes but that just seems ugly. It's only possible to send simple variables (not objects) via the intent? There must be a better way to do this.
View 1 Replies
View Related
Jan 14, 2010
I have a locally stored webpage (html) under res/raw folder.There is an image that is referenced in this html page (test.gif) which is stored under res/drawables.When I use a webview to display this page, it does not display the image. How can I correctly reference the path to the test.gif image?I tried using a text view with Html.fromHtml() but that does not parse several html tags.
View 9 Replies
View Related
Jul 9, 2010
I have an Android app that saves a text file directly onto the phone, in the app's install directory. I need to allow the user to create a new email, attaching this saved text file. When I start the intent to send the email, everything shows up in Gmail correctly, but the attachment does not get sent. All of my searches on stack overflow seem to only deal with attaching an image file from the SD card. Below is the code that I used. Please let me know if I have done something incorrectly.
File myFile = new File(getFilesDir() + "/" + "someFile.txt");
FileOutputStream stream = null;
if( file != null )
steam = openFileOutput("someFile.txt", Context.MODE_WORLD_READABLE);
stream.write(some_data);
Uri uri = Uri.fromFile(myFile);
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.setType("text/plain");
sendIntent.putExtra(Intent.EXTRA_SUBJECT, subject);
sendIntent.putExtra(Intent.EXTRA_TEXT, email_text);
sendIntent.putExtra(Intent.EXTRA_STREAM, uri);
file.close();
startActivity(Intent.createChooser(sendIntent, "Email:"));
I've also tried sendIntent.setType("application/octet-stream"); but that didn't make a difference. I'm at a loss for why the file doesn't attach and get sent.
View 1 Replies
View Related
Feb 12, 2010
I would like to implement a functionality in my game to give some daily goodies. But user can easily abuse it by changing the date of the device again and again. I know this can be easily implemented through some server. Is there any way to handle it locally without the involvement of server or network connectivity?
View 2 Replies
View Related
Jun 4, 2010
I am currently developing android XMPP client to communicate with the Tigase server setup locally.Before starting development on Android I am writing a simple java code on PC to test connectivity with XMPP server.My XMPP domain is my pc name "mwbn43-1" and administrator username and passwords are admin and tigase respectively.Could anyone please tell me the solution for this problem.I checked the XMPPConnection.java file in the Smack API and it looks the same as given in the link solution.
View 3 Replies
View Related
Oct 8, 2010
I'm having problems connecting locally over wifi to play games against my friends. Is there a procedure you have to go through to connect? Can htc desire phones connect to each other over wifi or do they have to connect through a router?
View 2 Replies
View Related
Jun 4, 2011
Is there any app that instead of sending the voicemail to the network it records it on to the phone?
Voicemail for me is not included in my monthly minutes, so I can end up with quite a large percentage of my phone bill being voicemail.
I'm running RCMixS on my HTC Desire
View 5 Replies
View Related
Apr 26, 2012
Here's what i'm doing :
1) Desktop PC (Outlook 2010) <> USB MyPhoneExplorer <> Phone (ICS SGS2)
This creates contacts on my phone under the "phone" category.
2) Hosted Exchange <> Wireless Activesync <> Phone
This creates contacts on my phone under the "exchange" category.
As the contacts are exactly the same, the contacts are automatically merged and i have 2 separate categories of contacts that display as 1 list which is what i'm looking for.
3) When I resync, all of my exchange contacts are deleted (both on the phone and server) which is not what I want.
Is it possible to have a single set of contacts that I can sync across my desktop PC, phone and exchange server ?
View 2 Replies
View Related
May 1, 2012
I'm new to android but just used the guides at this forum to root my LG Optimus V. I was wondering if now that I have root there is a way to install a boot password similar to the one I have on my computer. Before it loads the operating system, the BIOS asks for a password. Is there any similar functionality for android?
Also, is this possible on other devices even if it is not on mine? It's one of my favorite laymen security measures.
View 2 Replies
View Related
Aug 2, 2010
I have a sizable install base already on some apps with Android 1.5 set as the minimum version. I want to update the apps to take advantage of some of the newer features offered in Android 2.0 and greater. What is the best way forward so I don't break things for my current 1.5 and 1.6 users?
If I simply update the application with a new min SDK version, will 1.5 and 1.6 users be prompted to uninstall? Or will they just not see the update? What about future development that I want to apply for everyone, say a bugfix. Will I have painted myself into a corner? Another solution would be to fork and create a new app for 2.0 users, but that is undesirable for several reasons.
View 3 Replies
View Related
Jun 23, 2010
I have had my Desire no for almost 2 months, and like most I have tried installing and uninstalling many apps, to see what I like.Due to doing a factory reset on my phone yesterday I have layered back all the apps I was using and have noticed that I have used considerably less memory than before, making me very suspicious of the uninstall method used within the market place.Does it leave behind pieces of the app, and if so what's the cleanest method of uninstalling apps.
View 7 Replies
View Related
Dec 4, 2009
I've been scouring the web looking for information on setting up a peer-to-peer connection between Android handsets and so far have drawn a blank. The only thing I can definitively seem to work out is that it was made a whole lot more difficult when XMPP was removed from 1.0. Apart from that, I find a couple of threads on an OpenIntents board about porting an XMPP implementation to Android that were last posted nearly 2 years ago. Has anybody solved this problem effectively? What's the best way of doing it (from a games point of view)?
View 7 Replies
View Related
Sep 17, 2009
I'm writing an application where real-time knowledge of the GPS state is critical to convey to the user. I request GPS updates at 1000 ms intervals -- when I haven't received another update 1500 ms past the most recent update, I want to display a yellow icon, and 5000 ms after the most recent update I want to display a red icon. Currently, I'm doing it like this: private CountDownTimer gpstimeout; public void onLocationChanged(Location location) { if (gpstimeout != null) gpstimeout.cancel(); gpstimeout = new CountDownTimer(5000, 1500) { public void onTick(long m) { setYellow(); } public void onFinish() { setRed(); } }; gpstimeout.start(); }
View 3 Replies
View Related
Mar 22, 2010
What is considered "best practice" when executing queries on a SQLite db within an Android app? Is it safe to run inserts, deletes and select queries from an AsyncTask's doInBackground ? Or should I use the UI Thread? I suppose that db queries can be "heavy" and should not use the UI thread as it can lock up the app - resulting in an ANR. If I have several AsyncTasks, should they share a connection or should they open a connection each?
View 3 Replies
View Related
Sep 29, 2010
I'm new to developing Android applications, and have only a little experience with Java in school. I was redirected to StackOverflow from the Google groups page when I was looking for the Android Beginners group. I have a question about what is best practice to pull content from a web source and parse it. Firstly, I would eventually like to have my application threaded (by use of Handler?), however, my issue now is that the class I have created (Server) to connect and fetch content often fails to retrieve the content, which causes my JSON parser class (JSONParser) to fail, and my View to display nothing. After navigating to the previous Activity, and attempting to call the connect(), fetch(), and parse() methods on the same remote URI, it will work. Why does this (sometimes retrieve the remote data) happen sometimes, but not always? What is the best practice, including the use of ProgressDialog and the internal Handler class, to make my application seemless to the user. Is this the best place to ask this question?
View 1 Replies
View Related
Sep 22, 2009
I am creating a database driven app for managing people. I am showing a list of people with each name in a TextView. When a TextView is clicked, I launch a new intent to show the detail for the person. My question: What's the best practices for passing the id of the person to the new intent? The TextView is displaying the name of the person, so how do I know the id of the person? Once I know the id, I know how to pass it to the new intent, but I don't know what the best way to associate the id of the person to the TextView. Is there a best practice for this?
View 2 Replies
View Related
Aug 16, 2010
In general, I'm very impressed with Android's default text to speech engine (i.e., com.svox.pico). As expected, it mispronounces some words (as do I) and it therefore occasionally needs some pronunciation guidance. So I'm wondering about best practices for phonetically spelling out those words that the pico TTS engine mispronounces. For example, the correct pronunciation of the bird Chachalaca is CHAH-chah-LAH-kah. Here is what the TTS engine produces: mTts.speak("Chachalaca", TextToSpeech.QUEUE_ADD, null); // output: chuh-KAL-uh-KUH mTts.speak("CHAH-chah-LAH-kah", TextToSpeech.QUEUE_ADD, null); // output: CHAH-chah-EL-AY-AYCH-dash-kuh mTts.speak("CHAHchahLAHkah", TextToSpeech.QUEUE_ADD, null); // output: CHA-chah-LAH-ka mTts.speak("CHAH chah LOCKah", TextToSpeech.QUEUE_ADD, null); // output: CHAH-chah-LAH-kah Here are my questions. Is there a standard phonetic spelling recognized by the Android TTS engine? If not, are there some general rules for making custom pronunciation spellings that will make the spellings more likely to be correct in future TTS engines/versions? It appears that the Android TTS engine ignores text case. What is the best way to specify emphasis?
View 2 Replies
View Related
Aug 8, 2010
evo password pattern only? or can i have a # password
View 1 Replies
View Related
Nov 6, 2013
I have a Samsung Galaxy S II LTE and wood like to be able to synchronize my outlook data (calendar mainly but if possible the entire outlook) locally. I work for a company that does not allow to store any of the company business information outside so I can not go via cloud. Any app that allows this?
View 4 Replies
View Related
Jan 23, 2014
Samsung galaxy rugby, 4.1 I have a verizon pop email for business The emails are downloaded onto the office computer (outlook 2007) and my Phone. Outlook is set to leave them on the server for 5 days, so if it beats my phone to an email, it is on the server for the phone to grab.
I need to store my emails ON THE PHONE after they are fetched from the server. I need to go back and look at emails 6-12 months, even when I have no cell coverage. I had set "recent messages" option on the android to "total" and that appeared to be saving them on the phone,,
For some reason I had 3000 emails on my server (6 months worth) and when I deleted them,, they disappeared from my phone !! Gone! I went to the email settings on the phone, and noticed that "sync email" was checked, I unchecked that, but then did not receive any new emails.
How do I set an Android phone to just download the email from the server and leave it on the phone,, end of story. just download new emails to my phone. If I delete it on the server it does not affect my phone and vise versa. Preferably storing it on my sd card.
View 1 Replies
View Related