yashsingh1/xdaforums huggingface dataset:
[Android Software Development] asteroidg:
HI to every one.

Is there a way to get the apk file name when an app it was launched ?

Scenario: I want to append some additional data to the file name and when the app is launched I want somehow by application Id to locate the file name and extract that additional data to fill some fields inside my app .

Is there some methods which are in charge with that ? or even a way to do that ? or tutorial doing that ?

Also if not then what different methods exists to retrieve some additional data at downloading process, or even from file name ... etc ???

Thank you in advance .
[Android Software Development] PMGRANDS:
Which App Is It If You Don't Mind?

I Might Know The Exact Name?
[Android Software Development] asteroidg:
It will be my *.apk file name downloaded from my server. I saw that every time that *.apk file went to my \sdcard\download, can I assume that that path will be for every android user ?
[Android Software Development] PMGRANDS:
It Usually Names The File,

At Least On My Hero!

Wait.... File Name? Or App Name?

For File Name, Try.... Root Explorer!!

Root Explorer, Allows You To Basically Dissect Apks.

For App Name, Try.... AppMonster!!

Install AppMonster, And Once It's Installed....

Reinstall The App/Apps You Want The Name Of, & Reopen AppMonster & They Should Show Up As Apps Currently Installed!

Lemme Know If That Works!!
[Android Software Development] asteroidg:
Thanks. But I am looking doing that inside the code, by programming . I know how to get the file name from specific folder but i need to look for the file name from the whole device that't my point , if any suggestion or even line of codes will be appreciated.

File dir = new File("/data/app");

File[] fileList = dir.listFiles();

if (fileList != null)

{

for ( int i = 0;i<fileList.length;i++)

{

filename = fileList.getName();

Log.d("FN-log","file name="+filename);

if (-1 != filename.indexOf(appName.toString()))

{

break;

}

}

}

I am using the above code to retrieve the file name form specific folder, I need something from the whole device , any idea ?
[Android Software Development] PMGRANDS:
Oh ok, Sorry misunderstood you!
[Android Software Development] 00Ghz:
Try searching the whole sd card folder by folder

XDA App
[Android Software Development] asteroidg:
It seems that I have to check first in the root folder of device which is "/", that thing will show the root list. Then I need a for in for intsructions to be called ... to check all subfolders until I will find the file, it's a solution but first I have to write this algorithm of searching which is a little bit annoying and I am afraid about that process will slow the app ... That's why I was looking for something which should be already in Android API, do not invent bicycle again :) ? But any help will be appreciated. (By the time I was thinking to use Linus find shell command , I tried but every time I am getting no permission access is denied ... )

Thank you.
[Nexus S General] desiregeek:
On my news Nexus S I am only getting and showing 3G with poor connection whether I use Chung-Hwa Telecom or Taiwan's Far Eastone. On my HTC Desire when downloading or uploadinging it would show an "H" up on top and show "3G" if connection was not all that great but with this new Nexus S all I get is 3G. What's up with this? Reception is also worse than the HTC Desire.
[Nexus S General] kjy112:
Because nexus s only gets 3g
[Nexus S General] desiregeek:
Here I see it showing it gets HSDPA.. From what I understand is the 2100 Band in Taiwan is not just 3G

http://www.gsmarena.com/compare.php3?idPhone1=3620&idPhone2=3077
[Nexus S General] KnightMAREcrow:
It gets HSDPA also, it just doesn't change icons like cyanogen or like the static H on the G2. It wasn't a widely used icon in america until the networks (T-mobbile and AT&T) upgraded to HSDPA or HSPA+.

It is capable of 7.2mbps download.

You could always check the status of the phone under settings to see what connection you have or wait until cyanogenmod comes out for the nexus s, not just the alpha version.
[Nexus S General] slowz3r:
ya HSPA is still 3G with a max download speed of 7.2 HSPA+ depending on device ranges from like 14.4 to 42
[Nexus S General] desiregeek:
Mobile Network Type

UMTS

Signal Strength

-101 dBm 4asu
[Nexus S General] unremarked:
Now answered in the stickied FAQ in the Q&A section.

EDIT: Also, in the future, use search and look at that FAQ prior to starting a new thread, mate. This has been asked a bajillion times.
[Nexus S General] slowz3r:
Question,

I always wondered, never really bothered asking, what should the setting be "preferred network type" by default my NS shows GSM/CDMA auto (PRL)
[Nexus S General] unremarked:
Found this for ya:

