Storing credentials

by Glenn » Thu, 05 Mar 2009 18:05:40 GMT


Sponsored Links
 Hi,

What's the best way of securely storing user credentials in android?

Thanks

Glenn
--~--~---------~--~----~------------~-------~--~----~



Storing credentials

by MrSnowflake » Sat, 07 Mar 2009 23:01:48 GMT


 I think preferences (with the private option) are safe enough, as for
one, the phone is probably only used by one person, and second, no
other application can read from private files of an app. Though if
some one has root access to it's phone, some one could use that to
read the private data. But normally this shouldn't happen and if this
happens, well, though luck :).



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Error generating final archive: duplicate entry: classes.dex

Hi,

I am trying to use "Google Contacts API" with my Android application
for this I had converted all the google jar files into Android
compatible jar file using dx tool (dex --dex --output=core.jar gdata-
client-1.0.jar).

But when I tried to add the converted jar file into eclipse (Project--
getting following error

"Error generating final archive: duplicate entry: classes.dex"



please help me to remove this error.


-Ashish
--~--~---------~--~----~------------~-------~--~----~

2. Orientation problem while dynamically loading Views

Hi ,
     I am trying to load  textView and CheckBox view dynamically to a
LinearLayout. i am getting some Orientation problem while doing the
same.I want these two view in a single row but i its coming as in
different raw. Below is may code
                         LinearLayout layout=(LinearLayout) 
findViewById(R.id.jlayout);
                         TextView textView=new TextView(this);
                         textView.setLayoutParams(new LayoutParams(75,35));
                         textView.setText(exhibitData.getExhibitName());
                         textView.setTextColor(Color.BLACK);
                         textView.setBackgroundColor(Color.CYAN);
                         checkBox= new CheckBox(this);
                         checkBox.setLayoutParams(new LayoutParams(75,35));
                         checkBox.setId(exhibitData.getCheckBoxID());
                         tableRow.setOrientation(0);
                         tableRow.setBackgroundColor(Color.YELLOW);
                         layout.addView(textView,new TableLayout.LayoutParams(
                            LayoutParams.WRAP_CONTENT,
                            LayoutParams.WRAP_CONTENT));
                         layout.addView(checkBox,new TableLayout.LayoutParams(
                            LayoutParams.WRAP_CONTENT,
                            LayoutParams.WRAP_CONTENT));

layoutxml is

<ScrollView android:id="@+id/scroll"
                                                        
android:layout_width="fill_parent"
                                                android:layout_height="250px"
                                                >

<LinearLayout       android:id="@+id/jlayout"
                                        android:layout_width="fill_parent"
                                android:layout_height="fill_parent"
                                android:layout_centerInParent="true"
                                        android:orientation="vertical"
                                        android:layout_gravity="center">

</LinearLayout>
</ScrollView>

Please help me to solve this
Thank you,

--~--~---------~--~----~------------~-------~--~----~

3. How to prevent an app from switching the layout to landscape.

4. PArsing Xml From File....

5. How to see paid apps in Market

6. Regd. Android's Software GL 1.1 Performance

7. Porting to Asus P320