You don't read in a byte vector. You read in a string. You convert the
string to a long.
You really need to back off of Android development for a while and learn Java.
On Sat, Feb 5, 2011 at 9:08 AM, MobileVisuals eyv...@astralvisuals.com wrote:
I tried the printwriter and I can use it to write
I tried the printwriter and I can use it to write the information as a
String. But how can I read this information to extract it as a long? I
tried
in = new FileInputStream(fileLocation);
in.read(readData); //readData is a byte vector
String readString=new String(readData);
but this does not
I saw your posting about the DataOutputstream now, so I try that
instead of PrintWriter. I know that these files can be changed by
users, but most people don'tknow how to do that. Do you know a better
idea for a trial version? I don't have time for a server based
solution.
On Feb 5, 9:52 am,
The very least you can do is use application-specific storage for your
timestamp value.
The memory card is accessible and writable by anyone, including other
applications and the user, and storing the timestamp as text is
practically begging for someone to mess with it.
I'd suggest you use
On 5 February 2011 15:35, Kostya Vasilyev kmans...@gmail.com wrote:
The memory card is accessible and writable by anyone, including other
applications and the user, and storing the timestamp as text is practically
begging for someone to mess with it.
Not fully agreee. If you do this right
05.02.2011 17:46, Marcin Orlowski пишет:
On 5 February 2011 15:35, Kostya Vasilyevkmans...@gmail.com wrote:
The memory card is accessible and writable by anyone, including other
applications and the user, and storing the timestamp as text is practically
begging for someone to mess with it.
On 5 February 2011 16:08, Kostya Vasilyev kmans...@gmail.com wrote:
A secret file location can be easily discovered by someone who is able to
run strace (== rooted firmware), which then can be shared, or exploited by
an unlocker application.
If anyone start sniffing with strace then
7 matches
Mail list logo