Source: http://www.google.com/support/forum/p/android/thread?tid=6a327a95211ac789&hl=en
[Nexus S General] slowz3r:
Still sorta understood all that, so should I just leave it where Im at, i mean it is what came with the phone stock after all
[Nexus S General] KnightMAREcrow:
As was stated, when an active data connection is formed and there is activity then the status will change under settings. I have an attached screenshot for your viewing pleasure.
[Nexus S General] unremarked:
PRL is preferred roaming list, iirc. When searching for a network, it'll get preference to those that are on the list over those that aren't. Supposed to be battery savings.
[Nexus S General] slowz3r:
fair enough :)
[Nexus S General] Ok_Kaleidoscope5109:
I'm noticing this too. I get full HSDPA in the US on AT&T, but when I came to Taiwan and plugged in my prepaid sim for Taiwan Mobile which clearly has 7.2mbps HSPDA in this city, I only get the "3G" icon.

I did do the *#*#INFO#*#* to set my band to Euro which was how data kicked in. But otherwise it only shows "3G." Readingt he posts above, people say it idles on UMTS, but I have AT&T at home and it always shows the H icon. I can never the the H icon in Taiwan.

I have the 9020a which has 850/1900/2100, so I'm not understanding whats going on... Is the lack of 900 3G band hurting me?

Edit: I've been using this phone for 7 months on AT&T now and I just arrived in Taiwan last night....
[Nexus S General] sundyx:
正常啊。在 系統設定 - 關於手機 - 狀態 裡，看到 行動網路類型，會顯示為 hsdpa。這就是3.5g h了。雖然訊號顯示為3g，實際在支援hsdpa的地方會使用hsdpa的。

我是大陸的，語言可能不太好理解，見諒。
[EVO 4G Q&A, Help & Troubleshooting] psixichka:
Noob evo rooter I installed Fresh since I was told it's a solid rom with lots of bloatware gone.So now i just wanted to see what the differences between diff roms are & figure out which one is right for me but, each rom has thousands of posts & that would be impossible.

Is there somekind of a summary?

thanks in advance!
[EVO 4G Q&A, Help & Troubleshooting] rstuckmaier:
There is a stickied thread right in the subforum you (wrongly) posted this in.

Not to jump on a "noob" but this shouldn't have been posted and this should've been in Q&A anyways.
[EVO 4G Q&A, Help & Troubleshooting] mitchellvii:
At this point, I would recommend MikFroyo v4.3

http://xdaforums.com/showthread.php?t=883026

if you are looking for super-fast Sense w/ full functionality. The GB roms are going to be too developmental and buggy for you.
[EVO 4G Q&A, Help & Troubleshooting] psixichka:
thanks I just looked & maybe i'm not seeing it but it just lists the roms not what's special/different about them???

help a girl out :)

so it's just faster than fresh?

I dont know what I am looking for thats why i wanted to see what exactly each one offers?
[EVO 4G Q&A, Help & Troubleshooting] rstuckmaier:
http://xdaforums.com/forumdisplay.php?f=653

It is the FIRST thread.

"Detailed ROM Wiki (developers please update)"
[EVO 4G Q&A, Help & Troubleshooting] psixichka:
I saw it, saw the rom names, versions, release dates, root methods

that isnt my question though, what is the difference between them? advantage of one over the other?
[EVO 4G Q&A, Help & Troubleshooting] jacoballen22:
The difference would be how they look. The kernels would be for how they perform.

from my EVO using XDA app.
[EVO 4G Q&A, Help & Troubleshooting] housry23:
I seriously doubt someone is going to post all the differences of all the Rom's on here and tell you what each one does best. Every Rom is different on every phone. Sense based Rom offer all options like 4G and HDMI. AOSP Rom's are based on Open Source Android and are not build on HTC Sense and some things don't work in them like 4G, HDMI, video recording, etc...I have flashed many, many Rom's and have read many many threads. The way I learned about them is by reading the OP of the Rom thread to see what all the dev says about the Rom and what's included and what isn't. Then I will go through and read like the last 5-10 pages of the thread to see what kind of problems and/or what people are saying about the Rom. I will also read other pages of the thread if I am interested. I then flash the Rom I am interested in, play with it for a few days and if I don't like it I try something else. For some reason I always come back to CyanogenMod even though HDMI and 4G(stable) are not working yet.

