What about utf8 any chance to read Arabic instead of ???????????? ???? ???
Sent from my Galaxy Nexus using Tapatalk 2
Sent from my Galaxy Nexus using Tapatalk 2
What about utf8 any chance to read Arabic instead of ???????????? ???? ???
Sent from my Galaxy Nexus using Tapatalk 2
#include <stdio.h>
#include <stdlib.h>
FILE *fw;
long fwsize;
long imgstart;
long imgend;
int type = 0;
unsigned char png[] = { 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x49, 0x45, 0x4E, 0x44, 0xAE, 0x42, 0x60, 0x82 };
int search () {
unsigned char *sig = png+type*8;
long *imgpos = type ? &imgend : &imgstart;
int count = 0;
while (count < 8 && (*imgpos + count) < fwsize) {
if (count == 0) *imgpos = ftell(fw);
if ((unsigned char)fgetc(fw) == sig[count]) count++;
else count = 0;
}
type = type ? 0 : 1;
return count == 8 ? 1 : 0;
}
int main (void) {
FILE *img;
int i = 0;
char imgpath[256];
char *buff;
fw = fopen("../original/firmware.bin", "r");
(void)fseek(fw, 0L, SEEK_END);
fwsize = ftell(fw);
rewind(fw);
while (search()) {
if(!search()) break;
imgend = ftell(fw);
sprintf(imgpath, "./%i.png", i++);
img = fopen (imgpath, "w");
printf("%s: start: %li, end: %li\n", imgpath, imgstart, imgend);
(void)fseek(fw, imgstart, SEEK_SET);
buff = (char*)malloc(imgend - imgstart);
(void)fread(buff, 1, imgend -imgstart, fw);
(void)fwrite(buff, 1, imgend -imgstart, img);
(void)fclose(img);
free(buff);
(void)fseek(fw, imgend, SEEK_SET);
}
(void)fclose(fw);
return 1;
}
Seems to be a file missing in Google Code repository? I cant find:
Code:nl.rnplus.olv.receiver.LiveViewBrConstants
Edit:
I also get an error on missing @drawable/ic_launcher in the manifest file...
Is there any way to read system char set from phone and then use it in OLV?
Sent from my LT30p using xda app-developers app
nope. not natively. the device has a strict charset so in order to achieve that, you would need to replace unknown bits of the firmware on the device.
Bits of the firmware? How is that possible? Im talking about apk not firmware. I don't have any problems with special characters using sonys software so its not device firmware issue. Its a way that open live view app is communicating with live view itself than I have question marks in place of special characters.
Sent from my Nexus 7 using xda app-developers app
I've just found this thread and removed dust from my LV Thanks for the effort. Seems promising.
Maybe I can help. I'm an android dev with many apps on the play market including sseveral live view plugins, so if you need help with any part of the project, tell me. I've tried to clone the repository in the first post but seems that it is outdated because last commit is from January,6.
About the project, I've used it only for an hour, but seems very well done. Do you plan support for standard LV plugins? Do you plan integration of automatic reconnection?
ohai evryone.
PS:
if you want to edit the clock, simply edit aclock.htm, run it in a webkit browser, save the textarea into aclock.h and recompile it to see changes.
music seems broken. will digg at it later unless you want to try it yourself
Is there any news on making OLV work on newer roms? Just curious, because this looks much nicer than sony's app, but I can't get it to sync with either my phone or nexus 7 running cm 10.1 nightlies.
tia.
Mind you, if the liveview doesn't even connect either via OLV or the Sony application, there is a slight chance that reflashing the (stock) liveview firmware via the sony update tool will fix it.
It had happened to me while I was switching from ICS to JB, and I thought it was the rom, but it worked just fine afterwards, so give it a shot..
I'm sorry for being a noob again but what is OLV?
Can there be a rom for the LiveView in the coming years?
Is the LiveView open source?
+ can anyone provide me a detailed spec sheet of the LiveView... Like the processor and alll..
Sent from my ST25i using Tapatalk 2