No one can tell you which rom is best for you or your phone. Every person has a different personality and even every EVO is a little bit different about how it reacts to certain kernels and Rom's. Maybe if you tell us what you are looking for in a Rom we could point you in the right direction to certain Rom's that offer what it is you want.
[EVO 4G Q&A, Help & Troubleshooting] kenvan19:
Hey all I'm an epic user who is getting an evo next week and I have a more specific rom choice quetion. Having never owned a sense device but always sort liking the sense clock and lockscreen I was thinking of trying myns rom (don't remember if that is the dev or the rom). However, with not having wimax in my area or the desire to output video through my phone the progress of cm7 seems very tempting.

I suppose what I'm asking is whether or not cm7 is really at the point where it could be a daily driver (and which one to use) and whether or not you can get the real sense clock/lockscreen on it and if not how good performance/battery wise is myns? Thanks in advance!

Sent from my ext4 Epic 4G running Bonsai4all 1.1.3!
[EVO 4G Q&A, Help & Troubleshooting] housry23:
Don't think you can get the Actual sense clock for CM7, but I use a free widget from the market called Sense Analog Clock which is a skinnable clock that looks a lot like the HTC clock, but not only shows the weather, but can show system info as well like battery %, free sdcard available, free ram, free Rom and Battery Temp. Very nice. As for CM7 being a daily driver, I have been using Lithid's daily compile's of CM7 for a couple weeks now and never had a problem. There are a few quirks and bugs here and there, but for the most part it does what it should and is very fast. Give it a try and if you don't like it flash a Sense Rom. That's the best part of being rooted. You are not stuck with one choice on your phone's OS.
[EVO 4G Q&A, Help & Troubleshooting] kenvan19:
Oh ya I love flashing. However its a lot easier to try them all when there are just 9ish good ones like on the epic. The evo has just hundreds (or at least it seems so). I suppose that is the benefit to having froyo source. I've used the sense clock from the market as well as beautiful widgets. Thank you so much for your input! I was definitely leaning towards cm7 but

I hadn't found that release. Ill take a gander at it now. :-)

Sent from my ext4 Epic 4G running Bonsai4all 1.1.3!
[EVO 4G Q&A, Help & Troubleshooting] bigmoogle:
You don't need to read all the thousands of posts. Just usually the first two or three where the dev describes the rom and the changelog and how to flash.

It's hard to keep a summary up to date. There has been attempts to summarize roms and/or kernels and they all just change too often.

For now, the roms seem to fall into four groups:

SENSE based with full Sense: Myn, Fresh, MikFroyo, Sprint Lovers, Calkulin's Evio

SENSE based but little or no Sense: EvoNonSense, Valpaek, EvoNeo, Burnt Droid

AOSP - 2.2 Android: CM 6.1.2, MIUI

AOSP - 2.3 Android: Gingerbread

It's easier to just browse the development section because there are a lot of ROMs. I just listed the ones I've tried at one point and can remember.
[Optimus One, P500, V General] NexusDro:
Is there an app that can prefetch news articles online and let you read them offline? I'm trying to find for someone an app that can do Hong Kong Chinese news.
[Desire HD Q&A, Help & Troubleshooting] oliver7:
if i assign a pic from the photoalbum it has a lower resolution than if i edit a contact and choose from the album. same pic and crop, of course. why? you can see the difference in the contacts widget. how to get hi res in first case?
[Desire HD Q&A, Help & Troubleshooting] bitziz:
I was wondering why no one has asked this. I have the same issue... so photo caller ID also looks horrible. I found when I assign a photo to a contact, it stays high-res for a bit and then becomes low-res. Anyone has a solution for this?
[Desire HD Q&A, Help & Troubleshooting] olivierlee:
This is because when you sync your contacts to Google, it automatically reduces the resolution. Read http://code.google.com/p/android/issues/detail?id=4147 . Solution I found were to either stop contacts sync completely or to create an additional contact in phone memory, add a high quality photo and then link your Google contact with that new phone contact.
[Off-topic] BrandoKC:
I am attempting to rescue all of my music from ITunes. I would like to convert to MP3 so that I can put it all on an SD card to use in the car.

I have found software but it's all a little pricey and I have too much music to burn it all to CD's.

If anyone has any suggestions I would welcome them!

Thanks

Sent from my HTC Evo Shift 4G
[Off-topic] David Balfour:
Itunes has a built in mp3 converter. Go into preferences and find the import.settings change this to mp3 and choose the bit rate you need

(128 is as good as any)

Once you have done this select the tracks you want right click and choose convert to mp3
[Off-topic] AdrianK:
MediaCoder Audio Edition for Windows

Max for Mac OS X

Just remember that m4a (that you've purchased from iTunes) is lossy, converting will induce more loss (it will take a slight hit in terms of sound quality). If you can try buy a bigger SD card so you can avoid re-encoding your music and reducing the quality.

Ugh, I fail so hard, I'm just used to handling my media outside of iTunes and only using it for playing :P
[Off-topic] BrandoKC:
Found "SwithSound File Converter" on CNET. Seems to be doing the trick. Thanks for the advice guys!
[Off-topic] Deleted member 2500726:
+1 awesome software! Especially for multi-cored processors and it has lots and lots of great advanced features but it can be hard to use. FormatFactory is great too. Your anti virus might say it's infected and it is but it is just adware for eBay so you can just remove it if your antivirus prompts you :)
[Android Software/Hacking General [Developers Only]] waxlrose:
So I want something that can keep track of CPU clock speed over a period of time. Specifically when the screen was off. I asked around and no really had a good solution.

Being new to android but old to linux, I figured I could just make a script that would check /proc/cpuinfo and every couple of seconds and save it to a text file. Simple....I thought.

CPUinfo on my phone (HTC Incredible) doesn't show processor speed.

Anyone know of a way to accomplish what I want? Maybe there is an app out already that will do what I wish, but I haven't been able to find one.
[Android Software/Hacking General [Developers Only]] waxlrose:
No one? There has to be some way to do this.
[Android Software/Hacking General [Developers Only]] bravo1234:
I know nothing about android, but I do know that setCPU shows the current CPU speed. Might want to look into how he does it?
[Android Software/Hacking General [Developers Only]] laie1472:
Try looking in the market for an app called system or system panel that might be what your looking for

Root-Hack-Mod-Always™
[Android Software/Hacking General [Developers Only]] waxlrose:
I have System Panel but it only shows the current CPU clock and the full version will show CPU usage but not the clock speed.
[Android Software/Hacking General [Developers Only]] madcapbaby:
you can try temp+cpu from market, it show the cpu clock speed, cpu usage, bettary temp & available ram in a 1x1 widget
[Android Software/Hacking General [Developers Only]] waxlrose:
That shows current CPU clock. I can't believe there isn't an app for this already. There are tons that show current but none that do any sort of logging.
[Android Software/Hacking General [Developers Only]] waxlrose:
I'm going to keep bumping this until I can get an answer. haha
[Android Software/Hacking General [Developers Only]] vNa5h:
yeah bumping sure helps ;)

try this...

https://market.android.com/details?id=com.bvalosek.cpuspy&feature=search_result
[Droid 2 General] jloya:
Hey Guys,

I see that there has been a throttle hack for the DX....I was wondering if this will work on the D2 or if there is a D2 version, im currently running apex 1.3.1

Thanks :)
[Droid 2 General] ljbaumer:
Can you give some more information about what a throttle hack is and a link to the thread or post about a throttle hack for the DX?

People can't really help out or answer any of your questions if you just give a very very basic description of what you're trying to find out.
[Droid 2 General] jloya:
sorry about that I though the throttle hack was a bit more well known

heres a link to what im referring to

http://www.droidxforums.com/forum/d...-apex-1-3-1-31-stock-deodexed-2-2-1-only.html
[Droid 2 General] elvyrorie:
This would be nice to have for all the roms, I'm running gummyjar, but liberty is under development right now so I don't think it would happen.
[Droid 2 General] tbaker077:
Maybe ask the defused team? They might be able to make something like this for all D2 users?
[Droid 2 General] miketoasty:
I don't know about the rest of you but I am getting 2.85 Down and .85 Up which is pretty good. I don't think there are enough people with Droid 2's to make Verizon want to throttle us.

Just think of how many people have X's compared to 2's.
[Nook Color General] tomtbone:
When using Aldiko on the NC the pages don't seem to be formatted correctly. It turns the page too far and after a few pages into the chapter you have a quarter of the next page invading the right side of the screen. I prefer the app with the night view but can't use it like this as its unusable. Anyone else have this problem?
[Nook Color General] mrschmitz:
Have you changed the LCD density at all? Moving away from the default could mess up the formatting of Aldiko books...

Sent from my Nook Color
[Nook Color General] rainmakerrc:
Aldiko woeks perfectly for me. I'm at 250 density.
[Nook Color General] Nooter:
I'm at default pixel density, and Aldiko works just fine for me.
[Nook Color General] paleh0rse:
I'm at 204, works great!

Sent from my Nooted friend...
[Nook Color General] nukeboyt:
Aldiko won't remember last page read

I'm having a different problem with Aldiko on the NC. The program cannot remember the specific page-read location when re-staring. Instead, it returns to the first page of the most recent chapter. This also happens if I switch between portrait and landscape -- It jumps to the first page of the current chapter.
[Nook Color General] Ncminn:
I bought 2.0 today for $3……It has worked perfect for me. A side note,,.I like it much better than the stock NC reader. You can set the brightness down much dimmer. More comfortable onn the eyes.,and the paid version supports drm epubs.
[Nook Color General] nukeboyt:
Thanks for recommending the paid version. It has none of the issues I described earlier.
[Nook Color General] SCIONTX:
+1 for the 2.0 paid version. I no longer use the stock reader and library.
[Nook Color General] markiejones:
Add me to the list of those who think Aldiko Pro is worth the dough. None of the bugs (had the one you mentioned, plus formatting quirks, plus it would never remember my spot, dropping me to the start of the chapter every time I left the book (even to the Aldiko menu). And it has terrific epub support, and nice customizability.

For free (non-library) book reader, I'd go with Cool Reader.
[Nook Color General] mrschwarz:
Another vote for 2.0 paid version. Plus it's a whole lot easier to import books.
[Nook Color General] Ordieth:
I would recommend moon+ as a better reader than aldiko. Moon+ offers a wide range of customizations, including my favorite real page turning effect, and syncs up with my Calibre server flawlessly.

Works 95% on NC, only has a few issues with some menu text colors that look invisible, and the app will restart when you create a bookmark, but it still makes the bookmark and returns you to the last place you left off.
[Nook Color General] 911jason:
I guess I'll be the dissenting voice on Aldiko Paid. Based on the recommendations here, I went ahead and bought it. I think this is the first program I've ever bought (any platform!) that has LESS features and options than the free version. For instance, I had set the free version to turn to the next page regardless of whether I tap on the left or right side of the screen. That option is GONE from the paid version. The free version was remembering my place when I closed a book or the app and then later returned to it. The paid version opens to the cover (page 1) everytime I open it. I created a bookmark, but when I go to navigate to it, the program tells me there are no bookmarks.

Very frustrating!
[Nook Color General] tomtbone:
I also recommend Moon+. very good bookmarking too and lots of views and auto scrolling
[Nook Color General] mrschwarz:
Moon+ looks interesting.
[Nook Color General] SCIONTX:
I tried Moon+ today. It's pretty descent for a free app. There are a few bugs and it could use some refining, but it definitely has some nice features. The biggest shortcoming for me is the lack of font choices. Something is not quite right with the ones available. On the plus side, the highlight and note features rock! Aldiko 2.0 should offer this.
[Nook Color General] jewnersey:
I like aldiko but the new version has unbelievably slow page turning which I dislike. I'm gonna try moon now.

//from the nook COLOR
[Nook Color General] jewnersey:
Well. Got moon+ pro and it wins by a mile. Thanks for the rec.

Would like my covers to work as well as the import menu.. (can't see what I'm checking off) and no pdf support...but I like everything else

//from the nook COLOR
[Android Q&A, Help & Troubleshooting] Wodzu_91:
Hello guys;)

I have a question. Is the council would move the start menu from the top to the bottom of the screen? That would be a lot more comfortable.

Is there a program for this, either key in the registry?
[Android Q&A, Help & Troubleshooting] Spiaatie:
Just flash your phone with WM6.5.3 ROM - there are no other options, that's the only way.
[EVO 4G Q&A, Help & Troubleshooting] chillenandy321:
Does anyone have the HTC Kernel #15 in a zip alone? Thanks
[EVO 4G Q&A, Help & Troubleshooting] fixxxer2008:
here you go.
[EVO 4G Q&A, Help & Troubleshooting] chillenandy321:
Thanks button!
[Vibrant Q&A, Help & Troubleshooting] troby86:
I am not trying to be disrespectful at all, but how are these iPhone developers porting 2.3 onto the iPhone 3G so quickly, but developers for Android are unable to do it on an actual Android device?
[Vibrant Q&A, Help & Troubleshooting] Thegodfather156:
Do you know what you are talking about?
[Vibrant Q&A, Help & Troubleshooting] cvibe88:
Gingerbread is available on several android devices already. The iPhone hack you are talking about is a dual boot. Android is not meant natively to run on an iCant.
[Vibrant Q&A, Help & Troubleshooting] oka1:
The Dual boot runs poorly on the I**** Runs way better on the HD2 ---If we had a full source code for the phone/the2.3 ...yada-yada......... it would not be any problem......Either way, people have to remember that improvements are going to incremental, not dynamic from here on.........